xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588-ok3588-c.dts (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
17d0873ebSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
27d0873ebSEmmanuel Vadot
37d0873ebSEmmanuel Vadot/dts-v1/;
47d0873ebSEmmanuel Vadot#include "rk3588-fet3588-c.dtsi"
57d0873ebSEmmanuel Vadot
67d0873ebSEmmanuel Vadot/ {
77d0873ebSEmmanuel Vadot	model = "Forlinx OK3588-C Board";
87d0873ebSEmmanuel Vadot	compatible = "forlinx,ok3588-c", "forlinx,fet3588-c", "rockchip,rk3588";
97d0873ebSEmmanuel Vadot
107d0873ebSEmmanuel Vadot	aliases {
117d0873ebSEmmanuel Vadot		ethernet0 = &gmac0;
127d0873ebSEmmanuel Vadot		ethernet1 = &gmac1;
137d0873ebSEmmanuel Vadot		mmc1 = &sdmmc;
147d0873ebSEmmanuel Vadot	};
157d0873ebSEmmanuel Vadot
167d0873ebSEmmanuel Vadot	adc-keys-0 {
177d0873ebSEmmanuel Vadot		compatible = "adc-keys";
187d0873ebSEmmanuel Vadot		io-channels = <&saradc 0>;
197d0873ebSEmmanuel Vadot		io-channel-names = "buttons";
207d0873ebSEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
217d0873ebSEmmanuel Vadot		poll-interval = <100>;
227d0873ebSEmmanuel Vadot
237d0873ebSEmmanuel Vadot		button-maskrom {
247d0873ebSEmmanuel Vadot			label = "Maskrom";
257d0873ebSEmmanuel Vadot			linux,code = <KEY_SETUP>;
267d0873ebSEmmanuel Vadot			press-threshold-microvolt = <400>;
277d0873ebSEmmanuel Vadot		};
287d0873ebSEmmanuel Vadot	};
297d0873ebSEmmanuel Vadot
307d0873ebSEmmanuel Vadot	adc-keys-1 {
317d0873ebSEmmanuel Vadot		compatible = "adc-keys";
327d0873ebSEmmanuel Vadot		io-channels = <&saradc 1>;
337d0873ebSEmmanuel Vadot		io-channel-names = "buttons";
347d0873ebSEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
357d0873ebSEmmanuel Vadot		poll-interval = <100>;
367d0873ebSEmmanuel Vadot
377d0873ebSEmmanuel Vadot		button-volume-up {
387d0873ebSEmmanuel Vadot			label = "V+/Recovery";
397d0873ebSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
407d0873ebSEmmanuel Vadot			press-threshold-microvolt = <17000>;
417d0873ebSEmmanuel Vadot		};
427d0873ebSEmmanuel Vadot
437d0873ebSEmmanuel Vadot		button-volume-down {
447d0873ebSEmmanuel Vadot			label = "V-";
457d0873ebSEmmanuel Vadot			linux,code = <KEY_VOLUMEDOWN>;
467d0873ebSEmmanuel Vadot			press-threshold-microvolt = <417000>;
477d0873ebSEmmanuel Vadot		};
487d0873ebSEmmanuel Vadot
497d0873ebSEmmanuel Vadot		button-menu {
507d0873ebSEmmanuel Vadot			label = "Menu";
517d0873ebSEmmanuel Vadot			linux,code = <KEY_MENU>;
527d0873ebSEmmanuel Vadot			press-threshold-microvolt = <890000>;
537d0873ebSEmmanuel Vadot		};
547d0873ebSEmmanuel Vadot
557d0873ebSEmmanuel Vadot		button-escape {
567d0873ebSEmmanuel Vadot			label = "ESC";
577d0873ebSEmmanuel Vadot			linux,code = <KEY_ESC>;
587d0873ebSEmmanuel Vadot			press-threshold-microvolt = <1235000>;
597d0873ebSEmmanuel Vadot		};
607d0873ebSEmmanuel Vadot	};
617d0873ebSEmmanuel Vadot
627d0873ebSEmmanuel Vadot	fan: pwm-fan {
637d0873ebSEmmanuel Vadot		compatible = "pwm-fan";
647d0873ebSEmmanuel Vadot		cooling-levels = <0 95 145 195 255>;
657d0873ebSEmmanuel Vadot		fan-supply = <&vcc12v_dcin>;
667d0873ebSEmmanuel Vadot		pwms = <&pwm2 0 50000 0>;
677d0873ebSEmmanuel Vadot		#cooling-cells = <2>;
687d0873ebSEmmanuel Vadot	};
697d0873ebSEmmanuel Vadot
707d0873ebSEmmanuel Vadot	sound {
717d0873ebSEmmanuel Vadot		compatible = "simple-audio-card";
727d0873ebSEmmanuel Vadot		pinctrl-names = "default";
737d0873ebSEmmanuel Vadot		pinctrl-0 = <&hp_detect>;
747d0873ebSEmmanuel Vadot		simple-audio-card,name = "RK3588 OK3588-C Audio";
757d0873ebSEmmanuel Vadot		simple-audio-card,bitclock-master = <&masterdai>;
767d0873ebSEmmanuel Vadot		simple-audio-card,format = "i2s";
777d0873ebSEmmanuel Vadot		simple-audio-card,frame-master = <&masterdai>;
787d0873ebSEmmanuel Vadot		simple-audio-card,hp-det-gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
797d0873ebSEmmanuel Vadot		simple-audio-card,mclk-fs = <256>;
807d0873ebSEmmanuel Vadot		simple-audio-card,pin-switches = "Headphones", "Speaker";
817d0873ebSEmmanuel Vadot		simple-audio-card,widgets =
827d0873ebSEmmanuel Vadot			"Headphones", "Headphones",
837d0873ebSEmmanuel Vadot			"Speaker", "Speaker",
847d0873ebSEmmanuel Vadot			"Microphone", "Internal Microphone",
857d0873ebSEmmanuel Vadot			"Microphone", "Headset Microphone";
867d0873ebSEmmanuel Vadot		simple-audio-card,routing =
877d0873ebSEmmanuel Vadot			"Headphones", "LHP",
887d0873ebSEmmanuel Vadot			"Headphones", "RHP",
897d0873ebSEmmanuel Vadot			"Speaker", "LSPK",
907d0873ebSEmmanuel Vadot			"Speaker", "RSPK",
917d0873ebSEmmanuel Vadot			"LMICP", "Headset Microphone",
927d0873ebSEmmanuel Vadot			"RMICP", "Internal Microphone";
937d0873ebSEmmanuel Vadot
947d0873ebSEmmanuel Vadot		simple-audio-card,cpu {
957d0873ebSEmmanuel Vadot			sound-dai = <&i2s0_8ch>;
967d0873ebSEmmanuel Vadot		};
977d0873ebSEmmanuel Vadot
987d0873ebSEmmanuel Vadot		masterdai: simple-audio-card,codec {
997d0873ebSEmmanuel Vadot			sound-dai = <&nau8822>;
1007d0873ebSEmmanuel Vadot		};
1017d0873ebSEmmanuel Vadot	};
1027d0873ebSEmmanuel Vadot
1037d0873ebSEmmanuel Vadot	vcc12v_dcin: vcc12v-dcin-regulator {
1047d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
1057d0873ebSEmmanuel Vadot		regulator-name = "vcc12v_dcin";
1067d0873ebSEmmanuel Vadot		regulator-always-on;
1077d0873ebSEmmanuel Vadot		regulator-boot-on;
1087d0873ebSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
1097d0873ebSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
1107d0873ebSEmmanuel Vadot	};
1117d0873ebSEmmanuel Vadot
1127d0873ebSEmmanuel Vadot	vcc1v8_sys: vcc1v8-sys-regulator {
1137d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
1147d0873ebSEmmanuel Vadot		regulator-name = "vcc1v8_sys";
1157d0873ebSEmmanuel Vadot		regulator-always-on;
1167d0873ebSEmmanuel Vadot		regulator-boot-on;
1177d0873ebSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
1187d0873ebSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
1197d0873ebSEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
1207d0873ebSEmmanuel Vadot	};
1217d0873ebSEmmanuel Vadot
1227d0873ebSEmmanuel Vadot	vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
1237d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
1247d0873ebSEmmanuel Vadot		regulator-name = "vcc3v3_pcie2x1l0";
1257d0873ebSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1267d0873ebSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1277d0873ebSEmmanuel Vadot		startup-delay-us = <50000>;
1287d0873ebSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1297d0873ebSEmmanuel Vadot	};
1307d0873ebSEmmanuel Vadot
1317d0873ebSEmmanuel Vadot	vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator {
1327d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
1337d0873ebSEmmanuel Vadot		regulator-name = "vcc3v3_pcie2x1l2";
1347d0873ebSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1357d0873ebSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1367d0873ebSEmmanuel Vadot		startup-delay-us = <5000>;
1377d0873ebSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1387d0873ebSEmmanuel Vadot	};
1397d0873ebSEmmanuel Vadot
1407d0873ebSEmmanuel Vadot	vcc3v3_pcie30: vcc3v3_pcie30-regulator {
1417d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
1427d0873ebSEmmanuel Vadot		regulator-name = "vcc3v3_pcie30";
1437d0873ebSEmmanuel Vadot		regulator-always-on;
1447d0873ebSEmmanuel Vadot		regulator-boot-on;
1457d0873ebSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1467d0873ebSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1477d0873ebSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1487d0873ebSEmmanuel Vadot	};
1497d0873ebSEmmanuel Vadot
1507d0873ebSEmmanuel Vadot	vcc3v3_sys: vcc3v3-sys-regulator {
1517d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
1527d0873ebSEmmanuel Vadot		regulator-name = "vcc3v3_sys";
1537d0873ebSEmmanuel Vadot		regulator-always-on;
1547d0873ebSEmmanuel Vadot		regulator-boot-on;
1557d0873ebSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1567d0873ebSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1577d0873ebSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1587d0873ebSEmmanuel Vadot	};
1597d0873ebSEmmanuel Vadot
1607d0873ebSEmmanuel Vadot	vcc5v0_sys: vcc5v0-sys-regulator {
1617d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
1627d0873ebSEmmanuel Vadot		regulator-name = "vcc5v0_sys";
1637d0873ebSEmmanuel Vadot		regulator-always-on;
1647d0873ebSEmmanuel Vadot		regulator-boot-on;
1657d0873ebSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1667d0873ebSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1677d0873ebSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
1687d0873ebSEmmanuel Vadot	};
1697d0873ebSEmmanuel Vadot};
1707d0873ebSEmmanuel Vadot
1717d0873ebSEmmanuel Vadot&gmac0 {
1727d0873ebSEmmanuel Vadot	clock_in_out = "output";
1737d0873ebSEmmanuel Vadot	phy-handle = <&rgmii_phy0>;
1747d0873ebSEmmanuel Vadot	phy-mode = "rgmii-rxid";
1757d0873ebSEmmanuel Vadot	pinctrl-names = "default";
1767d0873ebSEmmanuel Vadot	pinctrl-0 = <&gmac0_miim
1777d0873ebSEmmanuel Vadot		     &gmac0_tx_bus2
1787d0873ebSEmmanuel Vadot		     &gmac0_rx_bus2
1797d0873ebSEmmanuel Vadot		     &gmac0_rgmii_clk
1807d0873ebSEmmanuel Vadot		     &gmac0_rgmii_bus>;
1817d0873ebSEmmanuel Vadot	tx_delay = <0x44>;
1827d0873ebSEmmanuel Vadot	rx_delay = <0x00>;
1837d0873ebSEmmanuel Vadot	status = "okay";
1847d0873ebSEmmanuel Vadot};
1857d0873ebSEmmanuel Vadot
1867d0873ebSEmmanuel Vadot&gmac1 {
1877d0873ebSEmmanuel Vadot	clock_in_out = "output";
1887d0873ebSEmmanuel Vadot	phy-handle = <&rgmii_phy1>;
1897d0873ebSEmmanuel Vadot	phy-mode = "rgmii-rxid";
1907d0873ebSEmmanuel Vadot	pinctrl-names = "default";
1917d0873ebSEmmanuel Vadot	pinctrl-0 = <&gmac1_miim
1927d0873ebSEmmanuel Vadot		     &gmac1_tx_bus2
1937d0873ebSEmmanuel Vadot		     &gmac1_rx_bus2
1947d0873ebSEmmanuel Vadot		     &gmac1_rgmii_clk
1957d0873ebSEmmanuel Vadot		     &gmac1_rgmii_bus>;
1967d0873ebSEmmanuel Vadot	tx_delay = <0x44>;
1977d0873ebSEmmanuel Vadot	rx_delay = <0x00>;
1987d0873ebSEmmanuel Vadot	status = "okay";
1997d0873ebSEmmanuel Vadot};
2007d0873ebSEmmanuel Vadot
2017d0873ebSEmmanuel Vadot&gpu {
2027d0873ebSEmmanuel Vadot	mali-supply = <&vdd_gpu_s0>;
2037d0873ebSEmmanuel Vadot	status = "okay";
2047d0873ebSEmmanuel Vadot};
2057d0873ebSEmmanuel Vadot
2067d0873ebSEmmanuel Vadot&i2c2 {
2077d0873ebSEmmanuel Vadot	status = "okay";
2087d0873ebSEmmanuel Vadot
2097d0873ebSEmmanuel Vadot	tca6424a: gpio@23 {
2107d0873ebSEmmanuel Vadot		compatible = "ti,tca6424";
2117d0873ebSEmmanuel Vadot		reg = <0x23>;
2127d0873ebSEmmanuel Vadot		gpio-controller;
2137d0873ebSEmmanuel Vadot		#gpio-cells = <2>;
2147d0873ebSEmmanuel Vadot
2157d0873ebSEmmanuel Vadot		interrupt-parent = <&gpio1>;
2167d0873ebSEmmanuel Vadot		interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
2177d0873ebSEmmanuel Vadot		interrupt-controller;
2187d0873ebSEmmanuel Vadot		#interrupt-cells = <2>;
2197d0873ebSEmmanuel Vadot
2207d0873ebSEmmanuel Vadot		pinctrl-names = "default";
2217d0873ebSEmmanuel Vadot		pinctrl-0 = <&tca6424a_int>;
2227d0873ebSEmmanuel Vadot		vcc-supply = <&vcc3v3_sys>;
2237d0873ebSEmmanuel Vadot	};
2247d0873ebSEmmanuel Vadot};
2257d0873ebSEmmanuel Vadot
2267d0873ebSEmmanuel Vadot&i2c5 {
2277d0873ebSEmmanuel Vadot	status = "okay";
2287d0873ebSEmmanuel Vadot	pinctrl-names = "default";
2297d0873ebSEmmanuel Vadot	pinctrl-0 = <&i2c5m2_xfer>;
2307d0873ebSEmmanuel Vadot
2317d0873ebSEmmanuel Vadot	pcf8563: rtc@51 {
2327d0873ebSEmmanuel Vadot		compatible = "nxp,pcf8563";
2337d0873ebSEmmanuel Vadot		reg = <0x51>;
2347d0873ebSEmmanuel Vadot	};
2357d0873ebSEmmanuel Vadot};
2367d0873ebSEmmanuel Vadot
2377d0873ebSEmmanuel Vadot&i2c7 {
2387d0873ebSEmmanuel Vadot	status = "okay";
2397d0873ebSEmmanuel Vadot
2407d0873ebSEmmanuel Vadot	nau8822: audio-codec@1a {
2417d0873ebSEmmanuel Vadot		compatible = "nuvoton,nau8822";
2427d0873ebSEmmanuel Vadot		reg = <0x1a>;
2437d0873ebSEmmanuel Vadot		clocks = <&cru I2S0_8CH_MCLKOUT>;
2447d0873ebSEmmanuel Vadot		clock-names = "mclk";
2457d0873ebSEmmanuel Vadot		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
2467d0873ebSEmmanuel Vadot		assigned-clock-rates = <12288000>;
2477d0873ebSEmmanuel Vadot		#sound-dai-cells = <0>;
2487d0873ebSEmmanuel Vadot	};
2497d0873ebSEmmanuel Vadot};
2507d0873ebSEmmanuel Vadot
2517d0873ebSEmmanuel Vadot&i2s0_8ch {
2527d0873ebSEmmanuel Vadot	pinctrl-names = "default";
2537d0873ebSEmmanuel Vadot	pinctrl-0 = <&i2s0_lrck
2547d0873ebSEmmanuel Vadot		     &i2s0_mclk
2557d0873ebSEmmanuel Vadot		     &i2s0_sclk
2567d0873ebSEmmanuel Vadot		     &i2s0_sdi0
2577d0873ebSEmmanuel Vadot		     &i2s0_sdo0>;
2587d0873ebSEmmanuel Vadot	status = "okay";
2597d0873ebSEmmanuel Vadot};
2607d0873ebSEmmanuel Vadot
2617d0873ebSEmmanuel Vadot&mdio0 {
2627d0873ebSEmmanuel Vadot	rgmii_phy0: ethernet-phy@1 {
2637d0873ebSEmmanuel Vadot		/* RTL8211F */
264*0e8011faSEmmanuel Vadot		compatible = "ethernet-phy-id001c.c916";
2657d0873ebSEmmanuel Vadot		reg = <0x1>;
2667d0873ebSEmmanuel Vadot		pinctrl-names = "default";
2677d0873ebSEmmanuel Vadot		pinctrl-0 = <&rtl8211f_0_rst>;
2687d0873ebSEmmanuel Vadot		reset-assert-us = <20000>;
2697d0873ebSEmmanuel Vadot		reset-deassert-us = <100000>;
2707d0873ebSEmmanuel Vadot		reset-gpios = <&gpio0 RK_PB0 GPIO_ACTIVE_LOW>;
2717d0873ebSEmmanuel Vadot	};
2727d0873ebSEmmanuel Vadot};
2737d0873ebSEmmanuel Vadot
2747d0873ebSEmmanuel Vadot&mdio1 {
2757d0873ebSEmmanuel Vadot	rgmii_phy1: ethernet-phy@2 {
2767d0873ebSEmmanuel Vadot		/* RTL8211F */
277*0e8011faSEmmanuel Vadot		compatible = "ethernet-phy-id001c.c916";
2787d0873ebSEmmanuel Vadot		reg = <0x2>;
2797d0873ebSEmmanuel Vadot		pinctrl-names = "default";
2807d0873ebSEmmanuel Vadot		pinctrl-0 = <&rtl8211f_1_rst>;
2817d0873ebSEmmanuel Vadot		reset-assert-us = <20000>;
2827d0873ebSEmmanuel Vadot		reset-deassert-us = <100000>;
2837d0873ebSEmmanuel Vadot		reset-gpios = <&gpio1 RK_PB4 GPIO_ACTIVE_LOW>;
2847d0873ebSEmmanuel Vadot	};
2857d0873ebSEmmanuel Vadot};
2867d0873ebSEmmanuel Vadot
2877d0873ebSEmmanuel Vadot&pcie2x1l0 {
2887d0873ebSEmmanuel Vadot	pinctrl-names = "default";
2897d0873ebSEmmanuel Vadot	pinctrl-0 = <&pcie2_0_rst>;
2907d0873ebSEmmanuel Vadot	reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
2917d0873ebSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
2927d0873ebSEmmanuel Vadot	status = "okay";
2937d0873ebSEmmanuel Vadot};
2947d0873ebSEmmanuel Vadot
2957d0873ebSEmmanuel Vadot&pcie2x1l2 {
2967d0873ebSEmmanuel Vadot	pinctrl-names = "default";
2977d0873ebSEmmanuel Vadot	pinctrl-0 = <&pcie2_2_rst>;
2987d0873ebSEmmanuel Vadot	reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
2997d0873ebSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie2x1l2>;
3007d0873ebSEmmanuel Vadot	status = "okay";
3017d0873ebSEmmanuel Vadot};
3027d0873ebSEmmanuel Vadot
3037d0873ebSEmmanuel Vadot&pcie30phy {
3047d0873ebSEmmanuel Vadot	status = "okay";
3057d0873ebSEmmanuel Vadot};
3067d0873ebSEmmanuel Vadot
3077d0873ebSEmmanuel Vadot&pcie3x4 {
3087d0873ebSEmmanuel Vadot	pinctrl-names = "default";
3097d0873ebSEmmanuel Vadot	pinctrl-0 = <&pcie3_rst>;
3107d0873ebSEmmanuel Vadot	reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
3117d0873ebSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie30>;
3127d0873ebSEmmanuel Vadot	status = "okay";
3137d0873ebSEmmanuel Vadot};
3147d0873ebSEmmanuel Vadot
3157d0873ebSEmmanuel Vadot&pinctrl {
3167d0873ebSEmmanuel Vadot	pcie2 {
3177d0873ebSEmmanuel Vadot		pcie2_0_rst: pcie2-0-rst {
3187d0873ebSEmmanuel Vadot			rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
3197d0873ebSEmmanuel Vadot		};
3207d0873ebSEmmanuel Vadot
3217d0873ebSEmmanuel Vadot		pcie2_2_rst: pcie2-2-rst {
3227d0873ebSEmmanuel Vadot			rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
3237d0873ebSEmmanuel Vadot		};
3247d0873ebSEmmanuel Vadot	};
3257d0873ebSEmmanuel Vadot
3267d0873ebSEmmanuel Vadot	pcie3 {
3277d0873ebSEmmanuel Vadot		pcie3_rst: pcie3-rst {
3287d0873ebSEmmanuel Vadot			rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
3297d0873ebSEmmanuel Vadot		};
3307d0873ebSEmmanuel Vadot	};
3317d0873ebSEmmanuel Vadot
3327d0873ebSEmmanuel Vadot	rtl8211f {
3337d0873ebSEmmanuel Vadot		rtl8211f_0_rst: rtl8211f-0-rst {
3347d0873ebSEmmanuel Vadot			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
3357d0873ebSEmmanuel Vadot		};
3367d0873ebSEmmanuel Vadot		rtl8211f_1_rst: rtl8211f-1-rst {
3377d0873ebSEmmanuel Vadot			rockchip,pins = <1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
3387d0873ebSEmmanuel Vadot		};
3397d0873ebSEmmanuel Vadot	};
3407d0873ebSEmmanuel Vadot
3417d0873ebSEmmanuel Vadot	sound {
3427d0873ebSEmmanuel Vadot		hp_detect: hp-detect {
3437d0873ebSEmmanuel Vadot			rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
3447d0873ebSEmmanuel Vadot		};
3457d0873ebSEmmanuel Vadot	};
3467d0873ebSEmmanuel Vadot
3477d0873ebSEmmanuel Vadot	tca6424a {
3487d0873ebSEmmanuel Vadot		tca6424a_int: tca6424a-int {
3497d0873ebSEmmanuel Vadot			rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
3507d0873ebSEmmanuel Vadot		};
3517d0873ebSEmmanuel Vadot	};
3527d0873ebSEmmanuel Vadot};
3537d0873ebSEmmanuel Vadot
3547d0873ebSEmmanuel Vadot&pwm2 {
3557d0873ebSEmmanuel Vadot	status = "okay";
3567d0873ebSEmmanuel Vadot};
3577d0873ebSEmmanuel Vadot
3587d0873ebSEmmanuel Vadot&saradc {
3597d0873ebSEmmanuel Vadot	vref-supply = <&avcc_1v8_s0>;
3607d0873ebSEmmanuel Vadot	status = "okay";
3617d0873ebSEmmanuel Vadot};
3627d0873ebSEmmanuel Vadot
3637d0873ebSEmmanuel Vadot&sdmmc {
3647d0873ebSEmmanuel Vadot	bus-width = <4>;
3657d0873ebSEmmanuel Vadot	cap-mmc-highspeed;
3667d0873ebSEmmanuel Vadot	cap-sd-highspeed;
3677d0873ebSEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
3687d0873ebSEmmanuel Vadot	disable-wp;
3697d0873ebSEmmanuel Vadot	max-frequency = <150000000>;
3707d0873ebSEmmanuel Vadot	no-sdio;
3717d0873ebSEmmanuel Vadot	no-mmc;
3727d0873ebSEmmanuel Vadot	sd-uhs-sdr104;
3737d0873ebSEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
3747d0873ebSEmmanuel Vadot	status = "okay";
3757d0873ebSEmmanuel Vadot};
3767d0873ebSEmmanuel Vadot
377*0e8011faSEmmanuel Vadot&tsadc {
378*0e8011faSEmmanuel Vadot	status = "okay";
379*0e8011faSEmmanuel Vadot};
380*0e8011faSEmmanuel Vadot
3817d0873ebSEmmanuel Vadot&u2phy2 {
3827d0873ebSEmmanuel Vadot	status = "okay";
3837d0873ebSEmmanuel Vadot};
3847d0873ebSEmmanuel Vadot
3857d0873ebSEmmanuel Vadot&u2phy2_host {
3867d0873ebSEmmanuel Vadot	status = "okay";
3877d0873ebSEmmanuel Vadot};
3887d0873ebSEmmanuel Vadot
3897d0873ebSEmmanuel Vadot&u2phy3 {
3907d0873ebSEmmanuel Vadot	status = "okay";
3917d0873ebSEmmanuel Vadot};
3927d0873ebSEmmanuel Vadot
3937d0873ebSEmmanuel Vadot&u2phy3_host {
3947d0873ebSEmmanuel Vadot	status = "okay";
3957d0873ebSEmmanuel Vadot};
3967d0873ebSEmmanuel Vadot
3977d0873ebSEmmanuel Vadot&usb_host0_ehci {
3987d0873ebSEmmanuel Vadot	status = "okay";
3997d0873ebSEmmanuel Vadot};
4007d0873ebSEmmanuel Vadot
4017d0873ebSEmmanuel Vadot&usb_host0_ohci {
4027d0873ebSEmmanuel Vadot	status = "okay";
4037d0873ebSEmmanuel Vadot};
4047d0873ebSEmmanuel Vadot
4057d0873ebSEmmanuel Vadot&usb_host1_ehci {
4067d0873ebSEmmanuel Vadot	status = "okay";
4077d0873ebSEmmanuel Vadot};
4087d0873ebSEmmanuel Vadot
4097d0873ebSEmmanuel Vadot&usb_host1_ohci {
4107d0873ebSEmmanuel Vadot	status = "okay";
4117d0873ebSEmmanuel Vadot};
412