Lars-Peter Clausen | 0e646c5 | 2013-03-11 16:22:29 +0100 | [diff] [blame^] | 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: |
| 8 | - compatible : shall be "adi,axi-clkgen". |
| 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 | }; |