bba48231be36dcb9de14f066e49790394eb0778f
[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         pmu_regulator = "act_ldo3";
19         pmu_enable_level = <1>; //1->HIGH, 0->LOW
20
21         WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
22         WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
23         //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
24
25         status = "okay";
26     };
27
28     wireless-bluetooth {
29         compatible = "bluetooth-platdata";
30
31         uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
32         pinctrl-names = "default","rts_gpio";
33         pinctrl-0 = <&uart0_rts>;
34         pinctrl-1 = <&uart0_rts_gpio>;
35
36         BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
37         BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
38         BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
39         BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
40
41         status = "okay";
42     };
43
44     hallsensor {
45                compatible = "hall_och165t";
46                type = <SENSOR_TYPE_HALL>;
47                irq-gpio = <&gpio0 GPIO_A6 IRQ_TYPE_EDGE_BOTH>;
48      };
49
50         backlight {
51                 compatible = "pwm-backlight";
52                 pwms = <&pwm0 0 25000>;
53                 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>;
54                 default-brightness-level = <128>;
55                 enable-gpios = <&gpio7 GPIO_A2 GPIO_ACTIVE_HIGH>;
56         };
57
58         pwm_regulator {
59                 compatible = "rockchip_pwm_regulator";
60                 pwms = <&pwm1 0 25000>;
61                 rockchip,pwm_id= <1>;
62                 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
63                 rockchip,pwm_voltage= <1000000>;
64                 rockchip,pwm_min_voltage= <925000>;
65                 rockchip,pwm_max_voltage= <1400000>;
66                 rockchip,pwm_suspend_voltage= <950000>;
67                 rockchip,pwm_coefficient= <475>;
68                 regulators {
69                         #address-cells = <1>;
70                         #size-cells = <0>;
71                         pwm_reg0: regulator@0 {
72                                 regulator-compatible = "pwm_dcdc1";
73                                 regulator-name= "vdd_logic";
74                                 regulator-min-microvolt = <925000>;
75                                 regulator-max-microvolt = <1400000>;
76                                 regulator-always-on;
77                                 regulator-boot-on;
78                         };
79                 };
80         };
81
82         codec_hdmi_i2s: codec-hdmi-i2s {
83                 compatible = "hdmi-i2s";
84         };
85
86         codec_hdmi_spdif: codec-hdmi-spdif {
87                 compatible = "hdmi-spdif";
88         };
89
90         rockchip-hdmi-i2s {
91                 compatible = "rockchip-hdmi-i2s";
92                 dais {
93                         dai0 {
94                                 audio-codec = <&codec_hdmi_i2s>;
95                                 i2s-controller = <&i2s>;
96                                 format = "i2s";
97                                 //continuous-clock;
98                                 //bitclock-inversion;
99                                 //frame-inversion;
100                                 //bitclock-master;
101                                 //frame-master;
102                         };
103                 };
104         };
105         
106         rockchip-hdmi-spdif {
107                 compatible = "rockchip-hdmi-spdif";
108                 dais {
109                         dai0 {
110                                 audio-codec = <&codec_hdmi_spdif>;
111                                 i2s-controller = <&spdif>;
112                                 format = "spdif";
113                                 //continuous-clock;
114                                 //bitclock-inversion;
115                                 //frame-inversion;
116                                 //bitclock-master;
117                                 //frame-master;
118                         };
119                 };              
120         };
121
122         rockchip-rt5631 {
123                 compatible = "rockchip-rt5631";
124                 dais {
125                         dai0 {
126                                 audio-codec = <&rt5631>;
127                                 i2s-controller = <&i2s>;
128                                 format = "i2s";
129                                 //continuous-clock;
130                                 //bitclock-inversion;
131                                 //frame-inversion;
132                                 //bitclock-master;
133                                 //frame-master;
134                         };
135                 };
136         };
137
138         rockchip-rt3224 {
139                 compatible = "rockchip-rt3261";
140                 dais {
141                         dai0 {
142                                 audio-codec = <&rt3261>;
143                                 i2s-controller = <&i2s>;
144                                 format = "i2s";
145                                 //continuous-clock;
146                                 //bitclock-inversion;
147                                 //frame-inversion;
148                                 //bitclock-master;
149                                 //frame-master;
150                         };
151                         dai1 {
152                                 audio-codec = <&rt3261>;
153                                 i2s-controller = <&i2s>;
154                                 format = "i2s";
155                                 //continuous-clock;
156                                 //bitclock-inversion;
157                                 //frame-inversion;
158                                 //bitclock-master;
159                                 //frame-master;
160                         };
161                 };
162         };
163
164 };
165
166 &gmac {
167 //      power_ctl_by = "gpio";  //"gpio" "pmu"
168         power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
169 //      power-pmu = "act_ldo"
170         reset-gpio = <&gpio4 GPIO_A7 GPIO_ACTIVE_LOW>;
171 };
172
173 &pinctrl {
174         gpio0_gpio {
175                         gpio0_c2: gpio0-c2 {
176                                 rockchip,pins = <GPIO0_C2>;
177                                 rockchip,pull = <VALUE_PULL_DOWN>;
178                         };
179
180                         //to add
181                 };
182                 
183         gpio7_gpio {
184                         gpio7_b7: gpio7-b7 {
185                                 rockchip,pins = <GPIO7_B7>;
186                                 rockchip,pull = <VALUE_PULL_UP>;
187                         };
188
189                         //to add
190                 };
191         //could add other pinctrl definition such as gpio
192
193 };
194
195 &emmc {
196                 clock-frequency = <200000000>;
197                 clock-freq-min-max = <400000 200000000>;
198         supports-highspeed;
199                 supports-emmc;
200                 bootpart-no-access;
201         ignore-pm-notify;
202                 keep-power-in-suspend;
203         status = "okay";
204 };
205     
206 &sdmmc {
207                 clock-frequency = <50000000>;
208                 lock-freq-min-max = <400000 50000000>;
209                 supports-highspeed;
210                 supports-sd;
211                 broken-cd;
212                 card-detect-delay = <200>;
213                 vmmc-supply = <&rk808_ldo5_reg>;
214                 status = "okay";
215 };
216                 
217 &sdio {
218                 clock-frequency = <50000000>;
219                 clock-freq-min-max = <200000 50000000>;
220                 supports-highspeed;
221                 supports-sdio;
222                 ignore-pm-notify;
223                 keep-power-in-suspend;
224                 //cap-sdio-irq;
225                 status = "okay";
226 };
227
228 &spi0 {
229         status = "okay";
230         max-freq = <48000000>;  
231         /*
232         spi_test@00 {
233                 compatible = "rockchip,spi_test_bus0_cs0";
234                 reg = <0>;
235                 spi-max-frequency = <24000000>;
236                 //spi-cpha;
237                 //spi-cpol;
238                 poll_mode = <0>;
239                 type = <0>;
240                 enable_dma = <0>;
241
242         };
243
244         spi_test@01 {
245                 compatible = "rockchip,spi_test_bus0_cs1";
246                 reg = <1>;
247                 spi-max-frequency = <24000000>;
248                 spi-cpha;
249                 spi-cpol;
250                 poll_mode = <0>;
251                 type = <0>;
252                 enable_dma = <0>;               
253         };
254         */
255 };
256
257 &spi1 {
258         status = "okay";
259         max-freq = <48000000>;
260         /*
261         spi_test@10 {
262                 compatible = "rockchip,spi_test_bus1_cs0";
263                 reg = <0>;
264                 spi-max-frequency = <24000000>;
265                 //spi-cpha;
266                 //spi-cpol;
267                 poll_mode = <0>;
268                 type = <0>;
269                 enable_dma = <0>;
270         };
271
272         */
273 };
274
275 &spi2 {
276         status = "okay";
277         max-freq = <48000000>;
278         /*
279         spi_test@20 {
280                 compatible = "rockchip,spi_test_bus2_cs0";
281                 reg = <0>;
282                 spi-max-frequency = <24000000>;
283                 //spi-cpha;
284                 //spi-cpol;
285                 poll_mode = <0>;
286                 type = <0>;
287                 enable_dma = <0>;
288         };
289
290         spi_test@21 {
291                 compatible = "rockchip,spi_test_bus2_cs1";
292                 reg = <1>;
293                 spi-max-frequency = <24000000>;
294                 //spi-cpha;
295                 //spi-cpol;
296                 poll_mode = <0>;
297                 type = <0>;
298                 enable_dma = <0>;
299         };
300         */
301 };
302
303 &uart_bt {
304         status = "okay";
305         dma-names = "tx", "rx";
306         pinctrl-0 = <&uart0_xfer &uart0_cts>;
307 };
308
309 &i2c0 {
310         status = "okay";
311         rk808: rk808@1b {
312                 reg = <0x1b>;
313                 status = "okay";
314         };
315         
316         bq24296: bq24296@6b {
317                 compatible = "ti,bq24296";
318                 reg = <0x6b>;
319                 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
320                 bq24296,chg_current = <1000 2000 3000>;
321                 status = "okay";
322         };
323         bq27320: bq27320@55 {
324                 compatible = "ti,bq27320";
325                 reg = <0x55>;
326         /*   gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
327                 status = "okay";
328         };
329
330         CW2015@62 {
331                 compatible = "cw201x";
332                 reg = <0x62>;
333                 dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
334                 bat_low_gpio = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
335                 chg_ok_gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_HIGH>;
336                 bat_config_info = <0x15 0x42 0x60 0x59 0x52 0x58 0x4D 0x48 0x48 0x44 0x44 0x46 0x49 0x48 0x32
337                         0x24 0x20 0x17 0x13 0x0F 0x19 0x3E 0x51 0x45 0x08 0x76 0x0B 0x85 0x0E 0x1C 0x2E 0x3E 0x4D 0x52 0x52
338                         0x57 0x3D 0x1B 0x6A 0x2D 0x25 0x43 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0xFF 0x7B 0xBB
339                         0xCB 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x46 0xAE>;
340                 is_dc_charge = <1>;
341                 is_usb_charge = <0>;
342         };
343 };
344
345 &i2c1 {
346         status = "okay";
347         rtc@51 {
348                 compatible = "nxp,pcf8563";
349                 reg = <0x51>;
350         };
351         
352         sensor@1d {
353                 compatible = "gs_mma8452";
354                 reg = <0x1d>;
355                 type = <SENSOR_TYPE_ACCEL>;
356                 irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_EDGE_FALLING>;
357                 irq_enable = <1>;
358                 poll_delay_ms = <30>;
359                 layout = <1>;
360         };
361                 sensor@19 {
362                 compatible = "gs_lis3dh";
363                 reg = <0x19>;
364                 type = <SENSOR_TYPE_ACCEL>;
365                 irq-gpio = <&gpio0 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
366                 irq_enable = <1>;
367                 poll_delay_ms = <30>;
368                 layout = <1>;
369         };
370                 sensor@0d {
371                 compatible = "ak8963";
372                 reg = <0x0d>;
373                 type = <SENSOR_TYPE_COMPASS>;
374                 irq-gpio = <&gpio8 GPIO_A2 IRQ_TYPE_EDGE_RISING>;
375                 irq_enable = <1>;
376                 poll_delay_ms = <30>;
377                 layout = <1>;
378         };
379
380                 sensor@6b {
381                 compatible = "l3g20d_gyro";
382                 reg = <0x6b>;
383                 type = <SENSOR_TYPE_GYROSCOPE>;
384                 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_LEVEL_LOW>;
385                 irq_enable = <1>;
386                 poll_delay_ms = <30>;
387                 layout = <1>;
388         };
389         sensor@10 {
390               compatible = "ls_cm3218";
391               reg = <0x10>;
392               type = <SENSOR_TYPE_LIGHT>;
393               irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>;              
394               irq_enable = <1>;
395               poll_delay_ms = <30>;
396               layout = <1>;
397        };
398         
399 };
400
401 &i2c2 {
402         status = "okay";
403         rt5631: rt5631@1a {
404                 compatible = "rt5631";
405                 reg = <0x1a>;
406         };
407         es8323: es8323@10 {
408                 compatible = "es8323";
409                 reg = <0x10>;
410         };
411         rt3261: rt3261@1c {
412                 compatible = "rt3261";
413                 reg = <0x1c>;
414         //      codec-en-gpio = <0>;//sdk default high level
415                 spk-num= <2>;
416                 modem-input-mode = <1>;
417                 lout-to-modem_mode = <1>;
418                 spk-amplify = <2>;
419                 playback-if1-data_control = <0>;
420                 playback-if2-data_control = <0>;
421         };
422         rt5616: rt5616@1b {
423                 compatible = "rt5616";
424                 reg = <0x1b>;
425         };
426 };
427
428 &i2c3 {
429         status = "okay";
430 };
431
432 &i2c4 {
433         status = "okay";
434         ts@55 {
435                 compatible = "goodix,gt8xx";
436                 reg = <0x55>;
437                 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
438                 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_LOW>;
439                 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
440                 max-x = <1280>;
441                 max-y = <800>;
442         };
443         
444         ts@01 {
445                 compatible = "ct,ct36x";
446                 reg = <0x01>;
447                 ct-model = <365>;
448                 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
449                 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_HIGH>;
450                 max-x = <1280>;
451                 max-y = <800>;
452                 orientation=<1 0 0 1>;
453         };
454 };
455
456 &i2c5 {
457         status = "disable";
458 };
459
460 &fb {
461         rockchip,disp-mode = <DUAL>;
462 };
463
464 &rk_screen {
465          display-timings = <&disp_timings>;
466 };
467
468 /*lcdc1 as PRMRY(LCD),lcdc0 as EXTEND(HDMI)*/
469 &lcdc1 {
470         status = "okay";
471         power_ctr: power_ctr {
472                 rockchip,debug = <0>;
473                 rockchip,mirror = <NO_MIRROR>;
474                 lcd_en:lcd_en {
475                         rockchip,power_type = <GPIO>;
476                         gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
477                         rockchip,delay = <10>;
478                 };
479                 
480                 lcd_cs:lcd_cs {
481 rockchip,power_type = <GPIO>;
482                         gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
483                         rockchip,delay = <10>;
484                 };
485
486                 /*lcd_rst:lcd_rst {
487                         rockchip,power_type = <GPIO>;
488                         gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
489                         rockchip,delay = <5>;
490                 };*/
491
492         };
493 };
494
495 &lcdc0 {
496         status = "okay";
497 };
498
499 &hdmi {
500         status = "okay";
501         rockchips,hdmi_audio_source = <0>;
502 };
503
504 &adc {
505         status = "okay";
506
507         rockchip_headset {
508                 compatible = "rockchip_headset";
509                 headset_gpio = <&gpio0 GPIO_C2 GPIO_ACTIVE_LOW>;
510                 pinctrl-names = "default";
511                 pinctrl-0 = <&gpio0_c2>;
512                 io-channels = <&adc 2>; 
513        /*
514                hook_gpio = ;
515                hook_down_type = ; //interrupt hook key down status 
516                 */       
517        };
518
519         key {
520                 compatible = "rockchip,key";
521                 io-channels = <&adc 1>;
522
523                 vol-up-key {
524                         linux,code = <115>;
525                         label = "volume up";
526                         rockchip,adc_value = <1>;
527                 };
528
529                 vol-down-key {
530                         linux,code = <114>;
531                         label = "volume down";
532                         rockchip,adc_value = <170>;
533                 };
534
535                 power-key {
536                         gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
537                         linux,code = <116>;
538                         label = "power";
539                         gpio-key,wakeup;
540                 };
541
542                 menu-key {
543                         linux,code = <139>;
544                         label = "menu";
545                         rockchip,adc_value = <355>;
546                 };
547
548                 home-key {
549                         linux,code = <102>;
550                         label = "home";
551                         rockchip,adc_value = <746>;
552                 };
553
554                 back-key {
555                         linux,code = <158>;
556                         label = "back";
557                         rockchip,adc_value = <560>;
558                 };
559
560                 camera-key {
561                         linux,code = <212>;
562                         label = "camera";
563                         rockchip,adc_value = <450>;
564                 };
565         };
566 };
567
568 &pwm0 {
569         status = "okay";
570 };
571
572 &pwm1 {
573         status = "okay";
574 };
575
576
577 &clk_core_dvfs_table {
578         operating-points = <
579                 /* KHz    uV */
580                 312000 850000
581                 504000 850000
582                 816000 950000
583                 1008000 1000000
584                 1200000 1050000
585                 1416000 1150000
586                 1608000 1250000
587                 >;
588 };
589
590 &clk_gpu_dvfs_table {
591         operating-points = <
592                 /* KHz    uV */
593                 100000 850000
594                 200000 850000
595                 300000 900000
596                 400000 1000000
597                 600000 1250000
598                 >;
599 };
600
601 &clk_ddr_dvfs_table {
602         operating-points = <
603                 /* KHz    uV */
604                 200000 1200000
605                 300000 1200000
606                 400000 1200000
607                 >;
608
609         freq_table = <
610                 /*status                freq(KHz)*/
611                 SYS_STATUS_NORMAL       400000
612                 SYS_STATUS_SUSPEND      200000
613                 SYS_STATUS_VIDEO        300000
614                 SYS_STATUS_DUALVIEW     500000
615                 >;
616 };
617
618 /include/ "rk808.dtsi"
619 &rk808 {
620         gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
621         rk808,system-power-controller;
622
623         regulators {
624                 
625                 rk808_dcdc1_reg: regulator@0{
626                         regulator-name= "vdd_arm";
627                         regulator-always-on;
628                         regulator-boot-on;
629                 };
630
631                 rk808_dcdc2_reg: regulator@1 {
632                         regulator-name= "vdd_gpu";
633                         regulator-always-on;
634                         regulator-boot-on;
635                 };
636
637                 rk808_dcdc3_reg: regulator@2 {
638                         regulator-name= "rk_dcdc3";
639                         regulator-min-microvolt = <1200000>;
640                         regulator-max-microvolt = <1200000>;
641                         regulator-always-on;
642                         regulator-boot-on;
643                 };
644
645                 rk808_dcdc4_reg: regulator@3 {
646                         regulator-name= "vccio";
647                         regulator-min-microvolt = <1800000>;
648                         regulator-max-microvolt = <3300000>;
649                         regulator-always-on;
650                         regulator-boot-on;
651                 };
652
653                 rk808_ldo1_reg: regulator@4 {
654                         regulator-name= "rk_ldo1";
655                         regulator-min-microvolt = <3300000>;
656                         regulator-max-microvolt = <3300000>;
657                         regulator-always-on;
658                         regulator-boot-on;
659                 };
660
661                 rk808_ldo2_reg: regulator@5 {
662                         regulator-name= "rk_ldo2";
663                         regulator-min-microvolt = <3300000>;
664                         regulator-max-microvolt = <3300000>;
665                         regulator-always-on;
666                         regulator-boot-on;
667                 };
668
669                 rk808_ldo3_reg: regulator@6 {
670                         regulator-name= "rk_ldo3";
671                         regulator-min-microvolt = <1000000>;
672                         regulator-max-microvolt = <1000000>;
673                         regulator-always-on;
674                         regulator-boot-on;
675                 };
676
677                 rk808_ldo4_reg:regulator@7 {
678                         regulator-name= "rk_ldo4";
679                         regulator-min-microvolt = <1800000>;
680                         regulator-max-microvolt = <1800000>;
681                         regulator-always-on;
682                         regulator-boot-on;
683                 };
684
685                 rk808_ldo5_reg: regulator@8 {
686                         regulator-name= "vcc_sd";
687                         regulator-min-microvolt = <1800000>;
688                         regulator-max-microvolt = <3300000>;
689                         regulator-always-on;
690                         regulator-boot-on;
691                 };
692
693                 rk808_ldo6_reg: regulator@9 {
694                         regulator-name= "rk_ldo6";
695                         regulator-min-microvolt = <1000000>;
696                         regulator-max-microvolt = <1000000>;
697                         regulator-always-on;
698                         regulator-boot-on;
699                 };
700
701                 rk808_ldo7_reg: regulator@10 {
702                         regulator-name= "rk_ldo7";
703                         regulator-min-microvolt = <1800000>;
704                         regulator-max-microvolt = <1800000>;
705                         regulator-always-on;
706                         regulator-boot-on;
707                 };
708
709                 rk808_ldo8_reg: regulator@11 {
710                         regulator-name= "rk_ldo8";
711                         regulator-min-microvolt = <3300000>;
712                         regulator-max-microvolt = <3300000>;
713                         regulator-always-on;
714                         regulator-boot-on;
715                 };
716
717                 rk808_ldo9_reg: regulator@12 {
718                         regulator-name= "rk_ldo9";
719                         regulator-always-on;
720                         regulator-boot-on;
721                 };
722
723                 rk808_ldo10_reg: regulator@13 {
724                         regulator-name= "rk_ldo10";
725                         regulator-always-on;
726                         regulator-boot-on;
727                 };
728         };
729 };
730
731 &lcdc_vdd_domain {
732         regulator-name = "vcc30_lcd";
733         };
734 &dpio_vdd_domain{
735         regulator-name = "vcc18_cif";   
736         };
737 &flash0_vdd_domain{
738         regulator-name = "vcc_flash";   
739         };
740 &flash1_vdd_domain{
741         regulator-name = "vcc_flash";                   
742         };
743 &apio3_vdd_domain{
744         regulator-name = "vccio_wl";            
745         };
746 &apio5_vdd_domain{
747         regulator-name = "vccio";               
748         };
749 &apio4_vdd_domain{
750         regulator-name = "vccio";               
751         };
752 &apio1_vdd_domain{
753         regulator-name = "vccio";                       
754         };
755 &apio2_vdd_domain{
756         regulator-name = "vccio";               
757         };
758 &sdmmc0_vdd_domain{
759         regulator-name = "vcc_sd";                      
760         };
761