Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Binding for Keystone gate control driver which uses PSC controller IP. |
| 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 "ti,keystone,psc-clock". |
| 9 | - #clock-cells : from common clock binding; shall be set to 0. |
| 10 | - clocks : parent clock phandle |
| 11 | - reg : psc control and domain address address space |
| 12 | - reg-names : psc control and domain registers |
| 13 | - domain-id : psc domain id needed to check the transition state register |
| 14 | |
| 15 | Optional properties: |
| 16 | - clock-output-names : From common clock binding to override the |
| 17 | default output clock name |
| 18 | Example: |
| 19 | clkusb: clkusb { |
| 20 | #clock-cells = <0>; |
| 21 | compatible = "ti,keystone,psc-clock"; |
| 22 | clocks = <&chipclk16>; |
| 23 | clock-output-names = "usb"; |
| 24 | reg = <0x02350008 0xb00>, <0x02350000 0x400>; |
| 25 | reg-names = "control", "domain"; |
| 26 | domain-id = <0>; |
| 27 | }; |