xref: /freebsd-src/sys/contrib/device-tree/src/arm/rockchip/rk3288-firefly-reload.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device tree file for Firefly Rockchip RK3288 Core board
4*f126890aSEmmanuel Vadot * Copyright (c) 2016 Randy Li <ayaka@soulik.info>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "rk3288-firefly-reload-core.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "Firefly-RK3288-reload";
12*f126890aSEmmanuel Vadot	compatible = "firefly,firefly-rk3288-reload", "rockchip,rk3288";
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	adc-keys {
15*f126890aSEmmanuel Vadot		compatible = "adc-keys";
16*f126890aSEmmanuel Vadot		io-channels = <&saradc 1>;
17*f126890aSEmmanuel Vadot		io-channel-names = "buttons";
18*f126890aSEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot		button-recovery {
21*f126890aSEmmanuel Vadot			label = "Recovery";
22*f126890aSEmmanuel Vadot			linux,code = <KEY_VENDOR>;
23*f126890aSEmmanuel Vadot			press-threshold-microvolt = <0>;
24*f126890aSEmmanuel Vadot		};
25*f126890aSEmmanuel Vadot	};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot	gpio-keys {
28*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot		key-power {
31*f126890aSEmmanuel Vadot			wakeup-source;
32*f126890aSEmmanuel Vadot			gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
33*f126890aSEmmanuel Vadot			label = "GPIO Power";
34*f126890aSEmmanuel Vadot			linux,code = <KEY_POWER>;
35*f126890aSEmmanuel Vadot			pinctrl-names = "default";
36*f126890aSEmmanuel Vadot			pinctrl-0 = <&pwr_key>;
37*f126890aSEmmanuel Vadot		};
38*f126890aSEmmanuel Vadot	};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot	ir-receiver {
41*f126890aSEmmanuel Vadot		compatible = "gpio-ir-receiver";
42*f126890aSEmmanuel Vadot		gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>;
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot	leds {
46*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot		power_led: led-0 {
49*f126890aSEmmanuel Vadot			gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>;
50*f126890aSEmmanuel Vadot			label = "firefly:blue:power";
51*f126890aSEmmanuel Vadot			pinctrl-names = "default";
52*f126890aSEmmanuel Vadot			pinctrl-0 = <&power_led_pin>;
53*f126890aSEmmanuel Vadot			panic-indicator;
54*f126890aSEmmanuel Vadot		};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot		work_led: led-1 {
57*f126890aSEmmanuel Vadot			gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
58*f126890aSEmmanuel Vadot			label = "firefly:blue:user";
59*f126890aSEmmanuel Vadot			linux,default-trigger = "rc-feedback";
60*f126890aSEmmanuel Vadot			pinctrl-names = "default";
61*f126890aSEmmanuel Vadot			pinctrl-0 = <&work_led_pin>;
62*f126890aSEmmanuel Vadot		};
63*f126890aSEmmanuel Vadot	};
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot	sdio_pwrseq: sdio-pwrseq {
66*f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
67*f126890aSEmmanuel Vadot		clocks = <&hym8563>;
68*f126890aSEmmanuel Vadot		clock-names = "ext_clock";
69*f126890aSEmmanuel Vadot		pinctrl-names = "default";
70*f126890aSEmmanuel Vadot		pinctrl-0 = <&wifi_enable>;
71*f126890aSEmmanuel Vadot		reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
72*f126890aSEmmanuel Vadot	};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot	sound {
75*f126890aSEmmanuel Vadot		compatible = "simple-audio-card";
76*f126890aSEmmanuel Vadot		simple-audio-card,name = "SPDIF";
77*f126890aSEmmanuel Vadot		simple-audio-card,dai-link@1 {  /* S/PDIF - S/PDIF */
78*f126890aSEmmanuel Vadot			cpu { sound-dai = <&spdif>; };
79*f126890aSEmmanuel Vadot			codec { sound-dai = <&spdif_out>; };
80*f126890aSEmmanuel Vadot		};
81*f126890aSEmmanuel Vadot	};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot	spdif_out: spdif-out {
84*f126890aSEmmanuel Vadot		compatible = "linux,spdif-dit";
85*f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
86*f126890aSEmmanuel Vadot	};
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot	vcc_host_5v: usb-host-regulator {
89*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
90*f126890aSEmmanuel Vadot		enable-active-high;
91*f126890aSEmmanuel Vadot		gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
92*f126890aSEmmanuel Vadot		pinctrl-names = "default";
93*f126890aSEmmanuel Vadot		pinctrl-0 = <&host_vbus_drv>;
94*f126890aSEmmanuel Vadot		regulator-name = "vcc_host_5v";
95*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
96*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
97*f126890aSEmmanuel Vadot		regulator-always-on;
98*f126890aSEmmanuel Vadot		vin-supply = <&vcc_5v>;
99*f126890aSEmmanuel Vadot	};
100*f126890aSEmmanuel Vadot
101*f126890aSEmmanuel Vadot	vcc_5v: vcc_sys: vsys-regulator {
102*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
103*f126890aSEmmanuel Vadot		regulator-name = "vcc_5v";
104*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
105*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
106*f126890aSEmmanuel Vadot		regulator-always-on;
107*f126890aSEmmanuel Vadot		regulator-boot-on;
108*f126890aSEmmanuel Vadot	};
109*f126890aSEmmanuel Vadot
110*f126890aSEmmanuel Vadot	vcc_sd: sdmmc-regulator {
111*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
112*f126890aSEmmanuel Vadot		gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
113*f126890aSEmmanuel Vadot		pinctrl-names = "default";
114*f126890aSEmmanuel Vadot		pinctrl-0 = <&sdmmc_pwr>;
115*f126890aSEmmanuel Vadot		regulator-name = "vcc_sd";
116*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
117*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
118*f126890aSEmmanuel Vadot		startup-delay-us = <100000>;
119*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
120*f126890aSEmmanuel Vadot	};
121*f126890aSEmmanuel Vadot
122*f126890aSEmmanuel Vadot	vcc_otg_5v: usb-otg-regulator {
123*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
124*f126890aSEmmanuel Vadot		enable-active-high;
125*f126890aSEmmanuel Vadot		gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
126*f126890aSEmmanuel Vadot		pinctrl-names = "default";
127*f126890aSEmmanuel Vadot		pinctrl-0 = <&otg_vbus_drv>;
128*f126890aSEmmanuel Vadot		regulator-name = "vcc_otg_5v";
129*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
130*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
131*f126890aSEmmanuel Vadot		regulator-always-on;
132*f126890aSEmmanuel Vadot		vin-supply = <&vcc_5v>;
133*f126890aSEmmanuel Vadot	};
134*f126890aSEmmanuel Vadot
135*f126890aSEmmanuel Vadot	dovdd_1v8: dovdd-1v8-regulator {
136*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
137*f126890aSEmmanuel Vadot		enable-active-high;
138*f126890aSEmmanuel Vadot		gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
139*f126890aSEmmanuel Vadot		pinctrl-names = "default";
140*f126890aSEmmanuel Vadot		pinctrl-0 = <&dvp_pwr>;
141*f126890aSEmmanuel Vadot		regulator-name = "dovdd_1v8";
142*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
143*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
144*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
145*f126890aSEmmanuel Vadot	};
146*f126890aSEmmanuel Vadot
147*f126890aSEmmanuel Vadot	vcc28_dvp: vcc28-dvp-regulator {
148*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
149*f126890aSEmmanuel Vadot		enable-active-high;
150*f126890aSEmmanuel Vadot		gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
151*f126890aSEmmanuel Vadot		pinctrl-names = "default";
152*f126890aSEmmanuel Vadot		pinctrl-0 = <&dvp_pwr>;
153*f126890aSEmmanuel Vadot		regulator-name = "vcc28_dvp";
154*f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
155*f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
156*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
157*f126890aSEmmanuel Vadot	};
158*f126890aSEmmanuel Vadot
159*f126890aSEmmanuel Vadot	af_28: af_28-regulator {
160*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
161*f126890aSEmmanuel Vadot		enable-active-high;
162*f126890aSEmmanuel Vadot		gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
163*f126890aSEmmanuel Vadot		pinctrl-names = "default";
164*f126890aSEmmanuel Vadot		pinctrl-0 = <&dvp_pwr>;
165*f126890aSEmmanuel Vadot		regulator-name = "af_28";
166*f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
167*f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
168*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
169*f126890aSEmmanuel Vadot	};
170*f126890aSEmmanuel Vadot
171*f126890aSEmmanuel Vadot	dvdd_1v2: af_28-regulator {
172*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
173*f126890aSEmmanuel Vadot		enable-active-high;
174*f126890aSEmmanuel Vadot		gpio = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>;
175*f126890aSEmmanuel Vadot		pinctrl-names = "default";
176*f126890aSEmmanuel Vadot		pinctrl-0 = <&cif_pwr>;
177*f126890aSEmmanuel Vadot		regulator-name = "dvdd_1v2";
178*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1200000>;
179*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1200000>;
180*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
181*f126890aSEmmanuel Vadot	};
182*f126890aSEmmanuel Vadot
183*f126890aSEmmanuel Vadot	vbat_wl: wifi-regulator {
184*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
185*f126890aSEmmanuel Vadot		regulator-name = "vbat_wl";
186*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
187*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
188*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
189*f126890aSEmmanuel Vadot	};
190*f126890aSEmmanuel Vadot};
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot&hdmi {
193*f126890aSEmmanuel Vadot	ddc-i2c-bus = <&i2c5>;
194*f126890aSEmmanuel Vadot	pinctrl-names = "default";
195*f126890aSEmmanuel Vadot	pinctrl-0 = <&hdmi_cec_c0>;
196*f126890aSEmmanuel Vadot	status = "okay";
197*f126890aSEmmanuel Vadot};
198*f126890aSEmmanuel Vadot
199*f126890aSEmmanuel Vadot&i2c0 {
200*f126890aSEmmanuel Vadot	hym8563: hym8563@51 {
201*f126890aSEmmanuel Vadot		compatible = "haoyu,hym8563";
202*f126890aSEmmanuel Vadot		reg = <0x51>;
203*f126890aSEmmanuel Vadot		#clock-cells = <0>;
204*f126890aSEmmanuel Vadot		clock-frequency = <32768>;
205*f126890aSEmmanuel Vadot		clock-output-names = "xin32k";
206*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio7>;
207*f126890aSEmmanuel Vadot		interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
208*f126890aSEmmanuel Vadot		pinctrl-names = "default";
209*f126890aSEmmanuel Vadot		pinctrl-0 = <&rtc_int>;
210*f126890aSEmmanuel Vadot	};
211*f126890aSEmmanuel Vadot};
212*f126890aSEmmanuel Vadot
213*f126890aSEmmanuel Vadot&i2c2 {
214*f126890aSEmmanuel Vadot	status = "okay";
215*f126890aSEmmanuel Vadot
216*f126890aSEmmanuel Vadot	codec: es8328@10 {
217*f126890aSEmmanuel Vadot		compatible = "everest,es8328";
218*f126890aSEmmanuel Vadot		DVDD-supply = <&vcca_33>;
219*f126890aSEmmanuel Vadot		AVDD-supply = <&vcca_33>;
220*f126890aSEmmanuel Vadot		PVDD-supply = <&vcca_33>;
221*f126890aSEmmanuel Vadot		HPVDD-supply = <&vcca_33>;
222*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
223*f126890aSEmmanuel Vadot		clock-names = "i2s_hclk", "i2s_clk";
224*f126890aSEmmanuel Vadot		reg = <0x10>;
225*f126890aSEmmanuel Vadot	};
226*f126890aSEmmanuel Vadot};
227*f126890aSEmmanuel Vadot
228*f126890aSEmmanuel Vadot&i2c5 {
229*f126890aSEmmanuel Vadot	status = "okay";
230*f126890aSEmmanuel Vadot};
231*f126890aSEmmanuel Vadot
232*f126890aSEmmanuel Vadot&i2s {
233*f126890aSEmmanuel Vadot	status = "okay";
234*f126890aSEmmanuel Vadot};
235*f126890aSEmmanuel Vadot
236*f126890aSEmmanuel Vadot&saradc {
237*f126890aSEmmanuel Vadot	vref-supply = <&vcc_18>;
238*f126890aSEmmanuel Vadot	status = "okay";
239*f126890aSEmmanuel Vadot};
240*f126890aSEmmanuel Vadot
241*f126890aSEmmanuel Vadot&sdmmc {
242*f126890aSEmmanuel Vadot	bus-width = <4>;
243*f126890aSEmmanuel Vadot	cap-mmc-highspeed;
244*f126890aSEmmanuel Vadot	cap-sd-highspeed;
245*f126890aSEmmanuel Vadot	card-detect-delay = <200>;
246*f126890aSEmmanuel Vadot	disable-wp;
247*f126890aSEmmanuel Vadot	pinctrl-names = "default";
248*f126890aSEmmanuel Vadot	pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
249*f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_sd>;
250*f126890aSEmmanuel Vadot	vqmmc-supply = <&vccio_sd>;
251*f126890aSEmmanuel Vadot	status = "okay";
252*f126890aSEmmanuel Vadot};
253*f126890aSEmmanuel Vadot
254*f126890aSEmmanuel Vadot&sdio0 {
255*f126890aSEmmanuel Vadot	bus-width = <4>;
256*f126890aSEmmanuel Vadot	cap-sd-highspeed;
257*f126890aSEmmanuel Vadot	cap-sdio-irq;
258*f126890aSEmmanuel Vadot	mmc-pwrseq = <&sdio_pwrseq>;
259*f126890aSEmmanuel Vadot	non-removable;
260*f126890aSEmmanuel Vadot	pinctrl-names = "default";
261*f126890aSEmmanuel Vadot	pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>, <&sdio0_int>;
262*f126890aSEmmanuel Vadot	sd-uhs-sdr12;
263*f126890aSEmmanuel Vadot	sd-uhs-sdr25;
264*f126890aSEmmanuel Vadot	sd-uhs-sdr50;
265*f126890aSEmmanuel Vadot	sd-uhs-ddr50;
266*f126890aSEmmanuel Vadot	vmmc-supply = <&vbat_wl>;
267*f126890aSEmmanuel Vadot	vqmmc-supply = <&vccio_wl>;
268*f126890aSEmmanuel Vadot	status = "okay";
269*f126890aSEmmanuel Vadot};
270*f126890aSEmmanuel Vadot
271*f126890aSEmmanuel Vadot&spdif {
272*f126890aSEmmanuel Vadot	status = "okay";
273*f126890aSEmmanuel Vadot};
274*f126890aSEmmanuel Vadot
275*f126890aSEmmanuel Vadot&uart0 {
276*f126890aSEmmanuel Vadot	pinctrl-names = "default";
277*f126890aSEmmanuel Vadot	pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
278*f126890aSEmmanuel Vadot	status = "okay";
279*f126890aSEmmanuel Vadot};
280*f126890aSEmmanuel Vadot
281*f126890aSEmmanuel Vadot&uart1 {
282*f126890aSEmmanuel Vadot	status = "okay";
283*f126890aSEmmanuel Vadot};
284*f126890aSEmmanuel Vadot
285*f126890aSEmmanuel Vadot&uart2 {
286*f126890aSEmmanuel Vadot	status = "okay";
287*f126890aSEmmanuel Vadot};
288*f126890aSEmmanuel Vadot
289*f126890aSEmmanuel Vadot&uart3 {
290*f126890aSEmmanuel Vadot	status = "okay";
291*f126890aSEmmanuel Vadot};
292*f126890aSEmmanuel Vadot
293*f126890aSEmmanuel Vadot&usbphy {
294*f126890aSEmmanuel Vadot	status = "okay";
295*f126890aSEmmanuel Vadot};
296*f126890aSEmmanuel Vadot
297*f126890aSEmmanuel Vadot&usb_host1 {
298*f126890aSEmmanuel Vadot	pinctrl-names = "default";
299*f126890aSEmmanuel Vadot	pinctrl-0 = <&usbhub_rst>;
300*f126890aSEmmanuel Vadot	status = "okay";
301*f126890aSEmmanuel Vadot};
302*f126890aSEmmanuel Vadot
303*f126890aSEmmanuel Vadot&usb_otg {
304*f126890aSEmmanuel Vadot	status = "okay";
305*f126890aSEmmanuel Vadot};
306*f126890aSEmmanuel Vadot
307*f126890aSEmmanuel Vadot&pinctrl {
308*f126890aSEmmanuel Vadot	ir {
309*f126890aSEmmanuel Vadot		ir_int: ir-int {
310*f126890aSEmmanuel Vadot			rockchip,pins = <7 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
311*f126890aSEmmanuel Vadot		};
312*f126890aSEmmanuel Vadot	};
313*f126890aSEmmanuel Vadot
314*f126890aSEmmanuel Vadot	dvp {
315*f126890aSEmmanuel Vadot		dvp_pwr: dvp-pwr {
316*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
317*f126890aSEmmanuel Vadot		};
318*f126890aSEmmanuel Vadot
319*f126890aSEmmanuel Vadot		cif_pwr: cif-pwr {
320*f126890aSEmmanuel Vadot			rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
321*f126890aSEmmanuel Vadot		};
322*f126890aSEmmanuel Vadot	};
323*f126890aSEmmanuel Vadot
324*f126890aSEmmanuel Vadot	hym8563 {
325*f126890aSEmmanuel Vadot		rtc_int: rtc-int {
326*f126890aSEmmanuel Vadot			rockchip,pins = <7 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
327*f126890aSEmmanuel Vadot		};
328*f126890aSEmmanuel Vadot	};
329*f126890aSEmmanuel Vadot
330*f126890aSEmmanuel Vadot	keys {
331*f126890aSEmmanuel Vadot		pwr_key: pwr-key {
332*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
333*f126890aSEmmanuel Vadot		};
334*f126890aSEmmanuel Vadot	};
335*f126890aSEmmanuel Vadot
336*f126890aSEmmanuel Vadot	leds {
337*f126890aSEmmanuel Vadot		power_led_pin: power-led-pin {
338*f126890aSEmmanuel Vadot			rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
339*f126890aSEmmanuel Vadot		};
340*f126890aSEmmanuel Vadot
341*f126890aSEmmanuel Vadot		work_led_pin: work-led-pin {
342*f126890aSEmmanuel Vadot			rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
343*f126890aSEmmanuel Vadot		};
344*f126890aSEmmanuel Vadot	};
345*f126890aSEmmanuel Vadot
346*f126890aSEmmanuel Vadot	sdmmc {
347*f126890aSEmmanuel Vadot		/*
348*f126890aSEmmanuel Vadot		 * Default drive strength isn't enough to achieve even
349*f126890aSEmmanuel Vadot		 * high-speed mode on firefly board so bump up to 12ma.
350*f126890aSEmmanuel Vadot		 */
351*f126890aSEmmanuel Vadot		sdmmc_bus4: sdmmc-bus4 {
352*f126890aSEmmanuel Vadot			rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_12ma>,
353*f126890aSEmmanuel Vadot					<6 RK_PC1 1 &pcfg_pull_up_drv_12ma>,
354*f126890aSEmmanuel Vadot					<6 RK_PC2 1 &pcfg_pull_up_drv_12ma>,
355*f126890aSEmmanuel Vadot					<6 RK_PC3 1 &pcfg_pull_up_drv_12ma>;
356*f126890aSEmmanuel Vadot		};
357*f126890aSEmmanuel Vadot
358*f126890aSEmmanuel Vadot		sdmmc_clk: sdmmc-clk {
359*f126890aSEmmanuel Vadot			rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_12ma>;
360*f126890aSEmmanuel Vadot		};
361*f126890aSEmmanuel Vadot
362*f126890aSEmmanuel Vadot		sdmmc_cmd: sdmmc-cmd {
363*f126890aSEmmanuel Vadot			rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_12ma>;
364*f126890aSEmmanuel Vadot		};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot		sdmmc_pwr: sdmmc-pwr {
367*f126890aSEmmanuel Vadot			rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
368*f126890aSEmmanuel Vadot		};
369*f126890aSEmmanuel Vadot	};
370*f126890aSEmmanuel Vadot
371*f126890aSEmmanuel Vadot	sdio {
372*f126890aSEmmanuel Vadot		wifi_enable: wifi-enable {
373*f126890aSEmmanuel Vadot			rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
374*f126890aSEmmanuel Vadot		};
375*f126890aSEmmanuel Vadot	};
376*f126890aSEmmanuel Vadot
377*f126890aSEmmanuel Vadot	usb_host {
378*f126890aSEmmanuel Vadot		host_vbus_drv: host-vbus-drv {
379*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
380*f126890aSEmmanuel Vadot		};
381*f126890aSEmmanuel Vadot
382*f126890aSEmmanuel Vadot		usbhub_rst: usbhub-rst {
383*f126890aSEmmanuel Vadot			rockchip,pins = <8 RK_PA3 RK_FUNC_GPIO &pcfg_output_high>;
384*f126890aSEmmanuel Vadot		};
385*f126890aSEmmanuel Vadot	};
386*f126890aSEmmanuel Vadot
387*f126890aSEmmanuel Vadot	usb_otg {
388*f126890aSEmmanuel Vadot		otg_vbus_drv: otg-vbus-drv {
389*f126890aSEmmanuel Vadot			rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
390*f126890aSEmmanuel Vadot		};
391*f126890aSEmmanuel Vadot	};
392*f126890aSEmmanuel Vadot};
393