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