2 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
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
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.
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.
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
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
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.
44 #include <dt-bindings/pinctrl/rk.h>
45 #include "rk3399.dtsi"
46 #include "rk3399-android-next.dtsi"
47 #include "rk3399-opp.dtsi"
48 #include <dt-bindings/sensor-dev.h>
49 #include <dt-bindings/pwm/pwm.h>
52 compatible = "rockchip,rk3399-mid", "rockchip,rk3399";
54 edp_panel: edp-panel {
55 compatible = "simple-panel";
56 backlight = <&backlight>;
57 power-supply = <&vcc3v3_s0>;
58 enable-gpios = <&gpio3 GPIO_A0 GPIO_ACTIVE_HIGH>;
59 bus-format = <MEDIA_BUS_FMT_RGB666_1X18>;
62 panel_in_edp: endpoint {
63 remote-endpoint = <&edp_out_panel>;
68 usb_cam_gpio: usb-cam-gpio {
69 compatible = "usb-cam-gpio";
70 pinctrl-names = "default";
71 pinctrl-0 = <&usb_cam_on_gpio>;
72 hd-cam-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_HIGH>;
73 ir-cam-gpios = <&gpio3 GPIO_A2 GPIO_ACTIVE_HIGH>;
78 compatible = "regulator-fixed";
79 regulator-name = "vcc_sys";
82 regulator-min-microvolt = <3900000>;
83 regulator-max-microvolt = <3900000>;
86 vcc3v3_sys: vcc3v3-sys {
87 compatible = "regulator-fixed";
88 regulator-name = "vcc3v3_sys";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;
95 vcc5v0_host: vcc5v0-host-regulator {
96 compatible = "regulator-fixed";
98 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&host_vbus_drv>;
101 regulator-name = "vcc5v0_host";
106 compatible = "pwm-regulator";
107 pwms = <&pwm2 0 25000 0>;
108 rockchip,pwm_id= <2>;
109 rockchip,pwm_voltage = <1000000>;
110 regulator-name = "vdd_log";
111 regulator-min-microvolt = <750000>;
112 regulator-max-microvolt = <1350000>;
117 backlight: backlight {
118 compatible = "pwm-backlight";
119 pwms = <&pwm0 0 25000 0>;
120 brightness-levels = <
121 0 1 51 52 52 53 53 54
122 54 55 55 56 56 57 57 58
123 58 59 59 60 61 61 62 63
124 63 64 65 65 66 67 67 68
125 69 69 70 71 71 72 73 73
126 74 75 75 76 77 77 78 79
127 79 80 80 81 81 82 83 83
128 84 85 86 86 87 88 89 89
129 90 91 92 92 93 94 95 95
130 96 97 98 98 99 100 101 101
131 102 103 104 104 105 106 107 107
132 108 109 110 110 111 112 113 113
133 114 115 116 116 117 118 119 119
134 120 121 122 122 123 124 125 125
135 126 127 128 128 129 130 131 131
136 132 133 134 134 135 136 137 137
137 138 139 140 140 141 142 143 143
138 144 145 146 146 147 148 149 149
139 150 151 152 152 153 154 155 155
140 156 157 158 158 159 160 161 161
141 162 163 164 164 165 166 167 167
142 168 169 170 170 171 172 173 173
143 174 175 176 176 177 178 179 179
144 180 181 182 182 183 184 185 185
145 186 187 188 188 189 190 191 191
146 216 217 218 218 219 220 221 221
147 222 223 224 224 225 226 227 227
148 228 229 230 230 231 232 233 233
149 234 235 236 236 237 238 239 239
150 240 241 242 242 243 244 245 245
151 246 247 248 248 249 250 251 251
152 252 253 254 254 255 255 255 255>;
153 default-brightness-level = <200>;
154 enable-gpios = <&gpio3 GPIO_A4 GPIO_ACTIVE_HIGH>;
157 vcc_phy: vcc-phy-regulator {
158 compatible = "regulator-fixed";
159 regulator-name = "vcc_phy";
165 compatible = "simple-audio-card";
166 simple-audio-card,format = "i2s";
167 simple-audio-card,name = "rockchip,cx2072x-codec";
168 simple-audio-card,mclk-fs = <256>;
169 simple-audio-card,widgets =
170 "Microphone", "Microphone Jack",
171 "Line", "Microphone Headset",
172 "Headphone", "Headphone Jack",
173 "Speaker", "Speaker External";
174 simple-audio-card,routing =
175 "PORTC", "Microphone Jack",
176 "PortD Mic Bias", "Microphone Headset",
177 "Headphone Jack", "PORTA",
178 "Speaker External", "PORTG";
179 simple-audio-card,cpu {
182 simple-audio-card,codec {
183 sound-dai = <&cx2072x>;
188 compatible = "simple-audio-card";
189 simple-audio-card,name = "rockchip,spdif";
190 simple-audio-card,cpu {
191 sound-dai = <&spdif>;
193 simple-audio-card,codec {
194 sound-dai = <&spdif_out>;
198 spdif_out: spdif-out {
199 compatible = "linux,spdif-dit";
200 #sound-dai-cells = <0>;
203 sdio_pwrseq: sdio-pwrseq {
204 compatible = "mmc-pwrseq-simple";
206 clock-names = "ext_clock";
207 pinctrl-names = "default";
208 pinctrl-0 = <&wifi_enable_h>;
211 * On the module itself this is one of these (depending
212 * on the actual card populated):
213 * - SDIO_RESET_L_WL_REG_ON
214 * - PDN (power down when low)
216 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; /* GPIO0_B2 */
220 compatible = "gpio-leds";
221 pinctrl-names = "default";
222 pinctrl-0 =<&leds_gpio>;
225 gpios = <&gpio1 GPIO_C6 GPIO_ACTIVE_HIGH>;
226 label = "battery_led_amber";
227 retain-state-suspended;
231 gpios = <&gpio1 GPIO_D0 GPIO_ACTIVE_HIGH>;
232 label = "battery_led_white";
233 retain-state-suspended;
237 gpios = <&gpio3 GPIO_A5 GPIO_ACTIVE_HIGH>;
238 label = "call_answer_led";
242 gpios = <&gpio3 GPIO_B1 GPIO_ACTIVE_HIGH>;
243 label = "call_decline_led";
247 gpios = <&gpio2 GPIO_D3 GPIO_ACTIVE_HIGH>;
248 label = "rec_mute_led";
252 gpios = <&gpio2 GPIO_D4 GPIO_ACTIVE_HIGH>;
253 label = "play_mute_led";
257 gpios = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
263 compatible = "wlan-platdata";
264 rockchip,grf = <&grf>;
265 wifi_chip_type = "ap6354";
267 WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>; /* GPIO0_a3 */
272 compatible = "bluetooth-platdata";
274 clock-names = "ext_clock";
275 //wifi-bt-power-toggle;
276 uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */
277 pinctrl-names = "default", "rts_gpio";
278 pinctrl-0 = <&uart0_rts>;
279 pinctrl-1 = <&uart0_gpios>;
280 //BT,power_gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */
281 BT,reset_gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */
282 BT,wake_gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */
283 BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
288 compatible = "rockchip,uboot-charge";
289 rockchip,uboot-charge-on = <1>;
290 rockchip,android-charge-on = <0>;
291 rockchip,uboot-exit-charge-level = <2>;
292 rockchip,uboot-low-power-level = <1>;
293 rockchip,uboot-charge-brightness = <0>;
294 max-input-voltage = <20000>;
295 max-input-current = <6000>;
299 compatible = "rk-vibrator-gpio";
300 vibrator-gpio = <&gpio4 30 GPIO_ACTIVE_LOW>;
305 compatible = "rockchip_headset";
306 headset_gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&hp_det>;
309 io-channels = <&saradc 2>;
312 hall_sensor: hall-mh248 {
313 compatible = "hall-mh248";
314 pinctrl-names = "default";
315 pinctrl-0 = <&mh248_irq_gpio>;
316 irq-gpio = <&gpio0 GPIO_A1 IRQ_TYPE_EDGE_BOTH>;
323 compatible = "rockchip,key";
326 io-channels = <&saradc 1>;
331 rockchip,adc_value = <1>;
336 label = "volume down";
337 rockchip,adc_value = <170>;
341 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
350 rockchip,adc_value = <746>;
356 rockchip,adc_value = <355>;
362 rockchip,adc_value = <560>;
368 rockchip,adc_value = <450>;
373 cpu-supply = <&vdd_cpu_l>;
377 cpu-supply = <&vdd_cpu_l>;
381 cpu-supply = <&vdd_cpu_l>;
385 cpu-supply = <&vdd_cpu_l>;
389 cpu-supply = <&vdd_cpu_b>;
393 cpu-supply = <&vdd_cpu_b>;
402 #address-cells = <1>;
404 edp_out_panel: endpoint@0 {
406 remote-endpoint = <&panel_in_edp>;
422 mali-supply = <&vdd_gpu>;
431 extcon = <&fusb0>, <&fusb1>;
440 rockchip,i2s-broken-burst-len;
441 rockchip,playback-channels = <8>;
442 rockchip,capture-channels = <8>;
443 rockchip,bclk-fs = <32>;
444 #sound-dai-cells = <0>;
448 #sound-dai-cells = <0>;
453 i2c-scl-rising-time-ns = <180>;
454 i2c-scl-falling-time-ns = <30>;
455 clock-frequency = <400000>;
457 vdd_cpu_b: syr837@40 {
458 compatible = "silergy,syr827";
460 vin-supply = <&vcc_sys>;
461 regulator-compatible = "fan53555-reg";
462 pinctrl-0 = <&vsel1_gpio>;
463 vsel-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
464 regulator-name = "vdd_cpu_b";
465 regulator-min-microvolt = <712500>;
466 regulator-max-microvolt = <1500000>;
467 regulator-ramp-delay = <1000>;
468 fcs,suspend-voltage-selector = <1>;
470 regulator-initial-state = <3>;
471 regulator-state-mem {
472 regulator-off-in-suspend;
477 compatible = "silergy,syr828";
480 vin-supply = <&vcc_sys>;
481 regulator-compatible = "fan53555-reg";
482 pinctrl-0 = <&vsel2_gpio>;
483 vsel-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
484 regulator-name = "vdd_gpu";
485 regulator-min-microvolt = <735000>;
486 regulator-max-microvolt = <1400000>;
487 regulator-ramp-delay = <1000>;
488 fcs,suspend-voltage-selector = <1>;
490 regulator-state-mem {
491 regulator-off-in-suspend;
496 compatible = "rockchip,rk808";
498 interrupt-parent = <&gpio1>;
499 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
500 pinctrl-0 = <&pmic_int_l>;
501 rockchip,system-power-controller;
504 clock-output-names = "xin32k", "rk808-clkout2";
506 vcc1-supply = <&vcc3v3_sys>;
507 vcc2-supply = <&vcc3v3_sys>;
508 vcc3-supply = <&vcc3v3_sys>;
509 vcc4-supply = <&vcc3v3_sys>;
510 vcc6-supply = <&vcc3v3_sys>;
511 vcc7-supply = <&vcc3v3_sys>;
512 vcc8-supply = <&vcc3v3_sys>;
513 vcc9-supply = <&vcc3v3_sys>;
514 vcc10-supply = <&vcc3v3_sys>;
515 vcc11-supply = <&vcc3v3_sys>;
516 vcc12-supply = <&vcc3v3_sys>;
517 vddio-supply = <&vcc1v8_pmu>;
520 vdd_center: DCDC_REG1 {
523 regulator-min-microvolt = <750000>;
524 regulator-max-microvolt = <1350000>;
525 regulator-ramp-delay = <6001>;
526 regulator-name = "vdd_center";
527 regulator-state-mem {
528 regulator-off-in-suspend;
532 vdd_cpu_l: DCDC_REG2 {
535 regulator-min-microvolt = <750000>;
536 regulator-max-microvolt = <1350000>;
537 regulator-ramp-delay = <6001>;
538 regulator-name = "vdd_cpu_l";
539 regulator-state-mem {
540 regulator-off-in-suspend;
547 regulator-name = "vcc_ddr";
548 regulator-state-mem {
549 regulator-on-in-suspend;
556 regulator-min-microvolt = <1800000>;
557 regulator-max-microvolt = <1800000>;
558 regulator-name = "vcc_1v8";
559 regulator-state-mem {
560 regulator-on-in-suspend;
561 regulator-suspend-microvolt = <1800000>;
565 vcc1v8_dvp: LDO_REG1 {
568 regulator-min-microvolt = <1800000>;
569 regulator-max-microvolt = <1800000>;
570 regulator-name = "vcc1v8_dvp";
571 regulator-state-mem {
572 regulator-off-in-suspend;
576 vcc3v0_tp: LDO_REG2 {
579 regulator-min-microvolt = <3000000>;
580 regulator-max-microvolt = <3000000>;
581 regulator-name = "vcc3v0_tp";
582 regulator-state-mem {
583 regulator-off-in-suspend;
587 vcc1v8_pmu: LDO_REG3 {
590 regulator-min-microvolt = <1800000>;
591 regulator-max-microvolt = <1800000>;
592 regulator-name = "vcc1v8_pmu";
593 regulator-state-mem {
594 regulator-on-in-suspend;
595 regulator-suspend-microvolt = <1800000>;
602 regulator-min-microvolt = <1800000>;
603 regulator-max-microvolt = <3300000>;
604 regulator-name = "vcc_sd";
605 regulator-state-mem {
606 regulator-on-in-suspend;
607 regulator-suspend-microvolt = <3300000>;
611 vcca3v0_codec: LDO_REG5 {
614 regulator-min-microvolt = <3000000>;
615 regulator-max-microvolt = <3000000>;
616 regulator-name = "vcca3v0_codec";
617 regulator-state-mem {
618 regulator-on-in-suspend;
619 regulator-suspend-microvolt = <3000000>;
626 regulator-min-microvolt = <1500000>;
627 regulator-max-microvolt = <1500000>;
628 regulator-name = "vcc_1v5";
629 regulator-state-mem {
630 regulator-on-in-suspend;
631 regulator-suspend-microvolt = <1500000>;
635 vcca1v8_codec: LDO_REG7 {
638 regulator-min-microvolt = <1800000>;
639 regulator-max-microvolt = <1800000>;
640 regulator-name = "vcca1v8_codec";
641 regulator-state-mem {
642 regulator-on-in-suspend;
643 regulator-suspend-microvolt = <1800000>;
650 regulator-min-microvolt = <3000000>;
651 regulator-max-microvolt = <3000000>;
652 regulator-name = "vcc_3v0";
653 regulator-state-mem {
654 regulator-on-in-suspend;
655 regulator-suspend-microvolt = <3000000>;
659 vcc3v3_s3: SWITCH_REG1 {
662 regulator-name = "vcc3v3_s3";
663 regulator-state-mem {
664 regulator-off-in-suspend;
668 vcc3v3_s0: SWITCH_REG2 {
671 regulator-name = "vcc3v3_s0";
672 regulator-state-mem {
673 regulator-off-in-suspend;
682 i2c-scl-rising-time-ns = <140>;
683 i2c-scl-falling-time-ns = <30>;
687 #sound-dai-cells = <0>;
688 compatible = "cnxt,cx20723";
690 clocks = <&cru SCLK_I2S_8CH_OUT>;
691 clock-names = "mclk";
692 spk-con-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
700 clock-frequency = <100000>;
701 compatible = "hid-over-i2c";
702 interrupt-parent = <&gpio0>;
703 interrupts = <GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
704 pinctrl-names = "default";
705 pinctrl-0 = <&hidkey_irq_gpio>;
707 hid-descr-addr = <0x0001>;
712 compatible = "rockchip,ec-battery";
716 ec-notify-gpios = <&gpio1 GPIO_C4 GPIO_ACTIVE_HIGH>;
722 i2c-scl-rising-time-ns = <345>;
723 i2c-scl-falling-time-ns = <11>;
724 clock-frequency = <400000>;
726 touchpad: touchpad@2c {
727 compatible = "hid-over-i2c";
728 interrupt-parent = <&gpio1>;
729 interrupts = <GPIO_C2 IRQ_TYPE_LEVEL_LOW>;
730 pinctrl-names = "default";
731 pinctrl-0 = <&touchpad_irq_gpio>;
733 hid-descr-addr = <0x002c>;
739 clock-frequency = <100000>;
740 bq25700: bq25700@09 {//6a
741 compatible = "ti,bq25700";
743 extcon = <&fusb0>, <&fusb1>;
745 interrupt-parent = <&gpio1>;
746 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
747 pinctrl-names = "default";
748 pinctrl-0 = <&charger_ok>;
749 ti,charge-current = <2500000>;
750 ti,max-input-voltage = <20000000>;
751 ti,max-input-current = <6000000>;
752 ti,max-charge-voltage = <8750000>;
753 ti,input-current = <500000>;
754 ti,input-current-sdp = <500000>;
755 ti,input-current-dcp = <2000000>;
756 ti,input-current-cdp = <2000000>;
757 ti,minimum-sys-voltage = <7400000>;
758 ti,otg-voltage = <5000000>;
759 ti,otg-current = <500000>;
760 pd-charge-only = <1>;
761 typec0-enable-gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_HIGH>;
762 typec1-enable-gpios = <&gpio1 GPIO_A4 GPIO_ACTIVE_HIGH>;
768 i2c-scl-rising-time-ns = <345>;
769 i2c-scl-falling-time-ns = <11>;
770 clock-frequency = <400000>;
773 compatible = "fairchild,fusb302";
775 pinctrl-names = "default";
776 pinctrl-0 = <&fusb1_int>;
777 vbus-5v-gpios = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
778 int-n-gpios = <&gpio1 GPIO_B5 GPIO_ACTIVE_HIGH>;
779 discharge-gpios = <&gpio0 GPIO_B5 GPIO_ACTIVE_HIGH>;
780 charge-dev = <&bq25700>;
781 support-uboot-charge = <1>;
789 i2c-scl-rising-time-ns = <345>;
790 i2c-scl-falling-time-ns = <11>;
791 clock-frequency = <400000>;
794 compatible = "fairchild,fusb302";
796 pinctrl-names = "default";
797 pinctrl-0 = <&fusb0_int>;
798 vbus-5v-gpios = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
799 int-n-gpios = <&gpio1 GPIO_A2 GPIO_ACTIVE_HIGH>;
800 discharge-gpios = <&gpio0 GPIO_B4 GPIO_ACTIVE_HIGH>;
801 charge-dev = <&bq25700>;
802 support-uboot-charge = <1>;
810 bt656-supply = <&vcc_3v0>;
811 audio-supply = <&vcca1v8_codec>;
812 sdmmc-supply = <&vcc_sd>;
813 gpio1830-supply = <&vcc_3v0>;
825 ep-gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
827 pinctrl-names = "default";
828 pinctrl-0 = <&pcie_clkreqn_cpm>;
834 pmu1830-supply = <&vcc_1v8>;
851 logo,mode = "center";
863 clock-frequency = <50000000>;
864 clock-freq-min-max = <400000 150000000>;
872 vqmmc-supply = <&vcc_sd>;
873 pinctrl-names = "default";
874 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
879 clock-frequency = <150000000>;
880 clock-freq-min-max = <200000 150000000>;
886 keep-power-in-suspend;
887 mmc-pwrseq = <&sdio_pwrseq>;
890 pinctrl-names = "default";
891 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
901 keep-power-in-suspend;
902 mmc-hs400-enhanced-strobe;
908 #sound-dai-cells = <0>;
926 rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
927 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
935 u2phy0_otg: otg-port {
939 u2phy0_host: host-port {
940 phy-supply = <&vcc5v0_host>;
949 u2phy1_otg: otg-port {
953 u2phy1_host: host-port {
954 phy-supply = <&vcc5v0_host>;
960 pinctrl-names = "default";
961 pinctrl-0 = <&uart0_xfer &uart0_cts>;
1009 wifi_enable_h: wifi-enable-h {
1010 rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
1014 wireless-bluetooth {
1015 uart0_gpios: uart0-gpios {
1016 rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
1021 pmic_int_l: pmic-int-l {
1023 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
1025 vsel1_gpio: vsel1-gpio {
1027 <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
1029 vsel2_gpio: vsel2-gpio {
1031 <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
1037 rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_up>;
1042 mh248_irq_gpio: mh248-irq-gpio {
1043 rockchip,pins = <0 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up>;
1048 hidkey_irq_gpio: hidkey-irq-gpio {
1049 rockchip,pins = <0 GPIO_B0 RK_FUNC_GPIO &pcfg_pull_up>;
1054 touchpad_irq_gpio: touchpad-irq-gpio {
1055 rockchip,pins = <1 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_up>;
1060 charger_ok: charge-ok {
1062 <1 23 RK_FUNC_GPIO &pcfg_pull_up>;
1067 leds_gpio: leds-gpio {
1069 <1 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_up>,
1070 <1 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_up>,
1071 <3 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up>,
1072 <3 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_up>,
1073 <2 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_up>,
1074 <2 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_up>,
1075 <4 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_up>;
1080 host_vbus_drv: host-vbus-drv {
1082 <4 25 RK_FUNC_GPIO &pcfg_pull_none>;
1087 usb_cam_on_gpio: usb-cam-on-gpio {
1089 <3 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up>,
1090 <3 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up>;
1095 fusb0_int: fusb0-int {
1097 <1 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up>,
1098 <0 GPIO_B4 RK_FUNC_GPIO &pcfg_pull_up>;
1100 fusb1_int: fusb1-int {
1102 <1 GPIO_B5 RK_FUNC_GPIO &pcfg_pull_up>,
1103 <0 GPIO_B5 RK_FUNC_GPIO &pcfg_pull_up>;