xref: /linux/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*c675a00cSAnders BergAXM5516 clock driver bindings
2*c675a00cSAnders Berg-----------------------------
3*c675a00cSAnders Berg
4*c675a00cSAnders BergRequired properties :
5*c675a00cSAnders Berg- compatible : shall contain "lsi,axm5516-clks"
6*c675a00cSAnders Berg- reg : shall contain base register location and length
7*c675a00cSAnders Berg- #clock-cells : shall contain 1
8*c675a00cSAnders Berg
9*c675a00cSAnders BergThe consumer specifies the desired clock by having the clock ID in its "clocks"
10*c675a00cSAnders Bergphandle cell. See <dt-bindings/clock/lsi,axxia-clock.h> for the list of
11*c675a00cSAnders Bergsupported clock IDs.
12*c675a00cSAnders Berg
13*c675a00cSAnders BergExample:
14*c675a00cSAnders Berg
15*c675a00cSAnders Berg	clks: clock-controller@2010020000 {
16*c675a00cSAnders Berg		compatible = "lsi,axm5516-clks";
17*c675a00cSAnders Berg		#clock-cells = <1>;
18*c675a00cSAnders Berg		reg = <0x20 0x10020000 0 0x20000>;
19*c675a00cSAnders Berg	};
20*c675a00cSAnders Berg
21*c675a00cSAnders Berg	serial0: uart@2010080000 {
22*c675a00cSAnders Berg		compatible = "arm,pl011", "arm,primecell";
23*c675a00cSAnders Berg		reg = <0x20 0x10080000 0 0x1000>;
24*c675a00cSAnders Berg		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
25*c675a00cSAnders Berg		clocks = <&clks AXXIA_CLK_PER>;
26*c675a00cSAnders Berg		clock-names = "apb_pclk";
27*c675a00cSAnders Berg	};
28*c675a00cSAnders Berg																																};
29*c675a00cSAnders Berg
30