GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / clock / lsi,axm5516-clks.txt
1 AXM5516 clock driver bindings
2 -----------------------------
3
4 Required properties :
5 - compatible : shall contain "lsi,axm5516-clks"
6 - reg : shall contain base register location and length
7 - #clock-cells : shall contain 1
8
9 The consumer specifies the desired clock by having the clock ID in its "clocks"
10 phandle cell. See <dt-bindings/clock/lsi,axxia-clock.h> for the list of
11 supported clock IDs.
12
13 Example:
14
15         clks: clock-controller@2010020000 {
16                 compatible = "lsi,axm5516-clks";
17                 #clock-cells = <1>;
18                 reg = <0x20 0x10020000 0 0x20000>;
19         };
20
21         serial0: uart@2010080000 {
22                 compatible = "arm,pl011", "arm,primecell";
23                 reg = <0x20 0x10080000 0 0x1000>;
24                 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
25                 clocks = <&clks AXXIA_CLK_PER>;
26                 clock-names = "apb_pclk";
27         };
28                                                                                                                                                                                                                                                                 };
29