mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
c675a00c2d
Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device: PLL clock, a clock divider and a clock mux. Signed-off-by: Anders Berg <anders.berg@lsi.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
30 lines
801 B
Plaintext
30 lines
801 B
Plaintext
AXM5516 clock driver bindings
|
|
-----------------------------
|
|
|
|
Required properties :
|
|
- compatible : shall contain "lsi,axm5516-clks"
|
|
- reg : shall contain base register location and length
|
|
- #clock-cells : shall contain 1
|
|
|
|
The consumer specifies the desired clock by having the clock ID in its "clocks"
|
|
phandle cell. See <dt-bindings/clock/lsi,axxia-clock.h> for the list of
|
|
supported clock IDs.
|
|
|
|
Example:
|
|
|
|
clks: clock-controller@2010020000 {
|
|
compatible = "lsi,axm5516-clks";
|
|
#clock-cells = <1>;
|
|
reg = <0x20 0x10020000 0 0x20000>;
|
|
};
|
|
|
|
serial0: uart@2010080000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0x20 0x10080000 0 0x1000>;
|
|
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clks AXXIA_CLK_PER>;
|
|
clock-names = "apb_pclk";
|
|
};
|
|
};
|
|
|