xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3568-odroid-m1.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
18bab661aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28bab661aSEmmanuel Vadot/*
38bab661aSEmmanuel Vadot * Copyright (c) 2022 Hardkernel Co., Ltd.
48bab661aSEmmanuel Vadot *
58bab661aSEmmanuel Vadot */
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadot/dts-v1/;
88bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
98bab661aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
108bab661aSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
118bab661aSEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h>
128bab661aSEmmanuel Vadot#include "rk3568.dtsi"
138bab661aSEmmanuel Vadot
148bab661aSEmmanuel Vadot/ {
158bab661aSEmmanuel Vadot	model = "Hardkernel ODROID-M1";
16*b2d2a78aSEmmanuel Vadot	compatible = "hardkernel,odroid-m1", "rockchip,rk3568";
178bab661aSEmmanuel Vadot
188bab661aSEmmanuel Vadot	aliases {
198bab661aSEmmanuel Vadot		ethernet0 = &gmac0;
208bab661aSEmmanuel Vadot		i2c0 = &i2c3;
218bab661aSEmmanuel Vadot		i2c3 = &i2c0;
228bab661aSEmmanuel Vadot		mmc0 = &sdhci;
238bab661aSEmmanuel Vadot		mmc1 = &sdmmc0;
248bab661aSEmmanuel Vadot		serial0 = &uart1;
258bab661aSEmmanuel Vadot		serial1 = &uart0;
268bab661aSEmmanuel Vadot	};
278bab661aSEmmanuel Vadot
288bab661aSEmmanuel Vadot	chosen {
298bab661aSEmmanuel Vadot		stdout-path = "serial2:1500000n8";
308bab661aSEmmanuel Vadot	};
318bab661aSEmmanuel Vadot
328bab661aSEmmanuel Vadot	dc_12v: dc-12v-regulator {
338bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
348bab661aSEmmanuel Vadot		regulator-name = "dc_12v";
358bab661aSEmmanuel Vadot		regulator-always-on;
368bab661aSEmmanuel Vadot		regulator-boot-on;
378bab661aSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
388bab661aSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
398bab661aSEmmanuel Vadot	};
408bab661aSEmmanuel Vadot
418bab661aSEmmanuel Vadot	hdmi-con {
428bab661aSEmmanuel Vadot		compatible = "hdmi-connector";
438bab661aSEmmanuel Vadot		type = "a";
448bab661aSEmmanuel Vadot
458bab661aSEmmanuel Vadot		port {
468bab661aSEmmanuel Vadot			hdmi_con_in: endpoint {
478bab661aSEmmanuel Vadot				remote-endpoint = <&hdmi_out_con>;
488bab661aSEmmanuel Vadot			};
498bab661aSEmmanuel Vadot		};
508bab661aSEmmanuel Vadot	};
518bab661aSEmmanuel Vadot
528bab661aSEmmanuel Vadot	ir-receiver {
538bab661aSEmmanuel Vadot		compatible = "gpio-ir-receiver";
548bab661aSEmmanuel Vadot		gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_LOW>;
558bab661aSEmmanuel Vadot		pinctrl-names = "default";
568bab661aSEmmanuel Vadot		pinctrl-0 = <&ir_receiver_pin>;
578bab661aSEmmanuel Vadot	};
588bab661aSEmmanuel Vadot
598bab661aSEmmanuel Vadot	leds {
608bab661aSEmmanuel Vadot		compatible = "gpio-leds";
618bab661aSEmmanuel Vadot
628bab661aSEmmanuel Vadot		led_power: led-0 {
638bab661aSEmmanuel Vadot			gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
648bab661aSEmmanuel Vadot			function = LED_FUNCTION_POWER;
658bab661aSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
668bab661aSEmmanuel Vadot			default-state = "keep";
678bab661aSEmmanuel Vadot			linux,default-trigger = "default-on";
688bab661aSEmmanuel Vadot			pinctrl-names = "default";
698bab661aSEmmanuel Vadot			pinctrl-0 = <&led_power_pin>;
708bab661aSEmmanuel Vadot		};
718bab661aSEmmanuel Vadot		led_work: led-1 {
728bab661aSEmmanuel Vadot			gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
738bab661aSEmmanuel Vadot			function = LED_FUNCTION_HEARTBEAT;
748bab661aSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
758bab661aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
768bab661aSEmmanuel Vadot			pinctrl-names = "default";
778bab661aSEmmanuel Vadot			pinctrl-0 = <&led_work_pin>;
788bab661aSEmmanuel Vadot		};
798bab661aSEmmanuel Vadot	};
808bab661aSEmmanuel Vadot
818bab661aSEmmanuel Vadot	rk809-sound {
828bab661aSEmmanuel Vadot		compatible = "simple-audio-card";
838bab661aSEmmanuel Vadot		pinctrl-names = "default";
848bab661aSEmmanuel Vadot		pinctrl-0 = <&hp_det_pin>;
858bab661aSEmmanuel Vadot		simple-audio-card,name = "Analog RK817";
868bab661aSEmmanuel Vadot		simple-audio-card,format = "i2s";
878bab661aSEmmanuel Vadot		simple-audio-card,hp-det-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
888bab661aSEmmanuel Vadot		simple-audio-card,mclk-fs = <256>;
898bab661aSEmmanuel Vadot		simple-audio-card,widgets =
908bab661aSEmmanuel Vadot			"Headphone", "Headphones",
918bab661aSEmmanuel Vadot			"Speaker", "Speaker";
928bab661aSEmmanuel Vadot		simple-audio-card,routing =
938bab661aSEmmanuel Vadot			"Headphones", "HPOL",
948bab661aSEmmanuel Vadot			"Headphones", "HPOR",
958bab661aSEmmanuel Vadot			"Speaker", "SPKO";
968bab661aSEmmanuel Vadot
978bab661aSEmmanuel Vadot		simple-audio-card,cpu {
988bab661aSEmmanuel Vadot			sound-dai = <&i2s1_8ch>;
998bab661aSEmmanuel Vadot		};
1008bab661aSEmmanuel Vadot
1018bab661aSEmmanuel Vadot		simple-audio-card,codec {
1028bab661aSEmmanuel Vadot			sound-dai = <&rk809>;
1038bab661aSEmmanuel Vadot		};
1048bab661aSEmmanuel Vadot	};
1058bab661aSEmmanuel Vadot
1068bab661aSEmmanuel Vadot	vcc3v3_pcie: vcc3v3-pcie-regulator {
1078bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
1088bab661aSEmmanuel Vadot		regulator-name = "vcc3v3_pcie";
1098bab661aSEmmanuel Vadot		enable-active-high;
1108bab661aSEmmanuel Vadot		gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
1118bab661aSEmmanuel Vadot		pinctrl-names = "default";
1128bab661aSEmmanuel Vadot		pinctrl-0 = <&vcc3v3_pcie_en_pin>;
1138bab661aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1148bab661aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1158bab661aSEmmanuel Vadot		startup-delay-us = <5000>;
1168bab661aSEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
1178bab661aSEmmanuel Vadot	};
1188bab661aSEmmanuel Vadot
1198bab661aSEmmanuel Vadot	vcc3v3_sys: vcc3v3-sys-regulator {
1208bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
1218bab661aSEmmanuel Vadot		regulator-name = "vcc3v3_sys";
1228bab661aSEmmanuel Vadot		regulator-always-on;
1238bab661aSEmmanuel Vadot		regulator-boot-on;
1248bab661aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1258bab661aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1268bab661aSEmmanuel Vadot		vin-supply = <&dc_12v>;
1278bab661aSEmmanuel Vadot	};
1288bab661aSEmmanuel Vadot
1298bab661aSEmmanuel Vadot	vcc5v0_sys: vcc5v0-sys-regulator {
1308bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
1318bab661aSEmmanuel Vadot		regulator-name = "vcc5v0_sys";
1328bab661aSEmmanuel Vadot		regulator-always-on;
1338bab661aSEmmanuel Vadot		regulator-boot-on;
1348bab661aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1358bab661aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1368bab661aSEmmanuel Vadot		vin-supply = <&dc_12v>;
1378bab661aSEmmanuel Vadot	};
1388bab661aSEmmanuel Vadot
1398bab661aSEmmanuel Vadot	vcc5v0_usb_host: vcc5v0-usb-host-regulator {
1408bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
1418bab661aSEmmanuel Vadot		regulator-name = "vcc5v0_usb_host";
1428bab661aSEmmanuel Vadot		enable-active-high;
1438bab661aSEmmanuel Vadot		gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
1448bab661aSEmmanuel Vadot		pinctrl-names = "default";
1458bab661aSEmmanuel Vadot		pinctrl-0 = <&vcc5v0_usb_host_en_pin>;
1468bab661aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1478bab661aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1488bab661aSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1498bab661aSEmmanuel Vadot	};
1508bab661aSEmmanuel Vadot
1518bab661aSEmmanuel Vadot	vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
1528bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
1538bab661aSEmmanuel Vadot		regulator-name = "vcc5v0_usb_otg";
1548bab661aSEmmanuel Vadot		enable-active-high;
1558bab661aSEmmanuel Vadot		gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
1568bab661aSEmmanuel Vadot		pinctrl-names = "default";
1578bab661aSEmmanuel Vadot		pinctrl-0 = <&vcc5v0_usb_otg_en_pin>;
1588bab661aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1598bab661aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1608bab661aSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1618bab661aSEmmanuel Vadot	};
1628bab661aSEmmanuel Vadot};
1638bab661aSEmmanuel Vadot
1648bab661aSEmmanuel Vadot&combphy0 {
1658bab661aSEmmanuel Vadot	/* Used for USB3 */
1668bab661aSEmmanuel Vadot	phy-supply = <&vcc5v0_usb_host>;
1678bab661aSEmmanuel Vadot	status = "okay";
1688bab661aSEmmanuel Vadot};
1698bab661aSEmmanuel Vadot
1708bab661aSEmmanuel Vadot&combphy1 {
1718bab661aSEmmanuel Vadot	/* Used for USB3 */
1728bab661aSEmmanuel Vadot	phy-supply = <&vcc5v0_usb_otg>;
1738bab661aSEmmanuel Vadot	status = "okay";
1748bab661aSEmmanuel Vadot};
1758bab661aSEmmanuel Vadot
1768bab661aSEmmanuel Vadot&combphy2 {
1778bab661aSEmmanuel Vadot	/* used for SATA */
1788bab661aSEmmanuel Vadot	status = "okay";
1798bab661aSEmmanuel Vadot};
1808bab661aSEmmanuel Vadot
1818bab661aSEmmanuel Vadot&cpu0 {
1828bab661aSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
1838bab661aSEmmanuel Vadot};
1848bab661aSEmmanuel Vadot
1858bab661aSEmmanuel Vadot&cpu1 {
1868bab661aSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
1878bab661aSEmmanuel Vadot};
1888bab661aSEmmanuel Vadot
1898bab661aSEmmanuel Vadot&cpu2 {
1908bab661aSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
1918bab661aSEmmanuel Vadot};
1928bab661aSEmmanuel Vadot
1938bab661aSEmmanuel Vadot&cpu3 {
1948bab661aSEmmanuel Vadot	cpu-supply = <&vdd_cpu>;
1958bab661aSEmmanuel Vadot};
1968bab661aSEmmanuel Vadot
1978bab661aSEmmanuel Vadot&gmac0 {
1988bab661aSEmmanuel Vadot	assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
1998bab661aSEmmanuel Vadot	assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>;
2008bab661aSEmmanuel Vadot	assigned-clock-rates = <0>, <125000000>;
2018bab661aSEmmanuel Vadot	clock_in_out = "output";
2028bab661aSEmmanuel Vadot	phy-handle = <&rgmii_phy0>;
2038bab661aSEmmanuel Vadot	phy-mode = "rgmii";
2048bab661aSEmmanuel Vadot	phy-supply = <&vcc3v3_sys>;
2058bab661aSEmmanuel Vadot	pinctrl-names = "default";
2068bab661aSEmmanuel Vadot	pinctrl-0 = <&gmac0_miim
2078bab661aSEmmanuel Vadot		     &gmac0_tx_bus2
2088bab661aSEmmanuel Vadot		     &gmac0_rx_bus2
2098bab661aSEmmanuel Vadot		     &gmac0_rgmii_clk
2108bab661aSEmmanuel Vadot		     &gmac0_rgmii_bus>;
2118bab661aSEmmanuel Vadot	status = "okay";
2128bab661aSEmmanuel Vadot
2138bab661aSEmmanuel Vadot	tx_delay = <0x4f>;
2148bab661aSEmmanuel Vadot	rx_delay = <0x2d>;
2158bab661aSEmmanuel Vadot};
2168bab661aSEmmanuel Vadot
2178bab661aSEmmanuel Vadot&gpu {
2188bab661aSEmmanuel Vadot	mali-supply = <&vdd_gpu>;
2198bab661aSEmmanuel Vadot	status = "okay";
2208bab661aSEmmanuel Vadot};
2218bab661aSEmmanuel Vadot
2228bab661aSEmmanuel Vadot&hdmi {
2238bab661aSEmmanuel Vadot	avdd-0v9-supply = <&vdda0v9_image>;
2248bab661aSEmmanuel Vadot	avdd-1v8-supply = <&vcca1v8_image>;
2258bab661aSEmmanuel Vadot	status = "okay";
2268bab661aSEmmanuel Vadot};
2278bab661aSEmmanuel Vadot
2288bab661aSEmmanuel Vadot&hdmi_in {
2298bab661aSEmmanuel Vadot	hdmi_in_vp0: endpoint {
2308bab661aSEmmanuel Vadot		remote-endpoint = <&vp0_out_hdmi>;
2318bab661aSEmmanuel Vadot	};
2328bab661aSEmmanuel Vadot};
2338bab661aSEmmanuel Vadot
2348bab661aSEmmanuel Vadot&hdmi_out {
2358bab661aSEmmanuel Vadot	hdmi_out_con: endpoint {
2368bab661aSEmmanuel Vadot		remote-endpoint = <&hdmi_con_in>;
2378bab661aSEmmanuel Vadot	};
2388bab661aSEmmanuel Vadot};
2398bab661aSEmmanuel Vadot
2408bab661aSEmmanuel Vadot&hdmi_sound {
2418bab661aSEmmanuel Vadot	status = "okay";
2428bab661aSEmmanuel Vadot};
2438bab661aSEmmanuel Vadot
2448bab661aSEmmanuel Vadot&i2c0 {
2458bab661aSEmmanuel Vadot	status = "okay";
2468bab661aSEmmanuel Vadot
2478bab661aSEmmanuel Vadot	vdd_cpu: regulator@1c {
2488bab661aSEmmanuel Vadot		compatible = "tcs,tcs4525";
2498bab661aSEmmanuel Vadot		reg = <0x1c>;
2508bab661aSEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2518bab661aSEmmanuel Vadot		regulator-name = "vdd_cpu";
2528bab661aSEmmanuel Vadot		regulator-always-on;
2538bab661aSEmmanuel Vadot		regulator-boot-on;
2548bab661aSEmmanuel Vadot		regulator-min-microvolt = <800000>;
2558bab661aSEmmanuel Vadot		regulator-max-microvolt = <1150000>;
2568bab661aSEmmanuel Vadot		regulator-ramp-delay = <2300>;
2578bab661aSEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
2588bab661aSEmmanuel Vadot
2598bab661aSEmmanuel Vadot		regulator-state-mem {
2608bab661aSEmmanuel Vadot			regulator-off-in-suspend;
2618bab661aSEmmanuel Vadot		};
2628bab661aSEmmanuel Vadot	};
2638bab661aSEmmanuel Vadot
2648bab661aSEmmanuel Vadot	rk809: pmic@20 {
2658bab661aSEmmanuel Vadot		compatible = "rockchip,rk809";
2668bab661aSEmmanuel Vadot		reg = <0x20>;
2678bab661aSEmmanuel Vadot		interrupt-parent = <&gpio0>;
2688bab661aSEmmanuel Vadot		interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
2698bab661aSEmmanuel Vadot		assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
2708bab661aSEmmanuel Vadot		assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
2718bab661aSEmmanuel Vadot		#clock-cells = <1>;
2728bab661aSEmmanuel Vadot		clock-names = "mclk";
2738bab661aSEmmanuel Vadot		clocks = <&cru I2S1_MCLKOUT_TX>;
2748bab661aSEmmanuel Vadot		pinctrl-names = "default";
2758bab661aSEmmanuel Vadot		pinctrl-0 = <&pmic_int_l>, <&i2s1m0_mclk>;
2768bab661aSEmmanuel Vadot		rockchip,system-power-controller;
2778bab661aSEmmanuel Vadot		#sound-dai-cells = <0>;
2788bab661aSEmmanuel Vadot		vcc1-supply = <&vcc3v3_sys>;
2798bab661aSEmmanuel Vadot		vcc2-supply = <&vcc3v3_sys>;
2808bab661aSEmmanuel Vadot		vcc3-supply = <&vcc3v3_sys>;
2818bab661aSEmmanuel Vadot		vcc4-supply = <&vcc3v3_sys>;
2828bab661aSEmmanuel Vadot		vcc5-supply = <&vcc3v3_sys>;
2838bab661aSEmmanuel Vadot		vcc6-supply = <&vcc3v3_sys>;
2848bab661aSEmmanuel Vadot		vcc7-supply = <&vcc3v3_sys>;
2858bab661aSEmmanuel Vadot		vcc8-supply = <&vcc3v3_sys>;
2868bab661aSEmmanuel Vadot		vcc9-supply = <&vcc3v3_sys>;
2878bab661aSEmmanuel Vadot		wakeup-source;
2888bab661aSEmmanuel Vadot
2898bab661aSEmmanuel Vadot		regulators {
2908bab661aSEmmanuel Vadot			vdd_logic: DCDC_REG1 {
2918bab661aSEmmanuel Vadot				regulator-name = "vdd_logic";
2928bab661aSEmmanuel Vadot				regulator-always-on;
2938bab661aSEmmanuel Vadot				regulator-boot-on;
2948bab661aSEmmanuel Vadot				regulator-initial-mode = <0x2>;
2958bab661aSEmmanuel Vadot				regulator-min-microvolt = <500000>;
2968bab661aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
2978bab661aSEmmanuel Vadot				regulator-ramp-delay = <6001>;
2988bab661aSEmmanuel Vadot
2998bab661aSEmmanuel Vadot				regulator-state-mem {
3008bab661aSEmmanuel Vadot					regulator-off-in-suspend;
3018bab661aSEmmanuel Vadot				};
3028bab661aSEmmanuel Vadot			};
3038bab661aSEmmanuel Vadot
3048bab661aSEmmanuel Vadot			vdd_gpu: DCDC_REG2 {
3058bab661aSEmmanuel Vadot				regulator-name = "vdd_gpu";
3068bab661aSEmmanuel Vadot				regulator-always-on;
3078bab661aSEmmanuel Vadot				regulator-initial-mode = <0x2>;
3088bab661aSEmmanuel Vadot				regulator-min-microvolt = <500000>;
3098bab661aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
3108bab661aSEmmanuel Vadot				regulator-ramp-delay = <6001>;
3118bab661aSEmmanuel Vadot
3128bab661aSEmmanuel Vadot				regulator-state-mem {
3138bab661aSEmmanuel Vadot					regulator-off-in-suspend;
3148bab661aSEmmanuel Vadot				};
3158bab661aSEmmanuel Vadot			};
3168bab661aSEmmanuel Vadot
3178bab661aSEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
3188bab661aSEmmanuel Vadot				regulator-name = "vcc_ddr";
3198bab661aSEmmanuel Vadot				regulator-always-on;
3208bab661aSEmmanuel Vadot				regulator-boot-on;
3218bab661aSEmmanuel Vadot				regulator-initial-mode = <0x2>;
3228bab661aSEmmanuel Vadot
3238bab661aSEmmanuel Vadot				regulator-state-mem {
3248bab661aSEmmanuel Vadot					regulator-on-in-suspend;
3258bab661aSEmmanuel Vadot				};
3268bab661aSEmmanuel Vadot			};
3278bab661aSEmmanuel Vadot
3288bab661aSEmmanuel Vadot			vdd_npu: DCDC_REG4 {
3298bab661aSEmmanuel Vadot				regulator-name = "vdd_npu";
3308bab661aSEmmanuel Vadot				regulator-initial-mode = <0x2>;
3318bab661aSEmmanuel Vadot				regulator-min-microvolt = <500000>;
3328bab661aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
3338bab661aSEmmanuel Vadot				regulator-ramp-delay = <6001>;
3348bab661aSEmmanuel Vadot
3358bab661aSEmmanuel Vadot				regulator-state-mem {
3368bab661aSEmmanuel Vadot					regulator-off-in-suspend;
3378bab661aSEmmanuel Vadot				};
3388bab661aSEmmanuel Vadot			};
3398bab661aSEmmanuel Vadot
3408bab661aSEmmanuel Vadot			vcc_1v8: DCDC_REG5 {
3418bab661aSEmmanuel Vadot				regulator-name = "vcc_1v8";
3428bab661aSEmmanuel Vadot				regulator-always-on;
3438bab661aSEmmanuel Vadot				regulator-boot-on;
3448bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3458bab661aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3468bab661aSEmmanuel Vadot
3478bab661aSEmmanuel Vadot				regulator-state-mem {
3488bab661aSEmmanuel Vadot					regulator-off-in-suspend;
3498bab661aSEmmanuel Vadot				};
3508bab661aSEmmanuel Vadot			};
3518bab661aSEmmanuel Vadot
3528bab661aSEmmanuel Vadot			vdda0v9_image: LDO_REG1 {
3538bab661aSEmmanuel Vadot				regulator-name = "vdda0v9_image";
3548bab661aSEmmanuel Vadot				regulator-always-on;
3558bab661aSEmmanuel Vadot				regulator-min-microvolt = <900000>;
3568bab661aSEmmanuel Vadot				regulator-max-microvolt = <900000>;
3578bab661aSEmmanuel Vadot
3588bab661aSEmmanuel Vadot				regulator-state-mem {
3598bab661aSEmmanuel Vadot					regulator-off-in-suspend;
3608bab661aSEmmanuel Vadot				};
3618bab661aSEmmanuel Vadot			};
3628bab661aSEmmanuel Vadot
3638bab661aSEmmanuel Vadot			vdda_0v9: LDO_REG2 {
3648bab661aSEmmanuel Vadot				regulator-name = "vdda_0v9";
3658bab661aSEmmanuel Vadot				regulator-always-on;
3668bab661aSEmmanuel Vadot				regulator-boot-on;
3678bab661aSEmmanuel Vadot				regulator-min-microvolt = <900000>;
3688bab661aSEmmanuel Vadot				regulator-max-microvolt = <900000>;
3698bab661aSEmmanuel Vadot
3708bab661aSEmmanuel Vadot				regulator-state-mem {
3718bab661aSEmmanuel Vadot					regulator-off-in-suspend;
3728bab661aSEmmanuel Vadot				};
3738bab661aSEmmanuel Vadot			};
3748bab661aSEmmanuel Vadot
3758bab661aSEmmanuel Vadot			vdda0v9_pmu: LDO_REG3 {
3768bab661aSEmmanuel Vadot				regulator-name = "vdda0v9_pmu";
3778bab661aSEmmanuel Vadot				regulator-always-on;
3788bab661aSEmmanuel Vadot				regulator-boot-on;
3798bab661aSEmmanuel Vadot				regulator-min-microvolt = <900000>;
3808bab661aSEmmanuel Vadot				regulator-max-microvolt = <900000>;
3818bab661aSEmmanuel Vadot
3828bab661aSEmmanuel Vadot				regulator-state-mem {
3838bab661aSEmmanuel Vadot					regulator-on-in-suspend;
3848bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <900000>;
3858bab661aSEmmanuel Vadot				};
3868bab661aSEmmanuel Vadot			};
3878bab661aSEmmanuel Vadot
3888bab661aSEmmanuel Vadot			vccio_acodec: LDO_REG4 {
3898bab661aSEmmanuel Vadot				regulator-name = "vccio_acodec";
3908bab661aSEmmanuel Vadot				regulator-always-on;
3918bab661aSEmmanuel Vadot				regulator-boot-on;
3928bab661aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
3938bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
3948bab661aSEmmanuel Vadot
3958bab661aSEmmanuel Vadot				regulator-state-mem {
3968bab661aSEmmanuel Vadot					regulator-off-in-suspend;
3978bab661aSEmmanuel Vadot				};
3988bab661aSEmmanuel Vadot			};
3998bab661aSEmmanuel Vadot
4008bab661aSEmmanuel Vadot			vccio_sd: LDO_REG5 {
4018bab661aSEmmanuel Vadot				regulator-name = "vccio_sd";
4028bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
4038bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
4048bab661aSEmmanuel Vadot
4058bab661aSEmmanuel Vadot				regulator-state-mem {
4068bab661aSEmmanuel Vadot					regulator-off-in-suspend;
4078bab661aSEmmanuel Vadot				};
4088bab661aSEmmanuel Vadot			};
4098bab661aSEmmanuel Vadot
4108bab661aSEmmanuel Vadot			vcc3v3_pmu: LDO_REG6 {
4118bab661aSEmmanuel Vadot				regulator-name = "vcc3v3_pmu";
4128bab661aSEmmanuel Vadot				regulator-always-on;
4138bab661aSEmmanuel Vadot				regulator-boot-on;
4148bab661aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
4158bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
4168bab661aSEmmanuel Vadot
4178bab661aSEmmanuel Vadot				regulator-state-mem {
4188bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4198bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
4208bab661aSEmmanuel Vadot				};
4218bab661aSEmmanuel Vadot			};
4228bab661aSEmmanuel Vadot
4238bab661aSEmmanuel Vadot			vcca_1v8: LDO_REG7 {
4248bab661aSEmmanuel Vadot				regulator-name = "vcca_1v8";
4258bab661aSEmmanuel Vadot				regulator-always-on;
4268bab661aSEmmanuel Vadot				regulator-boot-on;
4278bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
4288bab661aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
4298bab661aSEmmanuel Vadot
4308bab661aSEmmanuel Vadot				regulator-state-mem {
4318bab661aSEmmanuel Vadot					regulator-off-in-suspend;
4328bab661aSEmmanuel Vadot				};
4338bab661aSEmmanuel Vadot			};
4348bab661aSEmmanuel Vadot
4358bab661aSEmmanuel Vadot			vcca1v8_pmu: LDO_REG8 {
4368bab661aSEmmanuel Vadot				regulator-name = "vcca1v8_pmu";
4378bab661aSEmmanuel Vadot				regulator-always-on;
4388bab661aSEmmanuel Vadot				regulator-boot-on;
4398bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
4408bab661aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
4418bab661aSEmmanuel Vadot
4428bab661aSEmmanuel Vadot				regulator-state-mem {
4438bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4448bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
4458bab661aSEmmanuel Vadot				};
4468bab661aSEmmanuel Vadot			};
4478bab661aSEmmanuel Vadot
4488bab661aSEmmanuel Vadot			vcca1v8_image: LDO_REG9 {
4498bab661aSEmmanuel Vadot				regulator-name = "vcca1v8_image";
4508bab661aSEmmanuel Vadot				regulator-always-on;
4518bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
4528bab661aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
4538bab661aSEmmanuel Vadot
4548bab661aSEmmanuel Vadot				regulator-state-mem {
4558bab661aSEmmanuel Vadot					regulator-off-in-suspend;
4568bab661aSEmmanuel Vadot				};
4578bab661aSEmmanuel Vadot			};
4588bab661aSEmmanuel Vadot
4598bab661aSEmmanuel Vadot			vcc_3v3: SWITCH_REG1 {
4608bab661aSEmmanuel Vadot				regulator-name = "vcc_3v3";
4618bab661aSEmmanuel Vadot				regulator-always-on;
4628bab661aSEmmanuel Vadot				regulator-boot-on;
4638bab661aSEmmanuel Vadot
4648bab661aSEmmanuel Vadot				regulator-state-mem {
4658bab661aSEmmanuel Vadot					regulator-off-in-suspend;
4668bab661aSEmmanuel Vadot				};
4678bab661aSEmmanuel Vadot			};
4688bab661aSEmmanuel Vadot
4698bab661aSEmmanuel Vadot			vcc3v3_sd: SWITCH_REG2 {
4708bab661aSEmmanuel Vadot				regulator-name = "vcc3v3_sd";
4718bab661aSEmmanuel Vadot
4728bab661aSEmmanuel Vadot				regulator-state-mem {
4738bab661aSEmmanuel Vadot					regulator-off-in-suspend;
4748bab661aSEmmanuel Vadot				};
4758bab661aSEmmanuel Vadot			};
4768bab661aSEmmanuel Vadot		};
4778bab661aSEmmanuel Vadot	};
4788bab661aSEmmanuel Vadot};
4798bab661aSEmmanuel Vadot
4808bab661aSEmmanuel Vadot&i2s0_8ch {
4818bab661aSEmmanuel Vadot	status = "okay";
4828bab661aSEmmanuel Vadot};
4838bab661aSEmmanuel Vadot
4848bab661aSEmmanuel Vadot&i2s1_8ch {
4858bab661aSEmmanuel Vadot	rockchip,trcm-sync-tx-only;
4868bab661aSEmmanuel Vadot	status = "okay";
4878bab661aSEmmanuel Vadot};
4888bab661aSEmmanuel Vadot
4898bab661aSEmmanuel Vadot&mdio0 {
4908bab661aSEmmanuel Vadot	rgmii_phy0: ethernet-phy@0 {
4918bab661aSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
4928bab661aSEmmanuel Vadot		reg = <0x0>;
4938bab661aSEmmanuel Vadot		reset-assert-us = <20000>;
4948bab661aSEmmanuel Vadot		reset-deassert-us = <100000>;
4958bab661aSEmmanuel Vadot		reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
4968bab661aSEmmanuel Vadot	};
4978bab661aSEmmanuel Vadot};
4988bab661aSEmmanuel Vadot
4998bab661aSEmmanuel Vadot&pcie30phy {
5008bab661aSEmmanuel Vadot	status = "okay";
5018bab661aSEmmanuel Vadot};
5028bab661aSEmmanuel Vadot
5038bab661aSEmmanuel Vadot&pcie3x2 {
5048bab661aSEmmanuel Vadot	pinctrl-names = "default";
5058bab661aSEmmanuel Vadot	pinctrl-0 = <&pcie_reset_pin>;
5068bab661aSEmmanuel Vadot	reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
5078bab661aSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie>;
5088bab661aSEmmanuel Vadot	status = "okay";
5098bab661aSEmmanuel Vadot};
5108bab661aSEmmanuel Vadot
5118bab661aSEmmanuel Vadot&pinctrl {
5128bab661aSEmmanuel Vadot	fspi {
5138bab661aSEmmanuel Vadot		fspi_dual_io_pins: fspi-dual-io-pins {
5148bab661aSEmmanuel Vadot			rockchip,pins =
5158bab661aSEmmanuel Vadot				/* fspi_clk */
5168bab661aSEmmanuel Vadot				<1 RK_PD0 1 &pcfg_pull_none>,
5178bab661aSEmmanuel Vadot				/* fspi_cs0n */
5188bab661aSEmmanuel Vadot				<1 RK_PD3 1 &pcfg_pull_none>,
5198bab661aSEmmanuel Vadot				/* fspi_d0 */
5208bab661aSEmmanuel Vadot				<1 RK_PD1 1 &pcfg_pull_none>,
5218bab661aSEmmanuel Vadot				/* fspi_d1 */
5228bab661aSEmmanuel Vadot				<1 RK_PD2 1 &pcfg_pull_none>;
5238bab661aSEmmanuel Vadot		};
5248bab661aSEmmanuel Vadot	};
5258bab661aSEmmanuel Vadot
5268bab661aSEmmanuel Vadot	ir-receiver {
5278bab661aSEmmanuel Vadot		ir_receiver_pin: ir-receiver-pin {
5288bab661aSEmmanuel Vadot			/* external pullup to VCC3V3_SYS */
5298bab661aSEmmanuel Vadot			rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
5308bab661aSEmmanuel Vadot		};
5318bab661aSEmmanuel Vadot	};
5328bab661aSEmmanuel Vadot
5338bab661aSEmmanuel Vadot	leds {
5348bab661aSEmmanuel Vadot		led_power_pin: led-power-pin {
5358bab661aSEmmanuel Vadot			rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
5368bab661aSEmmanuel Vadot		};
5378bab661aSEmmanuel Vadot		led_work_pin: led-work-pin {
5388bab661aSEmmanuel Vadot			rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
5398bab661aSEmmanuel Vadot		};
5408bab661aSEmmanuel Vadot	};
5418bab661aSEmmanuel Vadot
5428bab661aSEmmanuel Vadot	pcie {
5438bab661aSEmmanuel Vadot		pcie_reset_pin: pcie-reset-pin {
5448bab661aSEmmanuel Vadot			rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
5458bab661aSEmmanuel Vadot		};
5468bab661aSEmmanuel Vadot		vcc3v3_pcie_en_pin: vcc3v3-pcie-en-pin {
5478bab661aSEmmanuel Vadot			rockchip,pins = <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
5488bab661aSEmmanuel Vadot		};
5498bab661aSEmmanuel Vadot	};
5508bab661aSEmmanuel Vadot
5518bab661aSEmmanuel Vadot	pmic {
5528bab661aSEmmanuel Vadot		pmic_int_l: pmic-int-l {
5538bab661aSEmmanuel Vadot			rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
5548bab661aSEmmanuel Vadot		};
5558bab661aSEmmanuel Vadot	};
5568bab661aSEmmanuel Vadot
5578bab661aSEmmanuel Vadot	rk809 {
5588bab661aSEmmanuel Vadot		hp_det_pin: hp-det-pin {
5598bab661aSEmmanuel Vadot			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
5608bab661aSEmmanuel Vadot		};
5618bab661aSEmmanuel Vadot	};
5628bab661aSEmmanuel Vadot
5638bab661aSEmmanuel Vadot	usb {
5648bab661aSEmmanuel Vadot		vcc5v0_usb_host_en_pin: vcc5v0-usb-host-en-pin {
5658bab661aSEmmanuel Vadot			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
5668bab661aSEmmanuel Vadot		};
5678bab661aSEmmanuel Vadot		vcc5v0_usb_otg_en_pin: vcc5v0-usb-dr-en-pin {
5688bab661aSEmmanuel Vadot			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
5698bab661aSEmmanuel Vadot		};
5708bab661aSEmmanuel Vadot	};
5718bab661aSEmmanuel Vadot};
5728bab661aSEmmanuel Vadot
5738bab661aSEmmanuel Vadot&pmu_io_domains {
5748bab661aSEmmanuel Vadot	pmuio1-supply = <&vcc3v3_pmu>;
5758bab661aSEmmanuel Vadot	pmuio2-supply = <&vcc3v3_pmu>;
5768bab661aSEmmanuel Vadot	vccio1-supply = <&vccio_acodec>;
5778bab661aSEmmanuel Vadot	vccio2-supply = <&vcc_1v8>;
5788bab661aSEmmanuel Vadot	vccio3-supply = <&vccio_sd>;
5798bab661aSEmmanuel Vadot	vccio4-supply = <&vcc_1v8>;
5808bab661aSEmmanuel Vadot	vccio5-supply = <&vcc_3v3>;
5818bab661aSEmmanuel Vadot	vccio6-supply = <&vcc_3v3>;
5828bab661aSEmmanuel Vadot	vccio7-supply = <&vcc_3v3>;
5838bab661aSEmmanuel Vadot	status = "okay";
5848bab661aSEmmanuel Vadot};
5858bab661aSEmmanuel Vadot
5868bab661aSEmmanuel Vadot&saradc {
5878bab661aSEmmanuel Vadot	vref-supply = <&vcca_1v8>;
5888bab661aSEmmanuel Vadot	status = "okay";
5898bab661aSEmmanuel Vadot};
5908bab661aSEmmanuel Vadot
5918bab661aSEmmanuel Vadot&sata2 {
5928bab661aSEmmanuel Vadot	status = "okay";
5938bab661aSEmmanuel Vadot};
5948bab661aSEmmanuel Vadot
5958bab661aSEmmanuel Vadot&sdhci {
5968bab661aSEmmanuel Vadot	bus-width = <8>;
5978bab661aSEmmanuel Vadot	max-frequency = <200000000>;
5988bab661aSEmmanuel Vadot	non-removable;
5998bab661aSEmmanuel Vadot	pinctrl-names = "default";
6008bab661aSEmmanuel Vadot	pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe &emmc_rstnout>;
6018bab661aSEmmanuel Vadot	vmmc-supply = <&vcc_3v3>;
6028bab661aSEmmanuel Vadot	vqmmc-supply = <&vcc_1v8>;
6038bab661aSEmmanuel Vadot	status = "okay";
6048bab661aSEmmanuel Vadot};
6058bab661aSEmmanuel Vadot
6068bab661aSEmmanuel Vadot&sdmmc0 {
6078bab661aSEmmanuel Vadot	bus-width = <4>;
6088bab661aSEmmanuel Vadot	cap-sd-highspeed;
6098bab661aSEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
6108bab661aSEmmanuel Vadot	disable-wp;
6118bab661aSEmmanuel Vadot	pinctrl-names = "default";
6128bab661aSEmmanuel Vadot	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
6138bab661aSEmmanuel Vadot	sd-uhs-sdr50;
6148bab661aSEmmanuel Vadot	vmmc-supply = <&vcc3v3_sd>;
6158bab661aSEmmanuel Vadot	vqmmc-supply = <&vccio_sd>;
6168bab661aSEmmanuel Vadot	status = "okay";
6178bab661aSEmmanuel Vadot};
6188bab661aSEmmanuel Vadot
6198bab661aSEmmanuel Vadot&sfc {
6208bab661aSEmmanuel Vadot	/* Dual I/O mode as the D2 pin conflicts with the eMMC */
6218bab661aSEmmanuel Vadot	pinctrl-0 = <&fspi_dual_io_pins>;
6228bab661aSEmmanuel Vadot	pinctrl-names = "default";
6238bab661aSEmmanuel Vadot	#address-cells = <1>;
6248bab661aSEmmanuel Vadot	#size-cells = <0>;
6258bab661aSEmmanuel Vadot	status = "okay";
6268bab661aSEmmanuel Vadot
6278bab661aSEmmanuel Vadot	flash@0 {
6288bab661aSEmmanuel Vadot		compatible = "jedec,spi-nor";
6298bab661aSEmmanuel Vadot		reg = <0>;
6308bab661aSEmmanuel Vadot		spi-max-frequency = <100000000>;
6318bab661aSEmmanuel Vadot		spi-rx-bus-width = <2>;
6328bab661aSEmmanuel Vadot		spi-tx-bus-width = <1>;
6338bab661aSEmmanuel Vadot
6348bab661aSEmmanuel Vadot		partitions {
6358bab661aSEmmanuel Vadot			compatible = "fixed-partitions";
6368bab661aSEmmanuel Vadot			#address-cells = <1>;
6378bab661aSEmmanuel Vadot			#size-cells = <1>;
6388bab661aSEmmanuel Vadot
6398bab661aSEmmanuel Vadot			partition@0 {
6408bab661aSEmmanuel Vadot				label = "SPL";
6418bab661aSEmmanuel Vadot				reg = <0x0 0xe0000>;
6428bab661aSEmmanuel Vadot			};
6438bab661aSEmmanuel Vadot			partition@e0000 {
6448bab661aSEmmanuel Vadot				label = "U-Boot Env";
6458bab661aSEmmanuel Vadot				reg = <0xe0000 0x20000>;
6468bab661aSEmmanuel Vadot			};
6478bab661aSEmmanuel Vadot			partition@100000 {
6488bab661aSEmmanuel Vadot				label = "U-Boot";
6498bab661aSEmmanuel Vadot				reg = <0x100000 0x200000>;
6508bab661aSEmmanuel Vadot			};
6518bab661aSEmmanuel Vadot			partition@300000 {
6528bab661aSEmmanuel Vadot				label = "splash";
6538bab661aSEmmanuel Vadot				reg = <0x300000 0x100000>;
6548bab661aSEmmanuel Vadot			};
6558bab661aSEmmanuel Vadot			partition@400000 {
6568bab661aSEmmanuel Vadot				label = "Filesystem";
6578bab661aSEmmanuel Vadot				reg = <0x400000 0xc00000>;
6588bab661aSEmmanuel Vadot			};
6598bab661aSEmmanuel Vadot		};
6608bab661aSEmmanuel Vadot	};
6618bab661aSEmmanuel Vadot};
6628bab661aSEmmanuel Vadot
6638bab661aSEmmanuel Vadot&tsadc {
6648bab661aSEmmanuel Vadot	rockchip,hw-tshut-mode = <1>;
6658bab661aSEmmanuel Vadot	rockchip,hw-tshut-polarity = <0>;
6668bab661aSEmmanuel Vadot	status = "okay";
6678bab661aSEmmanuel Vadot};
6688bab661aSEmmanuel Vadot
6698bab661aSEmmanuel Vadot&uart2 {
6708bab661aSEmmanuel Vadot	status = "okay";
6718bab661aSEmmanuel Vadot};
6728bab661aSEmmanuel Vadot
6738bab661aSEmmanuel Vadot&usb_host0_ehci {
6748bab661aSEmmanuel Vadot	status = "okay";
6758bab661aSEmmanuel Vadot};
6768bab661aSEmmanuel Vadot
6778bab661aSEmmanuel Vadot&usb_host0_ohci {
6788bab661aSEmmanuel Vadot	status = "okay";
6798bab661aSEmmanuel Vadot};
6808bab661aSEmmanuel Vadot
6818bab661aSEmmanuel Vadot&usb_host0_xhci {
6828bab661aSEmmanuel Vadot	dr_mode = "host";
6838bab661aSEmmanuel Vadot	status = "okay";
6848bab661aSEmmanuel Vadot};
6858bab661aSEmmanuel Vadot
6868bab661aSEmmanuel Vadot&usb_host1_ehci {
6878bab661aSEmmanuel Vadot	status = "okay";
6888bab661aSEmmanuel Vadot};
6898bab661aSEmmanuel Vadot
6908bab661aSEmmanuel Vadot&usb_host1_ohci {
6918bab661aSEmmanuel Vadot	status = "okay";
6928bab661aSEmmanuel Vadot};
6938bab661aSEmmanuel Vadot
6948bab661aSEmmanuel Vadot&usb_host1_xhci {
6958bab661aSEmmanuel Vadot	status = "okay";
6968bab661aSEmmanuel Vadot};
6978bab661aSEmmanuel Vadot
6988bab661aSEmmanuel Vadot&usb2phy0 {
6998bab661aSEmmanuel Vadot	status = "okay";
7008bab661aSEmmanuel Vadot};
7018bab661aSEmmanuel Vadot
7028bab661aSEmmanuel Vadot&usb2phy0_host {
7038bab661aSEmmanuel Vadot	phy-supply = <&vcc5v0_usb_host>;
7048bab661aSEmmanuel Vadot	status = "okay";
7058bab661aSEmmanuel Vadot};
7068bab661aSEmmanuel Vadot
7078bab661aSEmmanuel Vadot&usb2phy0_otg {
7088bab661aSEmmanuel Vadot	phy-supply = <&vcc5v0_usb_otg>;
7098bab661aSEmmanuel Vadot	status = "okay";
7108bab661aSEmmanuel Vadot};
7118bab661aSEmmanuel Vadot
7128bab661aSEmmanuel Vadot&usb2phy1 {
7138bab661aSEmmanuel Vadot	status = "okay";
7148bab661aSEmmanuel Vadot};
7158bab661aSEmmanuel Vadot
7168bab661aSEmmanuel Vadot&usb2phy1_host {
7178bab661aSEmmanuel Vadot	phy-supply = <&vcc5v0_usb_host>;
7188bab661aSEmmanuel Vadot	status = "okay";
7198bab661aSEmmanuel Vadot};
7208bab661aSEmmanuel Vadot
7218bab661aSEmmanuel Vadot&usb2phy1_otg {
7228bab661aSEmmanuel Vadot	phy-supply = <&vcc5v0_usb_host>;
7238bab661aSEmmanuel Vadot	status = "okay";
7248bab661aSEmmanuel Vadot};
7258bab661aSEmmanuel Vadot
7268bab661aSEmmanuel Vadot&vop {
7278bab661aSEmmanuel Vadot	assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
7288bab661aSEmmanuel Vadot	assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
7298bab661aSEmmanuel Vadot	status = "okay";
7308bab661aSEmmanuel Vadot};
7318bab661aSEmmanuel Vadot
7328bab661aSEmmanuel Vadot&vop_mmu {
7338bab661aSEmmanuel Vadot	status = "okay";
7348bab661aSEmmanuel Vadot};
7358bab661aSEmmanuel Vadot
7368bab661aSEmmanuel Vadot&vp0 {
7378bab661aSEmmanuel Vadot	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
7388bab661aSEmmanuel Vadot		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
7398bab661aSEmmanuel Vadot		remote-endpoint = <&hdmi_in_vp0>;
7408bab661aSEmmanuel Vadot	};
7418bab661aSEmmanuel Vadot};
742