|
30 | 30 | device_type = "memory";
|
31 | 31 | reg = <0x60000000 0x40000000>;
|
32 | 32 | };
|
| 33 | + |
| 34 | + reg_5v: regulator-5v { |
| 35 | + compatible = "regulator-fixed"; |
| 36 | + regulator-name = "5V_MAIN"; |
| 37 | + regulator-min-microvolt = <5000000>; |
| 38 | + regulator-max-microvolt = <5000000>; |
| 39 | + regulator-always-on; |
| 40 | + }; |
| 41 | + |
33 | 42 | };
|
34 | 43 |
|
35 | 44 | &dma0 {
|
|
117 | 126 | label = "VDDCPU";
|
118 | 127 | };
|
119 | 128 | };
|
| 129 | + |
| 130 | + pmic@5b { |
| 131 | + compatible = "microchip,mcp16502"; |
| 132 | + reg = <0x5b>; |
| 133 | + lvin-supply = <®_5v>; |
| 134 | + pvin1-supply = <®_5v>; |
| 135 | + pvin2-supply = <®_5v>; |
| 136 | + pvin3-supply = <®_5v>; |
| 137 | + pvin4-supply = <®_5v>; |
| 138 | + status = "okay"; |
| 139 | + |
| 140 | + regulators { |
| 141 | + vdd_3v3: VDD_IO { |
| 142 | + regulator-name = "VDD_IO"; |
| 143 | + regulator-min-microvolt = <3300000>; |
| 144 | + regulator-max-microvolt = <3300000>; |
| 145 | + regulator-initial-mode = <2>; |
| 146 | + regulator-allowed-modes = <2>, <4>; |
| 147 | + regulator-always-on; |
| 148 | + |
| 149 | + regulator-state-standby { |
| 150 | + regulator-on-in-suspend; |
| 151 | + regulator-suspend-microvolt = <3300000>; |
| 152 | + regulator-mode = <4>; |
| 153 | + }; |
| 154 | + |
| 155 | + regulator-state-mem { |
| 156 | + regulator-off-in-suspend; |
| 157 | + regulator-mode = <4>; |
| 158 | + }; |
| 159 | + }; |
| 160 | + |
| 161 | + vddioddr: VDD_DDR { |
| 162 | + regulator-name = "VDD_DDR"; |
| 163 | + regulator-min-microvolt = <1350000>; |
| 164 | + regulator-max-microvolt = <1350000>; |
| 165 | + regulator-initial-mode = <2>; |
| 166 | + regulator-allowed-modes = <2>, <4>; |
| 167 | + regulator-always-on; |
| 168 | + |
| 169 | + regulator-state-standby { |
| 170 | + regulator-on-in-suspend; |
| 171 | + regulator-suspend-microvolt = <1350000>; |
| 172 | + regulator-mode = <4>; |
| 173 | + }; |
| 174 | + |
| 175 | + regulator-state-mem { |
| 176 | + regulator-on-in-suspend; |
| 177 | + regulator-suspend-microvolt = <1350000>; |
| 178 | + regulator-mode = <4>; |
| 179 | + }; |
| 180 | + }; |
| 181 | + |
| 182 | + vddcore: VDD_CORE { |
| 183 | + regulator-name = "VDD_CORE"; |
| 184 | + regulator-min-microvolt = <1050000>; |
| 185 | + regulator-max-microvolt = <1050000>; |
| 186 | + regulator-initial-mode = <2>; |
| 187 | + regulator-allowed-modes = <2>, <4>; |
| 188 | + regulator-always-on; |
| 189 | + |
| 190 | + regulator-state-standby { |
| 191 | + regulator-on-in-suspend; |
| 192 | + regulator-suspend-microvolt = <1050000>; |
| 193 | + regulator-mode = <4>; |
| 194 | + }; |
| 195 | + |
| 196 | + regulator-state-mem { |
| 197 | + regulator-off-in-suspend; |
| 198 | + regulator-mode = <4>; |
| 199 | + }; |
| 200 | + }; |
| 201 | + |
| 202 | + vddcpu: VDD_OTHER { |
| 203 | + regulator-name = "VDD_OTHER"; |
| 204 | + regulator-min-microvolt = <1050000>; |
| 205 | + regulator-max-microvolt = <1250000>; |
| 206 | + regulator-initial-mode = <2>; |
| 207 | + regulator-allowed-modes = <2>, <4>; |
| 208 | + regulator-ramp-delay = <3125>; |
| 209 | + regulator-always-on; |
| 210 | + |
| 211 | + regulator-state-standby { |
| 212 | + regulator-on-in-suspend; |
| 213 | + regulator-suspend-microvolt = <1050000>; |
| 214 | + regulator-mode = <4>; |
| 215 | + }; |
| 216 | + |
| 217 | + regulator-state-mem { |
| 218 | + regulator-off-in-suspend; |
| 219 | + regulator-mode = <4>; |
| 220 | + }; |
| 221 | + }; |
| 222 | + |
| 223 | + vldo1: LDO1 { |
| 224 | + regulator-name = "LDO1"; |
| 225 | + regulator-min-microvolt = <1800000>; |
| 226 | + regulator-max-microvolt = <1800000>; |
| 227 | + regulator-always-on; |
| 228 | + |
| 229 | + regulator-state-standby { |
| 230 | + regulator-suspend-microvolt = <1800000>; |
| 231 | + regulator-on-in-suspend; |
| 232 | + }; |
| 233 | + |
| 234 | + regulator-state-mem { |
| 235 | + regulator-off-in-suspend; |
| 236 | + }; |
| 237 | + }; |
| 238 | + |
| 239 | + vldo2: LDO2 { |
| 240 | + regulator-name = "LDO2"; |
| 241 | + regulator-min-microvolt = <1200000>; |
| 242 | + regulator-max-microvolt = <3700000>; |
| 243 | + |
| 244 | + regulator-state-standby { |
| 245 | + regulator-on-in-suspend; |
| 246 | + }; |
| 247 | + |
| 248 | + regulator-state-mem { |
| 249 | + regulator-off-in-suspend; |
| 250 | + }; |
| 251 | + }; |
| 252 | + }; |
| 253 | + }; |
120 | 254 | };
|
121 | 255 |
|
122 | 256 | &main_xtal {
|
|
0 commit comments