summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/mfd/kendryte,k210-sysctl.txt
blob: 5b24abcb62cdbe6111a33ad7de38c569f6f546c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Kendryte K210 Sysctl

This binding describes the K210 sysctl device, which contains many miscellaneous
registers controlling system functionality. This node is a register map and can
be reference by other bindings which need a phandle to the K210 sysctl regmap.

Required properties:
- compatible: should be
	"kendryte,k210-sysctl", "syscon", "simple-mfd"
- reg: address and length of the sysctl registers
- reg-io-width: must be <4>

Clock sub-node

This node is a binding for the clock tree driver

Required properties:
- compatible: should be "kendryte,k210-clk"
- clocks: phandle to the "in0" external oscillator
- #clock-cells: must be <1>

Example:
sysctl: syscon@50440000 {
	compatible = "kendryte,k210-sysctl", "syscon", "simple-mfd";
	reg = <0x50440000 0x100>;
	reg-io-width = <4>;

	sysclk: clock-controller {
		compatible = "kendryte,k210-clk";
		clocks = <&in0>;
		#clock-cells = <1>;
	};
};