pinctrl:add interface for drive and vol setting
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3188-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-rk3188.h>
5
6 / { 
7         pinctrl@20008000 {
8                 compatible = "rockchip,rk3188-pinctrl";
9                 reg = <0x20008000 0xa0>,
10                       <0x20008164 0x1a0>;
11                 reg-names = "base", "pull";
12                 #address-cells = <1>;
13                 #size-cells = <1>;
14                 ranges;
15
16                 gpio0: gpio0@0x2000a000 {
17                         compatible = "rockchip,rk3188-gpio-bank0";
18                         reg = <0x2000a000 0x100>,
19                               <0x20004064 0x8>;
20                         interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
21                         /*clocks = <&clk_gates8 9>;*/
22
23                         gpio-controller;
24                         #gpio-cells = <2>;
25
26                         interrupt-controller;
27                         #interrupt-cells = <2>;
28                 };
29
30                 gpio1: gpio1@0x2003c000 {
31                         compatible = "rockchip,gpio-bank";
32                         reg = <0x2003c000 0x100>;
33                         interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
34                         /*clocks = <&clk_gates8 10>;*/
35
36                         gpio-controller;
37                         #gpio-cells = <2>;
38
39                         interrupt-controller;
40                         #interrupt-cells = <2>;
41                 };
42
43                 gpio2: gpio2@2003e000 {
44                         compatible = "rockchip,gpio-bank";
45                         reg = <0x2003e000 0x100>;
46                         interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
47                         /*clocks = <&clk_gates8 11>;*/
48
49                         gpio-controller;
50                         #gpio-cells = <2>;
51
52                         interrupt-controller;
53                         #interrupt-cells = <2>;
54                 };
55
56                 gpio3: gpio3@20080000 {
57                         compatible = "rockchip,gpio-bank";
58                         reg = <0x20080000 0x100>;
59                         interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
60                         /*clocks = <&clk_gates8 12>;*/
61
62                         gpio-controller;
63                         #gpio-cells = <2>;
64
65                         interrupt-controller;
66                         #interrupt-cells = <2>;
67                 };
68
69                 pcfg_pull_up: pcfg_pull_up {
70                         bias-pull-up;
71                 };
72
73                 pcfg_pull_down: pcfg_pull_down {
74                         bias-pull-down;
75                 };
76
77                 pcfg_pull_none: pcfg_pull_none {
78                         bias-disable;
79                 };
80
81                 gpio1_uart0 {
82                         uart0_xfer: uart0-xfer {
83                                 rockchip,pins = <UART0_SIN>,
84                                                 <UART0_SOUT>;
85                                 rockchip,pull = <VALUE_PULL_DISABLE>;
86                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
87                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
88                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
89                         };
90
91                         uart0_cts: uart0-cts {
92                                 rockchip,pins = <UART0_CTSN>;
93                                 rockchip,pull = <VALUE_PULL_DISABLE>;
94                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
95                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
96                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
97                         };
98
99                         uart0_rts: uart0-rts {
100                                 rockchip,pins = <UART0_RTSN>;
101                                 rockchip,pull = <VALUE_PULL_DISABLE>;
102                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
103                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
104                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
105                         };
106                 };
107
108                 gpio1_uart1 {
109                         uart1_xfer: uart1-xfer {
110                                 rockchip,pins = <UART1_SIN>,
111                                                 <UART1_SOUT>;
112                                 rockchip,pull = <VALUE_PULL_DISABLE>;
113                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
114                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
115                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
116                         };
117
118                         uart1_cts: uart1-cts {
119                                 rockchip,pins = <UART1_CTSN>;
120                                 rockchip,pull = <VALUE_PULL_DISABLE>;
121                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
122                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
123                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
124                         };
125
126                         uart1_rts: uart1-rts {
127                                 rockchip,pins = <UART1_RTSN>;
128                                 rockchip,pull = <VALUE_PULL_DISABLE>;
129                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
130                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
131                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
132                         };
133                 };
134
135                 gpio1_uart2 {
136                         uart2_xfer: uart2-xfer {
137                                 rockchip,pins = <UART2_SIN>,
138                                                 <UART2_SOUT>;
139                                 rockchip,pull = <VALUE_PULL_DISABLE>;
140                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
141                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
142                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
143                         };
144                         /* no rts / cts for uart2 */
145                 };
146
147                 gpio1_uart3 {
148                         uart3_xfer: uart3-xfer {
149                                 rockchip,pins = <UART3_SIN>,
150                                                 <UART3_SOUT>;
151                                 rockchip,pull = <VALUE_PULL_DISABLE>;
152                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
153                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
154                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
155                         };
156
157                         uart3_cts: uart3-cts {
158                                 rockchip,pins = <UART3_CTSN>;
159                                 rockchip,pull = <VALUE_PULL_DISABLE>;
160                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
161                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
162                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
163                         };
164
165                         uart3_rts: uart3-rts {
166                                 rockchip,pins = <UART3_RTSN>;
167                                 rockchip,pull = <VALUE_PULL_DISABLE>;
168                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
169                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
170                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
171                         };
172                 };
173
174                 gpio1_i2c0 {
175                         i2c0_sda:i2c0-sda {
176                                 rockchip,pins = <I2C0_SDA>;
177                                 rockchip,pull = <VALUE_PULL_DISABLE>;
178                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
179                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
180                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
181                         };
182
183                         i2c0_scl:i2c0-scl {
184                                 rockchip,pins = <I2C0_SCL>;
185                                 rockchip,pull = <VALUE_PULL_DISABLE>;
186                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
187                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
188                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
189                         };
190                 };
191
192                 gpio1_i2c1 {
193                         i2c1_sda:i2c1-sda {
194                                 rockchip,pins = <I2C1_SDA>;
195                                 rockchip,pull = <VALUE_PULL_DISABLE>;
196                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
197                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
198                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
199                         };
200
201                         i2c1_scl:i2c1-scl {
202                                 rockchip,pins = <I2C1_SCL>;
203                                 rockchip,pull = <VALUE_PULL_DISABLE>;
204                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
205                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
206                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
207                         };
208                 };
209
210                 gpio1_i2c2 {
211                         i2c2_sda:i2c2-sda {
212                                 rockchip,pins = <I2C2_SDA>;
213                                 rockchip,pull = <VALUE_PULL_DISABLE>;
214                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
215                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
216                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
217                         };
218
219                         i2c2_scl:i2c2-scl {
220                                 rockchip,pins = <I2C2_SCL>;
221                                 rockchip,pull = <VALUE_PULL_DISABLE>;
222                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
223                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
224                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
225                         };
226                 };
227
228                 gpio1_i2c3 {
229                         i2c3_sda:i2c3-sda {
230                                 rockchip,pins = <I2C3_SDA>;
231                                 rockchip,pull = <VALUE_PULL_DISABLE>;
232                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
233                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
234                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
235                         };
236
237                         i2c3_scl:i2c3-scl {
238                                 rockchip,pins = <I2C3_SCL>;
239                                 rockchip,pull = <VALUE_PULL_DISABLE>;
240                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
241                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
242                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
243                         };
244                 };
245
246                 gpio1_i2c4 {
247                         i2c4_sda:i2c4-sda {
248                                 rockchip,pins = <I2C4_SDA>;
249                                 rockchip,pull = <VALUE_PULL_DISABLE>;
250                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
251                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
252                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
253                         };
254
255                         i2c4_scl:i2c4-scl {
256                                 rockchip,pins = <I2C4_SCL>;
257                                 rockchip,pull = <VALUE_PULL_DISABLE>;
258                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
259                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
260                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
261                         };
262                 };
263
264                 gpio1_spi0 {
265                         spi0_txd:spi0-txd {
266                                 rockchip,pins = <SPI0_TXD>;
267                                 rockchip,pull = <VALUE_PULL_DISABLE>;
268                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
269                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
270                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
271                         };
272
273                         spi0_rxd:spi0-rxd {
274                                 rockchip,pins = <SPI0_RXD>;
275                                 rockchip,pull = <VALUE_PULL_DISABLE>;
276                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
277                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
278                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
279                         };
280
281                         spi0_clk:spi0-clk {
282                                 rockchip,pins = <SPI0_CLK>;
283                                 rockchip,pull = <VALUE_PULL_DISABLE>;
284                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
285                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
286                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
287                         };
288
289                         spi0_cs0:spi0-cs0 {
290                                 rockchip,pins = <SPI0_CS0>;
291                                 rockchip,pull = <VALUE_PULL_DISABLE>;
292                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
293                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
294                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
295                         };
296
297                         spi0_cs1:spi0-cs1 {
298                                 rockchip,pins = <SPI0_CS1>;
299                                 rockchip,pull = <VALUE_PULL_DISABLE>;
300                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
301                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
302                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
303                         };
304
305                 };
306
307                 gpio1_spi1 {
308                         spi1_txd:spi1-txd {
309                                 rockchip,pins = <SPI1_TXD>;
310                                 rockchip,pull = <VALUE_PULL_DISABLE>;
311                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
312                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
313                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
314                         };
315
316                         spi1_rxd:spi1-rxd {
317                                 rockchip,pins = <SPI1_RXD>;
318                                 rockchip,pull = <VALUE_PULL_DISABLE>;
319                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
320                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
321                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
322                         };
323
324                         spi1_clk:spi1-clk {
325                                 rockchip,pins = <SPI1_CLK>;
326                                 rockchip,pull = <VALUE_PULL_DISABLE>;
327                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
328                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
329                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
330                         };
331
332                         spi1_cs0:spi1-cs0 {
333                                 rockchip,pins = <SPI1_CS0>;
334                                 rockchip,pull = <VALUE_PULL_DISABLE>;
335                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
336                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
337                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
338                         };
339
340                         spi1_cs1:spi1-cs1 {
341                                 rockchip,pins = <SPI1_CS1>;
342                                 rockchip,pull = <VALUE_PULL_DISABLE>;
343                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
344                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
345                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
346                         };
347
348                 };
349
350                 gpio1_i2s0 {
351
352                         i2s0_mclk:i2s0-mclk {
353                                 rockchip,pins = <I2S0_MCLK>;
354                                 rockchip,pull = <VALUE_PULL_DISABLE>;
355                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
356                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
357                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
358
359                         };
360
361                         i2s0_sclk:i2s0-sclk {
362                                 rockchip,pins = <I2S0_SCLK>;
363                                 rockchip,pull = <VALUE_PULL_DISABLE>;
364                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
365                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
366                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
367
368                         };
369
370                         i2s0_lrckrx:i2s0-lrckrx {
371                                 rockchip,pins = <I2S0_LRCKRX>;
372                                 rockchip,pull = <VALUE_PULL_DISABLE>;
373                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
374                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
375                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
376
377                         };
378
379                         i2s0_lrcktx:i2s0-lrcktx {
380                                 rockchip,pins = <I2S0_LRCKTX>;
381                                 rockchip,pull = <VALUE_PULL_DISABLE>;
382                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
383                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
384                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
385
386                         };
387
388                         i2s0_sdo:i2s0-sdo {
389                                 rockchip,pins = <I2S0_SDO>;
390                                 rockchip,pull = <VALUE_PULL_DISABLE>;
391                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
392                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
393                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
394
395                         };
396
397                         i2s0_sdi:i2s0-sdi {
398                                 rockchip,pins = <I2S0_SDI>;
399                                 rockchip,pull = <VALUE_PULL_DISABLE>;
400                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
401                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
402                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
403
404                         };
405
406                 };
407
408
409                 gpio3_pwm {
410                         pwm0:pwm0 {
411                                 rockchip,pins = <PWM0>;
412                                 rockchip,pull = <VALUE_PULL_DISABLE>;
413                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
414                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
415                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
416
417                         };
418
419
420                         pwm1:pwm1 {
421                                 rockchip,pins = <PWM1>;
422                                 rockchip,pull = <VALUE_PULL_DISABLE>;
423                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
424                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
425                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
426                         };
427
428
429                         pwm2:pwm2 {
430                                 rockchip,pins = <PWM2>;
431                                 rockchip,pull = <VALUE_PULL_DISABLE>;
432                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
433                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
434                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
435                         };
436
437
438                         pwm3:pwm3 {
439                                 rockchip,pins = <PWM3>;
440                                 rockchip,pull = <VALUE_PULL_DISABLE>;
441                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
442                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
443                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
444                         };
445
446                 };
447
448                 
449                 gpio3_sdio {
450                         sd0_clk: sd0-clk {
451                                 rockchip,pins = <MMC0_CLKOUT>;
452                                 rockchip,pull = <VALUE_PULL_DISABLE>;
453                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
454                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
455                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
456                         };
457
458                         sd0_cmd: sd0-cmd {
459                                 rockchip,pins = <MMC0_CMD>;
460                                 rockchip,pull = <VALUE_PULL_DISABLE>;
461                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
462                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
463                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
464                         };
465
466                         sd0_cd: sd0-cd {
467                                 rockchip,pins = <MMC0_DETN>;
468                                 rockchip,pull = <VALUE_PULL_DISABLE>;
469                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
470                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
471                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
472                         };
473
474                         sd0_wp: sd0-wp {
475                                 rockchip,pins = <MMC0_WRPRT>;
476                                 rockchip,pull = <VALUE_PULL_DISABLE>;
477                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
478                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
479                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
480                         };
481
482                         sd0_pwr: sd0-pwr {
483                                 rockchip,pins = <MMC0_PWREN>;
484                                 rockchip,pull = <VALUE_PULL_DISABLE>;
485                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
486                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
487                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
488                         };
489
490                         sd0_bus1: sd0-bus-width1 {
491                                 rockchip,pins = <MMC0_D0>;
492                                 rockchip,pull = <VALUE_PULL_DISABLE>;
493                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
494                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
495                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
496                         };
497
498                         sd0_bus4: sd0-bus-width4 {
499                                 rockchip,pins = <MMC0_D0>,
500                                                 <MMC0_D1>,
501                                                 <MMC0_D2 >,
502                                                 <MMC0_D3>;
503                                 rockchip,pull = <VALUE_PULL_DISABLE>;
504                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
505                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
506                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
507                         };
508                 };
509
510         
511                 gpio3_sdmmc {
512                         sd1_clk: sd1-clk {
513                                 rockchip,pins = <MMC1_CLKOUT>;
514                                 rockchip,pull = <VALUE_PULL_DISABLE>;
515                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
516                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
517                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
518                         };
519
520                         sd1_cmd: sd1-cmd {
521                                 rockchip,pins = <MMC1_CMD>;
522                                 rockchip,pull = <VALUE_PULL_DISABLE>;
523                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
524                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
525                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
526                         };
527
528                         sd1_cd: sd1-cd {
529                                 rockchip,pins = <MMC1_DETN>;
530                                 rockchip,pull = <VALUE_PULL_DISABLE>;
531                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
532                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
533                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
534                         };
535
536                         sd1_wp: sd1-wp {
537                                 rockchip,pins = <MMC1_WRPRT>;
538                                 rockchip,pull = <VALUE_PULL_DISABLE>;
539                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
540                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
541                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
542                         };
543
544                         sd1_bus1: sd1-bus-width1 {
545                                 rockchip,pins = <MMC1_D0>;
546                                 rockchip,pull = <VALUE_PULL_DISABLE>;
547                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
548                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
549                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
550                         };
551
552                         sd1_bus4: sd1-bus-width4 {
553                                 rockchip,pins = <MMC1_D0>,
554                                                 <MMC1_D1>,
555                                                 <MMC1_D2>,
556                                                 <MMC1_D3>;
557                                 rockchip,pull = <VALUE_PULL_DISABLE>;
558                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
559                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
560                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
561                         };
562                 };
563
564
565                 gps {
566                         gps_mag:gps-mag {
567                                 rockchip,pins = <GPS_MAG>;
568                                 rockchip,pull = <VALUE_PULL_DISABLE>;
569                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
570                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
571                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
572
573                         };
574
575                         gps_sig:gps-sig {
576                                 rockchip,pins = <GPS_SIG>;
577                                 rockchip,pull = <VALUE_PULL_DISABLE>;
578                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
579                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
580                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
581
582                         };
583
584
585                         gps_rfclk:gps-rfclk {
586                                 rockchip,pins = <GPS_RFCLK>;
587                                 rockchip,pull = <VALUE_PULL_DISABLE>;
588                                 rockchip,voltage = <VALUE_VOL_DEFAULT>;
589                                 rockchip,drive = <VALUE_DRV_DEFAULT>;
590                                 rockchip,tristate = <VALUE_TRI_DEFAULT>;
591
592                         };
593
594                 };
595
596
597                 //to add
598         };
599 };