1d5b0e70fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2d5b0e70fSEmmanuel Vadot
3d5b0e70fSEmmanuel Vadot/dts-v1/;
4d5b0e70fSEmmanuel Vadot
5d5b0e70fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6d5b0e70fSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
78bab661aSEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h>
8d5b0e70fSEmmanuel Vadot#include "rk3566.dtsi"
9d5b0e70fSEmmanuel Vadot
10d5b0e70fSEmmanuel Vadot/ {
11d5b0e70fSEmmanuel Vadot	model = "Pine64 RK3566 SoQuartz SOM";
12d5b0e70fSEmmanuel Vadot	compatible = "pine64,soquartz", "rockchip,rk3566";
13d5b0e70fSEmmanuel Vadot
14d5b0e70fSEmmanuel Vadot	aliases {
15d5b0e70fSEmmanuel Vadot		mmc0 = &sdmmc0;
16d5b0e70fSEmmanuel Vadot		mmc1 = &sdhci;
17d5b0e70fSEmmanuel Vadot		mmc2 = &sdmmc1;
18d5b0e70fSEmmanuel Vadot	};
19d5b0e70fSEmmanuel Vadot
20d5b0e70fSEmmanuel Vadot	chosen: chosen {
21d5b0e70fSEmmanuel Vadot		stdout-path = "serial2:1500000n8";
22d5b0e70fSEmmanuel Vadot	};
23d5b0e70fSEmmanuel Vadot
24d5b0e70fSEmmanuel Vadot	gmac1_clkin: external-gmac1-clock {
25d5b0e70fSEmmanuel Vadot		compatible = "fixed-clock";
26d5b0e70fSEmmanuel Vadot		clock-frequency = <125000000>;
27d5b0e70fSEmmanuel Vadot		clock-output-names = "gmac1_clkin";
28d5b0e70fSEmmanuel Vadot		#clock-cells = <0>;
29d5b0e70fSEmmanuel Vadot	};
30d5b0e70fSEmmanuel Vadot
318bab661aSEmmanuel Vadot	hdmi-con {
328bab661aSEmmanuel Vadot		compatible = "hdmi-connector";
338bab661aSEmmanuel Vadot		type = "a";
348bab661aSEmmanuel Vadot
358bab661aSEmmanuel Vadot		port {
368bab661aSEmmanuel Vadot			hdmi_con_in: endpoint {
378bab661aSEmmanuel Vadot				remote-endpoint = <&hdmi_out_con>;
388bab661aSEmmanuel Vadot			};
398bab661aSEmmanuel Vadot		};
408bab661aSEmmanuel Vadot	};
418bab661aSEmmanuel Vadot
42d5b0e70fSEmmanuel Vadot	leds {
43d5b0e70fSEmmanuel Vadot		compatible = "gpio-leds";
44d5b0e70fSEmmanuel Vadot
45d5b0e70fSEmmanuel Vadot		led_diy: led-diy {
46d5b0e70fSEmmanuel Vadot			label = "diy-led";
47d5b0e70fSEmmanuel Vadot			default-state = "on";
48d5b0e70fSEmmanuel Vadot			gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_LOW>;
49d5b0e70fSEmmanuel Vadot			linux,default-trigger = "heartbeat";
50d5b0e70fSEmmanuel Vadot			pinctrl-names = "default";
51d5b0e70fSEmmanuel Vadot			pinctrl-0 = <&diy_led_enable_h>;
52d5b0e70fSEmmanuel Vadot			retain-state-suspended;
53d5b0e70fSEmmanuel Vadot			status = "disabled";
54d5b0e70fSEmmanuel Vadot		};
55d5b0e70fSEmmanuel Vadot
56d5b0e70fSEmmanuel Vadot		led_work: led-work {
57d5b0e70fSEmmanuel Vadot			label = "work-led";
58d5b0e70fSEmmanuel Vadot			default-state = "off";
59d5b0e70fSEmmanuel Vadot			gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>;
60d5b0e70fSEmmanuel Vadot			pinctrl-names = "default";
61d5b0e70fSEmmanuel Vadot			pinctrl-0 = <&work_led_enable_h>;
62d5b0e70fSEmmanuel Vadot			retain-state-suspended;
63d5b0e70fSEmmanuel Vadot			status = "disabled";
64d5b0e70fSEmmanuel Vadot		};
65d5b0e70fSEmmanuel Vadot	};
66d5b0e70fSEmmanuel Vadot
67d5b0e70fSEmmanuel Vadot	sdio_pwrseq: sdio-pwrseq {
68d5b0e70fSEmmanuel Vadot		status = "okay";
69d5b0e70fSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
70d5b0e70fSEmmanuel Vadot		clocks = <&rk809 1>;
71d5b0e70fSEmmanuel Vadot		clock-names = "ext_clock";
72d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
73d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&wifi_enable_h>;
74d5b0e70fSEmmanuel Vadot		reset-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>;
75d5b0e70fSEmmanuel Vadot	};
76d5b0e70fSEmmanuel Vadot
77d5b0e70fSEmmanuel Vadot	vbus: vbus-regulator {
78d5b0e70fSEmmanuel Vadot		compatible = "regulator-fixed";
79d5b0e70fSEmmanuel Vadot		regulator-name = "vbus";
80d5b0e70fSEmmanuel Vadot		regulator-always-on;
81d5b0e70fSEmmanuel Vadot		regulator-boot-on;
82d5b0e70fSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
83d5b0e70fSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
84d5b0e70fSEmmanuel Vadot	};
85d5b0e70fSEmmanuel Vadot
86d5b0e70fSEmmanuel Vadot	/* sourced from vbus, vbus is provided by the carrier board */
87d5b0e70fSEmmanuel Vadot	vcc5v0_sys: vcc5v0-sys-regulator {
88d5b0e70fSEmmanuel Vadot		compatible = "regulator-fixed";
89d5b0e70fSEmmanuel Vadot		regulator-name = "vcc5v0_sys";
90d5b0e70fSEmmanuel Vadot		regulator-always-on;
91d5b0e70fSEmmanuel Vadot		regulator-boot-on;
92d5b0e70fSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
93d5b0e70fSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
94d5b0e70fSEmmanuel Vadot		vin-supply = <&vbus>;
95d5b0e70fSEmmanuel Vadot	};
96d5b0e70fSEmmanuel Vadot
97d5b0e70fSEmmanuel Vadot	vcc3v3_sys: vcc3v3-sys-regulator {
98d5b0e70fSEmmanuel Vadot		compatible = "regulator-fixed";
99d5b0e70fSEmmanuel Vadot		regulator-name = "vcc3v3_sys";
100d5b0e70fSEmmanuel Vadot		regulator-always-on;
101d5b0e70fSEmmanuel Vadot		regulator-boot-on;
102d5b0e70fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
103d5b0e70fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
104d5b0e70fSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
105d5b0e70fSEmmanuel Vadot	};
106d5b0e70fSEmmanuel Vadot};
107d5b0e70fSEmmanuel Vadot
108d5b0e70fSEmmanuel Vadot&cpu0 {
109d5b0e70fSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
110d5b0e70fSEmmanuel Vadot};
111d5b0e70fSEmmanuel Vadot
112d5b0e70fSEmmanuel Vadot&cpu1 {
113d5b0e70fSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
114d5b0e70fSEmmanuel Vadot};
115d5b0e70fSEmmanuel Vadot
116d5b0e70fSEmmanuel Vadot&cpu2 {
117d5b0e70fSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
118d5b0e70fSEmmanuel Vadot};
119d5b0e70fSEmmanuel Vadot
120d5b0e70fSEmmanuel Vadot&cpu3 {
121d5b0e70fSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
122d5b0e70fSEmmanuel Vadot};
123d5b0e70fSEmmanuel Vadot
124d5b0e70fSEmmanuel Vadot&gmac1 {
125d5b0e70fSEmmanuel Vadot	assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
126d5b0e70fSEmmanuel Vadot	assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
127d5b0e70fSEmmanuel Vadot	clock_in_out = "input";
128d5b0e70fSEmmanuel Vadot	phy-supply = <&vcc_3v3>;
129d5b0e70fSEmmanuel Vadot	phy-mode = "rgmii";
130d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
131d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&gmac1m0_miim
132d5b0e70fSEmmanuel Vadot		     &gmac1m0_tx_bus2
133d5b0e70fSEmmanuel Vadot		     &gmac1m0_rx_bus2
134d5b0e70fSEmmanuel Vadot		     &gmac1m0_rgmii_clk
135d5b0e70fSEmmanuel Vadot		     &gmac1m0_clkinout
136d5b0e70fSEmmanuel Vadot		     &gmac1m0_rgmii_bus>;
137d5b0e70fSEmmanuel Vadot	snps,reset-gpio = <&gpio0 RK_PC3 GPIO_ACTIVE_LOW>;
138d5b0e70fSEmmanuel Vadot	snps,reset-active-low;
139d5b0e70fSEmmanuel Vadot	/* Reset time is 20ms, 100ms for rtl8211f, also works well here */
140d5b0e70fSEmmanuel Vadot	snps,reset-delays-us = <0 20000 100000>;
141d5b0e70fSEmmanuel Vadot	tx_delay = <0x30>;
142d5b0e70fSEmmanuel Vadot	rx_delay = <0x10>;
143d5b0e70fSEmmanuel Vadot	phy-handle = <&rgmii_phy1>;
144d5b0e70fSEmmanuel Vadot	status = "disabled";
145d5b0e70fSEmmanuel Vadot};
146d5b0e70fSEmmanuel Vadot
147*fac71e4eSEmmanuel Vadot&gpio0 {
148*fac71e4eSEmmanuel Vadot	nextrst-hog {
149*fac71e4eSEmmanuel Vadot		gpio-hog;
150*fac71e4eSEmmanuel Vadot		/*
151*fac71e4eSEmmanuel Vadot		 * GPIO_ACTIVE_LOW + output-low here means that the pin is set
152*fac71e4eSEmmanuel Vadot		 * to high, because output-low decides the value pre-inversion.
153*fac71e4eSEmmanuel Vadot		 */
154*fac71e4eSEmmanuel Vadot		gpios = <RK_PA5 GPIO_ACTIVE_LOW>;
155*fac71e4eSEmmanuel Vadot		line-name = "nEXTRST";
156*fac71e4eSEmmanuel Vadot		output-low;
157*fac71e4eSEmmanuel Vadot	};
158*fac71e4eSEmmanuel Vadot};
159*fac71e4eSEmmanuel Vadot
1608bab661aSEmmanuel Vadot&gpu {
1618bab661aSEmmanuel Vadot	mali-supply = <&vdd_gpu>;
1628bab661aSEmmanuel Vadot	status = "okay";
1638bab661aSEmmanuel Vadot};
1648bab661aSEmmanuel Vadot
1658bab661aSEmmanuel Vadot&hdmi {
1668bab661aSEmmanuel Vadot	avdd-0v9-supply = <&vdda0v9_image>;
1678bab661aSEmmanuel Vadot	avdd-1v8-supply = <&vcca1v8_image>;
1688bab661aSEmmanuel Vadot	status = "okay";
1698bab661aSEmmanuel Vadot};
1708bab661aSEmmanuel Vadot
1718bab661aSEmmanuel Vadot&hdmi_in {
1728bab661aSEmmanuel Vadot	hdmi_in_vp0: endpoint {
1738bab661aSEmmanuel Vadot		remote-endpoint = <&vp0_out_hdmi>;
1748bab661aSEmmanuel Vadot	};
1758bab661aSEmmanuel Vadot};
1768bab661aSEmmanuel Vadot
1778bab661aSEmmanuel Vadot&hdmi_out {
1788bab661aSEmmanuel Vadot	hdmi_out_con: endpoint {
1798bab661aSEmmanuel Vadot		remote-endpoint = <&hdmi_con_in>;
1808bab661aSEmmanuel Vadot	};
1818bab661aSEmmanuel Vadot};
1828bab661aSEmmanuel Vadot
1838bab661aSEmmanuel Vadot&hdmi_sound {
1848bab661aSEmmanuel Vadot	status = "okay";
1858bab661aSEmmanuel Vadot};
1868bab661aSEmmanuel Vadot
187d5b0e70fSEmmanuel Vadot&i2c0 {
188d5b0e70fSEmmanuel Vadot	status = "okay";
189d5b0e70fSEmmanuel Vadot
190d5b0e70fSEmmanuel Vadot	vdd_cpu: regulator@1c {
191d5b0e70fSEmmanuel Vadot		compatible = "tcs,tcs4525";
192d5b0e70fSEmmanuel Vadot		reg = <0x1c>;
193d5b0e70fSEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
194d5b0e70fSEmmanuel Vadot		regulator-name = "vdd_cpu";
195d5b0e70fSEmmanuel Vadot		regulator-min-microvolt = <800000>;
196d5b0e70fSEmmanuel Vadot		regulator-max-microvolt = <1150000>;
197d5b0e70fSEmmanuel Vadot		regulator-ramp-delay = <2300>;
198d5b0e70fSEmmanuel Vadot		regulator-always-on;
199d5b0e70fSEmmanuel Vadot		regulator-boot-on;
200d5b0e70fSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
201d5b0e70fSEmmanuel Vadot
202d5b0e70fSEmmanuel Vadot		regulator-state-mem {
203d5b0e70fSEmmanuel Vadot			regulator-off-in-suspend;
204d5b0e70fSEmmanuel Vadot		};
205d5b0e70fSEmmanuel Vadot	};
206d5b0e70fSEmmanuel Vadot
207d5b0e70fSEmmanuel Vadot	rk809: pmic@20 {
208d5b0e70fSEmmanuel Vadot		compatible = "rockchip,rk809";
209d5b0e70fSEmmanuel Vadot		reg = <0x20>;
210d5b0e70fSEmmanuel Vadot		interrupt-parent = <&gpio0>;
211d5b0e70fSEmmanuel Vadot		interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
212d5b0e70fSEmmanuel Vadot		#clock-cells = <1>;
213d5b0e70fSEmmanuel Vadot		clock-output-names = "rk808-clkout1", "rk808-clkout2";
214d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
215d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&pmic_int_l>;
216d5b0e70fSEmmanuel Vadot		rockchip,system-power-controller;
217d5b0e70fSEmmanuel Vadot		wakeup-source;
218d5b0e70fSEmmanuel Vadot
219d5b0e70fSEmmanuel Vadot		vcc1-supply = <&vcc3v3_sys>;
220d5b0e70fSEmmanuel Vadot		vcc2-supply = <&vcc3v3_sys>;
221d5b0e70fSEmmanuel Vadot		vcc3-supply = <&vcc3v3_sys>;
222d5b0e70fSEmmanuel Vadot		vcc4-supply = <&vcc3v3_sys>;
223d5b0e70fSEmmanuel Vadot		vcc5-supply = <&vcc3v3_sys>;
224d5b0e70fSEmmanuel Vadot		vcc6-supply = <&vcc3v3_sys>;
225d5b0e70fSEmmanuel Vadot		vcc7-supply = <&vcc3v3_sys>;
226d5b0e70fSEmmanuel Vadot		vcc8-supply = <&vcc3v3_sys>;
227d5b0e70fSEmmanuel Vadot		vcc9-supply = <&vcc3v3_sys>;
228d5b0e70fSEmmanuel Vadot
229d5b0e70fSEmmanuel Vadot		regulators {
230d5b0e70fSEmmanuel Vadot			vdd_logic: DCDC_REG1 {
231d5b0e70fSEmmanuel Vadot				regulator-name = "vdd_logic";
232d5b0e70fSEmmanuel Vadot				regulator-always-on;
233d5b0e70fSEmmanuel Vadot				regulator-boot-on;
234d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <500000>;
235d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
236d5b0e70fSEmmanuel Vadot				regulator-ramp-delay = <6001>;
237d5b0e70fSEmmanuel Vadot				regulator-initial-mode = <0x2>;
238d5b0e70fSEmmanuel Vadot				regulator-state-mem {
239d5b0e70fSEmmanuel Vadot					regulator-on-in-suspend;
240d5b0e70fSEmmanuel Vadot					regulator-suspend-microvolt = <900000>;
241d5b0e70fSEmmanuel Vadot				};
242d5b0e70fSEmmanuel Vadot			};
243d5b0e70fSEmmanuel Vadot
244d5b0e70fSEmmanuel Vadot			vdd_gpu: DCDC_REG2 {
245d5b0e70fSEmmanuel Vadot				regulator-name = "vdd_gpu";
246d5b0e70fSEmmanuel Vadot				regulator-always-on;
247d5b0e70fSEmmanuel Vadot				regulator-boot-on;
248d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <500000>;
249d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
250d5b0e70fSEmmanuel Vadot				regulator-ramp-delay = <6001>;
251d5b0e70fSEmmanuel Vadot				regulator-initial-mode = <0x2>;
252d5b0e70fSEmmanuel Vadot					regulator-state-mem {
253d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
254d5b0e70fSEmmanuel Vadot				};
255d5b0e70fSEmmanuel Vadot			};
256d5b0e70fSEmmanuel Vadot
257d5b0e70fSEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
258d5b0e70fSEmmanuel Vadot				regulator-always-on;
259d5b0e70fSEmmanuel Vadot				regulator-boot-on;
260d5b0e70fSEmmanuel Vadot				regulator-initial-mode = <0x2>;
261d5b0e70fSEmmanuel Vadot				regulator-name = "vcc_ddr";
262d5b0e70fSEmmanuel Vadot				regulator-state-mem {
263d5b0e70fSEmmanuel Vadot					regulator-on-in-suspend;
264d5b0e70fSEmmanuel Vadot				};
265d5b0e70fSEmmanuel Vadot			};
266d5b0e70fSEmmanuel Vadot
267d5b0e70fSEmmanuel Vadot			vdd_npu: DCDC_REG4 {
268d5b0e70fSEmmanuel Vadot				regulator-always-on;
269d5b0e70fSEmmanuel Vadot				regulator-boot-on;
270d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <500000>;
271d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
272d5b0e70fSEmmanuel Vadot				regulator-initial-mode = <0x2>;
273d5b0e70fSEmmanuel Vadot				regulator-name = "vdd_npu";
274d5b0e70fSEmmanuel Vadot				regulator-state-mem {
275d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
276d5b0e70fSEmmanuel Vadot				};
277d5b0e70fSEmmanuel Vadot			};
278d5b0e70fSEmmanuel Vadot
279d5b0e70fSEmmanuel Vadot			vcc_1v8: DCDC_REG5 {
280d5b0e70fSEmmanuel Vadot				regulator-name = "vcc_1v8";
281d5b0e70fSEmmanuel Vadot				regulator-always-on;
282d5b0e70fSEmmanuel Vadot				regulator-boot-on;
283d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
284d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
285d5b0e70fSEmmanuel Vadot				regulator-state-mem {
286d5b0e70fSEmmanuel Vadot					regulator-on-in-suspend;
287d5b0e70fSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
288d5b0e70fSEmmanuel Vadot				};
289d5b0e70fSEmmanuel Vadot			};
290d5b0e70fSEmmanuel Vadot
291d5b0e70fSEmmanuel Vadot			vdda0v9_image: LDO_REG1 {
292d5b0e70fSEmmanuel Vadot				regulator-always-on;
293d5b0e70fSEmmanuel Vadot				regulator-boot-on;
294d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <900000>;
295d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <900000>;
296d5b0e70fSEmmanuel Vadot				regulator-name = "vdda0v9_image";
297d5b0e70fSEmmanuel Vadot				regulator-state-mem {
298d5b0e70fSEmmanuel Vadot					regulator-on-in-suspend;
299d5b0e70fSEmmanuel Vadot					regulator-suspend-microvolt = <900000>;
300d5b0e70fSEmmanuel Vadot				};
301d5b0e70fSEmmanuel Vadot			};
302d5b0e70fSEmmanuel Vadot
303d5b0e70fSEmmanuel Vadot			vdda_0v9: LDO_REG2 {
304d5b0e70fSEmmanuel Vadot				regulator-always-on;
305d5b0e70fSEmmanuel Vadot				regulator-boot-on;
306d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <900000>;
307d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <900000>;
308d5b0e70fSEmmanuel Vadot				regulator-name = "vdda_0v9";
309d5b0e70fSEmmanuel Vadot				regulator-state-mem {
310d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
311d5b0e70fSEmmanuel Vadot				};
312d5b0e70fSEmmanuel Vadot			};
313d5b0e70fSEmmanuel Vadot
314d5b0e70fSEmmanuel Vadot			vdda0v9_pmu: LDO_REG3 {
315d5b0e70fSEmmanuel Vadot				regulator-always-on;
316d5b0e70fSEmmanuel Vadot				regulator-boot-on;
317d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <900000>;
318d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <900000>;
319d5b0e70fSEmmanuel Vadot				regulator-name = "vdda0v9_pmu";
320d5b0e70fSEmmanuel Vadot				regulator-state-mem {
321d5b0e70fSEmmanuel Vadot					regulator-on-in-suspend;
322d5b0e70fSEmmanuel Vadot					regulator-suspend-microvolt = <900000>;
323d5b0e70fSEmmanuel Vadot				};
324d5b0e70fSEmmanuel Vadot			};
325d5b0e70fSEmmanuel Vadot
326d5b0e70fSEmmanuel Vadot			vccio_acodec: LDO_REG4 {
327d5b0e70fSEmmanuel Vadot				regulator-always-on;
328d5b0e70fSEmmanuel Vadot				regulator-boot-on;
329d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
330d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
331d5b0e70fSEmmanuel Vadot				regulator-name = "vccio_acodec";
332d5b0e70fSEmmanuel Vadot				regulator-state-mem {
333d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
334d5b0e70fSEmmanuel Vadot				};
335d5b0e70fSEmmanuel Vadot			};
336d5b0e70fSEmmanuel Vadot
337d5b0e70fSEmmanuel Vadot			vccio_sd: LDO_REG5 {
338d5b0e70fSEmmanuel Vadot				regulator-always-on;
339d5b0e70fSEmmanuel Vadot				regulator-boot-on;
340d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
341d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
342d5b0e70fSEmmanuel Vadot				regulator-name = "vccio_sd";
343d5b0e70fSEmmanuel Vadot				regulator-state-mem {
344d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
345d5b0e70fSEmmanuel Vadot				};
346d5b0e70fSEmmanuel Vadot			};
347d5b0e70fSEmmanuel Vadot
348d5b0e70fSEmmanuel Vadot			vcc3v3_pmu: LDO_REG6 {
349d5b0e70fSEmmanuel Vadot				regulator-always-on;
350d5b0e70fSEmmanuel Vadot				regulator-boot-on;
351d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
352d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
353d5b0e70fSEmmanuel Vadot				regulator-name = "vcc3v3_pmu";
354d5b0e70fSEmmanuel Vadot				regulator-state-mem {
355d5b0e70fSEmmanuel Vadot					regulator-on-in-suspend;
356d5b0e70fSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
357d5b0e70fSEmmanuel Vadot				};
358d5b0e70fSEmmanuel Vadot			};
359d5b0e70fSEmmanuel Vadot
360d5b0e70fSEmmanuel Vadot			vcca_1v8: LDO_REG7 {
361d5b0e70fSEmmanuel Vadot				regulator-always-on;
362d5b0e70fSEmmanuel Vadot				regulator-boot-on;
363d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
364d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
365d5b0e70fSEmmanuel Vadot				regulator-name = "vcca_1v8";
366d5b0e70fSEmmanuel Vadot				regulator-state-mem {
367d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
368d5b0e70fSEmmanuel Vadot				};
369d5b0e70fSEmmanuel Vadot			};
370d5b0e70fSEmmanuel Vadot
371d5b0e70fSEmmanuel Vadot			vcca1v8_pmu: LDO_REG8 {
372d5b0e70fSEmmanuel Vadot				regulator-always-on;
373d5b0e70fSEmmanuel Vadot				regulator-boot-on;
374d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
375d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
376d5b0e70fSEmmanuel Vadot				regulator-name = "vcca1v8_pmu";
377d5b0e70fSEmmanuel Vadot				regulator-state-mem {
378d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
379d5b0e70fSEmmanuel Vadot				};
380d5b0e70fSEmmanuel Vadot			};
381d5b0e70fSEmmanuel Vadot
382d5b0e70fSEmmanuel Vadot			vcca1v8_image: LDO_REG9 {
383d5b0e70fSEmmanuel Vadot				regulator-always-on;
384d5b0e70fSEmmanuel Vadot				regulator-boot-on;
385d5b0e70fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
386d5b0e70fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
387d5b0e70fSEmmanuel Vadot				regulator-name = "vcca1v8_image";
388d5b0e70fSEmmanuel Vadot				regulator-state-mem {
389d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
390d5b0e70fSEmmanuel Vadot				};
391d5b0e70fSEmmanuel Vadot			};
392d5b0e70fSEmmanuel Vadot
393d5b0e70fSEmmanuel Vadot			vcc_3v3: SWITCH_REG1 {
394d5b0e70fSEmmanuel Vadot				regulator-name = "vcc_3v3";
395d5b0e70fSEmmanuel Vadot				regulator-state-mem {
396d5b0e70fSEmmanuel Vadot					regulator-off-in-suspend;
397d5b0e70fSEmmanuel Vadot				};
398d5b0e70fSEmmanuel Vadot			};
399d5b0e70fSEmmanuel Vadot
400d5b0e70fSEmmanuel Vadot			vcc3v3_sd: SWITCH_REG2 {
401d5b0e70fSEmmanuel Vadot				regulator-name = "vcc3v3_sd";
402d5b0e70fSEmmanuel Vadot				status = "disabled";
403d5b0e70fSEmmanuel Vadot				regulator-state-mem {
404d5b0e70fSEmmanuel Vadot					regulator-on-in-suspend;
405d5b0e70fSEmmanuel Vadot				};
406d5b0e70fSEmmanuel Vadot			};
407d5b0e70fSEmmanuel Vadot
408d5b0e70fSEmmanuel Vadot		};
409d5b0e70fSEmmanuel Vadot	};
410d5b0e70fSEmmanuel Vadot};
411d5b0e70fSEmmanuel Vadot
412d5b0e70fSEmmanuel Vadot/*
413d5b0e70fSEmmanuel Vadot * i2c1 is exposed on CM1 / Module1A
414d5b0e70fSEmmanuel Vadot * pin 80 - i2c1_scl_m0, pullup to vcc3v3_pmu
415d5b0e70fSEmmanuel Vadot * pin 82 - i2c1_sda_m0, pullup to vcc3v3_pmu
416d5b0e70fSEmmanuel Vadot */
417d5b0e70fSEmmanuel Vadot&i2c1 {
418d5b0e70fSEmmanuel Vadot	status = "disabled";
419d5b0e70fSEmmanuel Vadot};
420d5b0e70fSEmmanuel Vadot
421d5b0e70fSEmmanuel Vadot/*
422d5b0e70fSEmmanuel Vadot * i2c2 is exposed on CM1 / Module1A
423d5b0e70fSEmmanuel Vadot * pin 56 - i2c2_scl_m1, pullup to vcc_3v3, shared with i2s1_8ch
424d5b0e70fSEmmanuel Vadot * pin 58 - i2c2_sda_m1, pullup to vcc_3v3
425d5b0e70fSEmmanuel Vadot */
426d5b0e70fSEmmanuel Vadot&i2c2 {
427d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
428d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&i2c2m1_xfer>;
429d5b0e70fSEmmanuel Vadot	status = "disabled";
430d5b0e70fSEmmanuel Vadot};
431d5b0e70fSEmmanuel Vadot
432d5b0e70fSEmmanuel Vadot/*
433d5b0e70fSEmmanuel Vadot * i2c3 is exposed on CM1 / Module1A
434d5b0e70fSEmmanuel Vadot * pin 35 - i2c3_scl_m0, pullup to vcc_3v3
435d5b0e70fSEmmanuel Vadot * pin 36 - i2c3_sda_m0, pullup to vcc_3v3
436d5b0e70fSEmmanuel Vadot */
437d5b0e70fSEmmanuel Vadot&i2c3 {
438d5b0e70fSEmmanuel Vadot	status = "disabled";
439d5b0e70fSEmmanuel Vadot};
440d5b0e70fSEmmanuel Vadot
441d5b0e70fSEmmanuel Vadot/*
442d5b0e70fSEmmanuel Vadot * i2c4 is exposed on CM2 / Module1B
443d5b0e70fSEmmanuel Vadot * pin 45 - i2c4_scl_m1
444d5b0e70fSEmmanuel Vadot * pin 47 - i2c4_sda_m1
445d5b0e70fSEmmanuel Vadot */
446d5b0e70fSEmmanuel Vadot&i2c4 {
447d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
448d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&i2c4m1_xfer>;
449d5b0e70fSEmmanuel Vadot	status = "disabled";
450d5b0e70fSEmmanuel Vadot};
451d5b0e70fSEmmanuel Vadot
4528bab661aSEmmanuel Vadot&i2s0_8ch {
4538bab661aSEmmanuel Vadot	status = "okay";
4548bab661aSEmmanuel Vadot};
4558bab661aSEmmanuel Vadot
456d5b0e70fSEmmanuel Vadot/*
457d5b0e70fSEmmanuel Vadot * i2s1_8ch is exposed on CM1 / Module1A
458d5b0e70fSEmmanuel Vadot * pin 24 - i2s1_sdi1_m1
459d5b0e70fSEmmanuel Vadot * pin 25 - i2s1_sdo0_m1
460d5b0e70fSEmmanuel Vadot * pin 26 - i2s1_lrck_tx_m1
461d5b0e70fSEmmanuel Vadot * pin 27 - i2s1_sdi0_m1
462d5b0e70fSEmmanuel Vadot * pin 29 - i2s1_sdi3_m1
463d5b0e70fSEmmanuel Vadot * pin 30 - i2s1_sdi2_m1
464d5b0e70fSEmmanuel Vadot * pin 40 - i2s1_sdo1_m1, shared with spi3
465d5b0e70fSEmmanuel Vadot * pin 41 - i2s1_sdo2_m1
466d5b0e70fSEmmanuel Vadot * pin 49 - i2s1_sclk_tx_m1
467d5b0e70fSEmmanuel Vadot * pin 50 - i2s1_mclk_m1
468d5b0e70fSEmmanuel Vadot * pin 56 - i2s1_sdo3_m1, shared with i2c2
469d5b0e70fSEmmanuel Vadot */
470d5b0e70fSEmmanuel Vadot&i2s1_8ch {
471d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
472d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&i2s1m1_sclktx &i2s1m1_sclkrx
473d5b0e70fSEmmanuel Vadot		     &i2s1m1_lrcktx &i2s1m1_lrckrx
474d5b0e70fSEmmanuel Vadot		     &i2s1m1_sdi0   &i2s1m1_sdi1
475d5b0e70fSEmmanuel Vadot		     &i2s1m1_sdi2   &i2s1m1_sdi3
476d5b0e70fSEmmanuel Vadot		     &i2s1m1_sdo0   &i2s1m1_sdo1
477d5b0e70fSEmmanuel Vadot		     &i2s1m1_sdo2   &i2s1m1_sdo3>;
478d5b0e70fSEmmanuel Vadot	status = "disabled";
479d5b0e70fSEmmanuel Vadot};
480d5b0e70fSEmmanuel Vadot
481d5b0e70fSEmmanuel Vadot&mdio1 {
482d5b0e70fSEmmanuel Vadot	rgmii_phy1: ethernet-phy@0 {
483d5b0e70fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
484d5b0e70fSEmmanuel Vadot		reg = <0>;
485d5b0e70fSEmmanuel Vadot		status = "disabled";
486d5b0e70fSEmmanuel Vadot	};
487d5b0e70fSEmmanuel Vadot};
488d5b0e70fSEmmanuel Vadot
4898bab661aSEmmanuel Vadot&pcie2x1 {
4908bab661aSEmmanuel Vadot	pinctrl-names = "default";
4918bab661aSEmmanuel Vadot	pinctrl-0 = <&pcie_reset_h>;
4928bab661aSEmmanuel Vadot	reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
4938bab661aSEmmanuel Vadot};
4948bab661aSEmmanuel Vadot
495d5b0e70fSEmmanuel Vadot&pinctrl {
496d5b0e70fSEmmanuel Vadot	bt {
497d5b0e70fSEmmanuel Vadot		bt_enable_h: bt-enable-h {
498d5b0e70fSEmmanuel Vadot			rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
499d5b0e70fSEmmanuel Vadot		};
500d5b0e70fSEmmanuel Vadot
501d5b0e70fSEmmanuel Vadot		bt_host_wake_l: bt-host-wake-l {
502d5b0e70fSEmmanuel Vadot			rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_down>;
503d5b0e70fSEmmanuel Vadot		};
504d5b0e70fSEmmanuel Vadot
505d5b0e70fSEmmanuel Vadot		bt_wake_l: bt-wake-l {
506d5b0e70fSEmmanuel Vadot			rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
507d5b0e70fSEmmanuel Vadot		};
508d5b0e70fSEmmanuel Vadot	};
509d5b0e70fSEmmanuel Vadot
510d5b0e70fSEmmanuel Vadot	leds {
511d5b0e70fSEmmanuel Vadot		work_led_enable_h: work-led-enable-h {
512d5b0e70fSEmmanuel Vadot			rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
513d5b0e70fSEmmanuel Vadot		};
514d5b0e70fSEmmanuel Vadot
515d5b0e70fSEmmanuel Vadot		diy_led_enable_h: diy-led-enable-h {
516d5b0e70fSEmmanuel Vadot			rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
517d5b0e70fSEmmanuel Vadot		};
518d5b0e70fSEmmanuel Vadot	};
519d5b0e70fSEmmanuel Vadot
5208bab661aSEmmanuel Vadot	pcie {
5218bab661aSEmmanuel Vadot		pcie_clkreq_h: pcie-clkreq-h {
5228bab661aSEmmanuel Vadot			rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
5238bab661aSEmmanuel Vadot		};
5248bab661aSEmmanuel Vadot		pcie_reset_h: pcie-reset-h {
5258bab661aSEmmanuel Vadot			rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
5268bab661aSEmmanuel Vadot		};
5278bab661aSEmmanuel Vadot	};
5288bab661aSEmmanuel Vadot
529d5b0e70fSEmmanuel Vadot	pmic {
530d5b0e70fSEmmanuel Vadot		pmic_int_l: pmic-int-l {
531d5b0e70fSEmmanuel Vadot			rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
532d5b0e70fSEmmanuel Vadot		};
533d5b0e70fSEmmanuel Vadot	};
534d5b0e70fSEmmanuel Vadot
535d5b0e70fSEmmanuel Vadot	sdio-pwrseq {
536d5b0e70fSEmmanuel Vadot		wifi_enable_h: wifi-enable-h {
537d5b0e70fSEmmanuel Vadot			rockchip,pins = <2 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
538d5b0e70fSEmmanuel Vadot		};
539d5b0e70fSEmmanuel Vadot	};
540d5b0e70fSEmmanuel Vadot};
541d5b0e70fSEmmanuel Vadot
542d5b0e70fSEmmanuel Vadot&pmu_io_domains {
543d5b0e70fSEmmanuel Vadot	pmuio1-supply = <&vcc3v3_pmu>;
544d5b0e70fSEmmanuel Vadot	pmuio2-supply = <&vcc3v3_pmu>;
545d5b0e70fSEmmanuel Vadot	vccio1-supply = <&vcc_3v3>;
546d5b0e70fSEmmanuel Vadot	vccio2-supply = <&vcc_1v8>;
547d5b0e70fSEmmanuel Vadot	vccio3-supply = <&vccio_sd>;
548d5b0e70fSEmmanuel Vadot	vccio4-supply = <&vcc_1v8>;
549d5b0e70fSEmmanuel Vadot	vccio5-supply = <&vcc_3v3>;
550d5b0e70fSEmmanuel Vadot	vccio6-supply = <&vcc_3v3>;
551d5b0e70fSEmmanuel Vadot	vccio7-supply = <&vcc_3v3>;
552d5b0e70fSEmmanuel Vadot	status = "okay";
553d5b0e70fSEmmanuel Vadot};
554d5b0e70fSEmmanuel Vadot
555d5b0e70fSEmmanuel Vadot/*
556d5b0e70fSEmmanuel Vadot * saradc is exposed on CM1 / Module1A
557d5b0e70fSEmmanuel Vadot * pin 94 - saradc_vin3
558d5b0e70fSEmmanuel Vadot * pin 96 - saradc_vin2
559d5b0e70fSEmmanuel Vadot */
560d5b0e70fSEmmanuel Vadot&saradc {
561d5b0e70fSEmmanuel Vadot	vref-supply = <&vcca_1v8>;
562d5b0e70fSEmmanuel Vadot	status = "disabled";
563d5b0e70fSEmmanuel Vadot};
564d5b0e70fSEmmanuel Vadot
565d5b0e70fSEmmanuel Vadot&sdhci {
566d5b0e70fSEmmanuel Vadot	bus-width = <8>;
567d5b0e70fSEmmanuel Vadot	mmc-hs200-1_8v;
568d5b0e70fSEmmanuel Vadot	non-removable;
569d5b0e70fSEmmanuel Vadot	vmmc-supply = <&vcc_3v3>;
570d5b0e70fSEmmanuel Vadot	vqmmc-supply = <&vcc_1v8>;
571d5b0e70fSEmmanuel Vadot	status = "okay";
572d5b0e70fSEmmanuel Vadot};
573d5b0e70fSEmmanuel Vadot
574d5b0e70fSEmmanuel Vadot&sdmmc0 {
575d5b0e70fSEmmanuel Vadot	broken-cd;
576d5b0e70fSEmmanuel Vadot	bus-width = <4>;
577d5b0e70fSEmmanuel Vadot	cap-sd-highspeed;
578d5b0e70fSEmmanuel Vadot	disable-wp;
579d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
580d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
581d5b0e70fSEmmanuel Vadot	vqmmc-supply = <&vccio_sd>;
582d5b0e70fSEmmanuel Vadot	status = "disabled";
583d5b0e70fSEmmanuel Vadot};
584d5b0e70fSEmmanuel Vadot
585d5b0e70fSEmmanuel Vadot&sdmmc1 {
586d5b0e70fSEmmanuel Vadot	bus-width = <4>;
587d5b0e70fSEmmanuel Vadot	cap-sd-highspeed;
588d5b0e70fSEmmanuel Vadot	cap-sdio-irq;
589d5b0e70fSEmmanuel Vadot	keep-power-in-suspend;
590d5b0e70fSEmmanuel Vadot	mmc-pwrseq = <&sdio_pwrseq>;
591d5b0e70fSEmmanuel Vadot	non-removable;
592d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
593d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
594cb7aa33aSEmmanuel Vadot	sd-uhs-sdr50;
595d5b0e70fSEmmanuel Vadot	vmmc-supply = <&vcc3v3_sys>;
596d5b0e70fSEmmanuel Vadot	vqmmc-supply = <&vcc_1v8>;
597d5b0e70fSEmmanuel Vadot	status = "okay";
598d5b0e70fSEmmanuel Vadot};
599d5b0e70fSEmmanuel Vadot
600d5b0e70fSEmmanuel Vadot/*
601d5b0e70fSEmmanuel Vadot * spi3 is exposed on CM1 / Module1A
602d5b0e70fSEmmanuel Vadot * pin 37 - spi3_cs1_m0
603d5b0e70fSEmmanuel Vadot * pin 38 - spi3_clk_m0
604d5b0e70fSEmmanuel Vadot * pin 39 - spi3_cs0_m0
605d5b0e70fSEmmanuel Vadot * pin 40 - spi3_miso_m0, shared with i2s1_8ch
606d5b0e70fSEmmanuel Vadot * pin 44 - spi3_mosi_m0
607d5b0e70fSEmmanuel Vadot */
608d5b0e70fSEmmanuel Vadot&spi3 {
609d5b0e70fSEmmanuel Vadot	status = "disabled";
610d5b0e70fSEmmanuel Vadot};
611d5b0e70fSEmmanuel Vadot
612d5b0e70fSEmmanuel Vadot&tsadc {
613d5b0e70fSEmmanuel Vadot	status = "okay";
614d5b0e70fSEmmanuel Vadot};
615d5b0e70fSEmmanuel Vadot
616d5b0e70fSEmmanuel Vadot&uart1 {
617d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
618d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
619d5b0e70fSEmmanuel Vadot	uart-has-rtscts;
620d5b0e70fSEmmanuel Vadot	status = "okay";
621d5b0e70fSEmmanuel Vadot
622d5b0e70fSEmmanuel Vadot	bluetooth {
623d5b0e70fSEmmanuel Vadot		compatible = "brcm,bcm43438-bt";
624d5b0e70fSEmmanuel Vadot		clocks = <&rk809 1>;
625d5b0e70fSEmmanuel Vadot		clock-names = "lpo";
626d5b0e70fSEmmanuel Vadot		device-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
627d5b0e70fSEmmanuel Vadot		host-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
628d5b0e70fSEmmanuel Vadot		shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
629d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
630d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
631d5b0e70fSEmmanuel Vadot		vbat-supply = <&vcc3v3_sys>;
632d5b0e70fSEmmanuel Vadot		vddio-supply = <&vcca1v8_pmu>;
633d5b0e70fSEmmanuel Vadot	};
634d5b0e70fSEmmanuel Vadot};
635d5b0e70fSEmmanuel Vadot
636d5b0e70fSEmmanuel Vadot/*
637d5b0e70fSEmmanuel Vadot * uart2 is exposed on CM1 / Module1A
638d5b0e70fSEmmanuel Vadot * pin 51 - uart2_rx_m0
639d5b0e70fSEmmanuel Vadot * pin 55 - uart2_tx_m0
640d5b0e70fSEmmanuel Vadot */
641d5b0e70fSEmmanuel Vadot&uart2 {
642d5b0e70fSEmmanuel Vadot	status = "disabled";
643d5b0e70fSEmmanuel Vadot};
644d5b0e70fSEmmanuel Vadot
645d5b0e70fSEmmanuel Vadot/*
646d5b0e70fSEmmanuel Vadot * uart7 is exposed on CM1 / Module1A
647d5b0e70fSEmmanuel Vadot * pin 46 - uart7_tx_m2
648d5b0e70fSEmmanuel Vadot * pin 47 - uart7_rx_m2
649d5b0e70fSEmmanuel Vadot */
650d5b0e70fSEmmanuel Vadot&uart7 {
651d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
652d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&uart7m2_xfer>;
653d5b0e70fSEmmanuel Vadot	status = "disabled";
654d5b0e70fSEmmanuel Vadot};
655d5b0e70fSEmmanuel Vadot
656d5b0e70fSEmmanuel Vadot/* dwc3_otg is the only usb port available */
657d5b0e70fSEmmanuel Vadot&usb2phy0 {
658d5b0e70fSEmmanuel Vadot	status = "disabled";
659d5b0e70fSEmmanuel Vadot};
660d5b0e70fSEmmanuel Vadot
661d5b0e70fSEmmanuel Vadot&usb2phy0_otg {
662d5b0e70fSEmmanuel Vadot	status = "disabled";
663d5b0e70fSEmmanuel Vadot};
664d5b0e70fSEmmanuel Vadot
665d5b0e70fSEmmanuel Vadot&usb_host0_xhci {
666d5b0e70fSEmmanuel Vadot	status = "disabled";
667d5b0e70fSEmmanuel Vadot};
6688bab661aSEmmanuel Vadot
6698bab661aSEmmanuel Vadot&vop {
6708bab661aSEmmanuel Vadot	assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
6718bab661aSEmmanuel Vadot	assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
6728bab661aSEmmanuel Vadot	status = "okay";
6738bab661aSEmmanuel Vadot};
6748bab661aSEmmanuel Vadot
6758bab661aSEmmanuel Vadot&vop_mmu {
6768bab661aSEmmanuel Vadot	status = "okay";
6778bab661aSEmmanuel Vadot};
6788bab661aSEmmanuel Vadot
6798bab661aSEmmanuel Vadot&vp0 {
6808bab661aSEmmanuel Vadot	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
6818bab661aSEmmanuel Vadot		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
6828bab661aSEmmanuel Vadot		remote-endpoint = <&hdmi_in_vp0>;
6838bab661aSEmmanuel Vadot	};
6848bab661aSEmmanuel Vadot};
685