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