Santosh Shilimkar | 7affe56 | 2013-09-25 21:18:14 -0400 | [diff] [blame] | 1 | Status: Unstable - ABI compatibility may be broken in the future |
| 2 | |
| 3 | Binding for Keystone gate control driver which uses PSC controller IP. |
| 4 | |
| 5 | This binding uses the common clock binding[1]. |
| 6 | |
| 7 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 8 | |
| 9 | Required properties: |
| 10 | - compatible : shall be "ti,keystone,psc-clock". |
| 11 | - #clock-cells : from common clock binding; shall be set to 0. |
| 12 | - clocks : parent clock phandle |
| 13 | - reg : psc control and domain address address space |
| 14 | - reg-names : psc control and domain registers |
| 15 | - domain-id : psc domain id needed to check the transition state register |
| 16 | |
| 17 | Optional properties: |
| 18 | - clock-output-names : From common clock binding to override the |
| 19 | default output clock name |
| 20 | Example: |
| 21 | clkusb: clkusb { |
| 22 | #clock-cells = <0>; |
| 23 | compatible = "ti,keystone,psc-clock"; |
| 24 | clocks = <&chipclk16>; |
| 25 | clock-output-names = "usb"; |
| 26 | reg = <0x02350008 0xb00>, <0x02350000 0x400>; |
| 27 | reg-names = "control", "domain"; |
| 28 | domain-id = <0>; |
| 29 | }; |