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