Sean Anderson | 4d88d96 | 2020-06-24 06:41:11 -0400 | [diff] [blame] | 1 | Kendryte K210 Sysctl |
| 2 | |
| 3 | This binding describes the K210 sysctl device, which contains many miscellaneous |
| 4 | registers controlling system functionality. This node is a register map and can |
| 5 | be reference by other bindings which need a phandle to the K210 sysctl regmap. |
| 6 | |
| 7 | Required properties: |
| 8 | - compatible: should be |
| 9 | "kendryte,k210-sysctl", "syscon", "simple-mfd" |
| 10 | - reg: address and length of the sysctl registers |
| 11 | - reg-io-width: must be <4> |
| 12 | |
| 13 | Clock sub-node |
| 14 | |
| 15 | This node is a binding for the clock tree driver |
| 16 | |
| 17 | Required properties: |
| 18 | - compatible: should be "kendryte,k210-clk" |
| 19 | - clocks: phandle to the "in0" external oscillator |
| 20 | - #clock-cells: must be <1> |
| 21 | |
| 22 | Example: |
| 23 | sysctl: syscon@50440000 { |
| 24 | compatible = "kendryte,k210-sysctl", "syscon", "simple-mfd"; |
| 25 | reg = <0x50440000 0x100>; |
| 26 | reg-io-width = <4>; |
| 27 | |
| 28 | sysclk: clock-controller { |
| 29 | compatible = "kendryte,k210-clk"; |
| 30 | clocks = <&in0>; |
| 31 | #clock-cells = <1>; |
| 32 | }; |
| 33 | }; |