ARM64: dts: rk3399-box-rev2: enable hdmi uboot logo display
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3368-p9.dts
1 /*
2  * Copyright (c) 2017 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 "rk3368.dtsi"
46 #include "rk3368-android.dtsi"
47
48 / {
49         model = "Rockchip rk3368 p9 board";
50         compatible = "rockchip,p9", "rockchip,rk3368";
51
52         es8316-sound {
53                 compatible = "simple-audio-card";
54                 simple-audio-card,format = "i2s";
55                 simple-audio-card,name = "rockchip,es8316-codec";
56                 simple-audio-card,mclk-fs = <256>;
57                 simple-audio-card,widgets =
58                         "Microphone", "Mic Jack",
59                         "Headphone", "Headphone Jack";
60                 simple-audio-card,routing =
61                         "Mic Jack", "MICBIAS1",
62                         "IN1P", "Mic Jack",
63                         "Headphone Jack", "HPOL",
64                         "Headphone Jack", "HPOR";
65                 simple-audio-card,cpu {
66                         sound-dai = <&i2s_8ch>;
67                 };
68                 simple-audio-card,codec {
69                         sound-dai = <&es8316>;
70                 };
71         };
72
73         sdio_pwrseq: sdio-pwrseq {
74                 compatible = "mmc-pwrseq-simple";
75                 clocks = <&rk818 1>;
76                 clock-names = "ext_clock";
77                 pinctrl-names = "default";
78                 pinctrl-0 = <&wifi_enable_h>;
79
80                 /*
81                  * On the module itself this is one of these (depending
82                  * on the actual card populated):
83                  * - SDIO_RESET_L_WL_REG_ON
84                  * - PDN (power down when low)
85                  */
86                 reset-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */
87         };
88
89         backlight: backlight {
90                 compatible = "pwm-backlight";
91                 pwms = <&pwm0 0 25000 0>;
92                 brightness-levels = <
93                           0   1   2   3   4   5   6   7
94                           8   9  10  11  12  13  14  15
95                          16  17  18  19  20  21  22  23
96                          24  25  26  27  28  29  30  31
97                          32  33  34  35  36  37  38  39
98                          40  41  42  43  44  45  46  47
99                          48  49  50  51  52  53  54  55
100                          56  57  58  59  60  61  62  63
101                          64  65  66  67  68  69  70  71
102                          72  73  74  75  76  77  78  79
103                          80  81  82  83  84  85  86  87
104                          88  89  90  91  92  93  94  95
105                          96  97  98  99 100 101 102 103
106                         104 105 106 107 108 109 110 111
107                         112 113 114 115 116 117 118 119
108                         120 121 122 123 124 125 126 127
109                         128 129 130 131 132 133 134 135
110                         136 137 138 139 140 141 142 143
111                         144 145 146 147 148 149 150 151
112                         152 153 154 155 156 157 158 159
113                         160 161 162 163 164 165 166 167
114                         168 169 170 171 172 173 174 175
115                         176 177 178 179 180 181 182 183
116                         184 185 186 187 188 189 190 191
117                         192 193 194 195 196 197 198 199
118                         200 201 202 203 204 205 206 207
119                         208 209 210 211 212 213 214 215
120                         216 217 218 219 220 221 222 223
121                         224 225 226 227 228 229 230 231
122                         232 233 234 235 236 237 238 239
123                         240 241 242 243 244 245 246 247
124                         248 249 250 251 252 253 254 255>;
125                 default-brightness-level = <200>;
126                 enable-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
127         };
128
129         rk_key: rockchip-key {
130                 compatible = "rockchip,key";
131                 status = "okay";
132
133                 io-channels = <&saradc 1>;
134
135                 vol-up-key {
136                         linux,code = <115>;
137                         label = "volume up";
138                         rockchip,adc_value = <1>;
139                 };
140
141                 vol-down-key {
142                         linux,code = <114>;
143                         label = "volume down";
144                         rockchip,adc_value = <170>;
145                 };
146
147                 power-key {
148                         gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
149                         linux,code = <116>;
150                         label = "power";
151                         gpio-key,wakeup;
152                 };
153         };
154
155         wireless-wlan {
156                 compatible = "wlan-platdata";
157                 rockchip,grf = <&grf>;
158                 /* wifi_chip_type - wifi chip define
159                 * ap6210, ap6330, ap6335
160                 * rtl8188eu, rtl8723bs, rtl8723bu
161                 * esp8089
162                 */
163                 wifi_chip_type = "ap6210";
164                 sdio_vref = <1800>; //1800mv or 3300mv
165                 WIFI,host_wake_irq = <&gpio3 6 GPIO_ACTIVE_HIGH>;
166                 status = "okay";
167         };
168
169         wireless-bluetooth {
170                 compatible = "bluetooth-platdata";
171                 clocks = <&rk818 1>;
172                 clock-names = "ext_clock";
173                 uart_rts_gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
174                 pinctrl-names = "default","rts_gpio";
175                 pinctrl-0 = <&uart0_rts>;
176                 pinctrl-1 = <&uart0_rts_gpio>;
177
178                 //BT,power_gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>;
179                 BT,reset_gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
180                 BT,wake_gpio = <&gpio3 2 GPIO_ACTIVE_HIGH>;
181                 BT,wake_host_irq = <&gpio3 7 GPIO_ACTIVE_HIGH>;
182
183                 status = "okay";
184         };
185
186         vcc_sys: vcc-sys {
187                 compatible = "regulator-fixed";
188                 regulator-name = "vcc_sys";
189                 regulator-always-on;
190                 regulator-boot-on;
191                 regulator-min-microvolt = <3800000>;
192                 regulator-max-microvolt = <3800000>;
193         };
194
195         vcc_host: vcc-host {
196                 compatible = "regulator-fixed";
197                 enable-active-high;
198                 gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>;
199                 pinctrl-names = "default";
200                 pinctrl-0 = <&host_vbus_drv>;
201                 regulator-name = "vcc_host";
202                 regulator-always-on;
203         };
204 };
205
206 &cpu_l0 {
207         cpu-supply = <&syr827>;
208 };
209
210 &cpu_l1 {
211         cpu-supply = <&syr827>;
212 };
213
214 &cpu_l2 {
215         cpu-supply = <&syr827>;
216 };
217
218 &cpu_l3 {
219         cpu-supply = <&syr827>;
220 };
221
222 &cpu_b0 {
223         cpu-supply = <&syr827>;
224 };
225
226 &cpu_b1 {
227         cpu-supply = <&syr827>;
228 };
229
230 &cpu_b2 {
231         cpu-supply = <&syr827>;
232 };
233
234 &cpu_b3 {
235         cpu-supply = <&syr827>;
236 };
237
238 &gpu {
239         logic-supply = <&vdd_logic>;
240 };
241
242 &emmc {
243         bus-width = <8>;
244         cap-mmc-highspeed;
245         mmc-hs200-1_8v;
246         supports-emmc;
247         disable-wp;
248         non-removable;
249         num-slots = <1>;
250         pinctrl-names = "default";
251         pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
252         status = "okay";
253 };
254
255 &sdmmc {
256         clock-frequency = <37500000>;
257         clock-freq-min-max = <400000 37500000>;
258         supports-sd;
259         cap-mmc-highspeed;
260         cap-sd-highspeed;
261         card-detect-delay = <200>;
262         disable-wp;
263         num-slots = <1>;
264         pinctrl-names = "default";
265         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
266         status = "okay";
267 };
268
269 &sdio0 {
270         clock-frequency = <50000000>;
271         clock-freq-min-max = <200000 50000000>;
272         supports-sdio;
273         bus-width = <4>;
274         disable-wp;
275         cap-sd-highspeed;
276         cap-sdio-irq;
277         keep-power-in-suspend;
278         mmc-pwrseq = <&sdio_pwrseq>;
279         non-removable;
280         num-slots = <1>;
281         pinctrl-names = "default";
282         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
283         sd-uhs-sdr104;
284         status = "okay";
285 };
286
287 &i2c0 {
288         status = "okay";
289
290         syr827: syr827@40 {
291                 compatible = "silergy,syr827";
292                 status = "okay";
293                 reg = <0x40>;
294
295                 regulator-compatible = "fan53555-reg";
296                 regulator-name = "vdd_arm";
297                 regulator-min-microvolt = <712500>;
298                 regulator-max-microvolt = <1500000>;
299                 regulator-ramp-delay = <1000>;
300                 fcs,suspend-voltage-selector = <1>;
301                 regulator-always-on;
302                 regulator-boot-on;
303                 regulator-initial-state = <3>;
304                 regulator-state-mem {
305                         regulator-off-in-suspend;
306                         regulator-suspend-microvolt = <900000>;
307                 };
308         };
309
310         rk818: pmic@1c {
311                 compatible = "rockchip,rk818";
312                 status = "okay";
313                 reg = <0x1c>;
314                 clock-output-names = "rk808-clkout1", "wifibt_32kin";
315                 interrupt-parent = <&gpio0>;
316                 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
317                 pinctrl-names = "default";
318                 pinctrl-0 = <&pmic_int_l>;
319                 rockchip,system-power-controller;
320                 wakeup-source;
321                 #clock-cells = <1>;
322
323                 vcc1-supply = <&vcc_sys>;
324                 vcc2-supply = <&vcc_sys>;
325                 vcc3-supply = <&vcc_sys>;
326                 vcc4-supply = <&vcc_sys>;
327                 vcc6-supply = <&vcc_sys>;
328                 vcc7-supply = <&vcc_sys>;
329                 vcc8-supply = <&vcc_sys>;
330                 vcc9-supply = <&vcc_io>;
331
332                 regulators {
333                         vdd_logic: DCDC_REG1 {
334                                 regulator-name = "vdd_logic";
335                                 regulator-always-on;
336                                 regulator-boot-on;
337                                 regulator-min-microvolt = <750000>;
338                                 regulator-max-microvolt = <1450000>;
339                                 regulator-ramp-delay = <6001>;
340                                 regulator-state-mem {
341                                         regulator-on-in-suspend;
342                                         regulator-suspend-microvolt = <1000000>;
343                                 };
344                         };
345
346                         vdd_gpu: DCDC_REG2 {
347                                 regulator-name = "vdd_gpu";
348                                 regulator-always-on;
349                                 regulator-boot-on;
350                                 regulator-min-microvolt = <800000>;
351                                 regulator-max-microvolt = <1250000>;
352                                 regulator-ramp-delay = <6001>;
353                                 regulator-state-mem {
354                                         regulator-on-in-suspend;
355                                         regulator-suspend-microvolt = <1000000>;
356                                 };
357                         };
358
359                         vcc_ddr: DCDC_REG3 {
360                                 regulator-always-on;
361                                 regulator-boot-on;
362                                 regulator-name = "vcc_ddr";
363                                 regulator-state-mem {
364                                         regulator-on-in-suspend;
365                                 };
366                         };
367
368                         vcc_io: DCDC_REG4 {
369                                 regulator-always-on;
370                                 regulator-boot-on;
371                                 regulator-min-microvolt = <3300000>;
372                                 regulator-max-microvolt = <3300000>;
373                                 regulator-name = "vcc_io";
374                                 regulator-state-mem {
375                                         regulator-on-in-suspend;
376                                         regulator-suspend-microvolt = <3300000>;
377                                 };
378                         };
379
380                         vcca_codec: LDO_REG1 {
381                                 regulator-always-on;
382                                 regulator-boot-on;
383                                 regulator-min-microvolt = <3300000>;
384                                 regulator-max-microvolt = <3300000>;
385                                 regulator-name = "vcca_codec";
386                                 regulator-state-mem {
387                                         regulator-on-in-suspend;
388                                         regulator-suspend-microvolt = <3300000>;
389                                 };
390                         };
391
392                         vcc_tp: LDO_REG2 {
393                                 regulator-boot-on;
394                                 regulator-min-microvolt = <3000000>;
395                                 regulator-max-microvolt = <3000000>;
396                                 regulator-name = "vcc_tp";
397                                 regulator-state-mem {
398                                         regulator-off-in-suspend;
399                                 };
400                         };
401
402                         vdd_10: LDO_REG3 {
403                                 regulator-always-on;
404                                 regulator-boot-on;
405                                 regulator-min-microvolt = <1000000>;
406                                 regulator-max-microvolt = <1000000>;
407                                 regulator-name = "vdd_10";
408                                 regulator-state-mem {
409                                         regulator-on-in-suspend;
410                                         regulator-suspend-microvolt = <1000000>;
411                                 };
412                         };
413
414                         vcc18_lcd: LDO_REG4 {
415                                 regulator-always-on;
416                                 regulator-boot-on;
417                                 regulator-min-microvolt = <1800000>;
418                                 regulator-max-microvolt = <1800000>;
419                                 regulator-name = "vcc18_lcd";
420                                 regulator-state-mem {
421                                         regulator-on-in-suspend;
422                                         regulator-suspend-microvolt = <1800000>;
423                                 };
424                         };
425
426                         vccio_pmu: LDO_REG5 {
427                                 regulator-always-on;
428                                 regulator-boot-on;
429                                 regulator-min-microvolt = <1800000>;
430                                 regulator-max-microvolt = <1800000>;
431                                 regulator-name = "vccio_pmu";
432                                 regulator-state-mem {
433                                         regulator-on-in-suspend;
434                                         regulator-suspend-microvolt = <1800000>;
435                                 };
436                         };
437
438                         vdd10_lcd: LDO_REG6 {
439                                 regulator-always-on;
440                                 regulator-boot-on;
441                                 regulator-min-microvolt = <1000000>;
442                                 regulator-max-microvolt = <1000000>;
443                                 regulator-name = "vdd10_lcd";
444                                 regulator-state-mem {
445                                         regulator-on-in-suspend;
446                                         regulator-suspend-microvolt = <1000000>;
447                                 };
448                         };
449
450                         vcc_18: LDO_REG7 {
451                                 regulator-always-on;
452                                 regulator-boot-on;
453                                 regulator-min-microvolt = <1800000>;
454                                 regulator-max-microvolt = <1800000>;
455                                 regulator-name = "vcc_18";
456                                 regulator-state-mem {
457                                         regulator-on-in-suspend;
458                                         regulator-suspend-microvolt = <1800000>;
459                                 };
460                         };
461
462                         vccio_wl: LDO_REG8 {
463                                 regulator-always-on;
464                                 regulator-boot-on;
465                                 regulator-min-microvolt = <1800000>;
466                                 regulator-max-microvolt = <3300000>;
467                                 regulator-name = "vccio_wl";
468                                 regulator-state-mem {
469                                         regulator-on-in-suspend;
470                                         regulator-suspend-microvolt = <3300000>;
471                                 };
472                         };
473
474                         vccio_sd: LDO_REG9 {
475                                 regulator-always-on;
476                                 regulator-boot-on;
477                                 regulator-min-microvolt = <1800000>;
478                                 regulator-max-microvolt = <3300000>;
479                                 regulator-name = "vccio_sd";
480                                 regulator-state-mem {
481                                         regulator-on-in-suspend;
482                                         regulator-suspend-microvolt = <3300000>;
483                                 };
484                         };
485
486                         vcc_sd: SWITCH_REG {
487                                 regulator-always-on;
488                                 regulator-boot-on;
489                                 regulator-name = "vcc_sd";
490                                 regulator-state-mem {
491                                         regulator-on-in-suspend;
492                                 };
493                         };
494                 };
495
496                 battery {
497                         compatible = "rk818-battery";
498                         pinctrl-names = "default";
499                         pinctrl-0 = <&dc_irq_gpio>;
500                         ocv_table = <
501                                 3400 3650 3693 3707 3731 3749 3760
502                                 3770 3782 3796 3812 3829 3852 3882
503                                 3915 3951 3981 4047 4086 4132 4182>;
504                         design_capacity = <8650>;
505                         design_qmax = <8800>;
506                         bat_res = <85>;
507                         max_input_current = <2000>;
508                         max_chrg_current = <1800>;
509                         max_chrg_voltage = <4200>;
510                         sleep_enter_current = <600>;
511                         sleep_exit_current = <600>;
512                         power_off_thresd = <3400>;
513                         zero_algorithm_vol = <3850>;
514                         fb_temperature = <115>;
515                         sample_res = <10>;
516                         max_soc_offset = <60>;
517                         energy_mode = <0>;
518                         monitor_sec = <5>;
519                         virtual_power = <0>;
520                         power_dc2otg = <1>;
521                         support_usb_adp = <1>;
522                         support_dc_adp = <1>;
523                         dc_det_gpio = <&gpio0 17 GPIO_ACTIVE_LOW>;
524                 };
525         };
526 };
527
528 &i2c1 {
529         status = "okay";
530
531         es8316: es8316@10 {
532                 status = "okay";
533                 #sound-dai-cells = <0>;
534                 compatible = "everest,es8316";
535                 reg = <0x10>;
536                 clocks = <&cru SCLK_I2S_8CH_OUT>;
537                 clock-names = "mclk";
538                 spk-con-gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
539                 hp-det-gpio = <&gpio0 23 GPIO_ACTIVE_HIGH>;
540         };
541 };
542
543 &i2c2 {
544         status = "okay";
545
546         gt9xx: gt9xx@14 {
547                 compatible = "goodix,gt9xx";
548                 reg = <0x14>;
549                 touch-gpio = <&gpio0 12 IRQ_TYPE_LEVEL_LOW>;
550                 reset-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
551                 max-x = <1920>;
552                 max-y = <1200>;
553                 tp-size = <89>;
554                 status = "okay";
555                 tp-supply = <&vcc_tp>;
556         };
557 };
558
559 &i2c3 {
560         status = "okay";
561 };
562
563 &i2c4 {
564         status = "okay";
565         mpu6500@68 {
566                 status = "okay";
567                 compatible = "invensense,mpu6500";
568                 pinctrl-names = "default";
569                 pinctrl-0 = <&mpu6500_irq_gpio>;
570                 reg = <0x68>;
571                 irq-gpio = <&gpio3 14 IRQ_TYPE_EDGE_RISING>;
572                 mpu-int_config = <0x10>;
573                 mpu-level_shifter = <0>;
574                 mpu-orientation = <1 0 0 0 1 0 0 0 1>;
575                 orientation-x= <1>;
576                 orientation-y= <0>;
577                 orientation-z= <1>;
578                 support-hw-poweroff = <1>;
579                 mpu-debug = <1>;
580         };
581 };
582
583 &i2s_8ch {
584         status = "okay";
585         rockchip,i2s-broken-burst-len;
586         rockchip,playback-channels = <8>;
587         rockchip,capture-channels = <2>;
588         #sound-dai-cells = <0>;
589 };
590
591 &io_domains {
592         status = "okay";
593
594         dvp-supply = <&vcc_18>;
595         audio-supply = <&vcc_io>;
596         gpio30-supply = <&vcc_io>;
597         gpio1830-supply = <&vcc_io>;
598         sdcard-supply = <&vccio_sd>;
599         wifi-supply = <&vccio_wl>;
600 };
601
602 &pmu_io_domains {
603         status = "okay";
604
605         pmu-supply = <&vccio_pmu>;
606         vop-supply = <&vccio_pmu>;
607 };
608
609 &pwm0 {
610         status = "okay";
611 };
612
613 &uart0 {
614         pinctrl-names = "default";
615         pinctrl-0 = <&uart0_xfer &uart0_cts>;
616         status = "okay";
617 };
618
619 &saradc {
620         status = "okay";
621 };
622
623 &u2phy {
624         status = "okay";
625
626         u2phy_host: host-port {
627                 phy-supply = <&vcc_host>;
628                 status = "okay";
629         };
630 };
631
632 &usb_host0_ehci {
633         status = "okay";
634 };
635
636 &usb_host0_ohci {
637         status = "okay";
638 };
639
640 &mipi_dsi_host {
641         status = "okay";
642
643         dsi_panel: panel@0 {
644                 compatible = "simple-panel-dsi";
645                 reg = <0>;
646                 backlight = <&backlight>;
647                 enable-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
648                 dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>;
649                 dsi,format = <MIPI_DSI_FMT_RGB888>;
650                 dsi,lanes = <4>;
651
652                 delay,prepare = <120>;
653
654                 disp_timings: display-timings {
655                         native-mode = <&timing0>;
656
657                         timing0: timing0 {
658                                 clock-frequency = <145000000>;
659                                 hactive = <1920>;
660                                 vactive = <1200>;
661                                 hback-porch = <16>;
662                                 hfront-porch = <24>;
663                                 vback-porch = <10>;
664                                 vfront-porch = <16>;
665                                 hsync-len = <10>;
666                                 vsync-len = <3>;
667                                 hsync-active = <0>;
668                                 vsync-active = <0>;
669                                 de-active = <0>;
670                         };
671                 };
672         };
673 };
674
675 &mipi_dphy {
676         rockchip,dsi-panel = <&dsi_panel>;
677         status = "okay";
678 };
679
680 &tsadc {
681         tsadc-supply = <&syr827>;
682         status = "okay";
683 };
684
685 &pinctrl {
686         pmic {
687                 pmic_int_l: pmic-int-l {
688                         rockchip,pins = <RK_GPIO0 1 RK_FUNC_GPIO &pcfg_pull_up>;
689                 };
690         };
691
692         mpu6500 {
693                 mpu6500_irq_gpio: mpu6500-irq-gpio {
694                         rockchip,pins = <3 14 RK_FUNC_GPIO &pcfg_pull_none>;
695                 };
696         };
697
698         dc_det {
699                 dc_irq_gpio: dc-irq-gpio {
700                         rockchip,pins = <0 17 RK_FUNC_GPIO &pcfg_pull_up>;
701                 };
702         };
703
704         sdio-pwrseq {
705                 wifi_enable_h: wifi-enable-h {
706                         rockchip,pins = <3 4 RK_FUNC_GPIO &pcfg_pull_none>;
707                 };
708         };
709
710         usb2 {
711                 host_vbus_drv: host-vbus-drv {
712                         rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_none>;
713                 };
714         };
715
716         wireless-bluetooth {
717                 uart0_rts_gpio: uart0-rts-gpio {
718                         rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;
719                 };
720         };
721 };
722