ARM64: dts: rockchip: move rk3399 io-domain nodes to the grf
[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         pmu-io-domains {
102                 compatible = "rockchip,rk3399-pmu-io-voltage-domain";
103                 rockchip,grf = <&pmugrf>;
104                 pmu1830-supply = <&vcc_1v8>;
105         };
106
107         dw_hdmi_audio: dw-hdmi-audio {
108                 status = "okay";
109                 compatible = "rockchip,dw-hdmi-audio";
110                 #sound-dai-cells = <0>;
111         };
112
113         hdmi_sound: hdmi-sound {
114                 status = "disabled";
115                 compatible = "simple-audio-card";
116                 simple-audio-card,format = "i2s";
117                 simple-audio-card,mclk-fs = <256>;
118                 simple-audio-card,name = "rockchip,hdmi";
119
120                 simple-audio-card,cpu {
121                         sound-dai = <&i2s2>;
122                 };
123                 simple-audio-card,codec {
124                         sound-dai = <&dw_hdmi_audio>;
125                 };
126         };
127
128         sdio_pwrseq: sdio-pwrseq {
129                 compatible = "mmc-pwrseq-simple";
130                 clocks = <&rk818 1>;
131                 clock-names = "ext_clock";
132                 pinctrl-names = "default";
133                 pinctrl-0 = <&wifi_enable_h>;
134
135                 /*
136                  * On the module itself this is one of these (depending
137                  * on the actual card populated):
138                  * - SDIO_RESET_L_WL_REG_ON
139                  * - PDN (power down when low)
140                  */
141                 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; /* GPIO0_B2 */
142         };
143
144         wireless-wlan {
145                 compatible = "wlan-platdata";
146                 rockchip,grf = <&grf>;
147                 wifi_chip_type = "ap6330";
148                 sdio_vref = <1800>;
149                 WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>; /* GPIO0_a3 */
150                 status = "okay";
151         };
152
153         wireless-bluetooth {
154                 compatible = "bluetooth-platdata";
155                 clocks = <&rk818 1>;
156                 clock-names = "ext_clock";
157                 //wifi-bt-power-toggle;
158                 uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */
159                 pinctrl-names = "default", "rts_gpio";
160                 pinctrl-0 = <&uart0_rts>;
161                 pinctrl-1 = <&uart0_gpios>;
162                 //BT,power_gpio  = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */
163                 BT,reset_gpio    = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */
164                 BT,wake_gpio     = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */
165                 BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
166                 status = "okay";
167         };
168
169         uboot-charge {
170                 compatible = "rockchip,uboot-charge";
171                 rockchip,uboot-charge-on = <0>;
172                 rockchip,android-charge-on = <1>;
173         };
174
175         mpu6500_hid {
176                 status = "okay";
177                 compatible = "inv-hid,mpu6500";
178         };
179 };
180
181 &sdmmc {
182         clock-frequency = <150000000>;
183         clock-freq-min-max = <400000 150000000>;
184         supports-sd;
185         bus-width = <4>;
186         cap-mmc-highspeed;
187         cap-sd-highspeed;
188         disable-wp;
189         num-slots = <1>;
190         sd-uhs-sdr104;
191         vqmmc-supply = <&vcc_sd>;
192         pinctrl-names = "default";
193         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
194         status = "okay";
195 };
196
197 &sdio0 {
198         clock-frequency = <50000000>;
199         clock-freq-min-max = <200000 50000000>;
200         supports-sdio;
201         bus-width = <4>;
202         disable-wp;
203         cap-sd-highspeed;
204         cap-sdio-irq;
205         keep-power-in-suspend;
206         mmc-pwrseq = <&sdio_pwrseq>;
207         non-removable;
208         num-slots = <1>;
209         pinctrl-names = "default";
210         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
211         sd-uhs-sdr104;
212         status = "okay";
213 };
214
215 &emmc_phy {
216         status = "okay";
217 };
218
219 &sdhci {
220         bus-width = <8>;
221         mmc-hs400-1_8v;
222         supports-emmc;
223         non-removable;
224         keep-power-in-suspend;
225         mmc-hs400-enhanced-strobe;
226         status = "okay";
227 };
228
229 &i2c0 {
230         status = "okay";
231         i2c-scl-rising-time-ns = <219>;
232         i2c-scl-falling-time-ns = <15>;
233         /* clock-frequency = <400000>; */
234
235         fusb1: fusb30x@22 {
236                 compatible = "fairchild,fusb302";
237                 reg = <0x22>;
238                 pinctrl-names = "default";
239                 pinctrl-0 = <&fusb1_int>;
240                 vbus-5v-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
241                 int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
242                 status = "okay";
243         };
244
245         vdd_cpu_b: syr827@40 {
246                 compatible = "silergy,syr827";
247                 reg = <0x40>;
248                 vin-supply = <&vcc_sys>;
249                 regulator-compatible = "fan53555-reg";
250                 pinctrl-0 = <&vsel1_gpio>;
251                 vsel-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
252                 regulator-name = "vdd_cpu_b";
253                 regulator-min-microvolt = <712500>;
254                 regulator-max-microvolt = <1500000>;
255                 regulator-ramp-delay = <1000>;
256                 fcs,suspend-voltage-selector = <1>;
257                 regulator-always-on;
258                 regulator-initial-state = <3>;
259                         regulator-state-mem {
260                         regulator-off-in-suspend;
261                 };
262         };
263
264         vdd_gpu: syr828@41 {
265                 compatible = "silergy,syr828";
266                 reg = <0x41>;
267                 vin-supply = <&vcc_sys>;
268                 regulator-compatible = "fan53555-reg";
269                 pinctrl-0 = <&vsel2_gpio>;
270                 vsel-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
271                 regulator-name = "vdd_gpu";
272                 regulator-min-microvolt = <712500>;
273                 regulator-max-microvolt = <1500000>;
274                 regulator-ramp-delay = <1000>;
275                 fcs,suspend-voltage-selector = <1>;
276                 regulator-boot-on;
277                 regulator-initial-state = <3>;
278                 regulator-initial-mode = <1>;/*1:pwm 2: auto mode*/
279                         regulator-state-mem {
280                         regulator-off-in-suspend;
281                 };
282         };
283
284         rk818: pmic@1c {
285                 compatible = "rockchip,rk818";
286                 status = "okay";
287                 reg = <0x1c>;
288                 clock-output-names = "xin32k", "wifibt_32kin";
289                 interrupt-parent = <&gpio1>;
290                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
291                 pinctrl-names = "default";
292                 pinctrl-0 = <&pmic_int_l>;
293                 rockchip,system-power-controller;
294                 wakeup-source;
295                 extcon = <&fusb0>;
296                 #clock-cells = <1>;
297
298                 vcc1-supply = <&vcc_sys>;
299                 vcc2-supply = <&vcc_sys>;
300                 vcc3-supply = <&vcc_sys>;
301                 vcc4-supply = <&vcc_sys>;
302                 vcc6-supply = <&vcc_sys>;
303                 vcc7-supply = <&vcc3v3_sys>;
304                 vcc8-supply = <&vcc_sys>;
305                 vcc9-supply = <&vcc3v3_sys>;
306
307                 regulators {
308                         vdd_cpu_l: DCDC_REG1 {
309                                 regulator-name = "vdd_cpu_l";
310                                 regulator-always-on;
311                                 regulator-boot-on;
312                                 regulator-min-microvolt = <750000>;
313                                 regulator-max-microvolt = <1350000>;
314                                 regulator-ramp-delay = <6001>;
315                                 regulator-state-mem {
316                                         regulator-off-in-suspend;
317                                 };
318                         };
319
320                         vdd_center: DCDC_REG2 {
321                                 regulator-name = "vdd_center";
322                                 regulator-always-on;
323                                 regulator-boot-on;
324                                 regulator-min-microvolt = <800000>;
325                                 regulator-max-microvolt = <1350000>;
326                                 regulator-ramp-delay = <6001>;
327                                 regulator-state-mem {
328                                         regulator-off-in-suspend;
329                                 };
330                         };
331
332                         vcc_ddr: DCDC_REG3 {
333                                 regulator-name = "vcc_ddr";
334                                 regulator-always-on;
335                                 regulator-boot-on;
336                                 regulator-state-mem {
337                                         regulator-on-in-suspend;
338                                 };
339                         };
340
341                         vcc_1v8: DCDC_REG4 {
342                                 regulator-name = "vcc_1v8";
343                                 regulator-always-on;
344                                 regulator-boot-on;
345                                 regulator-min-microvolt = <1800000>;
346                                 regulator-max-microvolt = <1800000>;
347                                 regulator-state-mem {
348                                         regulator-on-in-suspend;
349                                         regulator-suspend-microvolt = <1800000>;
350                                 };
351                         };
352
353                         vcc1v8_rk1608: LDO_REG1 {
354                                 //regulator-always-on;
355                                 //regulator-boot-on;
356                                 regulator-min-microvolt = <1800000>;
357                                 regulator-max-microvolt = <1800000>;
358                                 regulator-name = "vcc1v8_rk1608";
359                                 regulator-state-mem {
360                                         regulator-off-in-suspend;
361                                 };
362                         };
363
364                         vdd1v8_rk1608: LDO_REG2 {
365                                 //regulator-always-on;
366                                 //regulator-boot-on;
367                                 regulator-min-microvolt = <1800000>;
368                                 regulator-max-microvolt = <1800000>;
369                                 regulator-name = "vdd1v8_rk1608";
370                                 regulator-state-mem {
371                                         regulator-off-in-suspend;
372                                 };
373                         };
374
375                         vdd1v0_rk1608: LDO_REG3 {
376                                 //regulator-always-on;
377                                 //regulator-boot-on;
378                                 regulator-min-microvolt = <1000000>;
379                                 regulator-max-microvolt = <1000000>;
380                                 regulator-name = "vdd1v0_rk1608";
381                                 regulator-state-mem {
382                                         regulator-off-in-suspend;
383                                 };
384                         };
385
386                         vcc_power_on: LDO_REG4 {
387                                 regulator-always-on;
388                                 regulator-boot-on;
389                                 regulator-min-microvolt = <3300000>;
390                                 regulator-max-microvolt = <3300000>;
391                                 regulator-name = "vcc_power_on";
392                                 regulator-state-mem {
393                                         regulator-on-in-suspend;
394                                         regulator-suspend-microvolt = <3300000>;
395                                 };
396                         };
397
398                         vdd_2v8: LDO_REG5 {
399                                 //regulator-always-on;
400                                 //regulator-boot-on;
401                                 regulator-min-microvolt = <2800000>;
402                                 regulator-max-microvolt = <2800000>;
403                                 regulator-name = "vdd_2v8";
404                                 regulator-state-mem {
405                                         regulator-on-in-suspend;
406                                         regulator-suspend-microvolt = <2800000>;
407                                 };
408                         };
409
410                         vcc_1v5: LDO_REG6 {
411                                 //regulator-always-on;
412                                 //regulator-boot-on;
413                                 regulator-min-microvolt = <1500000>;
414                                 regulator-max-microvolt = <1500000>;
415                                 regulator-name = "vcc_1v5";
416                                 regulator-state-mem {
417                                         regulator-on-in-suspend;
418                                         regulator-suspend-microvolt = <1500000>;
419                                 };
420                         };
421
422                         vcc1v8_dvp: LDO_REG7 {
423                                 //regulator-always-on;
424                                 //regulator-boot-on;
425                                 regulator-min-microvolt = <1800000>;
426                                 regulator-max-microvolt = <1800000>;
427                                 regulator-name = "vcc1v8_dvp";
428                                 regulator-state-mem {
429                                         regulator-on-in-suspend;
430                                         regulator-suspend-microvolt = <1800000>;
431                                 };
432                         };
433
434                         vcc3v3_s3: LDO_REG8 {
435                                 regulator-always-on;
436                                 regulator-boot-on;
437                                 regulator-min-microvolt = <3300000>;
438                                 regulator-max-microvolt = <3300000>;
439                                 regulator-name = "vcc3v3_s3";
440                                 regulator-state-mem {
441                                         regulator-on-in-suspend;
442                                         regulator-suspend-microvolt = <3300000>;
443                                 };
444                         };
445
446                         vcc_sd: LDO_REG9 {
447                                 regulator-always-on;
448                                 regulator-boot-on;
449                                 regulator-min-microvolt = <1800000>;
450                                 regulator-max-microvolt = <3300000>;
451                                 regulator-name = "vcc_sd";
452                                 regulator-state-mem {
453                                         regulator-on-in-suspend;
454                                         regulator-suspend-microvolt = <3300000>;
455                                 };
456                         };
457
458                         vcc3v3_s0: SWITCH_REG {
459                                 regulator-always-on;
460                                 regulator-boot-on;
461                                 regulator-name = "vcc3v3_s0";
462                                 regulator-state-mem {
463                                         regulator-on-in-suspend;
464                                 };
465                         };
466                 };
467
468                 battery {
469                         compatible = "rk818-battery";
470                         ocv_table = <
471                                 3400 3599 3671 3701 3728 3746 3762
472                                 3772 3781 3792 3816 3836 3866 3910
473                                 3942 3971 4002 4050 4088 4132 4183>;
474                         design_capacity = <4000>;
475                         design_qmax = <4100>;
476                         bat_res = <100>;
477                         max_input_current = <2000>;
478                         max_chrg_current = <1800>;
479                         max_chrg_voltage = <4200>;
480                         sleep_enter_current = <300>;
481                         sleep_exit_current = <300>;
482                         power_off_thresd = <3400>;
483                         zero_algorithm_vol = <3850>;
484                         fb_temperature = <115>;
485                         sample_res = <10>;
486                         max_soc_offset = <60>;
487                         energy_mode = <0>;
488                         monitor_sec = <5>;
489                         virtual_power = <1>;
490                         power_dc2otg = <0>;
491                 };
492         };
493 };
494
495 &i2c4 {
496         status = "okay";
497         i2c-scl-rising-time-ns = <345>;
498         i2c-scl-falling-time-ns = <11>;
499
500         fusb0: fusb30x@22 {
501                 compatible = "fairchild,fusb302";
502                 reg = <0x22>;
503                 pinctrl-names = "default";
504                 pinctrl-0 = <&fusb0_int>;
505                 int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
506                 status = "okay";
507         };
508 };
509
510 &io_domains {
511         status = "okay";
512
513         bt656-supply = <&vcc1v8_s3>;
514         audio-supply = <&vcc1v8_s3>;
515         sdmmc-supply = <&vcc_sd>;
516         gpio1830-supply = <&vcc1v8_s3>;
517 };
518
519 &threshold {
520         temperature = <85000>; /* millicelsius */
521 };
522
523 &target {
524         temperature = <100000>; /* millicelsius */
525 };
526
527 &soc_crit {
528         temperature = <105000>; /* millicelsius */
529 };
530
531 &tsadc {
532         rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
533         rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
534         rockchip,hw-tshut-temp = <110000>;
535         status = "okay";
536 };
537
538 &saradc {
539         status = "okay";
540 };
541
542 &rk_key {
543         compatible = "rockchip,key";
544         status = "okay";
545         io-channels = <&saradc 1>;
546
547         power-key {
548                 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
549                 linux,code = <116>;
550                 label = "power";
551                 gpio-key,wakeup;
552         };
553 };
554
555 &u2phy0 {
556         extcon = <&fusb0>;
557         status = "okay";
558
559         u2phy0_otg: otg-port {
560                 status = "okay";
561         };
562 };
563
564 &u2phy1 {
565         extcon = <&fusb1>;
566         status = "okay";
567
568         u2phy1_otg: otg-port {
569                 status = "okay";
570         };
571 };
572
573 &uart0 {
574         pinctrl-names = "default";
575         pinctrl-0 = <&uart0_xfer &uart0_cts>;
576         status = "okay";
577 };
578
579 &uart2 {
580         status = "okay";
581 };
582
583 &usbdrd3_0 {
584         extcon = <&fusb0>;
585         status = "okay";
586 };
587
588 &usbdrd_dwc3_0 {
589         status = "okay";
590 };
591
592 &usbdrd3_1 {
593         extcon = <&fusb1>;
594         status = "okay";
595 };
596
597 &usbdrd_dwc3_1 {
598         status = "okay";
599 };
600
601 &tcphy0 {
602         status = "okay";
603         extcon = <&fusb0>;
604 };
605
606 &tcphy1 {
607         status = "okay";
608         extcon = <&fusb1>;
609 };
610
611 &pwm2 {
612         status = "okay";
613 };
614
615 &rk_screen {
616         #include <dt-bindings/display/screen-timing/lcd-box.dtsi>
617 };
618
619 &disp_timings {
620         native-mode = <&timing0>; /* 720p */
621 };
622
623 &timing0 {
624         screen-width = <130>;
625         screen-hight = <72>;
626 };
627 /*
628 &fb {
629         rockchip,uboot-logo-on = <1>;
630         rockchip,disp-mode = <NO_DUAL>;
631         //rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
632 };
633 */
634 &vopb_rk_fb {
635         status = "okay";
636 };
637
638 &vopl_rk_fb {
639         status = "okay";
640 };
641
642 &hdmi_rk_fb {
643         status = "okay";
644         rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC1>;
645 };
646
647 &cdn_dp_fb {
648         status = "okay";
649         extcon = <&fusb0>, <&fusb1>;
650         dp_vop_sel = <DISPLAY_SOURCE_LCDC0>;
651 };
652
653 &cdn_dp_sound {
654         status = "okay";
655 };
656
657 &cpu_l0 {
658         cpu-supply = <&vdd_cpu_l>;
659 };
660
661 &cpu_l1 {
662         cpu-supply = <&vdd_cpu_l>;
663 };
664
665 &cpu_l2 {
666         cpu-supply = <&vdd_cpu_l>;
667 };
668
669 &cpu_l3 {
670         cpu-supply = <&vdd_cpu_l>;
671 };
672
673 &cpu_b0 {
674         cpu-supply = <&vdd_cpu_b>;
675 };
676
677 &cpu_b1 {
678         cpu-supply = <&vdd_cpu_b>;
679 };
680
681 &gpu {
682         status = "okay";
683         mali-supply = <&vdd_gpu>;
684 };
685
686 &pinctrl {
687         sdio-pwrseq {
688                 wifi_enable_h: wifi-enable-h {
689                         rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
690                 };
691         };
692
693         wireless-bluetooth {
694                 uart0_gpios: uart0-gpios {
695                         rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
696                 };
697         };
698
699         pmic {
700                 pmic_int_l: pmic-int-l {
701                         rockchip,pins =
702                                 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
703                 };
704
705                 vsel1_gpio: vsel1-gpio {
706                         rockchip,pins =
707                                 <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
708                 };
709
710                 vsel2_gpio: vsel2-gpio {
711                         rockchip,pins =
712                                 <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
713                 };
714         };
715
716         spi1 {
717                 spi1_gpio: spi1-gpio {
718                         rockchip,pins =
719                                 <1 7 RK_FUNC_GPIO &pcfg_output_low>,
720                                 <1 8 RK_FUNC_GPIO &pcfg_output_low>,
721                                 <1 9 RK_FUNC_GPIO &pcfg_output_low>,
722                                 <1 10 RK_FUNC_GPIO &pcfg_output_low>;
723                 };
724         };
725
726         fusb30x {
727                 fusb0_int: fusb0-int {
728                         rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
729                 };
730
731                 fusb1_int: fusb1-int {
732                         rockchip,pins = <1 24 RK_FUNC_GPIO &pcfg_pull_up>;
733                 };
734         };
735 };