rk31:pmu:support pmu sleep voltage and sleep mode setting by dts
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk808.dtsi
1
2 &rk808 {
3         compatible = "rockchip,rk808";
4         
5         regulators {
6                 #address-cells = <1>;
7                 #size-cells = <0>;      
8
9                 rk808_dcdc1_reg: regulator@0 {
10                         reg = <0>;
11                         regulator-compatible = "rk_dcdc1";
12                         regulator-min-microvolt = <700000>;
13                         regulator-max-microvolt = <1500000>;
14                         regulator-initial-mode = <0x2>;
15                         regulator-initial-state = <3>;
16                         regulator-state-mem {
17                                 regulator-state-mode = <0x2>;
18                                 regulator-state-enabled;
19                                 regulator-state-uv = <900000>;
20                         };              
21                 };
22
23                 rk808_dcdc2_reg: regulator@1 {
24                         reg = <1>;
25                         regulator-compatible = "rk_dcdc2";
26                         regulator-min-microvolt = <700000>;
27                         regulator-max-microvolt = <1500000>;    
28                         regulator-initial-mode = <0x2>;
29                         regulator-initial-state = <3>;
30                         regulator-state-mem {
31                                 regulator-state-mode = <0x2>;
32                                 regulator-state-enabled;
33                                 regulator-state-uv = <900000>;
34                         };              
35                 };
36
37                 rk808_dcdc3_reg: regulator@2 {
38                         reg = <2>;
39                         regulator-compatible = "rk_dcdc3";
40                         regulator-initial-mode = <0x2>;
41                         regulator-initial-state = <3>;
42                         regulator-state-mem {
43                                 regulator-state-mode = <0x2>;
44                                 regulator-state-enabled;
45                                 regulator-state-uv = <1200000>;
46                         };      
47                 };
48
49                 rk808_dcdc4_reg: regulator@3 {
50                         reg = <3>;
51                         regulator-compatible = "rk_dcdc4";
52                         regulator-initial-mode = <0x2>;
53                         regulator-initial-state = <3>;
54                         regulator-state-mem {
55                                 regulator-state-mode = <0x2>;
56                                 regulator-state-enabled;
57                                 regulator-state-uv = <2800000>;
58                         };              
59                 };
60
61                 rk808_ldo1_reg: regulator@4 {
62                         reg = <4>;
63                         regulator-compatible = "rk_ldo1";
64                         regulator-initial-state = <3>;
65                         regulator-state-mem {
66                                 regulator-state-enabled;
67                                 regulator-state-uv = <3300000>;
68                         };      
69                 };
70
71                 rk808_ldo2_reg: regulator@5 {
72                         reg = <5>;
73                         regulator-compatible = "rk_ldo2";
74                         regulator-initial-state = <3>;
75                         regulator-state-mem {
76                                 regulator-state-enabled;
77                                 regulator-state-uv = <3300000>;
78                         };      
79                 };
80
81                 rk808_ldo3_reg: regulator@6 {
82                         reg = <6>;
83                         regulator-compatible = "rk_ldo3";
84                         regulator-initial-state = <3>;
85                         regulator-state-mem {
86                                 regulator-state-enabled;
87                                 regulator-state-uv = <1000000>;
88                         };      
89                 };
90
91                 rk808_ldo4_reg: regulator@7{
92                         reg = <7>;
93                         regulator-compatible = "rk_ldo4";
94                         regulator-initial-state = <3>;
95                         regulator-state-mem {
96                                 regulator-state-enabled;
97                                 regulator-state-uv = <1800000>;
98                         };      
99                 };
100
101                 rk808_ldo5_reg: regulator@8{
102                         reg = <8>;
103                         regulator-compatible = "rk_ldo5";
104                         regulator-initial-state = <3>;
105                         regulator-state-mem {
106                                 regulator-state-enabled;
107                                 regulator-state-uv = <2800000>;
108                         };      
109                 };
110
111                 rk808_ldo6_reg: regulator@9{
112                         reg = <9>;
113                         regulator-compatible = "rk_ldo6";
114                         regulator-initial-state = <3>;
115                         regulator-state-mem {
116                                 regulator-state-enabled;
117                                 regulator-state-uv = <1200000>;
118                         };      
119                 };
120
121                 rk808_ldo7_reg: regulator@10 {
122                         reg = <10>;
123                         regulator-compatible = "rk_ldo7";
124                         regulator-initial-state = <3>;
125                         regulator-state-mem {
126                                 regulator-state-enabled;
127                                 regulator-state-uv = <1800000>;
128                         };      
129                 };
130
131                 rk808_ldo8_reg: regulator@11{
132                         reg = <11>;
133                         regulator-compatible = "rk_ldo8";
134                         regulator-initial-state = <3>;
135                         regulator-state-mem {
136                                 regulator-state-enabled;
137                                 regulator-state-uv = <1800000>;
138                         };      
139                 };
140
141         };
142 };