arm: dts: rk3288-evb: modify panel to edp_panel
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3288-pinctrl.dtsi
1 #include <dt-bindings/interrupt-controller/arm-gic.h>
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/pinctrl/rockchip.h>
4 #include <dt-bindings/pinctrl/rockchip-rk3288.h>
5
6 / { 
7         pinctrl: pinctrl@ff770000 {
8                 compatible = "rockchip,rk3288-pinctrl";
9                 reg = <0xff770000 0x140>,
10                       <0xff770140 0x80>,
11                       <0xff7701c0 0x80>;
12                 reg-names = "base", "pull", "drv";
13                 #address-cells = <1>;
14                 #size-cells = <1>;
15                 ranges;
16
17                 gpio0: gpio0@ff750000 {
18                         compatible = "rockchip,rk3288-gpio-bank0";
19                         reg =   <0xff750000 0x100>,
20                                 <0xff730084 0x0c>,
21                                 <0xff730064 0x0c>,
22                                 <0xff730070 0x0c>;
23                         reg-names = "base", "mux_bank0", "pull_bank0", "drv_bank0";
24                         interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
25                         clocks = <&clk_gates17 4>;
26
27                         gpio-controller;
28                         #gpio-cells = <2>;
29
30                         interrupt-controller;
31                         #interrupt-cells = <2>;
32                 };
33
34                 gpio1: gpio1@ff780000 {
35                         compatible = "rockchip,gpio-bank";
36                         reg = <0xff780000 0x100>;
37                         interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
38                         clocks = <&clk_gates14 1>;
39
40                         gpio-controller;
41                         #gpio-cells = <2>;
42
43                         interrupt-controller;
44                         #interrupt-cells = <2>;
45                 };
46
47                 gpio2: gpio2@ff790000 {
48                         compatible = "rockchip,gpio-bank";
49                         reg = <0xff790000 0x100>;
50                         interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
51                         clocks = <&clk_gates14 2>;
52
53                         gpio-controller;
54                         #gpio-cells = <2>;
55
56                         interrupt-controller;
57                         #interrupt-cells = <2>;
58                 };
59
60                 gpio3: gpio3@ff7a0000 {
61                         compatible = "rockchip,gpio-bank";
62                         reg = <0xff7a0000 0x100>;
63                         interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
64                         clocks = <&clk_gates14 3>;
65
66                         gpio-controller;
67                         #gpio-cells = <2>;
68
69                         interrupt-controller;
70                         #interrupt-cells = <2>;
71                 };
72
73                 gpio4: gpio4@ff7b0000 {
74                         compatible = "rockchip,gpio-bank";
75                         reg = <0xff7b0000 0x100>;
76                         interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
77                         clocks = <&clk_gates14 4>;
78
79                         gpio-controller;
80                         #gpio-cells = <2>;
81
82                         interrupt-controller;
83                         #interrupt-cells = <2>;
84                 };
85
86                 gpio5: gpio5@ff7c0000 {
87                         compatible = "rockchip,gpio-bank";
88                         reg = <0xff7c0000 0x100>;
89                         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
90                         clocks = <&clk_gates14 5>;
91
92                         gpio-controller;
93                         #gpio-cells = <2>;
94
95                         interrupt-controller;
96                         #interrupt-cells = <2>;
97                 };
98
99                 gpio6: gpio6@ff7d0000 {
100                         compatible = "rockchip,gpio-bank";
101                         reg = <0xff7d0000 0x100>;
102                         interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
103                         clocks = <&clk_gates14 6>;
104
105                         gpio-controller;
106                         #gpio-cells = <2>;
107
108                         interrupt-controller;
109                         #interrupt-cells = <2>;
110                 };
111
112                 gpio7: gpio7@ff7e0000 {
113                         compatible = "rockchip,gpio-bank";
114                         reg = <0xff7e0000 0x100>;
115                         interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
116                         clocks = <&clk_gates14 7>;
117
118                         gpio-controller;
119                         #gpio-cells = <2>;
120
121                         interrupt-controller;
122                         #interrupt-cells = <2>;
123                 };
124
125                 gpio8: gpio8@ff7f0000 {
126                         compatible = "rockchip,gpio-bank";
127                         reg = <0xff7f0000 0x100>;
128                         interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
129                         clocks = <&clk_gates14 8>;
130
131                         gpio-controller;
132                         #gpio-cells = <2>;
133
134                         interrupt-controller;
135                         #interrupt-cells = <2>;
136                 };
137
138                 gpio15: gpio15@ff7f2000 {
139                         compatible = "rockchip,gpio-bank";
140                         reg = <0xff7f2000 0x100>;
141                         interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;//127 = 160-32-1
142                         clocks = <&clk_gates14 8>;
143
144                         gpio-controller;
145                         #gpio-cells = <2>;
146
147                         interrupt-controller;
148                         #interrupt-cells = <2>;
149                 };
150
151                 pcfg_pull_up: pcfg_pull_up {
152                         bias-pull-up;
153                 };
154
155                 pcfg_pull_down: pcfg_pull_down {
156                         bias-pull-down;
157                 };
158
159                 pcfg_pull_none: pcfg_pull_none {
160                         bias-disable;
161                 };
162
163                 gpio4_uart0 {
164                         uart0_xfer: uart0-xfer {
165                                 rockchip,pins = <UART0BT_SIN>,
166                                                 <UART0BT_SOUT>;
167                                 rockchip,pull = <VALUE_PULL_DISABLE>;
168                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
169                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
170                         };
171
172                         uart0_cts: uart0-cts {
173                                 rockchip,pins = <UART0BT_CTSN>;
174                                 rockchip,pull = <VALUE_PULL_DISABLE>;
175                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
176                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
177                         };
178
179                         uart0_rts: uart0-rts {
180                                 rockchip,pins = <UART0BT_RTSN>;
181                                 rockchip,pull = <VALUE_PULL_DISABLE>;
182                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
183                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
184                         };
185
186                         uart0_rts_gpio: uart0-rts-gpio {
187                                 rockchip,pins = <FUNC_TO_GPIO(UART0BT_RTSN)>;
188                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
189                         };
190                 };
191
192                 gpio5_uart1 {
193                         uart1_xfer: uart1-xfer {
194                                 rockchip,pins = <UART1BB_SIN>,
195                                                 <UART1BB_SOUT>;
196                                 rockchip,pull = <VALUE_PULL_DISABLE>;
197                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
198                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
199                         };
200
201                         uart1_cts: uart1-cts {
202                                 rockchip,pins = <UART1BB_CTSN>;
203                                 rockchip,pull = <VALUE_PULL_DISABLE>;
204                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
205                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
206                         };
207
208                         uart1_rts: uart1-rts {
209                                 rockchip,pins = <UART1BB_RTSN>;
210                                 rockchip,pull = <VALUE_PULL_DISABLE>;
211                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
212                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
213                         };
214
215                         uart1_rts_gpio: uart1-rts-gpio {
216                                 rockchip,pins = <FUNC_TO_GPIO(UART1BB_RTSN)>;
217                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
218                         };
219                 };
220
221                 gpio7_uart2 {
222                         uart2_xfer: uart2-xfer {
223                                 rockchip,pins = <UART2DBG_SIN>,
224                                                 <UART2DBG_SOUT>;
225                                 rockchip,pull = <VALUE_PULL_DISABLE>;
226                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
227                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
228                         };
229                         /* no rts / cts for uart2 */
230                 };
231
232                 gpio7_uart3 {
233                         uart3_xfer: uart3-xfer {
234                                 rockchip,pins = <UART3GPS_SIN>,
235                                                 <UART3GPS_SOUT>;
236                                 rockchip,pull = <VALUE_PULL_DISABLE>;
237                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
238                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
239                         };
240
241                         uart3_cts: uart3-cts {
242                                 rockchip,pins = <UART3GPS_CTSN>;
243                                 rockchip,pull = <VALUE_PULL_DISABLE>;
244                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
245                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
246                         };
247
248                         uart3_rts: uart3-rts {
249                                 rockchip,pins = <UART3GPS_RTSN>;
250                                 rockchip,pull = <VALUE_PULL_DISABLE>;
251                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
252                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
253                         };
254                 };
255
256                 gpio5_uart4 {
257                         uart4_xfer: uart4-xfer {
258                                 rockchip,pins = <UART4EXP_SIN>,
259                                                 <UART4EXP_SOUT>;
260                                 rockchip,pull = <VALUE_PULL_DISABLE>;
261                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
262                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
263                         };
264
265                         uart4_cts: uart4-cts {
266                                 rockchip,pins = <UART4EXP_CTSN>;
267                                 rockchip,pull = <VALUE_PULL_DISABLE>;
268                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
269                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
270                         };
271
272                         uart4_rts: uart4-rts {
273                                 rockchip,pins = <UART4EXP_RTSN>;
274                                 rockchip,pull = <VALUE_PULL_DISABLE>;
275                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
276                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
277                         };
278                 };
279
280                 gpio0_i2c0 {
281                         i2c0_sda:i2c0-sda {
282                                 rockchip,pins = <I2C0PMU_SDA>;
283                                 rockchip,pull = <VALUE_PULL_DISABLE>;
284                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
285                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
286                         };
287
288                         i2c0_scl:i2c0-scl {
289                                 rockchip,pins = <I2C0PMU_SCL>;
290                                 rockchip,pull = <VALUE_PULL_DISABLE>;
291                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
292                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
293                         };
294
295                         i2c0_gpio: i2c0-gpio {
296                                 rockchip,pins = <FUNC_TO_GPIO(I2C0PMU_SDA)>, <FUNC_TO_GPIO(I2C0PMU_SCL)>;
297                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
298                         };
299                 };
300
301                 gpio8_i2c1 {
302                         i2c1_sda:i2c1-sda {
303                                 rockchip,pins = <I2C1SENSOR_SDA>;
304                                 rockchip,pull = <VALUE_PULL_DISABLE>;
305                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
306                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
307                         };
308
309                         i2c1_scl:i2c1-scl {
310                                 rockchip,pins = <I2C1SENSOR_SCL>;
311                                 rockchip,pull = <VALUE_PULL_DISABLE>;
312                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
313                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
314                         };
315
316                         i2c1_gpio: i2c1-gpio {
317                                 rockchip,pins = <FUNC_TO_GPIO(I2C1SENSOR_SDA)>, <FUNC_TO_GPIO(I2C1SENSOR_SCL)>;
318                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
319                         };
320                 };
321
322                 gpio6_i2c2 {
323                         i2c2_sda:i2c2-sda {
324                                 rockchip,pins = <I2C2AUDIO_SDA>;
325                                 rockchip,pull = <VALUE_PULL_DISABLE>;
326                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
327                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
328                         };
329
330                         i2c2_scl:i2c2-scl {
331                                 rockchip,pins = <I2C2AUDIO_SCL>;
332                                 rockchip,pull = <VALUE_PULL_DISABLE>;
333                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
334                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
335                         };
336
337                         i2c2_gpio: i2c2-gpio {
338                                 rockchip,pins = <FUNC_TO_GPIO(I2C2AUDIO_SDA)>, <FUNC_TO_GPIO(I2C2AUDIO_SCL)>;
339                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
340                         };
341                 };
342
343                 gpio2_i2c3 {
344                         i2c3_sda:i2c3-sda {
345                                 rockchip,pins = <I2C3CAM_SDA>;
346                                 rockchip,pull = <VALUE_PULL_DISABLE>;
347                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
348                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
349                         };
350
351                         i2c3_scl:i2c3-scl {
352                                 rockchip,pins = <I2C3CAM_SCL>;
353                                 rockchip,pull = <VALUE_PULL_DISABLE>;
354                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
355                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
356                         };
357
358                         i2c3_gpio: i2c3-gpio {
359                                 rockchip,pins = <FUNC_TO_GPIO(I2C3CAM_SDA)>, <FUNC_TO_GPIO(I2C3CAM_SCL)>;
360                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
361                         };
362                 };
363
364                 gpio7_i2c4 {
365                         i2c4_sda:i2c4-sda {
366                                 rockchip,pins = <I2C4TP_SDA>;
367                                 rockchip,pull = <VALUE_PULL_DISABLE>;
368                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
369                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
370                         };
371
372                         i2c4_scl:i2c4-scl {
373                                 rockchip,pins = <I2C4TP_SCL>;
374                                 rockchip,pull = <VALUE_PULL_DISABLE>;
375                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
376                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
377                         };
378
379                         i2c4_gpio: i2c4-gpio {
380                                 rockchip,pins = <FUNC_TO_GPIO(I2C4TP_SDA)>, <FUNC_TO_GPIO(I2C4TP_SCL)>;
381                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
382                         };
383                 };
384
385                 gpio7_i2c5 {
386                         i2c5_sda:i2c5-sda {
387                                 rockchip,pins = <EDPHDMII2C_SDA>;
388                                 rockchip,pull = <VALUE_PULL_NORMAL>;
389                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
390                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
391                         };
392
393                         i2c5_scl:i2c5-scl {
394                                 rockchip,pins = <EDPHDMII2C_SCL>;
395                                 rockchip,pull = <VALUE_PULL_NORMAL>;
396                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
397                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
398                         };
399
400                         i2c5_gpio: i2c5-gpio {
401                                 rockchip,pins = <FUNC_TO_GPIO(EDPHDMII2C_SDA)>, <FUNC_TO_GPIO(EDPHDMII2C_SCL)>;
402                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
403                         };
404                 };
405
406                 gpio5_spi0 {
407                         spi0_txd:spi0-txd {
408                                 rockchip,pins = <SPI0_TXD>;
409                                 rockchip,pull = <VALUE_PULL_DISABLE>;
410                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
411                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
412                         };
413
414                         spi0_rxd:spi0-rxd {
415                                 rockchip,pins = <SPI0_RXD>;
416                                 rockchip,pull = <VALUE_PULL_DISABLE>;
417                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
418                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
419                         };
420
421                         spi0_clk:spi0-clk {
422                                 rockchip,pins = <SPI0_CLK>;
423                                 rockchip,pull = <VALUE_PULL_DISABLE>;
424                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
425                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
426                         };
427
428                         spi0_cs0:spi0-cs0 {
429                                 rockchip,pins = <SPI0_CS0>;
430                                 rockchip,pull = <VALUE_PULL_DISABLE>;
431                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
432                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
433                         };
434
435                         spi0_cs1:spi0-cs1 {
436                                 rockchip,pins = <SPI0_CS1>;
437                                 rockchip,pull = <VALUE_PULL_DISABLE>;
438                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
439                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
440                         };
441
442                 };
443
444                 gpio7_spi1 {
445                         spi1_txd:spi1-txd {
446                                 rockchip,pins = <SPI1_TXD>;
447                                 rockchip,pull = <VALUE_PULL_DISABLE>;
448                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
449                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
450                         };
451
452                         spi1_rxd:spi1-rxd {
453                                 rockchip,pins = <SPI1_RXD>;
454                                 rockchip,pull = <VALUE_PULL_DISABLE>;
455                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
456                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
457                         };
458
459                         spi1_clk:spi1-clk {
460                                 rockchip,pins = <SPI1_CLK>;
461                                 rockchip,pull = <VALUE_PULL_DISABLE>;
462                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
463                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
464                         };
465
466                         spi1_cs0:spi1-cs0 {
467                                 rockchip,pins = <SPI1_CS0>;
468                                 rockchip,pull = <VALUE_PULL_DISABLE>;
469                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
470                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
471                         };
472
473                 };
474
475                 gpio8_spi2 {
476                         spi2_txd:spi2-txd {
477                                 rockchip,pins = <SPI2_TXD>;
478                                 rockchip,pull = <VALUE_PULL_DISABLE>;
479                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
480                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
481                         };
482
483                         spi2_rxd:spi2-rxd {
484                                 rockchip,pins = <SPI2_RXD>;
485                                 rockchip,pull = <VALUE_PULL_DISABLE>;
486                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
487                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
488                         };
489
490                         spi2_clk:spi2-clk {
491                                 rockchip,pins = <SPI2_CLK>;
492                                 rockchip,pull = <VALUE_PULL_DISABLE>;
493                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
494                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
495                         };
496
497                         spi2_cs0:spi2-cs0 {
498                                 rockchip,pins = <SPI2_CS0>;
499                                 rockchip,pull = <VALUE_PULL_DISABLE>;
500                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
501                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
502                         };
503
504                         spi2_cs1:spi2-cs1 {
505                                 rockchip,pins = <SPI2_CS1>;
506                                 rockchip,pull = <VALUE_PULL_DISABLE>;
507                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
508                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
509                         };
510
511                 };
512
513                 gpio6_i2s {
514
515                         i2s_mclk:i2s-mclk {
516                                 rockchip,pins = <I2S_CLK>;
517                                 rockchip,pull = <VALUE_PULL_DISABLE>;
518                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
519                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
520
521                         };
522
523                         i2s_sclk:i2s-sclk {
524                                 rockchip,pins = <I2S_SCLK>;
525                                 rockchip,pull = <VALUE_PULL_DISABLE>;
526                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
527                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
528
529                         };
530
531                         i2s_lrckrx:i2s-lrckrx {
532                                 rockchip,pins = <I2S_LRCKRX>;
533                                 rockchip,pull = <VALUE_PULL_DISABLE>;
534                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
535                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
536
537                         };
538
539                         i2s_lrcktx:i2s-lrcktx {
540                                 rockchip,pins = <I2S_LRCKTX>;
541                                 rockchip,pull = <VALUE_PULL_DISABLE>;
542                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
543                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
544
545                         };
546
547                         i2s_sdo0:i2s-sdo0 {
548                                 rockchip,pins = <I2S_SDO0>;
549                                 rockchip,pull = <VALUE_PULL_DISABLE>;
550                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
551                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
552
553                         };
554
555                         i2s_sdo1:i2s-sdo1 {
556                                 rockchip,pins = <I2S_SDO1>;
557                                 rockchip,pull = <VALUE_PULL_DISABLE>;
558                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
559                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
560
561                         };
562
563                         i2s_sdo2:i2s-sdo2 {
564                                 rockchip,pins = <I2S_SDO2>;
565                                 rockchip,pull = <VALUE_PULL_DISABLE>;
566                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
567                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
568
569                         };
570
571                         i2s_sdo3:i2s-sdo3 {
572                                 rockchip,pins = <I2S_SDO3>;
573                                 rockchip,pull = <VALUE_PULL_DISABLE>;
574                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
575                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
576
577                         };
578
579                         i2s_sdi:i2s-sdi {
580                                 rockchip,pins = <I2S_SDI>;
581                                 rockchip,pull = <VALUE_PULL_DISABLE>;
582                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
583                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
584
585                         };
586
587                         i2s_gpio: i2s-gpio {
588                                 rockchip,pins = <FUNC_TO_GPIO(I2S_CLK)>,
589                                                 <FUNC_TO_GPIO(I2S_SCLK)>,
590                                                 <FUNC_TO_GPIO(I2S_LRCKRX)>,
591                                                 <FUNC_TO_GPIO(I2S_LRCKTX)>,
592                                                 <FUNC_TO_GPIO(I2S_SDO0)>,
593                                                 <FUNC_TO_GPIO(I2S_SDO1)>,
594                                                 <FUNC_TO_GPIO(I2S_SDO2)>,
595                                                 <FUNC_TO_GPIO(I2S_SDO3)>,
596                                                 <FUNC_TO_GPIO(I2S_SDI)>;
597
598                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
599                         };
600                 };
601         
602                 gpio1_lcdc0 {
603                         lcdc0_lcdc:lcdc0-lcdc {
604                                 rockchip,pins =
605                                                 <LCDC0_DCLK_GPIO1D>,
606                                                 <LCDC0_DEN_GPIO1D>,
607                                                 <LCDC0_HSYNC_GPIO1D>,
608                                                 <LCDC0_VSYNC_GPIO1D>;
609                                 rockchip,pull = <VALUE_PULL_DISABLE>;
610                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
611                         };
612                         
613                         lcdc0_gpio:lcdc0-gpio {
614                                 rockchip,pins = 
615                                                 <FUNC_TO_GPIO(LCDC0_DCLK_GPIO1D)>,
616                                                 <FUNC_TO_GPIO(LCDC0_DEN_GPIO1D)>,
617                                                 <FUNC_TO_GPIO(LCDC0_HSYNC_GPIO1D)>,
618                                                 <FUNC_TO_GPIO(LCDC0_VSYNC_GPIO1D)>;
619                                 rockchip,pull = <VALUE_PULL_DISABLE>;
620                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
621                                 
622                         };
623                         
624                 };
625
626                 gpio6_spdif {
627                         spdif_tx: spdif-tx {
628                                 rockchip,pins = <SPDIF_TX>;
629                                 rockchip,pull = <VALUE_PULL_DISABLE>;
630                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
631                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
632
633                         };
634                 };
635
636                 gpio7_pwm {
637                         vop0_pwm_pin:vop0-pwm {
638                                 rockchip,pins = <VOP0_PWM>;
639                                 rockchip,pull = <VALUE_PULL_DISABLE>;
640                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
641                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
642
643                         };
644
645                         vop1_pwm_pin:vop1-pwm {
646                                 rockchip,pins = <VOP1_PWM>;
647                                 rockchip,pull = <VALUE_PULL_DISABLE>;
648                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
649                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
650                         };
651
652                         pwm0_pin:pwm0 {
653                                 rockchip,pins = <PWM0>;
654                                 rockchip,pull = <VALUE_PULL_DISABLE>;
655                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
656                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
657
658                         };
659
660
661                         pwm1_pin:pwm1 {
662                                 rockchip,pins = <PWM1>;
663                                 rockchip,pull = <VALUE_PULL_DISABLE>;
664                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
665                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
666                         };
667
668
669                         pwm2_pin:pwm2 {
670                                 rockchip,pins = <PWM2>;
671                                 rockchip,pull = <VALUE_PULL_DISABLE>;
672                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
673                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
674                         };
675
676
677                         pwm3_pin:pwm3 {
678                                 rockchip,pins = <PWM3>;
679                                 rockchip,pull = <VALUE_PULL_DISABLE>;
680                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
681                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
682                         };
683
684                 };
685
686                 gpio3_emmc0 {
687                         emmc0_clk: emmc0-clk {
688                                 rockchip,pins = <EMMC_CLKOUT>;
689                                 rockchip,pull = <VALUE_PULL_DISABLE>;
690                                 rockchip,drive = <VALUE_DRV_8MA>;
691                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
692                         };
693
694                         emmc0_cmd: emmc0-cmd {
695                                 rockchip,pins = <EMMC_CMD>;
696                                 rockchip,pull = <VALUE_PULL_UP>;
697                                 rockchip,drive = <VALUE_DRV_8MA>;
698                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
699                         };
700
701                         emmc0_rstnout: emmc0-rstnout {
702                                 rockchip,pins = <EMMC_RSTNOUT>;
703                                 rockchip,pull = <VALUE_PULL_UP>;
704                                 rockchip,drive = <VALUE_DRV_8MA>;
705                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
706                         };
707
708
709                         emmc0_pwr: emmc0-pwr {
710                                 rockchip,pins = <EMMC_PWREN>;
711                                 rockchip,pull = <VALUE_PULL_DISABLE>;
712                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
713                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
714                         };
715
716                         emmc0_bus1: emmc0-bus-width1 {
717                                 rockchip,pins = <EMMC_DATA0>;
718                                 rockchip,pull = <VALUE_PULL_UP>;
719                                 rockchip,drive = <VALUE_DRV_8MA>;
720                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
721                         };
722
723                         emmc0_bus4: emmc0-bus-width4 {
724                                 rockchip,pins = <EMMC_DATA0>,
725                                                 <EMMC_DATA1>,
726                                                 <EMMC_DATA2 >,
727                                                 <EMMC_DATA3>;
728                                 rockchip,pull = <VALUE_PULL_UP>;
729                                 rockchip,drive = <VALUE_DRV_8MA>;
730                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
731                         };
732                 };
733                 
734
735                 gpio6_sdmmc0 {
736                         sdmmc0_clk: sdmmc0-clk {
737                                 rockchip,pins = <SDMMC0_CLKOUT>;
738                                 rockchip,pull = <VALUE_PULL_DISABLE>;
739                                 rockchip,drive = <VALUE_DRV_4MA>;
740                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
741                         };
742
743                         sdmmc0_cmd: sdmmc0-cmd {
744                                 rockchip,pins = <SDMMC0_CMD>;
745                                 rockchip,pull = <VALUE_PULL_UP>;
746                                 rockchip,drive = <VALUE_DRV_4MA>;
747                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
748                         };
749
750                         sdmmc0_dectn: sdmmc0-dectn{
751                                 rockchip,pins = <SDMMC0_DECTN>;
752                                 rockchip,pull = <VALUE_PULL_UP>;
753                                 rockchip,drive = <VALUE_DRV_4MA>;
754                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
755                         };
756
757
758                         sdmmc0_bus1: sdmmc0-bus-width1 {
759                                 rockchip,pins = <SDMMC0_DATA0>;
760                                 rockchip,pull = <VALUE_PULL_UP>;
761                                 rockchip,drive = <VALUE_DRV_4MA>;
762                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
763                         };
764
765                         sdmmc0_bus4: sdmmc0-bus-width4 {
766                                 rockchip,pins = <SDMMC0_DATA0>,
767                                                 <SDMMC0_DATA1>,
768                                                 <SDMMC0_DATA2>,
769                                                 <SDMMC0_DATA3>;
770                                 rockchip,pull = <VALUE_PULL_UP>;
771                                 rockchip,drive = <VALUE_DRV_4MA>;
772                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
773                         };
774                         
775                         sdmmc0_gpio: sdmmc0_gpio{
776                                 rockchip,pins = 
777                                         <GPIO6_C4>,  //CMD
778                                         <GPIO6_C5>,  //CLK
779                                         <GPIO6_C6>,  //DET
780                                         <GPIO6_C0>,  //D0
781                                         <GPIO6_C1>,  //D1
782                                         <GPIO6_C2>,  //D2
783                                         <GPIO6_C3>;  //D3
784                                 rockchip,pull = <VALUE_PULL_UP>;
785                                 rockchip,drive = <VALUE_DRV_4MA>;
786                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
787                         };
788
789                 };
790
791                 gpio4_sdio0 {
792                                 
793                                 sdio0_clk: sdio0_clk {
794                 rockchip,pins = <SDIO0_CLKOUT>;
795                 rockchip,pull = <VALUE_PULL_DISABLE>;
796                 rockchip,drive = <VALUE_DRV_4MA>;
797                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
798                 };
799
800                 sdio0_cmd: sdio0_cmd {
801                         rockchip,pins = <SDIO0_CMD>;
802                         rockchip,pull = <VALUE_PULL_UP>;
803                         rockchip,drive = <VALUE_DRV_4MA>;
804                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
805                 };
806                         
807                 sdio0_dectn: sdio0-dectn{
808                         rockchip,pins = <SDIO0_DETECTN>;
809                         rockchip,pull = <VALUE_PULL_UP>;
810                         rockchip,drive = <VALUE_DRV_DEFAULT>;
811                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
812                 };
813                                                 
814                                 sdio0_wrprt: sdio0_wrprt{
815                         rockchip,pins = <SDIO0_WRPRT>;
816                         rockchip,pull = <VALUE_PULL_UP>;
817                         rockchip,drive = <VALUE_DRV_DEFAULT>;
818                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
819                 };
820                                 
821                                 sdio0_pwr: sdio0-pwren{
822                         rockchip,pins = <SDIO0_PWREN>;
823                         rockchip,pull = <VALUE_PULL_UP>;
824                         rockchip,drive = <VALUE_DRV_DEFAULT>;
825                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
826                 };
827                                 
828                                 sdio0_bkpwr: sdio0-bkpwr{
829                         rockchip,pins = <SDIO0_BKPWR>;
830                         rockchip,pull = <VALUE_PULL_UP>;
831                         rockchip,drive = <VALUE_DRV_DEFAULT>;
832                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
833                 };
834                                 
835                                 sdio0_intn: sdio0-intn{
836                         rockchip,pins = <SDIO0_INTN>;
837                         rockchip,pull = <VALUE_PULL_UP>;
838                         rockchip,drive = <VALUE_DRV_DEFAULT>;
839                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
840                 };
841                                 
842         
843                 sdio0_bus1: sdio0-bus-width1 {
844                         rockchip,pins = <SDIO0_DATA0>;
845                         rockchip,pull = <VALUE_PULL_UP>;
846                         rockchip,drive = <VALUE_DRV_4MA>;
847                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
848                 };
849
850                 sdio0_bus4: sdio0-bus-width4 {
851                         rockchip,pins = <SDIO0_DATA0>,
852                         <SDIO0_DATA1>,
853                         <SDIO0_DATA2>,
854                         <SDIO0_DATA3>;
855                         rockchip,pull = <VALUE_PULL_UP>;
856                         rockchip,drive = <VALUE_DRV_4MA>;
857                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
858                 };
859             
860                 sdio0_gpio: sdio0-all-gpio{
861                                         rockchip,pins = 
862                                                 <GPIO4_D1>,   //CLK
863                                                 <GPIO4_D0>,   //CMD
864                                                 <GPIO4_D2>,   //DET
865                                                 <GPIO4_D3>,   //wrprt
866                                                 <GPIO4_D4>,   //PWREN
867                                                 <GPIO4_D5>,   //BKPWR
868                                                 <GPIO4_D6>,   //DO
869                                                 <GPIO4_C4>,   //D1    
870                                                 <GPIO4_C5>,   //D2
871                                                 <GPIO4_C6>,   //D3
872                                                 <GPIO4_C7>;   //INTN
873                                         rockchip,pull = <VALUE_PULL_UP>;
874                                         rockchip,drive = <VALUE_DRV_4MA>;
875                                         //rockchip,tristate = <VALUE_TRI_DEFAULT>;
876                                 };
877                 };              
878
879                 gpio2_gps {
880                         gps_mag:gps-mag {
881                                 rockchip,pins = <GPS_MAG>;
882                                 rockchip,pull = <VALUE_PULL_DISABLE>;
883                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
884                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
885
886                         };
887
888                         gps_sig:gps-sig {
889                                 rockchip,pins = <GPS_SIG>;
890                                 rockchip,pull = <VALUE_PULL_DISABLE>;
891                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
892                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
893
894                         };
895
896
897                         gps_rfclk:gps-rfclk {
898                                 rockchip,pins = <GPS_RFCLK>;
899                                 rockchip,pull = <VALUE_PULL_DISABLE>;
900                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
901                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
902
903                         };
904
905                 };
906                 
907                 gpio4_gmac {
908                         mac_clk: mac-clk {
909                                 rockchip,pins = <MAC_CLK>;
910                                 rockchip,pull = <VALUE_PULL_DISABLE>;
911                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
912                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
913                         };
914                         
915                         mac_txpins: mac-txpins {
916                                 rockchip,pins = <MAC_TXD0>, <MAC_TXD1>, <MAC_TXD2>, <MAC_TXD3>, <MAC_TXEN>, <MAC_TXCLK>;
917                                 rockchip,pull = <VALUE_PULL_DISABLE>;
918                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
919                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
920                         };
921                         
922                         mac_rxpins: mac-rxpins {
923                                 rockchip,pins = <MAC_RXD0>, <MAC_RXD1>, <MAC_RXD2>, <MAC_RXD3>, <MAC_RXDV>, <MAC_RXER>, <MAC_RXCLK>, <MAC_COL>;
924                                 rockchip,pull = <VALUE_PULL_DISABLE>;
925                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
926                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
927                         };
928                         
929                         mac_crs: mac-crs {
930                                 rockchip,pins = <MAC_CRS>;
931                                 rockchip,pull = <VALUE_PULL_DISABLE>;
932                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
933                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
934                         };
935                         
936                         mac_mdpins: mac-mdpins {
937                                 rockchip,pins = <MAC_MDIO>, <MAC_MDC>;
938                                 rockchip,pull = <VALUE_PULL_DISABLE>;
939                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
940                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
941                         };
942                 };
943
944                 gpio0_tsadc: gpio0-tsadc {
945                         tsadc_int: tsadc-int {
946                                 rockchip,pins = <TSADC_INT>;
947                                 rockchip,pull = <VALUE_PULL_DISABLE>;
948                         };
949                         tsadc_gpio: tsadc-gpio {
950                                 rockchip,pins = <GPIO0_B2>;
951                                 rockchip,pull = <VALUE_PULL_DISABLE>;
952                         };
953                 };
954
955                 gpio7_cec {
956                         hdmi_cec: hdmi-cec {
957                                 rockchip,pins = <EDPHDMI_CECINOUTRESERVED>;
958                                 rockchip,pull = <VALUE_PULL_NORMAL>;
959                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
960                         };
961
962                         hdmi_cec_gpio: hdmi-cec-gpio {
963                                 rockchip,pins = <FUNC_TO_GPIO(EDPHDMI_CECINOUTRESERVED)>;
964                                 rockchip,pull = <VALUE_PULL_DISABLE>;
965                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
966                         };
967                 };
968                 //to add
969
970
971
972                 vol_domain{
973                         //default 3.3V
974                         lcdc_vcc:lcdc-vcc {
975                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_LCDC_VCC>;
976                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
977                         };
978                         
979                         dvp_vcc:dvp-vcc {
980                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_DVP_VCC>;
981                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
982                         };
983                         
984                         flash0_vcc:flash0-vcc {
985                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH0_VCC>;
986                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
987                         };
988
989                         flash1_vcc:flash1-vcc {
990                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH1_VCC>;
991                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
992                         };
993                         
994                         wifi_vcc:wifi-vcc {
995                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_WIFI_VCC>;
996                                 rockchip,voltage = <VALUE_VOL_DEFAULT>; 
997                         };
998
999                         bb_vcc:bb-vcc {
1000                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_BB_VCC>;
1001                                 rockchip,voltage = <VALUE_VOL_DEFAULT>; 
1002                         };
1003
1004                         audio_vcc:audio-vcc {
1005                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_AUDIO_VCC>;
1006                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
1007                         };
1008
1009                         sdcard_vcc:sdcard-vcc {
1010                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_SDCARD_VCC>;
1011                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
1012                         };
1013
1014                         gpio30_vcc:gpio30-vcc {
1015                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO30_VCC>;
1016                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
1017                         };
1018
1019                         gpio1830_vcc:gpio1830-vcc {
1020                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO1830_VCC>;
1021                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
1022                         };
1023
1024
1025                         //1.8V
1026                         
1027                         lcdc_vcc_18:lcdc-vcc-18 {
1028                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_LCDC_VCC>;
1029                                 rockchip,voltage = <VALUE_VOL_1V8>;
1030                         };
1031                         
1032                         dvp_vcc_18:dvp-vcc-18 {
1033                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_DVP_VCC>;
1034                                 rockchip,voltage = <VALUE_VOL_1V8>;
1035                         };
1036                         
1037                         flash0_vcc_18:flash0-vcc-18 {
1038                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH0_VCC>;
1039                                 rockchip,voltage = <VALUE_VOL_1V8>;
1040                         };
1041
1042                         flash1_vcc_18:flash1-vcc-18 {
1043                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH1_VCC>;
1044                                 rockchip,voltage = <VALUE_VOL_1V8>;
1045                         };
1046                         
1047                         wifi_vcc_18:wifi-vcc-18 {
1048                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_WIFI_VCC>;
1049                                 rockchip,voltage = <VALUE_VOL_1V8>; 
1050                         };
1051
1052                         bb_vcc_18:bb-vcc-18 {
1053                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_BB_VCC>;
1054                                 rockchip,voltage = <VALUE_VOL_1V8>; 
1055                         };
1056
1057                         audio_vcc_18:audio-vcc-18 {
1058                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_AUDIO_VCC>;
1059                                 rockchip,voltage = <VALUE_VOL_1V8>;
1060                         };
1061
1062                         sdcard_vcc_18:sdcard-vcc-18 {
1063                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_SDCARD_VCC>;
1064                                 rockchip,voltage = <VALUE_VOL_1V8>;
1065                         };
1066
1067                         gpio30_vcc_18:gpio30-vcc-18 {
1068                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO30_VCC>;
1069                                 rockchip,voltage = <VALUE_VOL_1V8>;
1070                         };
1071
1072                         gpio1830_vcc_18:gpio1830-vcc-18 {
1073                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO1830_VCC>;
1074                                 rockchip,voltage = <VALUE_VOL_1V8>;
1075                         };
1076
1077         
1078
1079                 
1080                         //3.3V
1081                         lcdc_vcc_33:lcdc-vcc-33 {
1082                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_LCDC_VCC>;
1083                                 rockchip,voltage = <VALUE_VOL_3V3>;
1084                         };
1085                         
1086                         dvp_vcc_33:dvp-vcc-33 {
1087                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_DVP_VCC>;
1088                                 rockchip,voltage = <VALUE_VOL_3V3>;
1089                         };
1090                         
1091                         flash0_vcc_33:flash0-vcc-33 {
1092                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH0_VCC>;
1093                                 rockchip,voltage = <VALUE_VOL_3V3>;
1094                         };
1095
1096                         flash1_vcc_33:flash1-vcc-33 {
1097                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH1_VCC>;
1098                                 rockchip,voltage = <VALUE_VOL_3V3>;
1099                         };
1100                         
1101                         wifi_vcc_33:wifi-vcc-33 {
1102                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_WIFI_VCC>;
1103                                 rockchip,voltage = <VALUE_VOL_3V3>; 
1104                         };
1105
1106                         bb_vcc_33:bb-vcc-33 {
1107                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_BB_VCC>;
1108                                 rockchip,voltage = <VALUE_VOL_3V3>; 
1109                         };
1110
1111                         audio_vcc_33:audio-vcc-33 {
1112                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_AUDIO_VCC>;
1113                                 rockchip,voltage = <VALUE_VOL_3V3>;
1114                         };
1115
1116                         sdcard_vcc_33:sdcard-vcc-33 {
1117                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_SDCARD_VCC>;
1118                                 rockchip,voltage = <VALUE_VOL_3V3>;
1119                         };
1120
1121                         gpio30_vcc_33:gpio30-vcc-33 {
1122                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO30_VCC>;
1123                                 rockchip,voltage = <VALUE_VOL_3V3>;
1124                         };
1125
1126                         gpio1830_vcc_33:gpio1830-vcc-33 {
1127                                 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO1830_VCC>;
1128                                 rockchip,voltage = <VALUE_VOL_3V3>;
1129                         };
1130
1131
1132                 };
1133
1134                 
1135                 isp_pin {
1136                         isp_mipi:isp_mipi{
1137                                 rockchip,pins = <CIF_CLKOUT>;
1138                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1139                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1140                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;                      
1141                         };
1142                         isp_dvp_d2d9:isp_dvp_d2d9       {
1143                                 rockchip,pins = <CIF_DATA2>,<CIF_DATA3>,
1144                                                                 <CIF_DATA4>,<CIF_DATA5>,
1145                                                                 <CIF_DATA6>,<CIF_DATA7>,
1146                                                                 <CIF_DATA8>,<CIF_DATA9>,
1147                                                                 <CIF_VSYNC>,<CIF_HREF>,
1148                                                                 <CIF_CLKIN>,<CIF_CLKOUT>;
1149                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1150                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1151                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1152
1153                         };
1154                         
1155                         isp_dvp_d0d1:isp_d0d1   {
1156                                 rockchip,pins = <CIF_DATA0>,<CIF_DATA1>;
1157                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1158                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1159                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1160                         };
1161
1162                         isp_dvp_d10d11:isp_d10d11       {
1163                                 rockchip,pins = <CIF_DATA10>,<CIF_DATA11>;
1164                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1165                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1166                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1167                         };
1168                         
1169                         isp_dvp_d0d7:isp_d0d7   {
1170                                 rockchip,pins = <CIF_DATA0>,<CIF_DATA1>,
1171                                                                 <CIF_DATA2>,<CIF_DATA3>,
1172                                                                 <CIF_DATA4>,<CIF_DATA5>,
1173                                                                 <CIF_DATA6>,<CIF_DATA7>;
1174                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1175                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1176                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1177                         };
1178
1179                         isp_shutter:isp_shutter         {
1180                                 rockchip,pins = <ISP_SHUTTEREN>,<ISP_SHUTTERTRIG>;
1181                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1182                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1183                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1184                         };
1185
1186                         isp_flash_trigger:isp_flash_trigger {
1187                                 rockchip,pins = <ISP_FLASHTRIGOUTSPI1_CS0>;
1188                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1189                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1190                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1191                         };
1192
1193                         isp_prelight:isp_prelight       {
1194                                 rockchip,pins = <ISP_PRELIGHTTRIGSPI1_RXD>;
1195                                 rockchip,pull = <VALUE_PULL_DISABLE>;
1196                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1197                                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1198                         };
1199                         isp_flash_trigger_as_gpio:isp_flash_trigger_as_gpio {
1200                 rockchip,pins = <FUNC_TO_GPIO(ISP_FLASHTRIGOUTSPI1_CS0)>;
1201                 rockchip,pull = <VALUE_PULL_DISABLE>;
1202                 rockchip,drive = <VALUE_DRV_DEFAULT>;
1203                 //rockchip,tristate = <VALUE_TRI_DEFAULT>;                      
1204                         };
1205                 };
1206
1207         };
1208 };