Commit | Line | Data |
---|---|---|
0e646c52 LPC |
1 | Binding for the axi-clkgen clock generator |
2 | ||
3 | This binding uses the common clock binding[1]. | |
4 | ||
5 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | |
6 | ||
7 | Required properties: | |
1887c3a6 | 8 | - compatible : shall be "adi,axi-clkgen-1.00.a" or "adi,axi-clkgen-2.00.a". |
0e646c52 LPC |
9 | - #clock-cells : from common clock binding; Should always be set to 0. |
10 | - reg : Address and length of the axi-clkgen register set. | |
11 | - clocks : Phandle and clock specifier for the parent clock. | |
12 | ||
13 | Optional properties: | |
14 | - clock-output-names : From common clock binding. | |
15 | ||
16 | Example: | |
17 | clock@0xff000000 { | |
18 | compatible = "adi,axi-clkgen"; | |
19 | #clock-cells = <0>; | |
20 | reg = <0xff000000 0x1000>; | |
21 | clocks = <&osc 1>; | |
22 | }; |