2ec56b0a2ccbe4f874a77a663c7cbe9bffd6a858
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-rv1-android.dts
1 /*
2  * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
3  *
4  * This file is dual-licensed: you can use it either under the terms
5  * of the GPL or the X11 license, at your option. Note that this dual
6  * licensing only applies to this file, and not this project as a
7  * whole.
8  *
9  *  a) This file is free software; you can redistribute it and/or
10  *     modify it under the terms of the GNU General Public License as
11  *     published by the Free Software Foundation; either version 2 of the
12  *     License, or (at your option) any later version.
13  *
14  *     This file is distributed in the hope that it will be useful,
15  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  *     GNU General Public License for more details.
18  *
19  * Or, alternatively,
20  *
21  *  b) Permission is hereby granted, free of charge, to any person
22  *     obtaining a copy of this software and associated documentation
23  *     files (the "Software"), to deal in the Software without
24  *     restriction, including without limitation the rights to use,
25  *     copy, modify, merge, publish, distribute, sublicense, and/or
26  *     sell copies of the Software, and to permit persons to whom the
27  *     Software is furnished to do so, subject to the following
28  *     conditions:
29  *
30  *     The above copyright notice and this permission notice shall be
31  *     included in all copies or substantial portions of the Software.
32  *
33  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40  *     OTHER DEALINGS IN THE SOFTWARE.
41  */
42
43 /dts-v1/;
44 #include <dt-bindings/pwm/pwm.h>
45 #include <dt-bindings/sensor-dev.h>
46 #include "rk3399.dtsi"
47 #include "rk3399-android.dtsi"
48 #include "rk3399-opp.dtsi"
49
50 / {
51         model = "Rockchip RK3399 VR Board";
52         compatible = "rockchip,vr", "rockchip,rk3399";
53
54         vdd_log: vdd-log {
55                 compatible = "pwm-regulator";
56                 pwms = <&pwm2 0 25000 0>;
57                 rockchip,pwm_id= <2>;
58                 rockchip,pwm_voltage = <900000>;
59                 regulator-name = "vdd_log";
60                 regulator-min-microvolt = <800000>;
61                 regulator-max-microvolt = <1400000>;
62                 regulator-always-on;
63                 regulator-boot-on;
64         };
65
66         vcc_sys: vcc-sys {
67                 compatible = "regulator-fixed";
68                 regulator-name = "vcc_sys";
69                 regulator-always-on;
70                 regulator-boot-on;
71                 regulator-min-microvolt = <4000000>;
72                 regulator-max-microvolt = <4000000>;
73         };
74
75         vcc3v3_sys: vcc3v3-sys {
76                 compatible = "regulator-fixed";
77                 regulator-name = "vcc3v3_sys";
78                 regulator-always-on;
79                 regulator-boot-on;
80                 regulator-min-microvolt = <3300000>;
81                 regulator-max-microvolt = <3300000>;
82         };
83
84         vcc_phy: vcc-phy-regulator {
85                 compatible = "regulator-fixed";
86                 regulator-name = "vcc_phy";
87                 regulator-always-on;
88                 regulator-boot-on;
89         };
90
91         vcc1v8_s3: vcc1v8-s3-regulator {
92                 compatible = "regulator-fixed";
93                 regulator-name = "vcc1v8_s3";
94                 regulator-always-on;
95                 regulator-boot-on;
96                 regulator-state-mem {
97                         regulator-off-in-suspend;
98                 };
99         };
100
101         io-domains {
102                 compatible = "rockchip,rk3399-io-voltage-domain";
103                 rockchip,grf = <&grf>;
104
105                 bt656-supply = <&vcc1v8_s3>;
106                 audio-supply = <&vcc1v8_s3>;
107                 sdmmc-supply = <&vcc_sd>;
108                 gpio1830-supply = <&vcc1v8_s3>;
109         };
110
111         pmu-io-domains {
112                 compatible = "rockchip,rk3399-pmu-io-voltage-domain";
113                 rockchip,grf = <&pmugrf>;
114                 pmu1830-supply = <&vcc_1v8>;
115         };
116
117         dw_hdmi_audio: dw-hdmi-audio {
118                 status = "okay";
119                 compatible = "rockchip,dw-hdmi-audio";
120                 #sound-dai-cells = <0>;
121         };
122
123         hdmi_sound: hdmi-sound {
124                 status = "disabled";
125                 compatible = "simple-audio-card";
126                 simple-audio-card,format = "i2s";
127                 simple-audio-card,mclk-fs = <256>;
128                 simple-audio-card,name = "rockchip,hdmi";
129
130                 simple-audio-card,cpu {
131                         sound-dai = <&i2s2>;
132                 };
133                 simple-audio-card,codec {
134                         sound-dai = <&dw_hdmi_audio>;
135                 };
136         };
137
138         sdio_pwrseq: sdio-pwrseq {
139                 compatible = "mmc-pwrseq-simple";
140                 clocks = <&rk818 1>;
141                 clock-names = "ext_clock";
142                 pinctrl-names = "default";
143                 pinctrl-0 = <&wifi_enable_h>;
144
145                 /*
146                  * On the module itself this is one of these (depending
147                  * on the actual card populated):
148                  * - SDIO_RESET_L_WL_REG_ON
149                  * - PDN (power down when low)
150                  */
151                 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; /* GPIO0_B2 */
152         };
153
154         wireless-wlan {
155                 compatible = "wlan-platdata";
156                 rockchip,grf = <&grf>;
157                 wifi_chip_type = "ap6330";
158                 sdio_vref = <1800>;
159                 WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>; /* GPIO0_a3 */
160                 status = "okay";
161         };
162
163         wireless-bluetooth {
164                 compatible = "bluetooth-platdata";
165                 clocks = <&rk818 1>;
166                 clock-names = "ext_clock";
167                 //wifi-bt-power-toggle;
168                 uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */
169                 pinctrl-names = "default", "rts_gpio";
170                 pinctrl-0 = <&uart0_rts>;
171                 pinctrl-1 = <&uart0_gpios>;
172                 //BT,power_gpio  = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */
173                 BT,reset_gpio    = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */
174                 BT,wake_gpio     = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */
175                 BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
176                 status = "okay";
177         };
178
179         uboot-charge {
180                 compatible = "rockchip,uboot-charge";
181                 rockchip,uboot-charge-on = <0>;
182                 rockchip,android-charge-on = <1>;
183         };
184
185         mpu6500_hid {
186                 status = "okay";
187                 compatible = "inv-hid,mpu6500";
188         };
189 };
190
191 &sdmmc {
192         clock-frequency = <150000000>;
193         clock-freq-min-max = <400000 150000000>;
194         supports-sd;
195         bus-width = <4>;
196         cap-mmc-highspeed;
197         cap-sd-highspeed;
198         disable-wp;
199         num-slots = <1>;
200         sd-uhs-sdr104;
201         vqmmc-supply = <&vcc_sd>;
202         pinctrl-names = "default";
203         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
204         status = "okay";
205 };
206
207 &sdio0 {
208         clock-frequency = <50000000>;
209         clock-freq-min-max = <200000 50000000>;
210         supports-sdio;
211         bus-width = <4>;
212         disable-wp;
213         cap-sd-highspeed;
214         cap-sdio-irq;
215         keep-power-in-suspend;
216         mmc-pwrseq = <&sdio_pwrseq>;
217         non-removable;
218         num-slots = <1>;
219         pinctrl-names = "default";
220         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
221         sd-uhs-sdr104;
222         status = "okay";
223 };
224
225 &emmc_phy {
226         status = "okay";
227 };
228
229 &sdhci {
230         bus-width = <8>;
231         mmc-hs400-1_8v;
232         supports-emmc;
233         non-removable;
234         keep-power-in-suspend;
235         mmc-hs400-enhanced-strobe;
236         status = "okay";
237 };
238
239 &i2c0 {
240         status = "okay";
241         i2c-scl-rising-time-ns = <219>;
242         i2c-scl-falling-time-ns = <15>;
243         /* clock-frequency = <400000>; */
244
245         fusb1: fusb30x@22 {
246                 compatible = "fairchild,fusb302";
247                 reg = <0x22>;
248                 pinctrl-names = "default";
249                 pinctrl-0 = <&fusb1_int>;
250                 vbus-5v-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
251                 int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
252                 status = "okay";
253         };
254
255         vdd_cpu_b: syr827@40 {
256                 compatible = "silergy,syr827";
257                 reg = <0x40>;
258                 vin-supply = <&vcc_sys>;
259                 regulator-compatible = "fan53555-reg";
260                 pinctrl-0 = <&vsel1_gpio>;
261                 vsel-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
262                 regulator-name = "vdd_cpu_b";
263                 regulator-min-microvolt = <712500>;
264                 regulator-max-microvolt = <1500000>;
265                 regulator-ramp-delay = <1000>;
266                 fcs,suspend-voltage-selector = <1>;
267                 regulator-always-on;
268                 regulator-initial-state = <3>;
269                         regulator-state-mem {
270                         regulator-off-in-suspend;
271                 };
272         };
273
274         vdd_gpu: syr828@41 {
275                 compatible = "silergy,syr828";
276                 reg = <0x41>;
277                 vin-supply = <&vcc_sys>;
278                 regulator-compatible = "fan53555-reg";
279                 pinctrl-0 = <&vsel2_gpio>;
280                 vsel-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
281                 regulator-name = "vdd_gpu";
282                 regulator-min-microvolt = <712500>;
283                 regulator-max-microvolt = <1500000>;
284                 regulator-ramp-delay = <1000>;
285                 fcs,suspend-voltage-selector = <1>;
286                 regulator-boot-on;
287                 regulator-initial-state = <3>;
288                 regulator-initial-mode = <1>;/*1:pwm 2: auto mode*/
289                         regulator-state-mem {
290                         regulator-off-in-suspend;
291                 };
292         };
293
294         rk818: pmic@1c {
295                 compatible = "rockchip,rk818";
296                 status = "okay";
297                 reg = <0x1c>;
298                 clock-output-names = "xin32k", "wifibt_32kin";
299                 interrupt-parent = <&gpio1>;
300                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
301                 pinctrl-names = "default";
302                 pinctrl-0 = <&pmic_int_l>;
303                 rockchip,system-power-controller;
304                 wakeup-source;
305                 extcon = <&fusb0>;
306                 #clock-cells = <1>;
307
308                 vcc1-supply = <&vcc_sys>;
309                 vcc2-supply = <&vcc_sys>;
310                 vcc3-supply = <&vcc_sys>;
311                 vcc4-supply = <&vcc_sys>;
312                 vcc6-supply = <&vcc_sys>;
313                 vcc7-supply = <&vcc3v3_sys>;
314                 vcc8-supply = <&vcc_sys>;
315                 vcc9-supply = <&vcc3v3_sys>;
316
317                 regulators {
318                         vdd_cpu_l: DCDC_REG1 {
319                                 regulator-name = "vdd_cpu_l";
320                                 regulator-always-on;
321                                 regulator-boot-on;
322                                 regulator-min-microvolt = <750000>;
323                                 regulator-max-microvolt = <1350000>;
324                                 regulator-ramp-delay = <6001>;
325                                 regulator-state-mem {
326                                         regulator-off-in-suspend;
327                                 };
328                         };
329
330                         vdd_center: DCDC_REG2 {
331                                 regulator-name = "vdd_center";
332                                 regulator-always-on;
333                                 regulator-boot-on;
334                                 regulator-min-microvolt = <800000>;
335                                 regulator-max-microvolt = <1350000>;
336                                 regulator-ramp-delay = <6001>;
337                                 regulator-state-mem {
338                                         regulator-off-in-suspend;
339                                 };
340                         };
341
342                         vcc_ddr: DCDC_REG3 {
343                                 regulator-name = "vcc_ddr";
344                                 regulator-always-on;
345                                 regulator-boot-on;
346                                 regulator-state-mem {
347                                         regulator-on-in-suspend;
348                                 };
349                         };
350
351                         vcc_1v8: DCDC_REG4 {
352                                 regulator-name = "vcc_1v8";
353                                 regulator-always-on;
354                                 regulator-boot-on;
355                                 regulator-min-microvolt = <1800000>;
356                                 regulator-max-microvolt = <1800000>;
357                                 regulator-state-mem {
358                                         regulator-on-in-suspend;
359                                         regulator-suspend-microvolt = <1800000>;
360                                 };
361                         };
362
363                         vcc1v8_rk1608: LDO_REG1 {
364                                 //regulator-always-on;
365                                 //regulator-boot-on;
366                                 regulator-min-microvolt = <1800000>;
367                                 regulator-max-microvolt = <1800000>;
368                                 regulator-name = "vcc1v8_rk1608";
369                                 regulator-state-mem {
370                                         regulator-off-in-suspend;
371                                 };
372                         };
373
374                         vdd1v8_rk1608: LDO_REG2 {
375                                 //regulator-always-on;
376                                 //regulator-boot-on;
377                                 regulator-min-microvolt = <1800000>;
378                                 regulator-max-microvolt = <1800000>;
379                                 regulator-name = "vdd1v8_rk1608";
380                                 regulator-state-mem {
381                                         regulator-off-in-suspend;
382                                 };
383                         };
384
385                         vdd1v0_rk1608: LDO_REG3 {
386                                 //regulator-always-on;
387                                 //regulator-boot-on;
388                                 regulator-min-microvolt = <1000000>;
389                                 regulator-max-microvolt = <1000000>;
390                                 regulator-name = "vdd1v0_rk1608";
391                                 regulator-state-mem {
392                                         regulator-off-in-suspend;
393                                 };
394                         };
395
396                         vcc_power_on: LDO_REG4 {
397                                 regulator-always-on;
398                                 regulator-boot-on;
399                                 regulator-min-microvolt = <3300000>;
400                                 regulator-max-microvolt = <3300000>;
401                                 regulator-name = "vcc_power_on";
402                                 regulator-state-mem {
403                                         regulator-on-in-suspend;
404                                         regulator-suspend-microvolt = <3300000>;
405                                 };
406                         };
407
408                         vdd_2v8: LDO_REG5 {
409                                 //regulator-always-on;
410                                 //regulator-boot-on;
411                                 regulator-min-microvolt = <2800000>;
412                                 regulator-max-microvolt = <2800000>;
413                                 regulator-name = "vdd_2v8";
414                                 regulator-state-mem {
415                                         regulator-on-in-suspend;
416                                         regulator-suspend-microvolt = <2800000>;
417                                 };
418                         };
419
420                         vcc_1v5: LDO_REG6 {
421                                 //regulator-always-on;
422                                 //regulator-boot-on;
423                                 regulator-min-microvolt = <1500000>;
424                                 regulator-max-microvolt = <1500000>;
425                                 regulator-name = "vcc_1v5";
426                                 regulator-state-mem {
427                                         regulator-on-in-suspend;
428                                         regulator-suspend-microvolt = <1500000>;
429                                 };
430                         };
431
432                         vcc1v8_dvp: LDO_REG7 {
433                                 //regulator-always-on;
434                                 //regulator-boot-on;
435                                 regulator-min-microvolt = <1800000>;
436                                 regulator-max-microvolt = <1800000>;
437                                 regulator-name = "vcc1v8_dvp";
438                                 regulator-state-mem {
439                                         regulator-on-in-suspend;
440                                         regulator-suspend-microvolt = <1800000>;
441                                 };
442                         };
443
444                         vcc3v3_s3: LDO_REG8 {
445                                 regulator-always-on;
446                                 regulator-boot-on;
447                                 regulator-min-microvolt = <3300000>;
448                                 regulator-max-microvolt = <3300000>;
449                                 regulator-name = "vcc3v3_s3";
450                                 regulator-state-mem {
451                                         regulator-on-in-suspend;
452                                         regulator-suspend-microvolt = <3300000>;
453                                 };
454                         };
455
456                         vcc_sd: LDO_REG9 {
457                                 regulator-always-on;
458                                 regulator-boot-on;
459                                 regulator-min-microvolt = <1800000>;
460                                 regulator-max-microvolt = <3300000>;
461                                 regulator-name = "vcc_sd";
462                                 regulator-state-mem {
463                                         regulator-on-in-suspend;
464                                         regulator-suspend-microvolt = <3300000>;
465                                 };
466                         };
467
468                         vcc3v3_s0: SWITCH_REG {
469                                 regulator-always-on;
470                                 regulator-boot-on;
471                                 regulator-name = "vcc3v3_s0";
472                                 regulator-state-mem {
473                                         regulator-on-in-suspend;
474                                 };
475                         };
476                 };
477
478                 battery {
479                         compatible = "rk818-battery";
480                         ocv_table = <
481                                 3400 3599 3671 3701 3728 3746 3762
482                                 3772 3781 3792 3816 3836 3866 3910
483                                 3942 3971 4002 4050 4088 4132 4183>;
484                         design_capacity = <4000>;
485                         design_qmax = <4100>;
486                         bat_res = <100>;
487                         max_input_current = <2000>;
488                         max_chrg_current = <1800>;
489                         max_chrg_voltage = <4200>;
490                         sleep_enter_current = <300>;
491                         sleep_exit_current = <300>;
492                         power_off_thresd = <3400>;
493                         zero_algorithm_vol = <3850>;
494                         fb_temperature = <115>;
495                         sample_res = <10>;
496                         max_soc_offset = <60>;
497                         energy_mode = <0>;
498                         monitor_sec = <5>;
499                         virtual_power = <1>;
500                         power_dc2otg = <0>;
501                 };
502         };
503 };
504
505 &i2c4 {
506         status = "okay";
507         i2c-scl-rising-time-ns = <345>;
508         i2c-scl-falling-time-ns = <11>;
509
510         fusb0: fusb30x@22 {
511                 compatible = "fairchild,fusb302";
512                 reg = <0x22>;
513                 pinctrl-names = "default";
514                 pinctrl-0 = <&fusb0_int>;
515                 int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
516                 status = "okay";
517         };
518 };
519
520 &threshold {
521         temperature = <85000>; /* millicelsius */
522 };
523
524 &target {
525         temperature = <100000>; /* millicelsius */
526 };
527
528 &soc_crit {
529         temperature = <105000>; /* millicelsius */
530 };
531
532 &tsadc {
533         rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
534         rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
535         rockchip,hw-tshut-temp = <110000>;
536         status = "okay";
537 };
538
539 &saradc {
540         status = "okay";
541 };
542
543 &rk_key {
544         compatible = "rockchip,key";
545         status = "okay";
546         io-channels = <&saradc 1>;
547
548         power-key {
549                 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
550                 linux,code = <116>;
551                 label = "power";
552                 gpio-key,wakeup;
553         };
554 };
555
556 &u2phy0 {
557         extcon = <&fusb0>;
558         status = "okay";
559
560         u2phy0_otg: otg-port {
561                 status = "okay";
562         };
563 };
564
565 &u2phy1 {
566         extcon = <&fusb1>;
567         status = "okay";
568
569         u2phy1_otg: otg-port {
570                 status = "okay";
571         };
572 };
573
574 &uart0 {
575         pinctrl-names = "default";
576         pinctrl-0 = <&uart0_xfer &uart0_cts>;
577         status = "okay";
578 };
579
580 &uart2 {
581         status = "okay";
582 };
583
584 &usbdrd3_0 {
585         extcon = <&fusb0>;
586         status = "okay";
587 };
588
589 &usbdrd_dwc3_0 {
590         status = "okay";
591 };
592
593 &usbdrd3_1 {
594         extcon = <&fusb1>;
595         status = "okay";
596 };
597
598 &usbdrd_dwc3_1 {
599         status = "okay";
600 };
601
602 &tcphy0 {
603         status = "okay";
604         extcon = <&fusb0>;
605 };
606
607 &tcphy1 {
608         status = "okay";
609         extcon = <&fusb1>;
610 };
611
612 &pwm2 {
613         status = "okay";
614 };
615
616 &rk_screen {
617         #include <dt-bindings/display/screen-timing/lcd-box.dtsi>
618 };
619
620 &disp_timings {
621         native-mode = <&timing0>; /* 720p */
622 };
623
624 &timing0 {
625         screen-width = <130>;
626         screen-hight = <72>;
627 };
628 /*
629 &fb {
630         rockchip,uboot-logo-on = <1>;
631         rockchip,disp-mode = <NO_DUAL>;
632         //rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
633 };
634 */
635 &vopb_rk_fb {
636         status = "okay";
637 };
638
639 &vopl_rk_fb {
640         status = "okay";
641 };
642
643 &hdmi_rk_fb {
644         status = "okay";
645         rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC1>;
646 };
647
648 &cdn_dp_fb {
649         status = "okay";
650         extcon = <&fusb0>, <&fusb1>;
651         dp_vop_sel = <DISPLAY_SOURCE_LCDC0>;
652 };
653
654 &cdn_dp_sound {
655         status = "okay";
656 };
657
658 &cpu_l0 {
659         cpu-supply = <&vdd_cpu_l>;
660 };
661
662 &cpu_l1 {
663         cpu-supply = <&vdd_cpu_l>;
664 };
665
666 &cpu_l2 {
667         cpu-supply = <&vdd_cpu_l>;
668 };
669
670 &cpu_l3 {
671         cpu-supply = <&vdd_cpu_l>;
672 };
673
674 &cpu_b0 {
675         cpu-supply = <&vdd_cpu_b>;
676 };
677
678 &cpu_b1 {
679         cpu-supply = <&vdd_cpu_b>;
680 };
681
682 &gpu {
683         status = "okay";
684         mali-supply = <&vdd_gpu>;
685 };
686
687 &pinctrl {
688         sdio-pwrseq {
689                 wifi_enable_h: wifi-enable-h {
690                         rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
691                 };
692         };
693
694         wireless-bluetooth {
695                 uart0_gpios: uart0-gpios {
696                         rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
697                 };
698         };
699
700         pmic {
701                 pmic_int_l: pmic-int-l {
702                         rockchip,pins =
703                                 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
704                 };
705
706                 vsel1_gpio: vsel1-gpio {
707                         rockchip,pins =
708                                 <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
709                 };
710
711                 vsel2_gpio: vsel2-gpio {
712                         rockchip,pins =
713                                 <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
714                 };
715         };
716
717         spi1 {
718                 spi1_gpio: spi1-gpio {
719                         rockchip,pins =
720                                 <1 7 RK_FUNC_GPIO &pcfg_output_low>,
721                                 <1 8 RK_FUNC_GPIO &pcfg_output_low>,
722                                 <1 9 RK_FUNC_GPIO &pcfg_output_low>,
723                                 <1 10 RK_FUNC_GPIO &pcfg_output_low>;
724                 };
725         };
726
727         fusb30x {
728                 fusb0_int: fusb0-int {
729                         rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
730                 };
731
732                 fusb1_int: fusb1-int {
733                         rockchip,pins = <1 24 RK_FUNC_GPIO &pcfg_pull_up>;
734                 };
735         };
736 };