rk3288:pmic:sdk:support new pmic hardware
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3288-tb.dts
1 /dts-v1/;
2
3 #include "rk3288.dtsi"
4 #include "lcd-b101ew05.dtsi"
5
6 / {
7         fiq-debugger {
8                 status = "okay";
9         };
10
11     wireless-wlan {
12         compatible = "wlan-platdata";
13
14         wifi_chip_type = "";
15         sdio_vref = <1800>; //1800mv or 3300mv
16
17         //power_ctrl_by_pmu;
18         power_pmu_regulator = "act_ldo3";
19         power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
20
21         //vref_ctrl_enable;
22         //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
23         vref_pmu_regulator = "act_ldo3";
24         vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
25
26         WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
27         WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
28         //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
29
30         status = "okay";
31     };
32
33     wireless-bluetooth {
34         compatible = "bluetooth-platdata";
35
36         //wifi-bt-power-toggle;
37
38         uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
39         pinctrl-names = "default","rts_gpio";
40         pinctrl-0 = <&uart0_rts>;
41         pinctrl-1 = <&uart0_rts_gpio>;
42
43         BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
44         BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
45         BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
46         BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
47
48         status = "okay";
49     };
50
51     hallsensor {
52                compatible = "hall_och165t";
53                type = <SENSOR_TYPE_HALL>;
54                irq-gpio = <&gpio0 GPIO_A6 IRQ_TYPE_EDGE_BOTH>;
55      };
56
57         backlight {
58                 compatible = "pwm-backlight";
59                 pwms = <&pwm0 0 25000>;
60                 brightness-levels = <0 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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255>;
61                 default-brightness-level = <128>;
62                 enable-gpios = <&gpio7 GPIO_A2 GPIO_ACTIVE_HIGH>;
63         };
64
65         pwm_regulator {
66                 compatible = "rockchip_pwm_regulator";
67                 pwms = <&pwm1 0 2000>;
68                 rockchip,pwm_id= <1>;
69                 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
70                 rockchip,pwm_voltage= <1000000>;
71                 rockchip,pwm_min_voltage= <925000>;
72                 rockchip,pwm_max_voltage= <1400000>;
73                 rockchip,pwm_suspend_voltage= <950000>;
74                 rockchip,pwm_coefficient= <475>;
75                 regulators {
76                         #address-cells = <1>;
77                         #size-cells = <0>;
78                         pwm_reg0: regulator@0 {
79                                 regulator-compatible = "pwm_dcdc1";
80                                 regulator-name= "vdd_logic";
81                                 regulator-min-microvolt = <925000>;
82                                 regulator-max-microvolt = <1400000>;
83                                 regulator-always-on;
84                                 regulator-boot-on;
85                         };
86                 };
87         };
88
89         codec_hdmi_i2s: codec-hdmi-i2s {
90                 compatible = "hdmi-i2s";
91         };
92
93         codec_hdmi_spdif: codec-hdmi-spdif {
94                 compatible = "hdmi-spdif";
95         };
96
97         rockchip-hdmi-i2s {
98                 compatible = "rockchip-hdmi-i2s";
99                 dais {
100                         dai0 {
101                                 audio-codec = <&codec_hdmi_i2s>;
102                                 i2s-controller = <&i2s>;
103                                 format = "i2s";
104                                 //continuous-clock;
105                                 //bitclock-inversion;
106                                 //frame-inversion;
107                                 //bitclock-master;
108                                 //frame-master;
109                         };
110                 };
111         };
112         
113         rockchip-hdmi-spdif {
114                 compatible = "rockchip-hdmi-spdif";
115                 dais {
116                         dai0 {
117                                 audio-codec = <&codec_hdmi_spdif>;
118                                 i2s-controller = <&spdif>;
119                         };
120                 };
121         };
122
123         rockchip-rt5631 {
124                 compatible = "rockchip-rt5631";
125                 dais {
126                         dai0 {
127                                 audio-codec = <&rt5631>;
128                                 i2s-controller = <&i2s>;
129                                 format = "i2s";
130                                 //continuous-clock;
131                                 //bitclock-inversion;
132                                 //frame-inversion;
133                                 //bitclock-master;
134                                 //frame-master;
135                         };
136                 };
137         };
138
139         rockchip-rt3224 {
140                 compatible = "rockchip-rt3261";
141                 dais {
142                         dai0 {
143                                 audio-codec = <&rt3261>;
144                                 i2s-controller = <&i2s>;
145                                 format = "i2s";
146                                 //continuous-clock;
147                                 //bitclock-inversion;
148                                 //frame-inversion;
149                                 //bitclock-master;
150                                 //frame-master;
151                         };
152                         dai1 {
153                                 audio-codec = <&rt3261>;
154                                 i2s-controller = <&i2s>;
155                                 format = "dsp_a";
156                                 //continuous-clock;
157                                 bitclock-inversion;
158                                 //frame-inversion;
159                                 //bitclock-master;
160                                 //frame-master;
161                         };
162                 };
163         };
164
165         usb_control {
166                 compatible = "rockchip,rk3288-usb-control";
167
168                 host_drv_gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
169                 otg_drv_gpio = <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;
170
171                 rockchip,remote_wakeup;
172                 rockchip,usb_irq_wakeup;
173         };
174 };
175
176 &gmac {
177 //      power_ctl_by = "gpio";  //"gpio" "pmu"
178         power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
179 //      power-pmu = "act_ldo"
180         reset-gpio = <&gpio4 GPIO_A7 GPIO_ACTIVE_LOW>;
181 };
182
183 &pinctrl {
184         //used for init some gpio
185         init-gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH
186                         /*&gpio0 GPIO_C2 GPIO_ACTIVE_HIGH */
187                         /*&gpio7 GPIO_B7 GPIO_ACTIVE_LOW */>;
188         
189         gpio0_gpio {
190                         gpio0_c2: gpio0-c2 {
191                                 rockchip,pins = <GPIO0_C2>;
192                                 rockchip,pull = <VALUE_PULL_DOWN>;
193                         };
194
195                         //to add
196                 };
197                 
198         gpio7_gpio {
199                         gpio7_b7: gpio7-b7 {
200                                 rockchip,pins = <GPIO7_B7>;
201                                 rockchip,pull = <VALUE_PULL_UP>;
202                         };
203
204                         //to add
205                 };
206                 
207         //could add other pinctrl definition such as gpio
208
209 };
210
211 &nandc0 {
212         status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
213 };
214 &nandc1 {
215         status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
216 };   
217
218 &nandc0reg {
219         status = "okay"; // used nand set "disabled" ,used emmc set "okay"
220 };
221
222 &emmc {
223         clock-frequency = <100000000>;
224         clock-freq-min-max = <400000 100000000>;
225
226         supports-highspeed;
227         supports-emmc;
228         bootpart-no-access;
229
230         //supports-DDR_MODE; //you should set the two value in your project. only close in RK3288-SDK board.
231         //caps2-mmc-hs200;
232
233         ignore-pm-notify;
234         keep-power-in-suspend;
235         
236         //poll-hw-reset 
237         status = "okay";
238 };
239     
240 &sdmmc {
241                 clock-frequency = <50000000>;
242                 clock-freq-min-max = <400000 50000000>;
243                 supports-highspeed;
244                 supports-sd;
245                 broken-cd;
246                 card-detect-delay = <200>;
247
248                 ignore-pm-notify;
249                 keep-power-in-suspend;
250         
251                 vmmc-supply = <&rk808_ldo5_reg>;
252                 status = "okay";
253 };
254                 
255 &sdio {
256                 clock-frequency = <50000000>;
257                 clock-freq-min-max = <200000 50000000>;
258                 supports-highspeed;
259                 supports-sdio;
260                 ignore-pm-notify;
261                 keep-power-in-suspend;
262                 //cap-sdio-irq;
263                 status = "okay";
264 };
265
266 &spi0 {
267         status = "okay";
268         max-freq = <48000000>;  
269         /*
270         spi_test@00 {
271                 compatible = "rockchip,spi_test_bus0_cs0";
272                 reg = <0>;
273                 spi-max-frequency = <24000000>;
274                 //spi-cpha;
275                 //spi-cpol;
276                 poll_mode = <0>;
277                 type = <0>;
278                 enable_dma = <0>;
279
280         };
281
282         spi_test@01 {
283                 compatible = "rockchip,spi_test_bus0_cs1";
284                 reg = <1>;
285                 spi-max-frequency = <24000000>;
286                 spi-cpha;
287                 spi-cpol;
288                 poll_mode = <0>;
289                 type = <0>;
290                 enable_dma = <0>;               
291         };
292         */
293 };
294
295 &spi1 {
296         status = "okay";
297         max-freq = <48000000>;
298         /*
299         spi_test@10 {
300                 compatible = "rockchip,spi_test_bus1_cs0";
301                 reg = <0>;
302                 spi-max-frequency = <24000000>;
303                 //spi-cpha;
304                 //spi-cpol;
305                 poll_mode = <0>;
306                 type = <0>;
307                 enable_dma = <0>;
308         };
309
310         */
311 };
312
313 &spi2 {
314         status = "okay";
315         max-freq = <48000000>;
316         /*
317         spi_test@20 {
318                 compatible = "rockchip,spi_test_bus2_cs0";
319                 reg = <0>;
320                 spi-max-frequency = <24000000>;
321                 //spi-cpha;
322                 //spi-cpol;
323                 poll_mode = <0>;
324                 type = <0>;
325                 enable_dma = <0>;
326         };
327
328         spi_test@21 {
329                 compatible = "rockchip,spi_test_bus2_cs1";
330                 reg = <1>;
331                 spi-max-frequency = <24000000>;
332                 //spi-cpha;
333                 //spi-cpol;
334                 poll_mode = <0>;
335                 type = <0>;
336                 enable_dma = <0>;
337         };
338         */
339 };
340
341 &uart_bt {
342         status = "okay";
343         dma-names = "!tx", "!rx";
344         pinctrl-0 = <&uart0_xfer &uart0_cts>;
345 };
346
347 &i2c0 {
348         status = "okay";
349         rk808: rk808@1b {
350                 reg = <0x1b>;
351                 status = "okay";
352         };
353         rk818: rk818@1c {
354                 reg = <0x1c>;
355                 status = "okay";
356         };
357                 syr827: syr827@40 {
358                 compatible = "silergy,syr82x";
359         reg = <0x40>;
360                 status = "okay";
361                 regulators {
362                         #address-cells = <1>;
363                         #size-cells = <0>;      
364                         syr827_dc1: regulator@0 {
365                         reg = <0>;
366                         regulator-compatible = "syr82x_dcdc1";
367                         regulator-name = "vdd_arm";
368                         regulator-min-microvolt = <712500>;
369                         regulator-max-microvolt = <1500000>;
370                         regulator-always-on;
371                         regulator-boot-on;
372                         regulator-initial-mode = <0x2>;
373                         regulator-initial-state = <3>;
374                         regulator-state-mem {
375                                 regulator-state-mode = <0x2>;
376                                 regulator-state-disabled;
377                                 regulator-state-uv = <900000>;
378                         };
379                 };
380            };
381         };
382         syr828: syr828@41 {
383                 compatible = "silergy,syr82x";
384                 reg = <0x41>;
385                 status = "okay";
386                 regulators {
387                         #address-cells = <1>;
388                         #size-cells = <0>;      
389                         syr828_dc1: regulator@0 {
390                         reg = <0>;
391                         regulator-compatible = "syr82x_dcdc1";
392                         regulator-name = "vdd_gpu";
393                         regulator-min-microvolt = <712500>;
394                         regulator-max-microvolt = <1500000>;
395                         regulator-always-on;
396                 regulator-boot-on;
397                         regulator-initial-mode = <0x2>;
398                         regulator-initial-state = <3>;
399                         regulator-state-mem {
400                                 regulator-state-mode = <0x2>;
401                                 regulator-state-enabled;
402                                 regulator-state-uv = <900000>;
403                         };      
404                 };
405            };
406         };
407         act8846: act8846@5a {
408                 reg = <0x5a>;
409                 status = "okay";
410         };
411
412         ricoh619: ricoh619@32 {
413                 reg = <0x32>;
414                 status = "okay";
415         };
416         bq24296: bq24296@6b {
417                 compatible = "ti,bq24296";
418                 reg = <0x6b>;
419                 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
420                 bq24296,chg_current = <1000 2000 3000>;
421                 status = "okay";
422         };
423         
424         bq27320: bq27320@55 {
425                 compatible = "ti,bq27320";
426                 reg = <0x55>;
427         /*   gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
428                 status = "okay";
429         };
430
431         CW2015@62 {
432                 compatible = "cw201x";
433                 reg = <0x62>;
434                 dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
435                 bat_low_gpio = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
436                 chg_ok_gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_HIGH>;
437                 bat_config_info = <0x15 0x42 0x60 0x59 0x52 0x58 0x4D 0x48 0x48 0x44 0x44 0x46 0x49 0x48 0x32
438                         0x24 0x20 0x17 0x13 0x0F 0x19 0x3E 0x51 0x45 0x08 0x76 0x0B 0x85 0x0E 0x1C 0x2E 0x3E 0x4D 0x52 0x52
439                         0x57 0x3D 0x1B 0x6A 0x2D 0x25 0x43 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0xFF 0x7B 0xBB
440                         0xCB 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x46 0xAE>;
441                 is_dc_charge = <1>;
442                 is_usb_charge = <0>;
443         };
444         
445         rtc@51 {
446                 compatible = "rtc,hym8563";
447                 reg = <0x51>;
448                 irq_gpio = <&gpio0 GPIO_A4 IRQ_TYPE_EDGE_FALLING>;
449         };
450
451 };
452
453 &i2c1 {
454         status = "okay";
455         rtc@51 {
456                 compatible = "nxp,pcf8563";
457                 reg = <0x51>;
458         };
459         
460         sensor@1d {
461                 compatible = "gs_mma8452";
462                 reg = <0x1d>;
463                 type = <SENSOR_TYPE_ACCEL>;
464                 irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_EDGE_FALLING>;
465                 irq_enable = <1>;
466                 poll_delay_ms = <30>;
467                 layout = <1>;
468         };
469                 sensor@19 {
470                 compatible = "gs_lis3dh";
471                 reg = <0x19>;
472                 type = <SENSOR_TYPE_ACCEL>;
473                 irq-gpio = <&gpio0 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
474                 irq_enable = <1>;
475                 poll_delay_ms = <30>;
476                 layout = <1>;
477         };
478                 sensor@0d {
479                 compatible = "ak8963";
480                 reg = <0x0d>;
481                 type = <SENSOR_TYPE_COMPASS>;
482                 irq-gpio = <&gpio8 GPIO_A2 IRQ_TYPE_EDGE_RISING>;
483                 irq_enable = <1>;
484                 poll_delay_ms = <30>;
485                 layout = <1>;
486         };
487
488                 sensor@6b {
489                 compatible = "l3g20d_gyro";
490                 reg = <0x6b>;
491                 type = <SENSOR_TYPE_GYROSCOPE>;
492                 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_LEVEL_LOW>;
493                 irq_enable = <1>;
494                 poll_delay_ms = <30>;
495                 layout = <1>;
496         };
497         sensor@10 {
498               compatible = "ls_cm3218";
499               reg = <0x10>;
500               type = <SENSOR_TYPE_LIGHT>;
501               irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>;              
502               irq_enable = <1>;
503               poll_delay_ms = <30>;
504               layout = <1>;
505        };
506
507     nfc-bcm2079x@76 {
508         compatible = "nfc-bcm2079x.ap6441";
509         reg = <0x76>;
510         en_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
511         wake_gpio = <&gpio5 GPIO_C0 GPIO_ACTIVE_HIGH>;
512         irq_gpio = <&gpio5 GPIO_B7 IRQ_TYPE_EDGE_RISING>;
513         status = "disabled";
514     };
515     nfc-bcm2079x@77 {
516         compatible = "nfc-bcm2079x.ap6493";
517         reg = <0x77>;
518         en_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
519         wake_gpio = <&gpio5 GPIO_C0 GPIO_ACTIVE_HIGH>;
520         irq_gpio = <&gpio5 GPIO_B7 IRQ_TYPE_EDGE_RISING>;
521         status = "disabled";
522     };
523 };
524
525 &i2c2 {
526         status = "okay";
527         rt5631: rt5631@1a {
528                 compatible = "rt5631";
529                 reg = <0x1a>;
530         };
531         es8323: es8323@10 {
532                 compatible = "es8323";
533                 reg = <0x10>;
534         };
535         rt3261: rt3261@1c {
536                 compatible = "rt3261";
537                 reg = <0x1c>;
538         //      codec-en-gpio = <0>;//sdk default high level
539                 spk-num= <2>;
540                 modem-input-mode = <1>;
541                 lout-to-modem_mode = <1>;
542                 spk-amplify = <2>;
543                 playback-if1-data_control = <0>;
544                 playback-if2-data_control = <0>;
545         };
546         rt5616: rt5616@1b {
547                 compatible = "rt5616";
548                 reg = <0x1b>;
549         };
550 };
551
552 &i2c3 {
553         status = "okay";
554 };
555
556 &i2c4 {
557         status = "okay";
558         ts@55 {
559                 compatible = "goodix,gt8xx";
560                 reg = <0x55>;
561                 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
562                 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_LOW>;
563                 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
564                 max-x = <1280>;
565                 max-y = <800>;
566         };
567         
568         ts@01 {
569                 compatible = "ct,vtl_ts";
570                 reg = <0x01>;
571                 screen_max_x = <2048>;
572                 screen_max_y = <1536>;
573                 irq_gpio_number = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
574                 rst_gpio_number = <&gpio7 GPIO_A5 GPIO_ACTIVE_HIGH>;
575         };
576 };
577
578 &i2c5 {
579         status = "disable";
580 };
581
582 &fb {
583         rockchip,disp-mode = <DUAL>;
584 };
585
586 &rk_screen {
587          display-timings = <&disp_timings>;
588 };
589
590 /*lcdc0 as PRMRY(LCD),lcdc1 as EXTEND(HDMI)*/
591 &lcdc0 {
592         status = "okay";
593         rockchip,mirror = <NO_MIRROR>;
594         rockchip,cabc_mode = <0>;
595         power_ctr: power_ctr {
596                 rockchip,debug = <0>;
597                 lcd_en:lcd_en {
598                         rockchip,power_type = <GPIO>;
599                         gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
600                         rockchip,delay = <10>;
601                 };
602                 
603                 lcd_cs:lcd_cs {
604                         rockchip,power_type = <GPIO>;
605                         gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
606                         rockchip,delay = <10>;
607                 };
608
609                 /*lcd_rst:lcd_rst {
610                         rockchip,power_type = <GPIO>;
611                         gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
612                         rockchip,delay = <5>;
613                 };*/
614
615         };
616 };
617
618 &lcdc1 {
619         status = "okay";
620         rockchip,mirror = <NO_MIRROR>;
621 };
622
623 &hdmi {
624         status = "okay";
625         rockchips,hdmi_audio_source = <0>;
626 };
627
628 &adc {
629         status = "okay";
630
631         rockchip_headset {
632                 compatible = "rockchip_headset";
633                 headset_gpio = <&gpio0 GPIO_C2 GPIO_ACTIVE_LOW>;
634                 pinctrl-names = "default";
635                 pinctrl-0 = <&gpio0_c2>;
636                 io-channels = <&adc 2>; 
637        /*
638                hook_gpio = ;
639                hook_down_type = ; //interrupt hook key down status 
640                 */       
641        };
642
643         key {
644                 compatible = "rockchip,key";
645                 io-channels = <&adc 1>;
646
647                 vol-up-key {
648                         linux,code = <115>;
649                         label = "volume up";
650                         rockchip,adc_value = <1>;
651                 };
652
653                 vol-down-key {
654                         linux,code = <114>;
655                         label = "volume down";
656                         rockchip,adc_value = <170>;
657                 };
658                 
659                 power-key {
660                         gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
661                         linux,code = <116>;
662                         label = "power";
663                         gpio-key,wakeup;
664                 };
665
666                 menu-key {
667                         linux,code = <59>;
668                         label = "menu";
669                         rockchip,adc_value = <355>;
670                 };
671
672                 home-key {
673                         linux,code = <102>;
674                         label = "home";
675                         rockchip,adc_value = <746>;
676                 };
677
678                 back-key {
679                         linux,code = <158>;
680                         label = "back";
681                         rockchip,adc_value = <560>;
682                 };
683
684                 camera-key {
685                         linux,code = <212>;
686                         label = "camera";
687                         rockchip,adc_value = <450>;
688                 };
689         };
690 };
691
692 &pwm0 {
693         status = "okay";
694 };
695
696 &pwm1 {
697         status = "okay";
698 };
699
700
701 &clk_core_dvfs_table {
702         operating-points = <
703                 /* KHz    uV */
704                 126000 850000
705                 216000 850000
706                 312000 850000
707                 408000 850000
708                 600000 900000
709                 696000 950000
710                 816000 1000000
711                 1008000 1050000
712                 1200000 1100000
713                 1416000 1200000
714                 >;
715         status="okay";
716 };
717
718 &clk_gpu_dvfs_table {
719         operating-points = <
720                 /* KHz    uV */
721                 100000 850000
722                 200000 900000
723                 300000 950000
724                 420000 1050000
725                 500000 1150000
726                 >;
727         status="okay";
728 };
729
730 &clk_ddr_dvfs_table {
731         operating-points = <
732                 /* KHz    uV */
733                 200000 950000
734                 300000 950000
735                 400000 1000000
736                 533000 1050000
737                 >;
738
739         freq-table = <
740                 /*status                freq(KHz)*/
741                 SYS_STATUS_NORMAL       400000
742                 SYS_STATUS_SUSPEND      200000
743                 SYS_STATUS_VIDEO_1080P  240000
744                 SYS_STATUS_VIDEO_4K     400000
745                 SYS_STATUS_PERFORMANCE  528000
746                 SYS_STATUS_DUALVIEW     400000
747                 SYS_STATUS_BOOST        324000
748                 SYS_STATUS_ISP          533000
749                 >;
750         auto-freq-table = <
751                 240000
752                 324000
753                 396000
754                 528000
755                 >;
756         auto-freq=<1>;
757         status="okay";
758 };
759 /include/ "act8846.dtsi"
760 &act8846 {
761         gpios =<&gpio7 GPIO_A1 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_B2 GPIO_ACTIVE_HIGH>;
762         act8846,system-power-controller;
763
764         regulators {
765                 
766                 dcdc1_reg: regulator@0{
767                         regulator-name= "act_dcdc1";
768                         regulator-min-microvolt = <1200000>;
769                         regulator-max-microvolt = <1200000>;
770                         regulator-always-on;
771                         regulator-boot-on;
772                 };
773
774                 dcdc2_reg: regulator@1 {
775                         regulator-name= "vccio";
776                         regulator-min-microvolt = <3300000>;
777                         regulator-max-microvolt = <3300000>;
778                         regulator-initial-state = <3>;
779                         regulator-state-mem {
780                                 regulator-state-enabled;
781                                 regulator-state-uv = <3300000>;
782                         };              
783                 };
784
785                 dcdc3_reg: regulator@2 {
786                         regulator-name= "vdd_logic";
787                         regulator-min-microvolt = <700000>;
788                         regulator-max-microvolt = <1500000>;
789                         regulator-initial-state = <3>;
790                         regulator-state-mem {
791                                 regulator-state-enabled;
792                                 regulator-state-uv = <1200000>;
793                         };              
794                 
795                 };
796
797                 dcdc4_reg: regulator@3 {
798                         regulator-name= "act_dcdc4";
799                         regulator-min-microvolt = <2000000>;
800                         regulator-max-microvolt = <2000000>;
801                                 regulator-initial-state = <3>;
802                         regulator-state-mem {
803                                 regulator-state-enabled;
804                                 regulator-state-uv = <2000000>;
805                         };
806                 };
807
808                 ldo1_reg: regulator@4 {
809                         regulator-name= "vccio_sd";
810                         regulator-min-microvolt = <3300000>;
811                         regulator-max-microvolt = <3300000>;
812                         
813                 };
814
815                 ldo2_reg: regulator@5 {
816                         regulator-name= "act_ldo2";
817                         regulator-min-microvolt = <1000000>;
818                         regulator-max-microvolt = <1000000>;
819                 
820                 };
821
822                 ldo3_reg: regulator@6 {
823                         regulator-name= "act_ldo3";
824                         regulator-min-microvolt = <3300000>;
825                         regulator-max-microvolt = <3300000>;
826                         
827                 };
828
829                 ldo4_reg:regulator@7 {
830                         regulator-name= "act_ldo4";
831                         regulator-min-microvolt = <3300000>;
832                         regulator-max-microvolt = <3300000>;
833                 
834                 };
835
836                 ldo5_reg: regulator@8 {
837                         regulator-name= "act_ldo5";
838                         regulator-min-microvolt = <3300000>;
839                         regulator-max-microvolt = <3300000>;
840                 
841                 };
842
843                 ldo6_reg: regulator@9 {
844                         regulator-name= "act_ldo6";
845                         regulator-min-microvolt = <1000000>;
846                         regulator-max-microvolt = <1000000>;
847                         regulator-initial-state = <3>;
848                         regulator-state-mem {
849                                 regulator-state-enabled;
850                         };
851                         
852                 };
853
854                 ldo7_reg: regulator@10 {
855                         regulator-name= "vcc_18";
856                         regulator-min-microvolt = <1800000>;
857                         regulator-max-microvolt = <1800000>;
858                         regulator-initial-state = <3>;
859                         regulator-state-mem {
860                                 regulator-state-enabled;
861                         };
862                 
863                 };
864
865                 ldo8_reg: regulator@11 {
866                         regulator-name= "act_ldo8";
867                         regulator-min-microvolt = <1800000>;
868                         regulator-max-microvolt = <1800000>;
869                 
870                 };
871         };
872 };
873
874
875 /include/ "rk808.dtsi"
876 &rk808 {
877         gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
878         rk808,system-power-controller;
879
880         regulators {
881                 
882                 rk808_dcdc1_reg: regulator@0{
883                         regulator-name= "vdd_arm";
884                         regulator-always-on;
885                         regulator-boot-on;
886                 };
887
888                 rk808_dcdc2_reg: regulator@1 {
889                         regulator-name= "vdd_gpu";
890                         //regulator-always-on;
891                         //regulator-boot-on;
892                 };
893
894                 rk808_dcdc3_reg: regulator@2 {
895                         regulator-name= "rk_dcdc3";
896                         regulator-min-microvolt = <1200000>;
897                         regulator-max-microvolt = <1200000>;
898                         regulator-always-on;
899                         regulator-boot-on;
900                 };
901
902                 rk808_dcdc4_reg: regulator@3 {
903                         regulator-name= "vccio";
904                         regulator-min-microvolt = <1800000>;
905                         regulator-max-microvolt = <3300000>;
906                         regulator-always-on;
907                         regulator-boot-on;
908                 };
909
910                 rk808_ldo1_reg: regulator@4 {
911                         regulator-name= "rk_ldo1";
912                         regulator-min-microvolt = <3300000>;
913                         regulator-max-microvolt = <3300000>;
914                         regulator-always-on;
915                         regulator-boot-on;
916                 };
917
918                 rk808_ldo2_reg: regulator@5 {
919                         regulator-name= "rk_ldo2";
920                         regulator-min-microvolt = <3300000>;
921                         regulator-max-microvolt = <3300000>;
922                         regulator-always-on;
923                         regulator-boot-on;
924                 };
925
926                 rk808_ldo3_reg: regulator@6 {
927                         regulator-name= "rk_ldo3";
928                         regulator-min-microvolt = <1000000>;
929                         regulator-max-microvolt = <1000000>;
930                         regulator-always-on;
931                         regulator-boot-on;
932                 };
933
934                 rk808_ldo4_reg:regulator@7 {
935                         regulator-name= "rk_ldo4";
936                         regulator-min-microvolt = <1800000>;
937                         regulator-max-microvolt = <1800000>;
938                         regulator-always-on;
939                         regulator-boot-on;
940                 };
941
942                 rk808_ldo5_reg: regulator@8 {
943                         regulator-name= "vcc_sd";
944                         regulator-min-microvolt = <1800000>;
945                         regulator-max-microvolt = <3300000>;
946                         regulator-always-on;
947                         regulator-boot-on;
948                 };
949
950                 rk808_ldo6_reg: regulator@9 {
951                         regulator-name= "rk_ldo6";
952                         regulator-min-microvolt = <1000000>;
953                         regulator-max-microvolt = <1000000>;
954                         regulator-always-on;
955                         regulator-boot-on;
956                 };
957
958                 rk808_ldo7_reg: regulator@10 {
959                         regulator-name= "rk_ldo7";
960                         regulator-min-microvolt = <1800000>;
961                         regulator-max-microvolt = <1800000>;
962                         regulator-always-on;
963                         regulator-boot-on;
964                 };
965
966                 rk808_ldo8_reg: regulator@11 {
967                         regulator-name= "rk_ldo8";
968                         regulator-min-microvolt = <3300000>;
969                         regulator-max-microvolt = <3300000>;
970                         regulator-always-on;
971                         regulator-boot-on;
972                 };
973
974                 rk808_ldo9_reg: regulator@12 {
975                         regulator-name= "rk_ldo9";
976                         regulator-always-on;
977                         regulator-boot-on;
978                 };
979
980                 rk808_ldo10_reg: regulator@13 {
981                         regulator-name= "rk_ldo10";
982                         regulator-always-on;
983                         regulator-boot-on;
984                 };
985         };
986 };
987
988 /include/ "ricoh619.dtsi"
989 &ricoh619 {
990         gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
991         ricoh619,system-power-controller;
992         
993         regulators {
994                 ricoh619_dcdc1_reg: regulator@0 {
995                         regulator-name = "vccio";
996                         regulator-min-microvolt = <3300000>;
997                         regulator-max-microvolt = <3300000>;
998                         regulator-initial-mode = <0x2>;
999                         regulator-initial-state = <3>;
1000                         regulator-state-mem {
1001                                 regulator-state-mode = <0x2>;
1002                                 regulator-state-enabled;
1003                                 regulator-state-uv = <2800000>;
1004                         };      
1005                 };
1006                 ricoh619_dcdc2_reg: regulator@1 {
1007                         regulator-name = "ricoh619_dcdc2";
1008                         regulator-min-microvolt = <2000000>;
1009                         regulator-max-microvolt = <2000000>;
1010                         regulator-initial-mode = <0x2>;
1011                         regulator-initial-state = <3>;
1012                         regulator-state-mem {
1013                                 regulator-state-mode = <0x2>;
1014                                 regulator-state-enabled;
1015                                 regulator-state-uv = <2000000>;
1016                         };      
1017                 };
1018                 ricoh619_dcdc3_reg: regulator@2 {
1019                         regulator-name = "vcc_lcd";
1020                         regulator-min-microvolt = <3300000>;
1021                         regulator-max-microvolt = <3300000>;
1022                         regulator-initial-mode = <0x2>;
1023                         regulator-initial-state = <3>;
1024                         regulator-state-mem {
1025                                 regulator-state-mode = <0x2>;
1026                                 regulator-state-enabled;
1027                                 regulator-state-uv = <3300000>;
1028                         };      
1029                 };
1030                 ricoh619_dcdc4_reg: regulator@3 {
1031                         regulator-name = "vdd_logic";
1032                         regulator-min-microvolt = <700000>;
1033                         regulator-max-microvolt = <1500000>;
1034                         regulator-initial-mode = <0x2>;
1035                         regulator-initial-state = <3>;
1036                         regulator-state-mem {
1037                                 regulator-state-mode = <0x2>;
1038                                 regulator-state-enabled;
1039                                 regulator-state-uv = <900000>;
1040                         };      
1041                 };
1042                 ricoh619_dcdc5_reg: regulator@4 {
1043                         regulator-name = "vcc_ddr";
1044                         regulator-min-microvolt = <1200000>;
1045                         regulator-max-microvolt = <1200000>;
1046                         regulator-initial-mode = <0x2>;
1047                         regulator-initial-state = <3>;
1048                         regulator-state-mem {
1049                                 regulator-state-mode = <0x2>;
1050                                 regulator-state-enabled;
1051                                 regulator-state-uv = <1200000>;
1052                         };      
1053                 };
1054                 ricoh619_ldo1_reg: regulator@5  {
1055                         regulator-name = "vccio_pmu";
1056                         regulator-min-microvolt = <3300000>;
1057                         regulator-max-microvolt = <3300000>;
1058                         regulator-initial-state = <3>;
1059                         regulator-state-mem {
1060                                 regulator-state-enabled;
1061                                 regulator-state-uv = <3300000>;
1062                         };      
1063                 };
1064                 ricoh619_ldo2_reg: regulator@6  {
1065                         regulator-name = "ricoh619_ldo2";
1066                         regulator-min-microvolt = <3300000>;
1067                         regulator-max-microvolt = <3300000>;
1068                         regulator-initial-state = <3>;
1069                         regulator-state-mem {
1070                                 regulator-state-enabled;
1071                                 regulator-state-uv = <3300000>;
1072                         };
1073                 };
1074                 ricoh619_ldo3_reg: regulator@7  {
1075                         regulator-name = "ricoh619_ldo3";
1076                         regulator-min-microvolt = <3300000>;
1077                         regulator-max-microvolt = <3300000>;
1078                         regulator-initial-state = <3>;
1079                         regulator-state-mem {
1080                                 regulator-state-enabled;
1081                                 regulator-state-uv = <3300000>;
1082                         };
1083                 };
1084                 ricoh619_ldo4_reg: regulator@8  {
1085                         regulator-name = "vcc_sd";
1086                         regulator-min-microvolt = <3300000>;
1087                         regulator-max-microvolt = <3300000>;
1088                         regulator-initial-state = <3>;
1089                         regulator-state-mem {
1090                                 regulator-state-enabled;
1091                                 regulator-state-uv = <3300000>;
1092                         };
1093                 };
1094                 ricoh619_ldo5_reg: regulator@9  {
1095                         regulator-name = "vcc_wl";
1096                         regulator-min-microvolt = <1800000>;
1097                         regulator-max-microvolt = <1800000>;
1098                         regulator-initial-state = <3>;
1099                         regulator-state-mem {
1100                                 regulator-state-enabled;
1101                                 regulator-state-uv = <1800000>;
1102                         };
1103                 };
1104                 ricoh619_ldo6_reg: regulator@10  {
1105                         regulator-name = "ricoh619_ldo6";
1106                         regulator-min-microvolt = <1800000>;
1107                         regulator-max-microvolt = <1800000>;
1108                         regulator-initial-state = <3>;
1109                         regulator-state-mem {
1110                                 regulator-state-enabled;
1111                                 regulator-state-uv = <1800000>;
1112                         };
1113                 };
1114                 ricoh619_ldo7_reg: regulator@11  {
1115                         regulator-name = "ricoh619_ldo7";
1116                         regulator-min-microvolt = <1000000>;
1117                         regulator-max-microvolt = <1000000>;
1118                         regulator-initial-state = <3>;
1119                         regulator-state-mem {
1120                                 regulator-state-enabled;
1121                                 regulator-state-uv = <1000000>;
1122                         };
1123                 };
1124                 ricoh619_ldo8_reg: regulator@12  {
1125                         regulator-name = "ricoh619_ldo8";
1126                         regulator-min-microvolt = <3300000>;
1127                         regulator-max-microvolt = <3300000>;
1128                         regulator-initial-state = <3>;
1129                         regulator-state-mem {
1130                                 regulator-state-enabled;
1131                                 regulator-state-uv = <3300000>;
1132                         };
1133                 };
1134                 ricoh619_ldo9_reg: regulator@13  {
1135                         regulator-name = "ricoh619_ldo9";
1136                         regulator-min-microvolt = <1000000>;
1137                         regulator-max-microvolt = <1000000>;
1138                         regulator-initial-state = <3>;
1139                         regulator-state-mem {
1140                                 regulator-state-enabled;
1141                                 regulator-state-uv = <1000000>;
1142                         };
1143                 };
1144                 ricoh619_ldo10_reg: regulator@14  {
1145                         regulator-name = "vcc_18";
1146                         regulator-min-microvolt = <1800000>;
1147                         regulator-max-microvolt = <1800000>;
1148                         regulator-initial-state = <3>;
1149                         regulator-state-mem {
1150                                 regulator-state-enabled;
1151                                 regulator-state-uv = <1800000>;
1152                         };
1153                 };
1154                 ricoh619_ldortc1_reg: regulator@15  {
1155                         regulator-name = "ricoh619_ldortc1";
1156                         regulator-min-microvolt = < 3300000>;
1157                         regulator-max-microvolt = <3300000>;
1158                 };
1159                 ricoh619_ldortc2_reg: regulator@16  {
1160                         regulator-name = "ricoh619_ldortc2";
1161                         regulator-min-microvolt = < 3300000>;
1162                         regulator-max-microvolt = <3300000>;
1163                 };
1164         };
1165 };
1166 /include/ "rk818.dtsi"
1167 &rk818 {
1168         gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
1169         rk818,system-power-controller;
1170
1171         regulators {
1172                 
1173                 rk818_dcdc1_reg: regulator@0{
1174                         regulator-name= "vdd_logic";
1175                         regulator-min-microvolt = <700000>;
1176                         regulator-max-microvolt = <1500000>;
1177                         regulator-initial-mode = <0x2>;
1178                         regulator-initial-state = <3>;
1179                         regulator-state-mem {
1180                                 regulator-state-mode = <0x2>;
1181                                 regulator-state-enabled;
1182                                 regulator-state-uv = <900000>;
1183                         };              
1184                 };
1185
1186                 rk818_dcdc2_reg: regulator@1 {
1187                         regulator-name= "rk818_dcdc2";
1188                         regulator-min-microvolt = <1200000>;
1189                         regulator-max-microvolt = <1200000>;    
1190                         regulator-initial-mode = <0x2>;
1191                         regulator-initial-state = <3>;
1192                         regulator-state-mem {
1193                                 regulator-state-mode = <0x2>;
1194                                 regulator-state-enabled;
1195                                 regulator-state-uv = <1200000>;
1196                         };      
1197                 };
1198
1199                 rk818_dcdc3_reg: regulator@2 {
1200                         regulator-name= "rk818_dcdc3";
1201                         regulator-min-microvolt = <1200000>;
1202                         regulator-max-microvolt = <1200000>;
1203                                 regulator-initial-mode = <0x2>;
1204                         regulator-initial-state = <3>;
1205                         regulator-state-mem {
1206                                 regulator-state-mode = <0x2>;
1207                                 regulator-state-enabled;
1208                                 regulator-state-uv = <1200000>;
1209                         };      
1210                 };
1211
1212                 rk818_dcdc4_reg: regulator@3 {
1213                         regulator-name= "vccio";
1214                         regulator-min-microvolt = <1800000>;
1215                         regulator-max-microvolt = <3300000>;
1216                         regulator-initial-mode = <0x2>;
1217                         regulator-initial-state = <3>;
1218                         regulator-state-mem {
1219                                 regulator-state-mode = <0x2>;
1220                                 regulator-state-enabled;
1221                                 regulator-state-uv = <2800000>;
1222                         };      
1223                 };
1224
1225                 rk818_ldo1_reg: regulator@4 {
1226                         regulator-name= "rk818_ldo1";
1227                         regulator-min-microvolt = <3300000>;
1228                         regulator-max-microvolt = <3300000>;
1229                         regulator-initial-state = <3>;
1230                         regulator-state-mem {
1231                                 regulator-state-enabled;
1232                                 regulator-state-uv = <3300000>;
1233                         };      
1234                 };
1235
1236                 rk818_ldo2_reg: regulator@5 {
1237                         regulator-name= "rk818_ldo2";
1238                         regulator-min-microvolt = <3300000>;
1239                         regulator-max-microvolt = <3300000>;
1240                         regulator-initial-state = <3>;
1241                         regulator-state-mem {
1242                                 regulator-state-enabled;
1243                                 regulator-state-uv = <3300000>;
1244                         };      
1245                 };
1246
1247                 rk818_ldo3_reg: regulator@6 {
1248                         regulator-name= "rk818_ldo3";
1249                         regulator-min-microvolt = <1000000>;
1250                         regulator-max-microvolt = <1000000>;
1251                         regulator-initial-state = <3>;
1252                         regulator-state-mem {
1253                                 regulator-state-enabled;
1254                                 regulator-state-uv = <1000000>;
1255                         };      
1256                 };
1257
1258                 rk818_ldo4_reg:regulator@7 {
1259                         regulator-name= "rk818_ldo4";
1260                         regulator-min-microvolt = <1800000>;
1261                         regulator-max-microvolt = <1800000>;
1262                         regulator-initial-state = <3>;
1263                         regulator-state-mem {
1264                                 regulator-state-disabled;
1265                                 regulator-state-uv = <1800000>;
1266                         };
1267                 };
1268
1269                 rk818_ldo5_reg: regulator@8 {
1270                         regulator-name= "rk818_ldo5";
1271                         regulator-min-microvolt = <3300000>;
1272                         regulator-max-microvolt = <3300000>;
1273                         regulator-initial-state = <3>;
1274                         regulator-state-mem {
1275                                 regulator-state-enabled;
1276                                 regulator-state-uv = <3300000>;
1277                         };
1278                 };
1279
1280                 rk818_ldo6_reg: regulator@9 {
1281                         regulator-name= "rk818_ldo6";
1282                         regulator-min-microvolt = <1000000>;
1283                         regulator-max-microvolt = <1000000>;
1284                         regulator-initial-state = <3>;
1285                         regulator-state-mem {
1286                                 regulator-state-disabled;
1287                                 regulator-state-uv = <1000000>;
1288                         };      
1289                 };
1290
1291                 rk818_ldo7_reg: regulator@10 {
1292                         regulator-name= "rk818_ldo7";
1293                         regulator-min-microvolt = <1800000>;
1294                         regulator-max-microvolt = <1800000>;
1295                         regulator-initial-state = <3>;
1296                         regulator-state-mem {
1297                                 regulator-state-enabled;
1298                                 regulator-state-uv = <1800000>;
1299                         };      
1300                 };
1301
1302                 rk818_ldo8_reg: regulator@11 {
1303                         regulator-name= "rk818_ldo8";
1304                         regulator-min-microvolt = <1800000>;
1305                         regulator-max-microvolt = <1800000>;
1306                         regulator-initial-state = <3>;
1307                         regulator-state-mem {
1308                                 regulator-state-enabled;
1309                                 regulator-state-uv = <1800000>;
1310                         };      
1311                 };
1312                 rk818_ldo9_reg: regulator@12 {
1313                         regulator-name= "vcc_sd";
1314                         regulator-min-microvolt = <1800000>;
1315                 regulator-max-microvolt = <3300000>;
1316                         regulator-initial-state = <3>;
1317                         regulator-state-mem {
1318                                 regulator-state-enabled;
1319                                 regulator-state-uv = <3300000>;
1320                         };
1321                 };
1322                 rk818_ldo10_reg: regulator@13 {
1323                         regulator-name= "rk818_ldo10";
1324                         regulator-state-mem {
1325                                 regulator-state-disabled;
1326                         };
1327                 };
1328         };
1329        battery {
1330                 ocv_table = <3350 3677 3693 3719 3752 3770 3775 3778 3785 3796 3812 3839 3881 3907 3933 3958 3978 4033 4087 4123 4174>;
1331                 design_capacity = <2100>;
1332                 design_qmax = <2200>;
1333                 max_overcharge = <100>;
1334                 max_charge_currentma = <1500>;
1335                 max_charge_voltagemv = <4260>;
1336                 max_bat_voltagemv = <4200>;
1337         };
1338 };
1339
1340 &lcdc_vdd_domain {
1341         regulator-name = "vcc30_lcd";
1342         };
1343 &dpio_vdd_domain{
1344         regulator-name = "vcc18_cif";   
1345         };
1346 &flash0_vdd_domain{
1347         regulator-name = "vcc_flash";   
1348         };
1349 &flash1_vdd_domain{
1350         regulator-name = "vcc_flash";                   
1351         };
1352 &apio3_vdd_domain{
1353         regulator-name = "vccio_wl";            
1354         };
1355 &apio5_vdd_domain{
1356         regulator-name = "vccio";               
1357         };
1358 &apio4_vdd_domain{
1359         regulator-name = "vccio";               
1360         };
1361 &apio1_vdd_domain{
1362         regulator-name = "vccio";                       
1363         };
1364 &apio2_vdd_domain{
1365         regulator-name = "vccio";               
1366         };
1367 &sdmmc0_vdd_domain{
1368         regulator-name = "vcc_sd";                      
1369         };
1370