blob: 5b24abcb62cdbe6111a33ad7de38c569f6f546c5 [file] [log] [blame]
Sean Andersonf9c7d4f2020-06-24 06:41:11 -04001Kendryte K210 Sysctl
2
3This binding describes the K210 sysctl device, which contains many miscellaneous
4registers controlling system functionality. This node is a register map and can
5be reference by other bindings which need a phandle to the K210 sysctl regmap.
6
7Required 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
13Clock sub-node
14
15This node is a binding for the clock tree driver
16
17Required properties:
18- compatible: should be "kendryte,k210-clk"
19- clocks: phandle to the "in0" external oscillator
20- #clock-cells: must be <1>
21
22Example:
23sysctl: 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};