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