arm: dts: rk3288-evb: modify panel to edp_panel
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3188-tb.dts
1 /dts-v1/;
2
3 #include "rk3188.dtsi"
4 #include "lcd-b101ew05.dtsi"
5
6 / {
7         memory {
8                 device_type = "memory";
9                 reg = <0x60000000 0x40000000>;
10         };
11
12         chosen {
13                 bootargs = "clk_ignore_unused";
14         };
15
16         fiq-debugger {
17                 status = "okay";
18         };
19
20
21         wireless-wlan {
22                 compatible = "wlan-platdata";
23
24                 wifi_chip_type = "";
25                 sdio_vref = <28000>;
26
27                 //power_ctrl_by_pmu;
28                 pmu_regulator = "act_ldo3";
29                 pmu_enable_level = <1>; //1->HIGH, 0->LOW
30
31                 WIFI,poweren_gpio = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
32                 WIFI,host_wake_irq = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
33                 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
34
35                 status = "okay";
36         };
37
38         wireless-bluetooth {
39                 compatible = "bluetooth-platdata";
40
41                 uart_rts_gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_LOW>;
42                 pinctrl-names = "default","rts_gpio";
43                 pinctrl-0 = <&uart0_rts>;
44                 pinctrl-1 = <&uart0_rts_gpio>;
45
46                 BT,power_gpio = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>;
47                 BT,reset_gpio = <&gpio3 GPIO_D1 GPIO_ACTIVE_HIGH>;
48                 BT,wake_gpio = <&gpio3 GPIO_C6 GPIO_ACTIVE_HIGH>;
49                 BT,wake_host_irq = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
50
51                 status = "okay";
52         };
53
54         backlight {
55                 compatible = "pwm-backlight";
56                 pwms = <&pwm3 0 25000>;
57                 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>;
58                 default-brightness-level = <128>;
59                 enable-gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
60         };
61
62         pwm_regulator {
63        compatible = "rockchip_pwm_regulator";
64         pwms = <&pwm0 0 25000>;
65         rockchip,pwm_id= <0>;
66        rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
67         rockchip,pwm_voltage= <1000000>;
68         rockchip,pwm_min_voltage= <925000>;
69         rockchip,pwm_max_voltage= <1400000>;
70         rockchip,pwm_suspend_voltage= <950000>;
71         rockchip,pwm_coefficient= <475>;
72         regulators {
73                 #address-cells = <1>;
74                 #size-cells = <0>;                      
75                  pwm_reg0: regulator@0{
76                         regulator-compatible = "pwm_dcdc1";
77                         regulator-name= "vdd_gpu";
78                         regulator-min-microvolt = <925000>;
79                         regulator-max-microvolt = <1400000>;    
80                         regulator-always-on;
81                         regulator-boot-on;
82                 };
83             };
84         };
85
86
87         codec_hdmi_i2s: codec-hdmi-i2s {
88                 compatible = "hdmi-i2s";
89         };
90
91         codec_hdmi_spdif: codec-hdmi-spdif {
92                 compatible = "hdmi-spdif";
93         };
94
95         rockchip-rt5631 {
96                 compatible = "rockchip-rt5631";
97                 dais {
98                         dai0 {
99                                 audio-codec = <&rt5631>;
100                                 audio-controller = <&i2s0>;
101                                 format = "i2s";
102                                 //continuous-clock;
103                                 //bitclock-inversion;
104                                 //frame-inversion;
105                                 //bitclock-master;
106                                 //frame-master;
107                         };
108                 };
109         };
110
111         rockchip-rk610 {
112                 compatible = "rockchip-rk610";
113                 dais {
114                         dai0 {
115                                 audio-codec = <&rk610_codec>;
116                                 audio-controller = <&i2s0>;
117                                 format = "i2s";
118                                 //continuous-clock;
119                                 //bitclock-inversion;
120                                 //frame-inversion;
121                                 //bitclock-master;
122                                 //frame-master;
123                         };
124                 };
125         };
126
127         rockchip-hdmi-i2s {
128                 compatible = "rockchip-hdmi-i2s";
129                 dais {
130                         dai0 {
131                                 audio-codec = <&codec_hdmi_i2s>;
132                                 audio-controller = <&i2s0>;
133                                 format = "i2s";
134                                 //continuous-clock;
135                                 //bitclock-inversion;
136                                 //frame-inversion;
137                                 //bitclock-master;
138                                 //frame-master;
139                         };
140                 };
141         };
142
143         rockchip-hdmi-spdif {
144                 compatible = "rockchip-hdmi-spdif";
145                 dais {
146                         dai0 {
147                                 audio-codec = <&codec_hdmi_spdif>;
148                                 audio-controller = <&spdif>;
149                         };
150                 };
151         };
152
153         vmac-phy {
154                 compatible = "rockchip,vmac-phy";
155                 power-gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_HIGH>;
156         };
157
158 };
159
160 &pinctrl {
161
162         gpio1_gpio {
163                         gpio1_a2: gpio1-a2 {
164                                 rockchip,pins = <GPIO1_A2>;
165                                 rockchip,pull = <VALUE_PULL_UP>;
166                         };
167
168                         //to add
169                 };
170
171         //could add other pinctrl definition such as gpio
172
173 };
174
175
176 &emmc {
177         clock-frequency = <50000000>;
178         clock-freq-min-max = <400000 50000000>;
179
180         supports-highspeed;
181         supports-emmc;
182         bootpart-no-access;
183         
184         status = "okay";
185 };
186     
187 &sdmmc {
188         clock-frequency = <50000000>;
189         lock-freq-min-max = <400000 50000000>;              
190             
191         supports-highspeed;
192         supports-sd;
193         broken-cd;
194         card-detect-delay = <200>;
195
196         pwr-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_LOW>; /*pwr_en = GPIO3_A1*/
197
198         status = "okay";
199 };
200                 
201 &sdio {
202         clock-frequency = <50000000>;
203         clock-freq-min-max = <200000 50000000>;
204                 
205         supports-highspeed;             
206         supports-sdio;
207         cap-sdio-irq;
208         status = "okay";
209 };
210
211
212 &uart0 {
213         status = "okay";
214         dma-names = "!tx", "!rx";
215         pinctrl-0 = <&uart0_xfer &uart0_cts>;
216 };
217
218 &uart3 {
219         status = "okay";
220         dma-names = "!tx", "!rx";
221 };
222
223 &watchdog {
224         rockchip,timeout = <50>;
225         rockchip,debug = <1>;
226         status = "disabled";
227 };
228
229 &spi0 {
230         status = "okay";
231         max-freq = <48000000>;  
232         /*
233         spi_test@00 {
234                 compatible = "rockchip,spi_test_bus0_cs0";
235                 reg = <0>;
236                 spi-max-frequency = <24000000>;
237                 poll_mode = <0>;
238                 type = <0>;
239                 enable_dma = <0>;
240
241         };
242
243         spi_test@01 {
244                 compatible = "rockchip,spi_test_bus0_cs1";
245                 reg = <1>;
246                 spi-max-frequency = <24000000>;
247                 poll_mode = <0>;
248                 type = <0>;
249                 enable_dma = <0>;
250         };
251         */
252 };
253
254 &spi1 {
255         status = "okay";
256         max-freq = <48000000>;
257         /*
258         spi_test@10 {
259                 compatible = "rockchip,spi_test_bus1_cs0";
260                 reg = <0>;
261                 spi-max-frequency = <24000000>;
262                 poll_mode = <0>;
263                 type = <0>;
264                 enable_dma = <0>;
265         };
266
267         spi_test@11 {
268                 compatible = "rockchip,spi_test_bus1_cs1";
269                 reg = <1>;
270                 spi-max-frequency = <24000000>;
271                 poll_mode = <0>;
272                 type = <0>;
273                 enable_dma = <0>;
274         };
275         */
276 };
277
278
279 &i2c0 {
280         status = "okay";
281         rt5631: rt5631@1a {
282                 compatible = "rt5631";
283                 reg = <0x1a>;
284         };
285
286         rk610ctl@40 {
287                 compatible = "rk610_ctl";
288                 reg = <0x40>;
289                 rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
290                 clocks = <&clk_i2s>;
291                 clock-names = "i2s_clk";
292         };
293
294         rk610_codec: rk610codec@60 {//RK610_CODEC addr  from 0x60 to 0x80 (0x60~0x80)
295                 compatible = "rk610_codec";
296                 reg = <0x60>;
297                 spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
298                 boot_depop = <1>;
299                 pa_enable_time = <1000>;
300         };
301
302         sensor@1d {
303                 compatible = "gs_mma8452";
304                 reg = <0x1d>;
305                 type = <SENSOR_TYPE_ACCEL>;
306                 irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;              
307                 irq_enable = <1>;
308                 poll_delay_ms = <30>;
309                 layout = <1>;
310         };
311 };
312
313 &i2c1 {
314         status = "okay";
315         rtc@51 {
316                 compatible = "nxp,pcf8563";
317                 reg = <0x51>;
318         };
319
320         act8846: act8846@5a {
321                 reg = <0x5a>;
322                 status = "okay";
323         };
324         rk808: rk808@1b {
325                 reg = <0x1b>;
326                 status = "okay";
327         };
328         bq24296: bq24296@6b {
329                 compatible = "ti,bq24296";
330                 reg = <0x6b>;
331 /*      gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
332           bq24296,chg_current = <1000 500 2000>;
333                 status = "disable";
334         };
335         bq27320: bq27320@55 {
336                 compatible = "ti,bq27320";
337                 reg = <0x55>;
338 /*  gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
339                 status = "disable";
340         };
341 };
342
343 &i2c2 {
344         status = "okay";
345         ts@55 {
346                 compatible = "goodix,gt8xx";
347                 reg = <0x55>;
348                 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
349                 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
350                 power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
351                 max-x = <1280>;
352                 max-y = <800>;
353         };
354         ts@01 {
355                 compatible = "ct,ct36x";
356                 reg = <0x01>;
357                 ct-model = <365>;
358                 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
359                 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
360                 max-x = <1280>;
361                 max-y = <800>;
362                 orientation=<1 0 0 1>;
363         };
364 };
365
366 &i2c3 {
367         status = "okay";
368 };
369
370 &fb {
371         rockchip,disp-mode = <DUAL>;
372 };
373
374 &rk_screen {
375          display-timings = <&disp_timings>;
376 };
377
378 &lcdc0 {
379         status = "okay";
380         power_ctr: power_ctr {
381                 rockchip,debug = <0>;
382                 lcd_en:lcd_en {
383                         rockchip,power_type = <GPIO>;
384                         gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
385                         rockchip,delay = <10>;
386                 };
387
388                      /*lcd_cs:lcd_cs {
389                                 rockchip,power_type = <GPIO>;
390                                 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
391                                 rockchip,delay = <10>;
392                         };
393
394                         lcd_rst:lcd_rst {
395                                 rockchip,power_type = <REGULATOR>;
396                                 rockchip,delay = <5>;
397                         };*/
398
399         };
400 };
401
402 &lcdc1 {
403         status = "okay";
404 };
405
406 &adc {
407         status = "okay";
408
409         key {
410                 compatible = "rockchip,key";
411                 io-channels = <&adc 1>;
412
413                 vol-up-key {
414                         linux,code = <115>;
415                         label = "volume up";
416                         rockchip,adc_value = <1>;
417                 };
418
419                 vol-down-key {
420                         linux,code = <114>;
421                         label = "volume down";
422                         rockchip,adc_value = <170>;
423                 };
424
425                 power-key {
426                         gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
427                         linux,code = <116>;
428                         label = "power";
429                         gpio-key,wakeup;
430                 };
431
432                 menu-key {
433                         linux,code = <139>;
434                         label = "menu";
435                         rockchip,adc_value = <355>;
436                 };
437
438                 home-key {
439                         linux,code = <102>;
440                         label = "home";
441                         rockchip,adc_value = <746>;
442                 };
443
444                 back-key {
445                         linux,code = <158>;
446                         label = "back";
447                         rockchip,adc_value = <560>;
448                 };
449
450                 camera-key {
451                         linux,code = <212>;
452                         label = "camera";
453                         rockchip,adc_value = <450>;
454                 };
455         };
456 };
457
458 &pwm3 {
459         status = "okay";
460 };
461
462 &pwm0 {
463         status = "disable";
464 };
465
466 &clk_core_dvfs_table {
467         operating-points = <
468                 /* KHz    uV */
469                 312000 1100000
470                 504000 1100000
471                 816000 1100000
472                 1008000 1100000
473                 1200000 1200000
474                 1416000 1300000
475                 1608000 1350000
476                 >;
477 };
478
479 &clk_gpu_dvfs_table {
480         operating-points = <
481                 /* KHz    uV */
482                 200000 1200000
483                 300000 1200000
484                 400000 1200000
485                 >;
486 };
487
488 &clk_ddr_dvfs_table {
489         operating-points = <
490                 /* KHz    uV */
491                 200000 1200000
492                 300000 1200000
493                 400000 1200000
494                 >;
495
496         freq_table = <
497                 /*status                freq(KHz)*/
498                 SYS_STATUS_NORMAL       400000
499                 SYS_STATUS_SUSPEND      200000
500                 SYS_STATUS_VIDEO        300000
501                 SYS_STATUS_DUALVIEW     500000
502                 >;
503 };
504
505 /include/ "act8846.dtsi"
506 &act8846 {
507         gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
508
509         regulators {
510                 
511                 dcdc1_reg: regulator@0{
512                         regulator-name= "act_dcdc1";
513                         regulator-min-microvolt = <1200000>;
514                         regulator-max-microvolt = <1200000>;
515                         regulator-always-on;
516                         regulator-boot-on;
517                 };
518
519                 dcdc2_reg: regulator@1 {
520                         regulator-name= "vdd_logic";
521                         regulator-min-microvolt = <700000>;
522                         regulator-max-microvolt = <1500000>;
523                         regulator-initial-state = <3>;
524                         regulator-state-mem {
525                                 regulator-state-enabled;
526                                 regulator-state-uv = <1200000>;
527                         };                      
528                 };
529
530                 dcdc3_reg: regulator@2 {
531                         regulator-name= "vdd_arm";
532                         regulator-min-microvolt = <700000>;
533                         regulator-max-microvolt = <1500000>;
534                         regulator-initial-state = <3>;
535                         regulator-state-mem {
536                                 regulator-state-enabled;
537                                 regulator-state-uv = <1200000>;
538                         };
539                 };
540
541                 dcdc4_reg: regulator@3 {
542                         regulator-name= "vccio";
543                         regulator-min-microvolt = <1800000>;
544                         regulator-max-microvolt = <3300000>;
545                         regulator-initial-state = <3>;
546                         regulator-state-mem {
547                                 regulator-state-enabled;
548                                 regulator-state-uv = <3300000>;
549                         };
550                 };
551
552                 ldo1_reg: regulator@4 {
553                         regulator-name= "act_ldo1";
554                         regulator-min-microvolt = <1000000>;
555                         regulator-max-microvolt = <1000000>;
556                 
557                 };
558
559                 ldo2_reg: regulator@5 {
560                         regulator-name= "act_ldo2";
561                         regulator-min-microvolt = <1200000>;
562                         regulator-max-microvolt = <1200000>;
563                 
564                 };
565
566                 ldo3_reg: regulator@6 {
567                         regulator-name= "act_ldo3";
568                         regulator-min-microvolt = <1800000>;
569                         regulator-max-microvolt = <1800000>;
570                         
571                 };
572
573                 ldo4_reg:regulator@7 {
574                         regulator-name= "act_ldo4";
575                         regulator-min-microvolt = <3300000>;
576                         regulator-max-microvolt = <3300000>;
577                         
578                 };
579
580                 ldo5_reg: regulator@8 {
581                         regulator-name= "act_ldo5";
582                         regulator-min-microvolt = <3300000>;
583                         regulator-max-microvolt = <3300000>;
584                 
585                 };
586
587                 ldo6_reg: regulator@9 {
588                         regulator-name= "act_ldo6";
589                         regulator-min-microvolt = <3300000>;
590                         regulator-max-microvolt = <3300000>;
591                 
592                 };
593
594                 ldo7_reg: regulator@10 {
595                         regulator-name= "act_ldo7";
596                         regulator-min-microvolt = <1800000>;
597                         regulator-max-microvolt = <1800000>;
598                 
599                 };
600
601                 ldo8_reg: regulator@11 {
602                         regulator-name= "act_ldo8";
603                         regulator-min-microvolt = <2800000>;
604                         regulator-max-microvolt = <2800000>;
605                 
606                 };
607         };
608 };
609
610 /include/ "rk808.dtsi"
611 &rk808 {
612         gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
613
614         regulators {
615                 
616                 rk808_dcdc1_reg: regulator@0{
617                         regulator-name= "vdd_arm";      
618                         regulator-min-microvolt = <700000>;
619                         regulator-max-microvolt = <1500000>;
620                         regulator-always-on;
621                         regulator-boot-on;
622                         regulator-initial-mode = <0x2>;
623                         regulator-initial-state = <3>;
624                         regulator-state-mem {
625                                 regulator-state-mode = <0x2>;
626                                 regulator-state-enabled;
627                                 regulator-state-uv = <900000>;
628                         };
629                 };
630
631                 rk808_dcdc2_reg: regulator@1 {
632                         regulator-name= "vdd_logic";
633                         regulator-min-microvolt = <700000>;
634                         regulator-max-microvolt = <1500000>;
635                         regulator-always-on;
636                         regulator-boot-on;              
637                         regulator-initial-mode = <0x2>;
638                         regulator-initial-state = <3>;
639                         regulator-state-mem {
640                                 regulator-state-mode = <0x2>;
641                                 regulator-state-enabled;
642                                 regulator-state-uv = <900000>;
643                         };
644                 };
645
646                 rk808_dcdc3_reg: regulator@2 {
647                         regulator-name= "rk_dcdc3";
648                         regulator-min-microvolt = <1200000>;
649                         regulator-max-microvolt = <1200000>;
650                         regulator-always-on;
651                         regulator-boot-on;
652                         regulator-initial-mode = <0x2>;
653                         regulator-initial-state = <3>;
654                         regulator-state-mem {
655                                 regulator-state-mode = <0x2>;
656                                 regulator-state-enabled;
657                                 regulator-state-uv = <1200000>;
658                         };
659                 };
660
661                 rk808_dcdc4_reg: regulator@3 {
662                         regulator-name= "vccio";
663                         regulator-min-microvolt = <1800000>;
664                         regulator-max-microvolt = <3300000>;
665                         regulator-always-on;
666                         regulator-boot-on;
667                         regulator-initial-mode = <0x2>;
668                         regulator-initial-state = <3>;
669                         regulator-state-mem {
670                                 regulator-state-mode = <0x2>;
671                                 regulator-state-enabled;
672                                 regulator-state-uv = <2800000>;
673                         };
674                 };
675
676                 rk808_ldo1_reg: regulator@4 {
677                         regulator-name= "rk_ldo1";
678                         regulator-min-microvolt = <3300000>;
679                         regulator-max-microvolt = <3300000>;
680                         regulator-always-on;
681                         regulator-boot-on;
682                         regulator-initial-state = <3>;
683                         regulator-state-mem {
684                                 regulator-state-enabled;
685                                 regulator-state-uv = <3300000>;
686                         };
687                 };
688
689                 rk808_ldo2_reg: regulator@5 {
690                         regulator-name= "rk_ldo2";
691                         regulator-min-microvolt = <3300000>;
692                         regulator-max-microvolt = <3300000>;
693                         regulator-always-on;
694                         regulator-boot-on;
695                         regulator-initial-state = <3>;
696                         regulator-state-mem {
697                                 regulator-state-enabled;
698                                 regulator-state-uv = <3300000>;
699                         };
700                 };
701
702                 rk808_ldo3_reg: regulator@6 {
703                         regulator-name= "rk_ldo3";
704                         regulator-min-microvolt = <1000000>;
705                         regulator-max-microvolt = <1000000>;
706                         regulator-always-on;
707                         regulator-boot-on;
708                         regulator-initial-state = <3>;
709                         regulator-state-mem {
710                                 regulator-state-enabled;
711                                 regulator-state-uv = <1000000>;
712                         };
713                 };
714
715                 rk808_ldo4_reg:regulator@7 {
716                         regulator-name= "rk_ldo4";
717                         regulator-min-microvolt = <1800000>;
718                         regulator-max-microvolt = <1800000>;
719                         regulator-always-on;
720                         regulator-boot-on;
721                         regulator-initial-state = <3>;
722                         regulator-state-mem {
723                                 regulator-state-disabled;
724                                 regulator-state-uv = <1800000>;
725                         };
726                 };
727
728                 rk808_ldo5_reg: regulator@8 {
729                         regulator-name= "rk_ldo5";
730                         regulator-min-microvolt = <2800000>;
731                         regulator-max-microvolt = <2800000>;
732                         regulator-always-on;
733                         regulator-boot-on;
734                         regulator-initial-state = <3>;
735                         regulator-state-mem {
736                                 regulator-state-enabled;
737                                 regulator-state-uv = <2800000>;
738                         };
739                 };
740
741                 rk808_ldo6_reg: regulator@9 {
742                         regulator-name= "rk_ldo6";
743                         regulator-min-microvolt = <1200000>;
744                         regulator-max-microvolt = <1200000>;
745                         regulator-always-on;
746                         regulator-boot-on;
747                         regulator-initial-state = <3>;
748                         regulator-state-mem {
749                                 regulator-state-disabled;
750                                 regulator-state-uv = <1200000>;
751                         };
752                 };
753
754                 rk808_ldo7_reg: regulator@10 {
755                         regulator-name= "rk_ldo7";
756                         regulator-min-microvolt = <1800000>;
757                         regulator-max-microvolt = <1800000>;
758                         regulator-always-on;
759                         regulator-boot-on;
760                         regulator-initial-state = <3>;
761                         regulator-state-mem {
762                                 regulator-state-enabled;
763                                 regulator-state-uv = <1800000>;
764                         };
765                 };
766
767                 rk808_ldo8_reg: regulator@11 {
768                         regulator-name= "rk_ldo8";
769                         regulator-min-microvolt = <1800000>;
770                         regulator-max-microvolt = <1800000>;
771                         regulator-always-on;
772                         regulator-boot-on;
773                         regulator-initial-state = <3>;
774                         regulator-state-mem {
775                                 regulator-state-enabled;
776                                 regulator-state-uv = <1800000>;
777                         };
778                 };
779         };
780 };
781
782 &ap0_vcc_domain{
783         regulator-name= "vccio_wl";     
784 };
785 &ap1_vcc_domain{
786         regulator-name= "vccio";        
787 };
788 &cif_vcc_domain{
789         regulator-name= "vcc18_cif";    
790 };
791 &flash_vcc_domain{
792         regulator-name= "vcc_flash";    
793 };
794 &vccio0_vcc_domain{
795         regulator-name= "vccio";        
796 };
797 &vccio1_vcc_domain{
798         regulator-name= "vccio";        
799 };
800 &lcdc0_vcc_domain{
801         regulator-name= "vcc_lcd";      
802 };
803 &lcdc1_vcc_domain{
804         regulator-name= "vccio";        
805 };