|
43 | 43 |
|
44 | 44 | /dts-v1/;
|
45 | 45 | #include "sun8i-a83t.dtsi"
|
46 |
| -#include "sunxi-common-regulators.dtsi" |
| 46 | + |
| 47 | +#include <dt-bindings/gpio/gpio.h> |
47 | 48 |
|
48 | 49 | / {
|
49 | 50 | model = "TBS A711 Tablet";
|
|
105 | 106 | };
|
106 | 107 |
|
107 | 108 | &mmc0 {
|
108 |
| - vmmc-supply = <®_vcc3v3>; |
| 109 | + vmmc-supply = <®_dcdc1>; |
109 | 110 | pinctrl-names = "default";
|
110 | 111 | pinctrl-0 = <&mmc0_pins>;
|
111 | 112 | cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
|
|
115 | 116 | &mmc1 {
|
116 | 117 | mmc-pwrseq = <&wifi_pwrseq>;
|
117 | 118 | bus-width = <4>;
|
118 |
| - vmmc-supply = <®_vcc3v3>; |
119 |
| - vqmmc-supply = <®_vcc3v3>; |
| 119 | + vmmc-supply = <®_dldo1>; |
| 120 | + vqmmc-supply = <®_dldo1>; |
120 | 121 | non-removable;
|
121 | 122 | wakeup-source;
|
122 | 123 | status = "okay";
|
|
133 | 134 | &mmc2 {
|
134 | 135 | pinctrl-0 = <&mmc2_8bit_emmc_pins>;
|
135 | 136 | pinctrl-names = "default";
|
136 |
| - vmmc-supply = <®_vcc3v3>; |
137 |
| - vqmmc-supply = <®_vcc3v3>; |
| 137 | + vmmc-supply = <®_dcdc1>; |
| 138 | + vqmmc-supply = <®_dcdc1>; |
138 | 139 | bus-width = <8>;
|
139 | 140 | non-removable;
|
140 | 141 | cap-mmc-hw-reset;
|
|
144 | 145 | &r_rsb {
|
145 | 146 | status = "okay";
|
146 | 147 |
|
147 |
| - axp813: pmic@3a3 { |
148 |
| - compatible = "x-powers,axp813"; |
| 148 | + axp81x: pmic@3a3 { |
149 | 149 | reg = <0x3a3>;
|
150 | 150 | interrupt-parent = <&r_intc>;
|
151 | 151 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
| 152 | + swin-supply = <®_dcdc1>; |
| 153 | + x-powers,drive-vbus-en; |
152 | 154 | };
|
153 | 155 |
|
154 | 156 | ac100: codec@e89 {
|
|
177 | 179 |
|
178 | 180 | };
|
179 | 181 |
|
| 182 | +#include "axp81x.dtsi" |
| 183 | + |
| 184 | +®_aldo1 { |
| 185 | + regulator-min-microvolt = <1800000>; |
| 186 | + regulator-max-microvolt = <1800000>; |
| 187 | + regulator-name = "vcc-1.8"; |
| 188 | +}; |
| 189 | + |
| 190 | +®_aldo2 { |
| 191 | + regulator-min-microvolt = <1800000>; |
| 192 | + regulator-max-microvolt = <1800000>; |
| 193 | + regulator-always-on; |
| 194 | + regulator-name = "vdd-drampll"; |
| 195 | +}; |
| 196 | + |
| 197 | +®_aldo3 { |
| 198 | + regulator-min-microvolt = <3000000>; |
| 199 | + regulator-max-microvolt = <3000000>; |
| 200 | + regulator-always-on; |
| 201 | + regulator-name = "avcc"; |
| 202 | +}; |
| 203 | + |
| 204 | +®_dcdc1 { |
| 205 | + regulator-min-microvolt = <3100000>; |
| 206 | + regulator-max-microvolt = <3100000>; |
| 207 | + regulator-always-on; |
| 208 | + regulator-name = "vcc-io"; |
| 209 | +}; |
| 210 | + |
| 211 | +®_dcdc2 { |
| 212 | + regulator-min-microvolt = <700000>; |
| 213 | + regulator-max-microvolt = <1100000>; |
| 214 | + regulator-always-on; |
| 215 | + regulator-name = "vdd-cpu-A"; |
| 216 | +}; |
| 217 | + |
| 218 | +®_dcdc3 { |
| 219 | + regulator-min-microvolt = <700000>; |
| 220 | + regulator-max-microvolt = <1100000>; |
| 221 | + regulator-always-on; |
| 222 | + regulator-name = "vdd-cpu-B"; |
| 223 | +}; |
| 224 | + |
| 225 | +®_dcdc4 { |
| 226 | + regulator-min-microvolt = <700000>; |
| 227 | + regulator-max-microvolt = <1100000>; |
| 228 | + regulator-name = "vdd-gpu"; |
| 229 | +}; |
| 230 | + |
| 231 | +®_dcdc5 { |
| 232 | + regulator-min-microvolt = <1200000>; |
| 233 | + regulator-max-microvolt = <1500000>; |
| 234 | + regulator-always-on; |
| 235 | + regulator-name = "vcc-dram"; |
| 236 | +}; |
| 237 | + |
| 238 | +®_dcdc6 { |
| 239 | + regulator-min-microvolt = <900000>; |
| 240 | + regulator-max-microvolt = <900000>; |
| 241 | + regulator-always-on; |
| 242 | + regulator-name = "vdd-sys"; |
| 243 | +}; |
| 244 | + |
| 245 | +®_dldo1 { |
| 246 | + regulator-min-microvolt = <3100000>; |
| 247 | + regulator-max-microvolt = <3100000>; |
| 248 | + regulator-name = "vcc-wifi-io"; |
| 249 | +}; |
| 250 | + |
| 251 | +®_dldo2 { |
| 252 | + regulator-min-microvolt = <2800000>; |
| 253 | + regulator-max-microvolt = <4200000>; |
| 254 | + regulator-name = "vcc-mipi"; |
| 255 | +}; |
| 256 | + |
| 257 | +®_dldo3 { |
| 258 | + regulator-min-microvolt = <2800000>; |
| 259 | + regulator-max-microvolt = <2800000>; |
| 260 | + regulator-name = "vdd-csi"; |
| 261 | +}; |
| 262 | + |
| 263 | +®_dldo4 { |
| 264 | + regulator-min-microvolt = <2800000>; |
| 265 | + regulator-max-microvolt = <2800000>; |
| 266 | + regulator-name = "avdd-csi"; |
| 267 | +}; |
| 268 | + |
| 269 | +®_drivevbus { |
| 270 | + regulator-name = "usb0-vbus"; |
| 271 | + status = "okay"; |
| 272 | +}; |
| 273 | + |
| 274 | +®_eldo1 { |
| 275 | + regulator-min-microvolt = <1200000>; |
| 276 | + regulator-max-microvolt = <1800000>; |
| 277 | + regulator-name = "dvdd-csi-r"; |
| 278 | +}; |
| 279 | + |
| 280 | +®_eldo2 { |
| 281 | + regulator-min-microvolt = <1800000>; |
| 282 | + regulator-max-microvolt = <1800000>; |
| 283 | + regulator-name = "vcc-dsi"; |
| 284 | +}; |
| 285 | + |
| 286 | +®_eldo3 { |
| 287 | + regulator-min-microvolt = <1200000>; |
| 288 | + regulator-max-microvolt = <1800000>; |
| 289 | + regulator-name = "dvdd-csi-f"; |
| 290 | +}; |
| 291 | + |
| 292 | +®_fldo1 { |
| 293 | + regulator-min-microvolt = <1200000>; |
| 294 | + regulator-max-microvolt = <1200000>; |
| 295 | + regulator-name = "vcc-hsic"; |
| 296 | +}; |
| 297 | + |
| 298 | +®_fldo2 { |
| 299 | + regulator-min-microvolt = <700000>; |
| 300 | + regulator-max-microvolt = <1100000>; |
| 301 | + regulator-always-on; |
| 302 | + regulator-name = "vdd-cpus"; |
| 303 | +}; |
| 304 | + |
| 305 | +®_ldo_io0 { |
| 306 | + regulator-min-microvolt = <3100000>; |
| 307 | + regulator-max-microvolt = <3100000>; |
| 308 | + regulator-name = "vcc-ctp"; |
| 309 | + status = "okay"; |
| 310 | +}; |
| 311 | + |
| 312 | +®_ldo_io1 { |
| 313 | + regulator-min-microvolt = <3100000>; |
| 314 | + regulator-max-microvolt = <3100000>; |
| 315 | + regulator-name = "vcc-vb"; |
| 316 | + status = "okay"; |
| 317 | +}; |
| 318 | + |
| 319 | +®_sw { |
| 320 | + regulator-min-microvolt = <3100000>; |
| 321 | + regulator-max-microvolt = <3100000>; |
| 322 | + regulator-name = "vcc-lcd"; |
| 323 | +}; |
| 324 | + |
180 | 325 | &uart0 {
|
181 | 326 | pinctrl-names = "default";
|
182 | 327 | pinctrl-0 = <&uart0_pb_pins>;
|
|
191 | 336 | };
|
192 | 337 |
|
193 | 338 | &usbphy {
|
194 |
| - usb1_vbus_supply = <®_vcc5v0>; |
195 |
| - usb2_vbus_supply = <®_vcc5v0>; |
| 339 | + usb1_vbus_supply = <®_vmain>; |
| 340 | + usb2_vbus_supply = <®_vmain>; |
196 | 341 | status = "okay";
|
197 | 342 | };
|
0 commit comments