1 rk808 Power Management Integrated Circuit
4 - compatible: "rockchip,rk808"
5 - reg: I2C slave address
6 - gpios: the interrupt pin or sleep pin
7 use gpio get IRQ number
8 - regulators: This is the list of child nodes that specify the regulator
9 initialization data for defined regulators. Not all regulators for the given
10 device need to be present. The definition for each of these nodes is defined
11 using the standard binding for regulators found at
12 Documentation/devicetree/bindings/regulator/regulator.txt.
13 The regulator is matched with the regulator-compatible.
15 The valid regulator-compatible values are:
16 rk808: rk_dcdc1, rk_dcdc2, rk_dcdc3, rk_dcdc4, rk_ldo1, rk_ldo2, rk_ldo3, rk_ldo4, rk_ldo5, rk_ldo6,
22 gpios 1 :sleep pin gpio
23 - regulator-initial-mode: default mode to set on startup
24 - regulator-initial-state: suspend state to set at init
25 - regulator-state-mem, regulator-state-disk, regulator-state-standby:
26 defines regulator suspend to memory, suspend to disk (hibernate) and standby respectively.
27 have following sub-constarints:
28 - regulator-state-uv: suspend voltage
29 - regulator-state-mode: suspend regulator operating mode
30 - regulator-state-enabled: is regulator enabled in this suspend state
31 - regulator-state-disabled: is the regulator disbled in this suspend state
32 -regulator-initial-mode and regulator-state-mode is set as:
33 REGULATOR_MODE_FAST 0x1
34 REGULATOR_MODE_NORMAL 0x2
35 REGULATOR_MODE_IDLE 0x4
36 REGULATOR_MODE_STANDBY 0x8
45 gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
48 compatible = "rockchip,rk808";
54 rk808_dcdc1_reg: regulator@0 {
56 regulator-compatible = "rk_dcdc1";
57 regulator-min-microvolt = <700000>;
58 regulator-max-microvolt = <1500000>;
59 regulator-initial-mode = <0x2>;
60 regulator-initial-state = <3>;
62 regulator-state-mode = <0x2>;
63 regulator-state-enabled;
64 regulator-state-uv = <900000>;
68 rk808_dcdc2_reg: regulator@1 {
70 regulator-compatible = "rk_dcdc2";
71 regulator-min-microvolt = <700000>;
72 regulator-max-microvolt = <1500000>;
73 regulator-initial-mode = <0x2>;
74 regulator-initial-state = <3>;
76 regulator-state-mode = <0x2>;
77 regulator-state-enabled;
78 regulator-state-uv = <900000>;
82 rk808_dcdc3_reg: regulator@2 {
84 regulator-compatible = "rk_dcdc3";
85 regulator-initial-mode = <0x2>;
86 regulator-initial-state = <3>;
88 regulator-state-mode = <0x2>;
89 regulator-state-enabled;
90 regulator-state-uv = <1200000>;
94 rk808_dcdc4_reg: regulator@3 {
96 regulator-compatible = "rk_dcdc4";
97 regulator-initial-mode = <0x2>;
98 regulator-initial-state = <3>;
100 regulator-state-mode = <0x2>;
101 regulator-state-enabled;
102 regulator-state-uv = <2800000>;
106 rk808_ldo1_reg: regulator@4 {
108 regulator-compatible = "rk_ldo1";
109 regulator-initial-state = <3>;
110 regulator-state-mem {
111 regulator-state-enabled;
112 regulator-state-uv = <3300000>;
116 rk808_ldo2_reg: regulator@5 {
118 regulator-compatible = "rk_ldo2";
119 regulator-initial-state = <3>;
120 regulator-state-mem {
121 regulator-state-enabled;
122 regulator-state-uv = <3300000>;
126 rk808_ldo3_reg: regulator@6 {
128 regulator-compatible = "rk_ldo3";
129 regulator-initial-state = <3>;
130 regulator-state-mem {
131 regulator-state-enabled;
132 regulator-state-uv = <1000000>;
136 rk808_ldo4_reg: regulator@7{
138 regulator-compatible = "rk_ldo4";
139 regulator-initial-state = <3>;
140 regulator-state-mem {
141 regulator-state-enabled;
142 regulator-state-uv = <1800000>;
146 rk808_ldo5_reg: regulator@8{
148 regulator-compatible = "rk_ldo5";
149 regulator-initial-state = <3>;
150 regulator-state-mem {
151 regulator-state-enabled;
152 regulator-state-uv = <2800000>;
156 rk808_ldo6_reg: regulator@9{
158 regulator-compatible = "rk_ldo6";
159 regulator-initial-state = <3>;
160 regulator-state-mem {
161 regulator-state-enabled;
162 regulator-state-uv = <1200000>;
166 rk808_ldo7_reg: regulator@10 {
168 regulator-compatible = "rk_ldo7";
169 regulator-initial-state = <3>;
170 regulator-state-mem {
171 regulator-state-enabled;
172 regulator-state-uv = <1800000>;
176 rk808_ldo8_reg: regulator@11{
178 regulator-compatible = "rk_ldo8";
179 regulator-initial-state = <3>;
180 regulator-state-mem {
181 regulator-state-enabled;
182 regulator-state-uv = <1800000>;