xref: /linux/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
122a442e6SMichael Riesch// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
222a442e6SMichael Riesch
322a442e6SMichael Riesch/dts-v1/;
422a442e6SMichael Riesch#include <dt-bindings/gpio/gpio.h>
522a442e6SMichael Riesch#include <dt-bindings/leds/common.h>
622a442e6SMichael Riesch#include <dt-bindings/pinctrl/rockchip.h>
74bcee17cSMichael Riesch#include <dt-bindings/soc/rockchip,vop2.h>
822a442e6SMichael Riesch#include "rk3568.dtsi"
922a442e6SMichael Riesch
1022a442e6SMichael Riesch/ {
11626a4798SChukun Pan	model = "Radxa ROCK 3A";
1222a442e6SMichael Riesch	compatible = "radxa,rock3a", "rockchip,rk3568";
1322a442e6SMichael Riesch
1422a442e6SMichael Riesch	aliases {
1522a442e6SMichael Riesch		ethernet0 = &gmac1;
16d268da06SJagan Teki		mmc0 = &sdhci;
17d268da06SJagan Teki		mmc1 = &sdmmc0;
180597d858STamás Szűcs		mmc2 = &sdmmc2;
1922a442e6SMichael Riesch	};
2022a442e6SMichael Riesch
2122a442e6SMichael Riesch	chosen: chosen {
2222a442e6SMichael Riesch		stdout-path = "serial2:1500000n8";
2322a442e6SMichael Riesch	};
2422a442e6SMichael Riesch
254bcee17cSMichael Riesch	hdmi-con {
264bcee17cSMichael Riesch		compatible = "hdmi-connector";
274bcee17cSMichael Riesch		type = "a";
284bcee17cSMichael Riesch
294bcee17cSMichael Riesch		port {
304bcee17cSMichael Riesch			hdmi_con_in: endpoint {
314bcee17cSMichael Riesch				remote-endpoint = <&hdmi_out_con>;
324bcee17cSMichael Riesch			};
334bcee17cSMichael Riesch		};
344bcee17cSMichael Riesch	};
354bcee17cSMichael Riesch
36ef9f4b4aSAnand Moon	gmac1_clkin: external-gmac1-clock {
37ef9f4b4aSAnand Moon		compatible = "fixed-clock";
38ef9f4b4aSAnand Moon		clock-frequency = <125000000>;
39ef9f4b4aSAnand Moon		clock-output-names = "gmac1_clkin";
40ef9f4b4aSAnand Moon		#clock-cells = <0>;
41ef9f4b4aSAnand Moon	};
42ef9f4b4aSAnand Moon
4322a442e6SMichael Riesch	leds {
4422a442e6SMichael Riesch		compatible = "gpio-leds";
4522a442e6SMichael Riesch
4622a442e6SMichael Riesch		led_user: led-0 {
4722a442e6SMichael Riesch			gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
4822a442e6SMichael Riesch			function = LED_FUNCTION_HEARTBEAT;
4922a442e6SMichael Riesch			color = <LED_COLOR_ID_BLUE>;
5022a442e6SMichael Riesch			linux,default-trigger = "heartbeat";
5122a442e6SMichael Riesch			pinctrl-names = "default";
5222a442e6SMichael Riesch			pinctrl-0 = <&led_user_en>;
5322a442e6SMichael Riesch		};
5422a442e6SMichael Riesch	};
5522a442e6SMichael Riesch
5622a442e6SMichael Riesch	rk809-sound {
5722a442e6SMichael Riesch		compatible = "simple-audio-card";
5822a442e6SMichael Riesch		simple-audio-card,format = "i2s";
5922a442e6SMichael Riesch		simple-audio-card,name = "Analog RK809";
6022a442e6SMichael Riesch		simple-audio-card,mclk-fs = <256>;
6122a442e6SMichael Riesch
6222a442e6SMichael Riesch		simple-audio-card,cpu {
6322a442e6SMichael Riesch			sound-dai = <&i2s1_8ch>;
6422a442e6SMichael Riesch		};
6522a442e6SMichael Riesch
6622a442e6SMichael Riesch		simple-audio-card,codec {
6722a442e6SMichael Riesch			sound-dai = <&rk809>;
6822a442e6SMichael Riesch		};
6922a442e6SMichael Riesch	};
7022a442e6SMichael Riesch
718cf890aaSShengyu Qu	sdio_pwrseq: sdio-pwrseq {
728cf890aaSShengyu Qu		compatible = "mmc-pwrseq-simple";
738cf890aaSShengyu Qu		clocks = <&rk809 1>;
748cf890aaSShengyu Qu		clock-names = "ext_clock";
758cf890aaSShengyu Qu		pinctrl-names = "default";
768cf890aaSShengyu Qu		pinctrl-0 = <&wifi_enable>;
778cf890aaSShengyu Qu		post-power-on-delay-ms = <100>;
788cf890aaSShengyu Qu		power-off-delay-us = <5000000>;
798cf890aaSShengyu Qu		reset-gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>;
808cf890aaSShengyu Qu	};
818cf890aaSShengyu Qu
8249665ab0SChukun Pan	vcc12v_dcin: vcc12v-dcin-regulator {
8322a442e6SMichael Riesch		compatible = "regulator-fixed";
8422a442e6SMichael Riesch		regulator-name = "vcc12v_dcin";
8522a442e6SMichael Riesch		regulator-always-on;
8622a442e6SMichael Riesch		regulator-boot-on;
8722a442e6SMichael Riesch	};
8822a442e6SMichael Riesch
890522cd81SChukun Pan	pcie30_avdd0v9: pcie30-avdd0v9-regulator {
900522cd81SChukun Pan		compatible = "regulator-fixed";
910522cd81SChukun Pan		regulator-name = "pcie30_avdd0v9";
920522cd81SChukun Pan		regulator-always-on;
930522cd81SChukun Pan		regulator-boot-on;
940522cd81SChukun Pan		regulator-min-microvolt = <900000>;
950522cd81SChukun Pan		regulator-max-microvolt = <900000>;
960522cd81SChukun Pan		vin-supply = <&vcc3v3_sys>;
970522cd81SChukun Pan	};
980522cd81SChukun Pan
990522cd81SChukun Pan	pcie30_avdd1v8: pcie30-avdd1v8-regulator {
1000522cd81SChukun Pan		compatible = "regulator-fixed";
1010522cd81SChukun Pan		regulator-name = "pcie30_avdd1v8";
1020522cd81SChukun Pan		regulator-always-on;
1030522cd81SChukun Pan		regulator-boot-on;
1040522cd81SChukun Pan		regulator-min-microvolt = <1800000>;
1050522cd81SChukun Pan		regulator-max-microvolt = <1800000>;
1060522cd81SChukun Pan		vin-supply = <&vcc3v3_sys>;
1070522cd81SChukun Pan	};
1080522cd81SChukun Pan
1090522cd81SChukun Pan	/* pi6c pcie clock generator */
1100522cd81SChukun Pan	vcc3v3_pi6c_03: vcc3v3-pi6c-03-regulator {
1110522cd81SChukun Pan		compatible = "regulator-fixed";
1120522cd81SChukun Pan		regulator-name = "vcc3v3_pi6c_03";
1130522cd81SChukun Pan		regulator-always-on;
1140522cd81SChukun Pan		regulator-boot-on;
1150522cd81SChukun Pan		regulator-min-microvolt = <3300000>;
1160522cd81SChukun Pan		regulator-max-microvolt = <3300000>;
1170522cd81SChukun Pan		vin-supply = <&vcc5v0_sys>;
1180522cd81SChukun Pan	};
1190522cd81SChukun Pan
1200fbbfb0bSChukun Pan	vcc3v3_pcie: vcc3v3-pcie-regulator {
1210fbbfb0bSChukun Pan		compatible = "regulator-fixed";
1220fbbfb0bSChukun Pan		enable-active-high;
1230fbbfb0bSChukun Pan		gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
1240fbbfb0bSChukun Pan		pinctrl-names = "default";
1250fbbfb0bSChukun Pan		pinctrl-0 = <&pcie_enable_h>;
1260fbbfb0bSChukun Pan		regulator-name = "vcc3v3_pcie";
1270fbbfb0bSChukun Pan		regulator-min-microvolt = <3300000>;
1280fbbfb0bSChukun Pan		regulator-max-microvolt = <3300000>;
1290fbbfb0bSChukun Pan		vin-supply = <&vcc5v0_sys>;
1300fbbfb0bSChukun Pan	};
1310fbbfb0bSChukun Pan
13249665ab0SChukun Pan	vcc3v3_sys: vcc3v3-sys-regulator {
13322a442e6SMichael Riesch		compatible = "regulator-fixed";
13422a442e6SMichael Riesch		regulator-name = "vcc3v3_sys";
13522a442e6SMichael Riesch		regulator-always-on;
13622a442e6SMichael Riesch		regulator-boot-on;
13722a442e6SMichael Riesch		regulator-min-microvolt = <3300000>;
13822a442e6SMichael Riesch		regulator-max-microvolt = <3300000>;
13922a442e6SMichael Riesch		vin-supply = <&vcc12v_dcin>;
14022a442e6SMichael Riesch	};
14122a442e6SMichael Riesch
14249665ab0SChukun Pan	vcc5v0_sys: vcc5v0-sys-regulator {
14322a442e6SMichael Riesch		compatible = "regulator-fixed";
14422a442e6SMichael Riesch		regulator-name = "vcc5v0_sys";
14522a442e6SMichael Riesch		regulator-always-on;
14622a442e6SMichael Riesch		regulator-boot-on;
14722a442e6SMichael Riesch		regulator-min-microvolt = <5000000>;
14822a442e6SMichael Riesch		regulator-max-microvolt = <5000000>;
14922a442e6SMichael Riesch		vin-supply = <&vcc12v_dcin>;
15022a442e6SMichael Riesch	};
15122a442e6SMichael Riesch
15249665ab0SChukun Pan	vcc5v0_usb: vcc5v0-usb-regulator {
15322a442e6SMichael Riesch		compatible = "regulator-fixed";
15422a442e6SMichael Riesch		regulator-name = "vcc5v0_usb";
15522a442e6SMichael Riesch		regulator-always-on;
15622a442e6SMichael Riesch		regulator-boot-on;
15722a442e6SMichael Riesch		regulator-min-microvolt = <5000000>;
15822a442e6SMichael Riesch		regulator-max-microvolt = <5000000>;
15922a442e6SMichael Riesch		vin-supply = <&vcc12v_dcin>;
16022a442e6SMichael Riesch	};
16122a442e6SMichael Riesch
16249665ab0SChukun Pan	vcc5v0_usb_host: vcc5v0-usb-host-regulator {
16322a442e6SMichael Riesch		compatible = "regulator-fixed";
16422a442e6SMichael Riesch		enable-active-high;
16522a442e6SMichael Riesch		gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
16622a442e6SMichael Riesch		pinctrl-names = "default";
16722a442e6SMichael Riesch		pinctrl-0 = <&vcc5v0_usb_host_en>;
16822a442e6SMichael Riesch		regulator-name = "vcc5v0_usb_host";
16922a442e6SMichael Riesch		regulator-min-microvolt = <5000000>;
17022a442e6SMichael Riesch		regulator-max-microvolt = <5000000>;
17122a442e6SMichael Riesch		vin-supply = <&vcc5v0_usb>;
17222a442e6SMichael Riesch	};
173254a1f6aSMichael Riesch
174160f126bSMichael Riesch	vcc5v0_usb_hub: vcc5v0-usb-hub-regulator {
175160f126bSMichael Riesch		compatible = "regulator-fixed";
176160f126bSMichael Riesch		enable-active-high;
177160f126bSMichael Riesch		gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
178160f126bSMichael Riesch		pinctrl-names = "default";
179160f126bSMichael Riesch		pinctrl-0 = <&vcc5v0_usb_hub_en>;
180160f126bSMichael Riesch		regulator-name = "vcc5v0_usb_hub";
181160f126bSMichael Riesch		regulator-always-on;
182160f126bSMichael Riesch		vin-supply = <&vcc5v0_usb>;
183160f126bSMichael Riesch	};
184160f126bSMichael Riesch
185254a1f6aSMichael Riesch	vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
186254a1f6aSMichael Riesch		compatible = "regulator-fixed";
187254a1f6aSMichael Riesch		enable-active-high;
188254a1f6aSMichael Riesch		gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
189254a1f6aSMichael Riesch		pinctrl-names = "default";
190254a1f6aSMichael Riesch		pinctrl-0 = <&vcc5v0_usb_otg_en>;
191254a1f6aSMichael Riesch		regulator-name = "vcc5v0_usb_otg";
192254a1f6aSMichael Riesch		regulator-min-microvolt = <5000000>;
193254a1f6aSMichael Riesch		regulator-max-microvolt = <5000000>;
194254a1f6aSMichael Riesch		vin-supply = <&vcc5v0_usb>;
195254a1f6aSMichael Riesch	};
1962fd8bd00SMichael Riesch
19749665ab0SChukun Pan	vcc_cam: vcc-cam-regulator {
1982fd8bd00SMichael Riesch		compatible = "regulator-fixed";
1992fd8bd00SMichael Riesch		enable-active-high;
2002fd8bd00SMichael Riesch		gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
2012fd8bd00SMichael Riesch		pinctrl-names = "default";
2022fd8bd00SMichael Riesch		pinctrl-0 = <&vcc_cam_en>;
2032fd8bd00SMichael Riesch		regulator-name = "vcc_cam";
2042fd8bd00SMichael Riesch		regulator-min-microvolt = <3300000>;
2052fd8bd00SMichael Riesch		regulator-max-microvolt = <3300000>;
2062fd8bd00SMichael Riesch		vin-supply = <&vcc3v3_sys>;
2072fd8bd00SMichael Riesch
2082fd8bd00SMichael Riesch		regulator-state-mem {
2092fd8bd00SMichael Riesch			regulator-off-in-suspend;
2102fd8bd00SMichael Riesch		};
2112fd8bd00SMichael Riesch	};
2127a3eabdcSMichael Riesch
21349665ab0SChukun Pan	vcc_mipi: vcc-mipi-regulator {
2147a3eabdcSMichael Riesch		compatible = "regulator-fixed";
2157a3eabdcSMichael Riesch		enable-active-high;
2167a3eabdcSMichael Riesch		gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
2177a3eabdcSMichael Riesch		pinctrl-names = "default";
2187a3eabdcSMichael Riesch		pinctrl-0 = <&vcc_mipi_en>;
2197a3eabdcSMichael Riesch		regulator-name = "vcc_mipi";
2207a3eabdcSMichael Riesch		regulator-min-microvolt = <3300000>;
2217a3eabdcSMichael Riesch		regulator-max-microvolt = <3300000>;
2227a3eabdcSMichael Riesch		vin-supply = <&vcc3v3_sys>;
2237a3eabdcSMichael Riesch
2247a3eabdcSMichael Riesch		regulator-state-mem {
2257a3eabdcSMichael Riesch			regulator-off-in-suspend;
2267a3eabdcSMichael Riesch		};
2277a3eabdcSMichael Riesch	};
228254a1f6aSMichael Riesch};
229254a1f6aSMichael Riesch
230254a1f6aSMichael Riesch&combphy0 {
231254a1f6aSMichael Riesch	status = "okay";
232254a1f6aSMichael Riesch};
233254a1f6aSMichael Riesch
234254a1f6aSMichael Riesch&combphy1 {
235254a1f6aSMichael Riesch	status = "okay";
23622a442e6SMichael Riesch};
23722a442e6SMichael Riesch
2380fbbfb0bSChukun Pan&combphy2 {
2390fbbfb0bSChukun Pan	status = "okay";
2400fbbfb0bSChukun Pan};
2410fbbfb0bSChukun Pan
24222a442e6SMichael Riesch&cpu0 {
24322a442e6SMichael Riesch	cpu-supply = <&vdd_cpu>;
24422a442e6SMichael Riesch};
24522a442e6SMichael Riesch
24622a442e6SMichael Riesch&cpu1 {
24722a442e6SMichael Riesch	cpu-supply = <&vdd_cpu>;
24822a442e6SMichael Riesch};
24922a442e6SMichael Riesch
25022a442e6SMichael Riesch&cpu2 {
25122a442e6SMichael Riesch	cpu-supply = <&vdd_cpu>;
25222a442e6SMichael Riesch};
25322a442e6SMichael Riesch
25422a442e6SMichael Riesch&cpu3 {
25522a442e6SMichael Riesch	cpu-supply = <&vdd_cpu>;
25622a442e6SMichael Riesch};
25722a442e6SMichael Riesch
25822a442e6SMichael Riesch&gmac1 {
25922a442e6SMichael Riesch	assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
260ef9f4b4aSAnand Moon	assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&gmac1_clkin>;
261ef9f4b4aSAnand Moon	clock_in_out = "input";
26222a442e6SMichael Riesch	phy-handle = <&rgmii_phy1>;
26322a442e6SMichael Riesch	phy-mode = "rgmii-id";
26479aa02ddSAnand Moon	phy-supply = <&vcc_3v3>;
26522a442e6SMichael Riesch	pinctrl-names = "default";
26622a442e6SMichael Riesch	pinctrl-0 = <&gmac1m1_miim
26722a442e6SMichael Riesch		     &gmac1m1_tx_bus2
26822a442e6SMichael Riesch		     &gmac1m1_rx_bus2
26922a442e6SMichael Riesch		     &gmac1m1_rgmii_clk
270ef9f4b4aSAnand Moon		     &gmac1m1_clkinout
27122a442e6SMichael Riesch		     &gmac1m1_rgmii_bus>;
27222a442e6SMichael Riesch	status = "okay";
27322a442e6SMichael Riesch};
27422a442e6SMichael Riesch
27522a442e6SMichael Riesch&gpu {
27622a442e6SMichael Riesch	mali-supply = <&vdd_gpu>;
27722a442e6SMichael Riesch	status = "okay";
27822a442e6SMichael Riesch};
27922a442e6SMichael Riesch
2804bcee17cSMichael Riesch&hdmi {
2814bcee17cSMichael Riesch	avdd-0v9-supply = <&vdda0v9_image>;
2824bcee17cSMichael Riesch	avdd-1v8-supply = <&vcca1v8_image>;
283906e822cSJonas Karlman	pinctrl-names = "default";
284906e822cSJonas Karlman	pinctrl-0 = <&hdmitx_scl &hdmitx_sda &hdmitxm1_cec>;
2854bcee17cSMichael Riesch	status = "okay";
2864bcee17cSMichael Riesch};
2874bcee17cSMichael Riesch
2884bcee17cSMichael Riesch&hdmi_in {
2894bcee17cSMichael Riesch	hdmi_in_vp0: endpoint {
2904bcee17cSMichael Riesch		remote-endpoint = <&vp0_out_hdmi>;
2914bcee17cSMichael Riesch	};
2924bcee17cSMichael Riesch};
2934bcee17cSMichael Riesch
2944bcee17cSMichael Riesch&hdmi_out {
2954bcee17cSMichael Riesch	hdmi_out_con: endpoint {
2964bcee17cSMichael Riesch		remote-endpoint = <&hdmi_con_in>;
2974bcee17cSMichael Riesch	};
2984bcee17cSMichael Riesch};
2994bcee17cSMichael Riesch
3009eee552fSMichael Riesch&hdmi_sound {
3019eee552fSMichael Riesch	status = "okay";
3029eee552fSMichael Riesch};
3039eee552fSMichael Riesch
30422a442e6SMichael Riesch&i2c0 {
30522a442e6SMichael Riesch	status = "okay";
30622a442e6SMichael Riesch
30722a442e6SMichael Riesch	vdd_cpu: regulator@1c {
30822a442e6SMichael Riesch		compatible = "tcs,tcs4525";
30922a442e6SMichael Riesch		reg = <0x1c>;
31022a442e6SMichael Riesch		fcs,suspend-voltage-selector = <1>;
31122a442e6SMichael Riesch		regulator-name = "vdd_cpu";
31222a442e6SMichael Riesch		regulator-always-on;
31322a442e6SMichael Riesch		regulator-boot-on;
31422a442e6SMichael Riesch		regulator-min-microvolt = <800000>;
31522a442e6SMichael Riesch		regulator-max-microvolt = <1150000>;
31622a442e6SMichael Riesch		regulator-ramp-delay = <2300>;
31722a442e6SMichael Riesch		vin-supply = <&vcc5v0_sys>;
31822a442e6SMichael Riesch
31922a442e6SMichael Riesch		regulator-state-mem {
32022a442e6SMichael Riesch			regulator-off-in-suspend;
32122a442e6SMichael Riesch		};
32222a442e6SMichael Riesch	};
32322a442e6SMichael Riesch
32422a442e6SMichael Riesch	rk809: pmic@20 {
32522a442e6SMichael Riesch		compatible = "rockchip,rk809";
32622a442e6SMichael Riesch		reg = <0x20>;
32722a442e6SMichael Riesch		interrupt-parent = <&gpio0>;
32822a442e6SMichael Riesch		interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
32922a442e6SMichael Riesch		assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
33022a442e6SMichael Riesch		assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
33122a442e6SMichael Riesch		#clock-cells = <1>;
33222a442e6SMichael Riesch		clock-names = "mclk";
33322a442e6SMichael Riesch		clocks = <&cru I2S1_MCLKOUT_TX>;
33422a442e6SMichael Riesch		pinctrl-names = "default";
33522a442e6SMichael Riesch		pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>;
33622a442e6SMichael Riesch		rockchip,system-power-controller;
33722a442e6SMichael Riesch		#sound-dai-cells = <0>;
33822a442e6SMichael Riesch		vcc1-supply = <&vcc3v3_sys>;
33922a442e6SMichael Riesch		vcc2-supply = <&vcc3v3_sys>;
34022a442e6SMichael Riesch		vcc3-supply = <&vcc3v3_sys>;
34122a442e6SMichael Riesch		vcc4-supply = <&vcc3v3_sys>;
34222a442e6SMichael Riesch		vcc5-supply = <&vcc3v3_sys>;
34322a442e6SMichael Riesch		vcc6-supply = <&vcc3v3_sys>;
34422a442e6SMichael Riesch		vcc7-supply = <&vcc3v3_sys>;
34522a442e6SMichael Riesch		vcc8-supply = <&vcc3v3_sys>;
34622a442e6SMichael Riesch		vcc9-supply = <&vcc3v3_sys>;
34722a442e6SMichael Riesch		wakeup-source;
34822a442e6SMichael Riesch
34922a442e6SMichael Riesch		regulators {
35022a442e6SMichael Riesch			vdd_logic: DCDC_REG1 {
35122a442e6SMichael Riesch				regulator-name = "vdd_logic";
35222a442e6SMichael Riesch				regulator-always-on;
35322a442e6SMichael Riesch				regulator-boot-on;
35422a442e6SMichael Riesch				regulator-initial-mode = <0x2>;
35522a442e6SMichael Riesch				regulator-min-microvolt = <500000>;
35622a442e6SMichael Riesch				regulator-max-microvolt = <1350000>;
35722a442e6SMichael Riesch				regulator-ramp-delay = <6001>;
35822a442e6SMichael Riesch
35922a442e6SMichael Riesch				regulator-state-mem {
36022a442e6SMichael Riesch					regulator-off-in-suspend;
36122a442e6SMichael Riesch				};
36222a442e6SMichael Riesch			};
36322a442e6SMichael Riesch
36422a442e6SMichael Riesch			vdd_gpu: DCDC_REG2 {
36522a442e6SMichael Riesch				regulator-name = "vdd_gpu";
36622a442e6SMichael Riesch				regulator-always-on;
36722a442e6SMichael Riesch				regulator-initial-mode = <0x2>;
36822a442e6SMichael Riesch				regulator-min-microvolt = <500000>;
36922a442e6SMichael Riesch				regulator-max-microvolt = <1350000>;
37022a442e6SMichael Riesch				regulator-ramp-delay = <6001>;
37122a442e6SMichael Riesch
37222a442e6SMichael Riesch				regulator-state-mem {
37322a442e6SMichael Riesch					regulator-off-in-suspend;
37422a442e6SMichael Riesch				};
37522a442e6SMichael Riesch			};
37622a442e6SMichael Riesch
37722a442e6SMichael Riesch			vcc_ddr: DCDC_REG3 {
37822a442e6SMichael Riesch				regulator-name = "vcc_ddr";
37922a442e6SMichael Riesch				regulator-always-on;
38022a442e6SMichael Riesch				regulator-boot-on;
38122a442e6SMichael Riesch				regulator-initial-mode = <0x2>;
38222a442e6SMichael Riesch
38322a442e6SMichael Riesch				regulator-state-mem {
38422a442e6SMichael Riesch					regulator-on-in-suspend;
38522a442e6SMichael Riesch				};
38622a442e6SMichael Riesch			};
38722a442e6SMichael Riesch
38822a442e6SMichael Riesch			vdd_npu: DCDC_REG4 {
38922a442e6SMichael Riesch				regulator-name = "vdd_npu";
39022a442e6SMichael Riesch				regulator-initial-mode = <0x2>;
39122a442e6SMichael Riesch				regulator-min-microvolt = <500000>;
39222a442e6SMichael Riesch				regulator-max-microvolt = <1350000>;
39322a442e6SMichael Riesch				regulator-ramp-delay = <6001>;
39422a442e6SMichael Riesch
39522a442e6SMichael Riesch				regulator-state-mem {
39622a442e6SMichael Riesch					regulator-off-in-suspend;
39722a442e6SMichael Riesch				};
39822a442e6SMichael Riesch			};
39922a442e6SMichael Riesch
40022a442e6SMichael Riesch			vcc_1v8: DCDC_REG5 {
40122a442e6SMichael Riesch				regulator-name = "vcc_1v8";
40222a442e6SMichael Riesch				regulator-always-on;
40322a442e6SMichael Riesch				regulator-boot-on;
40422a442e6SMichael Riesch				regulator-min-microvolt = <1800000>;
40522a442e6SMichael Riesch				regulator-max-microvolt = <1800000>;
40622a442e6SMichael Riesch
40722a442e6SMichael Riesch				regulator-state-mem {
40822a442e6SMichael Riesch					regulator-off-in-suspend;
40922a442e6SMichael Riesch				};
41022a442e6SMichael Riesch			};
41122a442e6SMichael Riesch
41222a442e6SMichael Riesch			vdda0v9_image: LDO_REG1 {
41322a442e6SMichael Riesch				regulator-name = "vdda0v9_image";
41422a442e6SMichael Riesch				regulator-min-microvolt = <900000>;
41522a442e6SMichael Riesch				regulator-max-microvolt = <900000>;
41622a442e6SMichael Riesch
41722a442e6SMichael Riesch				regulator-state-mem {
41822a442e6SMichael Riesch					regulator-off-in-suspend;
41922a442e6SMichael Riesch				};
42022a442e6SMichael Riesch			};
42122a442e6SMichael Riesch
42222a442e6SMichael Riesch			vdda_0v9: LDO_REG2 {
42322a442e6SMichael Riesch				regulator-name = "vdda_0v9";
42422a442e6SMichael Riesch				regulator-always-on;
42522a442e6SMichael Riesch				regulator-boot-on;
42622a442e6SMichael Riesch				regulator-min-microvolt = <900000>;
42722a442e6SMichael Riesch				regulator-max-microvolt = <900000>;
42822a442e6SMichael Riesch
42922a442e6SMichael Riesch				regulator-state-mem {
43022a442e6SMichael Riesch					regulator-off-in-suspend;
43122a442e6SMichael Riesch				};
43222a442e6SMichael Riesch			};
43322a442e6SMichael Riesch
43422a442e6SMichael Riesch			vdda0v9_pmu: LDO_REG3 {
43522a442e6SMichael Riesch				regulator-name = "vdda0v9_pmu";
43622a442e6SMichael Riesch				regulator-always-on;
43722a442e6SMichael Riesch				regulator-boot-on;
43822a442e6SMichael Riesch				regulator-min-microvolt = <900000>;
43922a442e6SMichael Riesch				regulator-max-microvolt = <900000>;
44022a442e6SMichael Riesch
44122a442e6SMichael Riesch				regulator-state-mem {
44222a442e6SMichael Riesch					regulator-on-in-suspend;
44322a442e6SMichael Riesch					regulator-suspend-microvolt = <900000>;
44422a442e6SMichael Riesch				};
44522a442e6SMichael Riesch			};
44622a442e6SMichael Riesch
44722a442e6SMichael Riesch			vccio_acodec: LDO_REG4 {
44822a442e6SMichael Riesch				regulator-name = "vccio_acodec";
44922a442e6SMichael Riesch				regulator-always-on;
45022a442e6SMichael Riesch				regulator-min-microvolt = <3300000>;
45122a442e6SMichael Riesch				regulator-max-microvolt = <3300000>;
45222a442e6SMichael Riesch
45322a442e6SMichael Riesch				regulator-state-mem {
45422a442e6SMichael Riesch					regulator-off-in-suspend;
45522a442e6SMichael Riesch				};
45622a442e6SMichael Riesch			};
45722a442e6SMichael Riesch
45822a442e6SMichael Riesch			vccio_sd: LDO_REG5 {
45922a442e6SMichael Riesch				regulator-name = "vccio_sd";
46022a442e6SMichael Riesch				regulator-min-microvolt = <1800000>;
46122a442e6SMichael Riesch				regulator-max-microvolt = <3300000>;
46222a442e6SMichael Riesch
46322a442e6SMichael Riesch				regulator-state-mem {
46422a442e6SMichael Riesch					regulator-off-in-suspend;
46522a442e6SMichael Riesch				};
46622a442e6SMichael Riesch			};
46722a442e6SMichael Riesch
46822a442e6SMichael Riesch			vcc3v3_pmu: LDO_REG6 {
46922a442e6SMichael Riesch				regulator-name = "vcc3v3_pmu";
47022a442e6SMichael Riesch				regulator-always-on;
47122a442e6SMichael Riesch				regulator-boot-on;
47222a442e6SMichael Riesch				regulator-min-microvolt = <3300000>;
47322a442e6SMichael Riesch				regulator-max-microvolt = <3300000>;
47422a442e6SMichael Riesch
47522a442e6SMichael Riesch				regulator-state-mem {
47622a442e6SMichael Riesch					regulator-on-in-suspend;
47722a442e6SMichael Riesch					regulator-suspend-microvolt = <3300000>;
47822a442e6SMichael Riesch				};
47922a442e6SMichael Riesch			};
48022a442e6SMichael Riesch
48122a442e6SMichael Riesch			vcca_1v8: LDO_REG7 {
48222a442e6SMichael Riesch				regulator-name = "vcca_1v8";
48322a442e6SMichael Riesch				regulator-always-on;
48422a442e6SMichael Riesch				regulator-boot-on;
48522a442e6SMichael Riesch				regulator-min-microvolt = <1800000>;
48622a442e6SMichael Riesch				regulator-max-microvolt = <1800000>;
48722a442e6SMichael Riesch
48822a442e6SMichael Riesch				regulator-state-mem {
48922a442e6SMichael Riesch					regulator-off-in-suspend;
49022a442e6SMichael Riesch				};
49122a442e6SMichael Riesch			};
49222a442e6SMichael Riesch
49322a442e6SMichael Riesch			vcca1v8_pmu: LDO_REG8 {
49422a442e6SMichael Riesch				regulator-name = "vcca1v8_pmu";
49522a442e6SMichael Riesch				regulator-always-on;
49622a442e6SMichael Riesch				regulator-boot-on;
49722a442e6SMichael Riesch				regulator-min-microvolt = <1800000>;
49822a442e6SMichael Riesch				regulator-max-microvolt = <1800000>;
49922a442e6SMichael Riesch
50022a442e6SMichael Riesch				regulator-state-mem {
50122a442e6SMichael Riesch					regulator-on-in-suspend;
50222a442e6SMichael Riesch					regulator-suspend-microvolt = <1800000>;
50322a442e6SMichael Riesch				};
50422a442e6SMichael Riesch			};
50522a442e6SMichael Riesch
50622a442e6SMichael Riesch			vcca1v8_image: LDO_REG9 {
50722a442e6SMichael Riesch				regulator-name = "vcca1v8_image";
50822a442e6SMichael Riesch				regulator-min-microvolt = <1800000>;
50922a442e6SMichael Riesch				regulator-max-microvolt = <1800000>;
51022a442e6SMichael Riesch
51122a442e6SMichael Riesch				regulator-state-mem {
51222a442e6SMichael Riesch					regulator-off-in-suspend;
51322a442e6SMichael Riesch				};
51422a442e6SMichael Riesch			};
51522a442e6SMichael Riesch
51622a442e6SMichael Riesch			vcc_3v3: SWITCH_REG1 {
51722a442e6SMichael Riesch				regulator-name = "vcc_3v3";
51822a442e6SMichael Riesch				regulator-always-on;
51922a442e6SMichael Riesch				regulator-boot-on;
52022a442e6SMichael Riesch
52122a442e6SMichael Riesch				regulator-state-mem {
52222a442e6SMichael Riesch					regulator-off-in-suspend;
52322a442e6SMichael Riesch				};
52422a442e6SMichael Riesch			};
52522a442e6SMichael Riesch
52622a442e6SMichael Riesch			vcc3v3_sd: SWITCH_REG2 {
52722a442e6SMichael Riesch				regulator-name = "vcc3v3_sd";
52822a442e6SMichael Riesch
52922a442e6SMichael Riesch				regulator-state-mem {
53022a442e6SMichael Riesch					regulator-off-in-suspend;
53122a442e6SMichael Riesch				};
53222a442e6SMichael Riesch			};
53322a442e6SMichael Riesch		};
53422a442e6SMichael Riesch	};
53522a442e6SMichael Riesch};
53622a442e6SMichael Riesch
537a233ea1eSMichael Riesch&i2c3 {
538a233ea1eSMichael Riesch	pinctrl-names = "default";
539a233ea1eSMichael Riesch	pinctrl-0 = <&i2c3m1_xfer>;
540a233ea1eSMichael Riesch	status = "disabled";
541a233ea1eSMichael Riesch};
542a233ea1eSMichael Riesch
543a233ea1eSMichael Riesch&i2c4 {
544a233ea1eSMichael Riesch	pinctrl-names = "default";
545a233ea1eSMichael Riesch	pinctrl-0 = <&i2c4m1_xfer>;
546a233ea1eSMichael Riesch	status = "disabled";
547a233ea1eSMichael Riesch};
548a233ea1eSMichael Riesch
5491b8d4233SChukun Pan&i2c5 {
5501b8d4233SChukun Pan	status = "okay";
5511b8d4233SChukun Pan
5521b8d4233SChukun Pan	hym8563: rtc@51 {
5531b8d4233SChukun Pan		compatible = "haoyu,hym8563";
5541b8d4233SChukun Pan		reg = <0x51>;
5551b8d4233SChukun Pan		interrupt-parent = <&gpio0>;
5561b8d4233SChukun Pan		interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
5571b8d4233SChukun Pan		#clock-cells = <0>;
5581b8d4233SChukun Pan		clock-output-names = "rtcic_32kout";
5591b8d4233SChukun Pan		pinctrl-names = "default";
5601b8d4233SChukun Pan		pinctrl-0 = <&hym8563_int>;
5611b8d4233SChukun Pan		wakeup-source;
5621b8d4233SChukun Pan	};
5631b8d4233SChukun Pan};
5641b8d4233SChukun Pan
5659eee552fSMichael Riesch&i2s0_8ch {
5669eee552fSMichael Riesch	status = "okay";
5679eee552fSMichael Riesch};
5689eee552fSMichael Riesch
56922a442e6SMichael Riesch&i2s1_8ch {
5701104693cSJonas Karlman	pinctrl-names = "default";
5711104693cSJonas Karlman	pinctrl-0 = <&i2s1m0_sclktx &i2s1m0_lrcktx &i2s1m0_sdi0 &i2s1m0_sdo0>;
57222a442e6SMichael Riesch	rockchip,trcm-sync-tx-only;
57322a442e6SMichael Riesch	status = "okay";
57422a442e6SMichael Riesch};
57522a442e6SMichael Riesch
5763a6dcf61SShengyu Qu&i2s2_2ch {
5773a6dcf61SShengyu Qu	rockchip,trcm-sync-tx-only;
5783a6dcf61SShengyu Qu	status = "okay";
5793a6dcf61SShengyu Qu};
5803a6dcf61SShengyu Qu
58122a442e6SMichael Riesch&mdio1 {
58222a442e6SMichael Riesch	rgmii_phy1: ethernet-phy@0 {
58322a442e6SMichael Riesch		compatible = "ethernet-phy-ieee802.3-c22";
58422a442e6SMichael Riesch		reg = <0x0>;
58522a442e6SMichael Riesch		pinctrl-names = "default";
58622a442e6SMichael Riesch		pinctrl-0 = <&eth_phy_rst>;
58722a442e6SMichael Riesch		reset-assert-us = <20000>;
58822a442e6SMichael Riesch		reset-deassert-us = <100000>;
58922a442e6SMichael Riesch		reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
59022a442e6SMichael Riesch	};
59122a442e6SMichael Riesch};
59222a442e6SMichael Riesch
5930fbbfb0bSChukun Pan&pcie2x1 {
5940fbbfb0bSChukun Pan	pinctrl-names = "default";
5950fbbfb0bSChukun Pan	pinctrl-0 = <&pcie_reset_h>;
5960fbbfb0bSChukun Pan	reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
5970fbbfb0bSChukun Pan	vpcie3v3-supply = <&vcc3v3_pcie>;
5980fbbfb0bSChukun Pan	status = "okay";
5990fbbfb0bSChukun Pan};
6000fbbfb0bSChukun Pan
6010522cd81SChukun Pan&pcie30phy {
6020522cd81SChukun Pan	phy-supply = <&vcc3v3_pi6c_03>;
6030522cd81SChukun Pan	status = "okay";
6040522cd81SChukun Pan};
6050522cd81SChukun Pan
6060522cd81SChukun Pan&pcie3x2 {
6070522cd81SChukun Pan	pinctrl-names = "default";
6080522cd81SChukun Pan	pinctrl-0 = <&pcie30x2m1_pins>;
6090522cd81SChukun Pan	reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
6100522cd81SChukun Pan	vpcie3v3-supply = <&vcc3v3_pcie>;
6110522cd81SChukun Pan	status = "okay";
6120522cd81SChukun Pan};
6130522cd81SChukun Pan
61422a442e6SMichael Riesch&pinctrl {
6152fd8bd00SMichael Riesch	cam {
6162fd8bd00SMichael Riesch		vcc_cam_en: vcc_cam_en {
6172fd8bd00SMichael Riesch			rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
6182fd8bd00SMichael Riesch		};
6192fd8bd00SMichael Riesch	};
6202fd8bd00SMichael Riesch
6217a3eabdcSMichael Riesch	display {
6227a3eabdcSMichael Riesch		vcc_mipi_en: vcc_mipi_en {
6237a3eabdcSMichael Riesch			rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
6247a3eabdcSMichael Riesch		};
6257a3eabdcSMichael Riesch	};
6267a3eabdcSMichael Riesch
62722a442e6SMichael Riesch	ethernet {
62822a442e6SMichael Riesch		eth_phy_rst: eth_phy_rst {
62922a442e6SMichael Riesch			rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
63022a442e6SMichael Riesch		};
63122a442e6SMichael Riesch	};
63222a442e6SMichael Riesch
6331b8d4233SChukun Pan	hym8563 {
6341b8d4233SChukun Pan		hym8563_int: hym8563-int {
6351b8d4233SChukun Pan			rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
6361b8d4233SChukun Pan		};
6371b8d4233SChukun Pan	};
6381b8d4233SChukun Pan
63922a442e6SMichael Riesch	leds {
64022a442e6SMichael Riesch		led_user_en: led_user_en {
64122a442e6SMichael Riesch			rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
64222a442e6SMichael Riesch		};
64322a442e6SMichael Riesch	};
64422a442e6SMichael Riesch
6450fbbfb0bSChukun Pan	pcie {
6460fbbfb0bSChukun Pan		pcie_enable_h: pcie-enable-h {
6470fbbfb0bSChukun Pan			rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
6480fbbfb0bSChukun Pan		};
6490fbbfb0bSChukun Pan
6500fbbfb0bSChukun Pan		pcie_reset_h: pcie-reset-h {
6510fbbfb0bSChukun Pan			rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
6520fbbfb0bSChukun Pan		};
6530fbbfb0bSChukun Pan	};
6540fbbfb0bSChukun Pan
65522a442e6SMichael Riesch	pmic {
65622a442e6SMichael Riesch		pmic_int: pmic_int {
65722a442e6SMichael Riesch			rockchip,pins =
65822a442e6SMichael Riesch				<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
65922a442e6SMichael Riesch		};
66022a442e6SMichael Riesch	};
66122a442e6SMichael Riesch
66222a442e6SMichael Riesch	usb {
66322a442e6SMichael Riesch		vcc5v0_usb_host_en: vcc5v0_usb_host_en {
66422a442e6SMichael Riesch			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
66522a442e6SMichael Riesch		};
666160f126bSMichael Riesch		vcc5v0_usb_hub_en: vcc5v0_usb_hub_en {
667160f126bSMichael Riesch			rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
668160f126bSMichael Riesch		};
669254a1f6aSMichael Riesch		vcc5v0_usb_otg_en: vcc5v0_usb_otg_en {
670254a1f6aSMichael Riesch			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
671254a1f6aSMichael Riesch		};
67222a442e6SMichael Riesch	};
6738cf890aaSShengyu Qu
6748cf890aaSShengyu Qu	bt {
6758cf890aaSShengyu Qu		bt_enable: bt-enable {
6768cf890aaSShengyu Qu			rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
6778cf890aaSShengyu Qu		};
6788cf890aaSShengyu Qu
6798cf890aaSShengyu Qu		bt_host_wake: bt-host-wake {
6808cf890aaSShengyu Qu			rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
6818cf890aaSShengyu Qu		};
6828cf890aaSShengyu Qu
6838cf890aaSShengyu Qu		bt_wake: bt-wake {
6848cf890aaSShengyu Qu			rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
6858cf890aaSShengyu Qu		};
6868cf890aaSShengyu Qu	};
6878cf890aaSShengyu Qu
6888cf890aaSShengyu Qu	sdio-pwrseq {
6898cf890aaSShengyu Qu		wifi_enable: wifi-enable {
6908cf890aaSShengyu Qu			rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
6918cf890aaSShengyu Qu		};
6928cf890aaSShengyu Qu	};
69322a442e6SMichael Riesch};
69422a442e6SMichael Riesch
69522a442e6SMichael Riesch&pmu_io_domains {
69622a442e6SMichael Riesch	pmuio1-supply = <&vcc3v3_pmu>;
69722a442e6SMichael Riesch	pmuio2-supply = <&vcc3v3_pmu>;
69822a442e6SMichael Riesch	vccio1-supply = <&vccio_acodec>;
69922a442e6SMichael Riesch	vccio2-supply = <&vcc_1v8>;
70022a442e6SMichael Riesch	vccio3-supply = <&vccio_sd>;
70122a442e6SMichael Riesch	vccio4-supply = <&vcc_1v8>;
70222a442e6SMichael Riesch	vccio5-supply = <&vcc_3v3>;
70322a442e6SMichael Riesch	vccio6-supply = <&vcc_1v8>;
70422a442e6SMichael Riesch	vccio7-supply = <&vcc_3v3>;
70522a442e6SMichael Riesch	status = "okay";
70622a442e6SMichael Riesch};
70722a442e6SMichael Riesch
70822a442e6SMichael Riesch&saradc {
70922a442e6SMichael Riesch	vref-supply = <&vcca_1v8>;
71022a442e6SMichael Riesch	status = "okay";
71122a442e6SMichael Riesch};
71222a442e6SMichael Riesch
71322a442e6SMichael Riesch&sdhci {
71422a442e6SMichael Riesch	bus-width = <8>;
71522a442e6SMichael Riesch	max-frequency = <200000000>;
71622a442e6SMichael Riesch	non-removable;
71722a442e6SMichael Riesch	pinctrl-names = "default";
71822a442e6SMichael Riesch	pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
71922a442e6SMichael Riesch	vmmc-supply = <&vcc_3v3>;
72022a442e6SMichael Riesch	vqmmc-supply = <&vcc_1v8>;
72122a442e6SMichael Riesch	status = "okay";
72222a442e6SMichael Riesch};
72322a442e6SMichael Riesch
72422a442e6SMichael Riesch&sdmmc0 {
72522a442e6SMichael Riesch	bus-width = <4>;
72622a442e6SMichael Riesch	cap-sd-highspeed;
72722a442e6SMichael Riesch	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
72822a442e6SMichael Riesch	disable-wp;
72922a442e6SMichael Riesch	pinctrl-names = "default";
73022a442e6SMichael Riesch	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
731bc121b70SDan Johansen	sd-uhs-sdr50;
73222a442e6SMichael Riesch	vmmc-supply = <&vcc3v3_sd>;
73322a442e6SMichael Riesch	vqmmc-supply = <&vccio_sd>;
73422a442e6SMichael Riesch	status = "okay";
73522a442e6SMichael Riesch};
73622a442e6SMichael Riesch
7378cf890aaSShengyu Qu&sdmmc2 {
7388cf890aaSShengyu Qu	bus-width = <4>;
7398cf890aaSShengyu Qu	disable-wp;
7408cf890aaSShengyu Qu	cap-sd-highspeed;
7418cf890aaSShengyu Qu	cap-sdio-irq;
7428cf890aaSShengyu Qu	keep-power-in-suspend;
7438cf890aaSShengyu Qu	mmc-pwrseq = <&sdio_pwrseq>;
7448cf890aaSShengyu Qu	non-removable;
7458cf890aaSShengyu Qu	pinctrl-names = "default";
7468cf890aaSShengyu Qu	pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
7470597d858STamás Szűcs	sd-uhs-sdr12;
7480597d858STamás Szűcs	sd-uhs-sdr25;
7490597d858STamás Szűcs	sd-uhs-sdr50;
7508cf890aaSShengyu Qu	sd-uhs-sdr104;
7518cf890aaSShengyu Qu	vmmc-supply = <&vcc3v3_sys>;
7528cf890aaSShengyu Qu	vqmmc-supply = <&vcc_1v8>;
7538cf890aaSShengyu Qu	status = "okay";
7548cf890aaSShengyu Qu};
7558cf890aaSShengyu Qu
756*6c7676a2SChukun Pan&sfc {
757*6c7676a2SChukun Pan	#address-cells = <1>;
758*6c7676a2SChukun Pan	#size-cells = <0>;
759*6c7676a2SChukun Pan	status = "okay";
760*6c7676a2SChukun Pan
761*6c7676a2SChukun Pan	flash@0 {
762*6c7676a2SChukun Pan		compatible = "jedec,spi-nor";
763*6c7676a2SChukun Pan		reg = <0x0>;
764*6c7676a2SChukun Pan		spi-max-frequency = <104000000>;
765*6c7676a2SChukun Pan		spi-rx-bus-width = <4>;
766*6c7676a2SChukun Pan		spi-tx-bus-width = <1>;
767*6c7676a2SChukun Pan	};
768*6c7676a2SChukun Pan};
769*6c7676a2SChukun Pan
77022a442e6SMichael Riesch&tsadc {
77122a442e6SMichael Riesch	rockchip,hw-tshut-mode = <1>;
77222a442e6SMichael Riesch	rockchip,hw-tshut-polarity = <0>;
77322a442e6SMichael Riesch	status = "okay";
77422a442e6SMichael Riesch};
77522a442e6SMichael Riesch
7768cf890aaSShengyu Qu&uart1 {
7778cf890aaSShengyu Qu	pinctrl-names = "default";
7788cf890aaSShengyu Qu	pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
7798cf890aaSShengyu Qu	uart-has-rtscts;
7808cf890aaSShengyu Qu	status = "okay";
7818cf890aaSShengyu Qu
7828cf890aaSShengyu Qu	bluetooth {
7838cf890aaSShengyu Qu		compatible = "brcm,bcm43438-bt";
7848cf890aaSShengyu Qu		clocks = <&rk809 1>;
7858cf890aaSShengyu Qu		clock-names = "lpo";
7868cf890aaSShengyu Qu		device-wakeup-gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>;
7878cf890aaSShengyu Qu		host-wakeup-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
7888cf890aaSShengyu Qu		shutdown-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>;
7898cf890aaSShengyu Qu		pinctrl-names = "default";
7908cf890aaSShengyu Qu		pinctrl-0 = <&bt_host_wake &bt_wake &bt_enable>;
7918cf890aaSShengyu Qu		vbat-supply = <&vcc3v3_sys>;
7928cf890aaSShengyu Qu		vddio-supply = <&vcc_1v8>;
7938cf890aaSShengyu Qu		/* vddio comes from regulator on module, use IO bank voltage instead */
7948cf890aaSShengyu Qu	};
7958cf890aaSShengyu Qu};
7968cf890aaSShengyu Qu
79722a442e6SMichael Riesch&uart2 {
79822a442e6SMichael Riesch	status = "okay";
79922a442e6SMichael Riesch};
80022a442e6SMichael Riesch
80122a442e6SMichael Riesch&usb_host0_ehci {
80222a442e6SMichael Riesch	status = "okay";
80322a442e6SMichael Riesch};
80422a442e6SMichael Riesch
80522a442e6SMichael Riesch&usb_host0_ohci {
80622a442e6SMichael Riesch	status = "okay";
80722a442e6SMichael Riesch};
80822a442e6SMichael Riesch
809254a1f6aSMichael Riesch&usb_host0_xhci {
810254a1f6aSMichael Riesch	extcon = <&usb2phy0>;
811254a1f6aSMichael Riesch	status = "okay";
812254a1f6aSMichael Riesch};
813254a1f6aSMichael Riesch
81422a442e6SMichael Riesch&usb_host1_ehci {
81522a442e6SMichael Riesch	status = "okay";
81622a442e6SMichael Riesch};
81722a442e6SMichael Riesch
81822a442e6SMichael Riesch&usb_host1_ohci {
81922a442e6SMichael Riesch	status = "okay";
82022a442e6SMichael Riesch};
82122a442e6SMichael Riesch
822254a1f6aSMichael Riesch&usb_host1_xhci {
823254a1f6aSMichael Riesch	status = "okay";
824254a1f6aSMichael Riesch};
825254a1f6aSMichael Riesch
826254a1f6aSMichael Riesch&usb2phy0 {
827254a1f6aSMichael Riesch	status = "okay";
828254a1f6aSMichael Riesch};
829254a1f6aSMichael Riesch
830254a1f6aSMichael Riesch&usb2phy0_host {
831254a1f6aSMichael Riesch	phy-supply = <&vcc5v0_usb_host>;
832254a1f6aSMichael Riesch	status = "okay";
833254a1f6aSMichael Riesch};
834254a1f6aSMichael Riesch
835254a1f6aSMichael Riesch&usb2phy0_otg {
83643e1d6d3SMichael Riesch	phy-supply = <&vcc5v0_usb_otg>;
837254a1f6aSMichael Riesch	status = "okay";
838254a1f6aSMichael Riesch};
839254a1f6aSMichael Riesch
84022a442e6SMichael Riesch&usb2phy1 {
84122a442e6SMichael Riesch	status = "okay";
84222a442e6SMichael Riesch};
84322a442e6SMichael Riesch
84422a442e6SMichael Riesch&usb2phy1_host {
84522a442e6SMichael Riesch	phy-supply = <&vcc5v0_usb_host>;
84622a442e6SMichael Riesch	status = "okay";
84722a442e6SMichael Riesch};
84822a442e6SMichael Riesch
84922a442e6SMichael Riesch&usb2phy1_otg {
85022a442e6SMichael Riesch	phy-supply = <&vcc5v0_usb_host>;
85122a442e6SMichael Riesch	status = "okay";
85222a442e6SMichael Riesch};
8534bcee17cSMichael Riesch
8544bcee17cSMichael Riesch&vop {
8554bcee17cSMichael Riesch	assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
8564bcee17cSMichael Riesch	assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
8574bcee17cSMichael Riesch	status = "okay";
8584bcee17cSMichael Riesch};
8594bcee17cSMichael Riesch
8604bcee17cSMichael Riesch&vop_mmu {
8614bcee17cSMichael Riesch	status = "okay";
8624bcee17cSMichael Riesch};
8634bcee17cSMichael Riesch
8644bcee17cSMichael Riesch&vp0 {
8654bcee17cSMichael Riesch	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
8664bcee17cSMichael Riesch		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
8674bcee17cSMichael Riesch		remote-endpoint = <&hdmi_in_vp0>;
8684bcee17cSMichael Riesch	};
8694bcee17cSMichael Riesch};
870