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