xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588-orangepi-5.dtsi (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
12846c905SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
22846c905SEmmanuel Vadot/*
32846c905SEmmanuel Vadot * Copyright (c) 2023 Ondřej Jirman <megi@xff.cz>
42846c905SEmmanuel Vadot */
52846c905SEmmanuel Vadot
62846c905SEmmanuel Vadot/dts-v1/;
72846c905SEmmanuel Vadot
82846c905SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
92846c905SEmmanuel Vadot#include <dt-bindings/leds/common.h>
102846c905SEmmanuel Vadot#include <dt-bindings/input/input.h>
112846c905SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
122846c905SEmmanuel Vadot#include <dt-bindings/usb/pd.h>
132846c905SEmmanuel Vadot#include "rk3588.dtsi"
142846c905SEmmanuel Vadot
152846c905SEmmanuel Vadot/ {
162846c905SEmmanuel Vadot	aliases {
172846c905SEmmanuel Vadot		mmc0 = &sdhci;
182846c905SEmmanuel Vadot		mmc1 = &sdmmc;
192846c905SEmmanuel Vadot	};
202846c905SEmmanuel Vadot
212846c905SEmmanuel Vadot	chosen {
222846c905SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
232846c905SEmmanuel Vadot	};
242846c905SEmmanuel Vadot
252846c905SEmmanuel Vadot	adc-keys-0 {
262846c905SEmmanuel Vadot		compatible = "adc-keys";
272846c905SEmmanuel Vadot		io-channels = <&saradc 0>;
282846c905SEmmanuel Vadot		io-channel-names = "buttons";
292846c905SEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
302846c905SEmmanuel Vadot		poll-interval = <100>;
312846c905SEmmanuel Vadot
322846c905SEmmanuel Vadot		button-maskrom {
332846c905SEmmanuel Vadot			label = "Mask Rom";
342846c905SEmmanuel Vadot			linux,code = <KEY_SETUP>;
352846c905SEmmanuel Vadot			press-threshold-microvolt = <2000>;
362846c905SEmmanuel Vadot		};
372846c905SEmmanuel Vadot	};
382846c905SEmmanuel Vadot
392846c905SEmmanuel Vadot	recovery_button: adc-keys-1 {
402846c905SEmmanuel Vadot		compatible = "adc-keys";
412846c905SEmmanuel Vadot		io-channels = <&saradc 1>;
422846c905SEmmanuel Vadot		io-channel-names = "buttons";
432846c905SEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
442846c905SEmmanuel Vadot		poll-interval = <100>;
452846c905SEmmanuel Vadot		status = "disabled";
462846c905SEmmanuel Vadot
472846c905SEmmanuel Vadot		button-recovery {
482846c905SEmmanuel Vadot			label = "Recovery";
492846c905SEmmanuel Vadot			linux,code = <KEY_VENDOR>;
502846c905SEmmanuel Vadot			press-threshold-microvolt = <2000>;
512846c905SEmmanuel Vadot		};
522846c905SEmmanuel Vadot	};
532846c905SEmmanuel Vadot
542846c905SEmmanuel Vadot	speaker_amp: speaker-audio-amplifier {
552846c905SEmmanuel Vadot		compatible = "simple-audio-amplifier";
562846c905SEmmanuel Vadot		sound-name-prefix = "Speaker Amp";
572846c905SEmmanuel Vadot		status = "disabled";
582846c905SEmmanuel Vadot	};
592846c905SEmmanuel Vadot
602846c905SEmmanuel Vadot	headphone_amp: headphones-audio-amplifier {
612846c905SEmmanuel Vadot		compatible = "simple-audio-amplifier";
622846c905SEmmanuel Vadot		sound-name-prefix = "Headphones Amp";
632846c905SEmmanuel Vadot	};
642846c905SEmmanuel Vadot
652846c905SEmmanuel Vadot	gpio-leds {
662846c905SEmmanuel Vadot		compatible = "gpio-leds";
672846c905SEmmanuel Vadot
682846c905SEmmanuel Vadot		led_blue_gpio: led {
692846c905SEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
702846c905SEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
712846c905SEmmanuel Vadot			function-enumerator = <1>;
722846c905SEmmanuel Vadot			status = "disabled";
732846c905SEmmanuel Vadot		};
742846c905SEmmanuel Vadot	};
752846c905SEmmanuel Vadot
762846c905SEmmanuel Vadot	fan: pwm-fan {
772846c905SEmmanuel Vadot		compatible = "pwm-fan";
782846c905SEmmanuel Vadot		cooling-levels = <0 70 75 80 100>;
792846c905SEmmanuel Vadot		fan-supply = <&vcc5v0_sys>;
802846c905SEmmanuel Vadot		#cooling-cells = <2>;
812846c905SEmmanuel Vadot	};
822846c905SEmmanuel Vadot
832846c905SEmmanuel Vadot	pwm-leds {
842846c905SEmmanuel Vadot		compatible = "pwm-leds";
852846c905SEmmanuel Vadot
862846c905SEmmanuel Vadot		led_blue_pwm: led-1 {
872846c905SEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
882846c905SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
892846c905SEmmanuel Vadot			linux,default-trigger = "heartbeat";
902846c905SEmmanuel Vadot			max-brightness = <255>;
912846c905SEmmanuel Vadot			status = "disabled";
922846c905SEmmanuel Vadot		};
932846c905SEmmanuel Vadot
942846c905SEmmanuel Vadot		led_green_pwm: led-2 {
952846c905SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
962846c905SEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
972846c905SEmmanuel Vadot			function-enumerator = <2>;
982846c905SEmmanuel Vadot			max-brightness = <255>;
992846c905SEmmanuel Vadot		};
1002846c905SEmmanuel Vadot	};
1012846c905SEmmanuel Vadot
1022846c905SEmmanuel Vadot	rfkill {
1032846c905SEmmanuel Vadot		compatible = "rfkill-gpio";
1042846c905SEmmanuel Vadot		label = "rfkill-pcie-wlan";
1052846c905SEmmanuel Vadot		radio-type = "wlan";
1062846c905SEmmanuel Vadot		shutdown-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
1072846c905SEmmanuel Vadot	};
1082846c905SEmmanuel Vadot
1092846c905SEmmanuel Vadot	analog_sound: sound {
1102846c905SEmmanuel Vadot		compatible = "simple-audio-card";
1112846c905SEmmanuel Vadot		simple-audio-card,name = "Analog";
1122846c905SEmmanuel Vadot		simple-audio-card,format = "i2s";
1132846c905SEmmanuel Vadot		simple-audio-card,mclk-fs = <256>;
1142846c905SEmmanuel Vadot		simple-audio-card,bitclock-master = <&daicpu>;
1152846c905SEmmanuel Vadot		simple-audio-card,frame-master = <&daicpu>;
1162846c905SEmmanuel Vadot		/*TODO: SARADC_IN3 is used as MIC detection / key input */
1172846c905SEmmanuel Vadot
1182846c905SEmmanuel Vadot		daicpu: simple-audio-card,cpu {
1192846c905SEmmanuel Vadot			sound-dai = <&i2s0_8ch>;
1202846c905SEmmanuel Vadot			system-clock-frequency = <12288000>;
1212846c905SEmmanuel Vadot		};
1222846c905SEmmanuel Vadot
1232846c905SEmmanuel Vadot		daicodec: simple-audio-card,codec {
1242846c905SEmmanuel Vadot			sound-dai = <&es8388>;
1252846c905SEmmanuel Vadot			system-clock-frequency = <12288000>;
1262846c905SEmmanuel Vadot		};
1272846c905SEmmanuel Vadot	};
1282846c905SEmmanuel Vadot
1292846c905SEmmanuel Vadot	vcc3v3_pcie30: regulator-vcc3v3-pcie30 {
1302846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1312846c905SEmmanuel Vadot		enable-active-high;
1322846c905SEmmanuel Vadot		gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>;
1332846c905SEmmanuel Vadot		regulator-name = "vcc3v3_pcie30";
1342846c905SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1352846c905SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1362846c905SEmmanuel Vadot		startup-delay-us = <5000>;
1372846c905SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1382846c905SEmmanuel Vadot	};
1392846c905SEmmanuel Vadot
1402846c905SEmmanuel Vadot	vcc3v3_pcie_eth: regulator-vcc3v3-pcie-eth {
1412846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1422846c905SEmmanuel Vadot		regulator-name = "vcc3v3_pcie_eth";
1432846c905SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1442846c905SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1452846c905SEmmanuel Vadot		startup-delay-us = <50000>;
1462846c905SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
1472846c905SEmmanuel Vadot	};
1482846c905SEmmanuel Vadot
1492846c905SEmmanuel Vadot	vcc3v3_wf: regulator-vcc3v3-wf {
1502846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1512846c905SEmmanuel Vadot		enable-active-high;
1522846c905SEmmanuel Vadot		gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
1532846c905SEmmanuel Vadot		regulator-name = "vcc3v3_wf";
1542846c905SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1552846c905SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1562846c905SEmmanuel Vadot		startup-delay-us = <50000>;
1572846c905SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1582846c905SEmmanuel Vadot		status = "disabled";
1592846c905SEmmanuel Vadot	};
1602846c905SEmmanuel Vadot
1612846c905SEmmanuel Vadot	vcc5v0_sys: regulator-vcc5v0-sys {
1622846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1632846c905SEmmanuel Vadot		regulator-name = "vcc5v0_sys";
1642846c905SEmmanuel Vadot		regulator-always-on;
1652846c905SEmmanuel Vadot		regulator-boot-on;
1662846c905SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1672846c905SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1682846c905SEmmanuel Vadot	};
1692846c905SEmmanuel Vadot
1702846c905SEmmanuel Vadot	vcc5v0_usb20: regulator-vcc5v0-usb20 {
1712846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1722846c905SEmmanuel Vadot		enable-active-high;
1732846c905SEmmanuel Vadot		regulator-name = "vcc5v0_usb20";
1742846c905SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1752846c905SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1762846c905SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1772846c905SEmmanuel Vadot	};
1782846c905SEmmanuel Vadot};
1792846c905SEmmanuel Vadot
1802846c905SEmmanuel Vadot&combphy2_psu {
1812846c905SEmmanuel Vadot	status = "okay";
1822846c905SEmmanuel Vadot};
1832846c905SEmmanuel Vadot
1842846c905SEmmanuel Vadot&cpu_b0 {
1852846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
1862846c905SEmmanuel Vadot};
1872846c905SEmmanuel Vadot
1882846c905SEmmanuel Vadot&cpu_b1 {
1892846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
1902846c905SEmmanuel Vadot};
1912846c905SEmmanuel Vadot
1922846c905SEmmanuel Vadot&cpu_b2 {
1932846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
1942846c905SEmmanuel Vadot};
1952846c905SEmmanuel Vadot
1962846c905SEmmanuel Vadot&cpu_b3 {
1972846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
1982846c905SEmmanuel Vadot};
1992846c905SEmmanuel Vadot
2002846c905SEmmanuel Vadot&cpu_l0 {
2012846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2022846c905SEmmanuel Vadot};
2032846c905SEmmanuel Vadot
2042846c905SEmmanuel Vadot&cpu_l1 {
2052846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2062846c905SEmmanuel Vadot};
2072846c905SEmmanuel Vadot
2082846c905SEmmanuel Vadot&cpu_l2 {
2092846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2102846c905SEmmanuel Vadot};
2112846c905SEmmanuel Vadot
2122846c905SEmmanuel Vadot&cpu_l3 {
2132846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2142846c905SEmmanuel Vadot};
2152846c905SEmmanuel Vadot
2162846c905SEmmanuel Vadot&gpu {
2172846c905SEmmanuel Vadot	mali-supply = <&vdd_gpu_s0>;
2182846c905SEmmanuel Vadot	status = "okay";
2192846c905SEmmanuel Vadot};
2202846c905SEmmanuel Vadot
2212846c905SEmmanuel Vadot&i2c0 {
2222846c905SEmmanuel Vadot	pinctrl-names = "default";
2232846c905SEmmanuel Vadot	pinctrl-0 = <&i2c0m2_xfer>;
2242846c905SEmmanuel Vadot	status = "okay";
2252846c905SEmmanuel Vadot
2262846c905SEmmanuel Vadot	vdd_cpu_big0_s0: regulator@42 {
2272846c905SEmmanuel Vadot		compatible = "rockchip,rk8602";
2282846c905SEmmanuel Vadot		reg = <0x42>;
2292846c905SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2302846c905SEmmanuel Vadot		regulator-name = "vdd_cpu_big0_s0";
2312846c905SEmmanuel Vadot		regulator-always-on;
2322846c905SEmmanuel Vadot		regulator-boot-on;
2332846c905SEmmanuel Vadot		regulator-min-microvolt = <550000>;
2342846c905SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
2352846c905SEmmanuel Vadot		regulator-ramp-delay = <2300>;
2362846c905SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
2372846c905SEmmanuel Vadot
2382846c905SEmmanuel Vadot		regulator-state-mem {
2392846c905SEmmanuel Vadot			regulator-off-in-suspend;
2402846c905SEmmanuel Vadot		};
2412846c905SEmmanuel Vadot	};
2422846c905SEmmanuel Vadot
2432846c905SEmmanuel Vadot	vdd_cpu_big1_s0: regulator@43 {
2442846c905SEmmanuel Vadot		compatible = "rockchip,rk8603", "rockchip,rk8602";
2452846c905SEmmanuel Vadot		reg = <0x43>;
2462846c905SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2472846c905SEmmanuel Vadot		regulator-name = "vdd_cpu_big1_s0";
2482846c905SEmmanuel Vadot		regulator-always-on;
2492846c905SEmmanuel Vadot		regulator-boot-on;
2502846c905SEmmanuel Vadot		regulator-min-microvolt = <550000>;
2512846c905SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
2522846c905SEmmanuel Vadot		regulator-ramp-delay = <2300>;
2532846c905SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
2542846c905SEmmanuel Vadot
2552846c905SEmmanuel Vadot		regulator-state-mem {
2562846c905SEmmanuel Vadot			regulator-off-in-suspend;
2572846c905SEmmanuel Vadot		};
2582846c905SEmmanuel Vadot	};
2592846c905SEmmanuel Vadot};
2602846c905SEmmanuel Vadot
2612846c905SEmmanuel Vadot&i2c6 {
2622846c905SEmmanuel Vadot	clock-frequency = <400000>;
2632846c905SEmmanuel Vadot	status = "okay";
2642846c905SEmmanuel Vadot
2652846c905SEmmanuel Vadot	hym8563: rtc@51 {
2662846c905SEmmanuel Vadot		compatible = "haoyu,hym8563";
2672846c905SEmmanuel Vadot		reg = <0x51>;
2682846c905SEmmanuel Vadot		#clock-cells = <0>;
2692846c905SEmmanuel Vadot		clock-output-names = "hym8563";
2702846c905SEmmanuel Vadot		wakeup-source;
2712846c905SEmmanuel Vadot	};
2722846c905SEmmanuel Vadot};
2732846c905SEmmanuel Vadot
2742846c905SEmmanuel Vadot&i2c7 {
2752846c905SEmmanuel Vadot	status = "okay";
2762846c905SEmmanuel Vadot
2772846c905SEmmanuel Vadot	/* PLDO2 vcca 1.8V, BUCK8 gated by PLDO2 being enabled */
2782846c905SEmmanuel Vadot	es8388: audio-codec@11 {
2798ccc0d23SEmmanuel Vadot		compatible = "everest,es8388", "everest,es8328";
2802846c905SEmmanuel Vadot		reg = <0x11>;
2812846c905SEmmanuel Vadot		clocks = <&cru I2S0_8CH_MCLKOUT>;
2822846c905SEmmanuel Vadot		AVDD-supply = <&vcc_3v3_s0>;
2832846c905SEmmanuel Vadot		DVDD-supply = <&vcc_1v8_s0>;
2842846c905SEmmanuel Vadot		HPVDD-supply = <&vcc_3v3_s0>;
2852846c905SEmmanuel Vadot		PVDD-supply = <&vcc_1v8_s0>;
2862846c905SEmmanuel Vadot		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
2872846c905SEmmanuel Vadot		assigned-clock-rates = <12288000>;
2882846c905SEmmanuel Vadot		#sound-dai-cells = <0>;
2892846c905SEmmanuel Vadot	};
2902846c905SEmmanuel Vadot};
2912846c905SEmmanuel Vadot
2922846c905SEmmanuel Vadot&i2s0_8ch {
2932846c905SEmmanuel Vadot	pinctrl-names = "default";
2942846c905SEmmanuel Vadot	pinctrl-0 = <&i2s0_lrck
2952846c905SEmmanuel Vadot		     &i2s0_mclk
2962846c905SEmmanuel Vadot		     &i2s0_sclk
2972846c905SEmmanuel Vadot		     &i2s0_sdi0
2982846c905SEmmanuel Vadot		     &i2s0_sdo0>;
2992846c905SEmmanuel Vadot	status = "okay";
3002846c905SEmmanuel Vadot};
3012846c905SEmmanuel Vadot
3022846c905SEmmanuel Vadot&i2s2_2ch {
3032846c905SEmmanuel Vadot	pinctrl-names = "default";
3042846c905SEmmanuel Vadot	pinctrl-0 = <&i2s2m0_lrck
3052846c905SEmmanuel Vadot		     &i2s2m0_sclk
3062846c905SEmmanuel Vadot		     &i2s2m0_sdi
3072846c905SEmmanuel Vadot		     &i2s2m0_sdo>;
3082846c905SEmmanuel Vadot	status = "okay";
3092846c905SEmmanuel Vadot};
3102846c905SEmmanuel Vadot
3112846c905SEmmanuel Vadot&package_thermal {
3122846c905SEmmanuel Vadot	polling-delay = <1000>;
3132846c905SEmmanuel Vadot
3142846c905SEmmanuel Vadot	cooling-maps {
3152846c905SEmmanuel Vadot		map0 {
3162846c905SEmmanuel Vadot			trip = <&package_fan0>;
3172846c905SEmmanuel Vadot			cooling-device = <&fan THERMAL_NO_LIMIT 1>;
3182846c905SEmmanuel Vadot		};
3192846c905SEmmanuel Vadot
3202846c905SEmmanuel Vadot		map1 {
3212846c905SEmmanuel Vadot			trip = <&package_fan1>;
3222846c905SEmmanuel Vadot			cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
3232846c905SEmmanuel Vadot		};
3242846c905SEmmanuel Vadot	};
3252846c905SEmmanuel Vadot
3262846c905SEmmanuel Vadot	trips {
3272846c905SEmmanuel Vadot		package_fan0: package-fan0 {
3282846c905SEmmanuel Vadot			temperature = <55000>;
3292846c905SEmmanuel Vadot			hysteresis = <2000>;
3302846c905SEmmanuel Vadot			type = "active";
3312846c905SEmmanuel Vadot		};
3322846c905SEmmanuel Vadot
3332846c905SEmmanuel Vadot		package_fan1: package-fan1 {
3342846c905SEmmanuel Vadot			temperature = <65000>;
3352846c905SEmmanuel Vadot			hysteresis = <2000>;
3362846c905SEmmanuel Vadot			type = "active";
3372846c905SEmmanuel Vadot		};
3382846c905SEmmanuel Vadot	};
3392846c905SEmmanuel Vadot};
3402846c905SEmmanuel Vadot
3412846c905SEmmanuel Vadot&pcie30phy {
3422846c905SEmmanuel Vadot	status = "okay";
3432846c905SEmmanuel Vadot};
3442846c905SEmmanuel Vadot
3452846c905SEmmanuel Vadot&pcie3x4 {
3462846c905SEmmanuel Vadot	reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
3472846c905SEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie30>;
3482846c905SEmmanuel Vadot	status = "okay";
3492846c905SEmmanuel Vadot};
3502846c905SEmmanuel Vadot
3518ccc0d23SEmmanuel Vadot&pd_gpu {
3528ccc0d23SEmmanuel Vadot	domain-supply = <&vdd_gpu_s0>;
3538ccc0d23SEmmanuel Vadot};
3548ccc0d23SEmmanuel Vadot
3552846c905SEmmanuel Vadot&saradc {
3562846c905SEmmanuel Vadot	vref-supply = <&vcc_1v8_s0>;
3572846c905SEmmanuel Vadot	status = "okay";
3582846c905SEmmanuel Vadot};
3592846c905SEmmanuel Vadot
3602846c905SEmmanuel Vadot&sdhci {
3612846c905SEmmanuel Vadot	bus-width = <8>;
3622846c905SEmmanuel Vadot	no-sdio;
3632846c905SEmmanuel Vadot	no-sd;
3642846c905SEmmanuel Vadot	non-removable;
3652846c905SEmmanuel Vadot	max-frequency = <200000000>;
3662846c905SEmmanuel Vadot	mmc-hs400-1_8v;
3672846c905SEmmanuel Vadot	mmc-hs400-enhanced-strobe;
368*833e5d42SEmmanuel Vadot	vmmc-supply = <&vcc_3v3_s3>;
369*833e5d42SEmmanuel Vadot	vqmmc-supply = <&vcc_1v8_s3>;
3702846c905SEmmanuel Vadot	status = "okay";
3712846c905SEmmanuel Vadot};
3722846c905SEmmanuel Vadot
3732846c905SEmmanuel Vadot&sdmmc {
3742846c905SEmmanuel Vadot	bus-width = <4>;
3752846c905SEmmanuel Vadot	cap-sd-highspeed;
3762846c905SEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
3772846c905SEmmanuel Vadot	disable-wp;
3782846c905SEmmanuel Vadot	max-frequency = <150000000>;
3792846c905SEmmanuel Vadot	no-sdio;
3802846c905SEmmanuel Vadot	no-mmc;
3812846c905SEmmanuel Vadot	sd-uhs-sdr104;
3822846c905SEmmanuel Vadot	vmmc-supply = <&vcc_3v3_s3>;
3832846c905SEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
3842846c905SEmmanuel Vadot	status = "okay";
3852846c905SEmmanuel Vadot};
3862846c905SEmmanuel Vadot
3872846c905SEmmanuel Vadot&sfc {
3882846c905SEmmanuel Vadot	status = "okay";
3892846c905SEmmanuel Vadot
3902846c905SEmmanuel Vadot	spi_flash: flash@0 {
3912846c905SEmmanuel Vadot		compatible = "jedec,spi-nor";
3922846c905SEmmanuel Vadot		reg = <0x0>;
3932846c905SEmmanuel Vadot		spi-max-frequency = <100000000>;
3942846c905SEmmanuel Vadot		spi-rx-bus-width = <4>;
3952846c905SEmmanuel Vadot		spi-tx-bus-width = <1>;
3962846c905SEmmanuel Vadot	};
3972846c905SEmmanuel Vadot};
3982846c905SEmmanuel Vadot
3992846c905SEmmanuel Vadot&spi2 {
4002846c905SEmmanuel Vadot	assigned-clocks = <&cru CLK_SPI2>;
4012846c905SEmmanuel Vadot	assigned-clock-rates = <200000000>;
4022846c905SEmmanuel Vadot	num-cs = <1>;
4032846c905SEmmanuel Vadot	pinctrl-names = "default";
4042846c905SEmmanuel Vadot	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
4052846c905SEmmanuel Vadot	status = "okay";
4062846c905SEmmanuel Vadot
4072846c905SEmmanuel Vadot	pmic@0 {
4082846c905SEmmanuel Vadot		compatible = "rockchip,rk806";
4092846c905SEmmanuel Vadot		reg = <0x0>;
4102846c905SEmmanuel Vadot		interrupt-parent = <&gpio0>;
4112846c905SEmmanuel Vadot		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
4122846c905SEmmanuel Vadot		pinctrl-names = "default";
4132846c905SEmmanuel Vadot		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
4142846c905SEmmanuel Vadot			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
4152846c905SEmmanuel Vadot		spi-max-frequency = <1000000>;
4162846c905SEmmanuel Vadot		system-power-controller;
4172846c905SEmmanuel Vadot
4182846c905SEmmanuel Vadot		vcc1-supply = <&vcc5v0_sys>;
4192846c905SEmmanuel Vadot		vcc2-supply = <&vcc5v0_sys>;
4202846c905SEmmanuel Vadot		vcc3-supply = <&vcc5v0_sys>;
4212846c905SEmmanuel Vadot		vcc4-supply = <&vcc5v0_sys>;
4222846c905SEmmanuel Vadot		vcc5-supply = <&vcc5v0_sys>;
4232846c905SEmmanuel Vadot		vcc6-supply = <&vcc5v0_sys>;
4242846c905SEmmanuel Vadot		vcc7-supply = <&vcc5v0_sys>;
4252846c905SEmmanuel Vadot		vcc8-supply = <&vcc5v0_sys>;
4262846c905SEmmanuel Vadot		vcc9-supply = <&vcc5v0_sys>;
4272846c905SEmmanuel Vadot		vcc10-supply = <&vcc5v0_sys>;
4282846c905SEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
4292846c905SEmmanuel Vadot		vcc12-supply = <&vcc5v0_sys>;
4302846c905SEmmanuel Vadot		vcc13-supply = <&vdd2_ddr_s3>;
4312846c905SEmmanuel Vadot		vcc14-supply = <&vdd2_ddr_s3>;
4322846c905SEmmanuel Vadot		vcca-supply = <&vcc5v0_sys>;
4332846c905SEmmanuel Vadot
4342846c905SEmmanuel Vadot		gpio-controller;
4352846c905SEmmanuel Vadot		#gpio-cells = <2>;
4362846c905SEmmanuel Vadot
4372846c905SEmmanuel Vadot		rk806_dvs1_null: dvs1-null-pins {
4382846c905SEmmanuel Vadot			pins = "gpio_pwrctrl1";
4392846c905SEmmanuel Vadot			function = "pin_fun0";
4402846c905SEmmanuel Vadot		};
4412846c905SEmmanuel Vadot
4422846c905SEmmanuel Vadot		rk806_dvs2_null: dvs2-null-pins {
4432846c905SEmmanuel Vadot			pins = "gpio_pwrctrl2";
4442846c905SEmmanuel Vadot			function = "pin_fun0";
4452846c905SEmmanuel Vadot		};
4462846c905SEmmanuel Vadot
4472846c905SEmmanuel Vadot		rk806_dvs3_null: dvs3-null-pins {
4482846c905SEmmanuel Vadot			pins = "gpio_pwrctrl3";
4492846c905SEmmanuel Vadot			function = "pin_fun0";
4502846c905SEmmanuel Vadot		};
4512846c905SEmmanuel Vadot
4522846c905SEmmanuel Vadot		regulators {
4532846c905SEmmanuel Vadot			vdd_gpu_s0: dcdc-reg1 {
4542846c905SEmmanuel Vadot				regulator-name = "vdd_gpu_s0";
4552846c905SEmmanuel Vadot				regulator-boot-on;
4562846c905SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
4572846c905SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4582846c905SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4592846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4602846c905SEmmanuel Vadot
4612846c905SEmmanuel Vadot				regulator-state-mem {
4622846c905SEmmanuel Vadot					regulator-off-in-suspend;
4632846c905SEmmanuel Vadot				};
4642846c905SEmmanuel Vadot			};
4652846c905SEmmanuel Vadot
4662846c905SEmmanuel Vadot			vdd_cpu_lit_s0: dcdc-reg2 {
4672846c905SEmmanuel Vadot				regulator-name = "vdd_cpu_lit_s0";
4682846c905SEmmanuel Vadot				regulator-always-on;
4692846c905SEmmanuel Vadot				regulator-boot-on;
4702846c905SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4712846c905SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4722846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4732846c905SEmmanuel Vadot
4742846c905SEmmanuel Vadot				regulator-state-mem {
4752846c905SEmmanuel Vadot					regulator-off-in-suspend;
4762846c905SEmmanuel Vadot				};
4772846c905SEmmanuel Vadot			};
4782846c905SEmmanuel Vadot
4792846c905SEmmanuel Vadot			vdd_log_s0: dcdc-reg3 {
4802846c905SEmmanuel Vadot				regulator-name = "vdd_log_s0";
4812846c905SEmmanuel Vadot				regulator-always-on;
4822846c905SEmmanuel Vadot				regulator-boot-on;
4832846c905SEmmanuel Vadot				regulator-min-microvolt = <675000>;
4842846c905SEmmanuel Vadot				regulator-max-microvolt = <825000>;
4852846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4862846c905SEmmanuel Vadot
4872846c905SEmmanuel Vadot				regulator-state-mem {
4882846c905SEmmanuel Vadot					regulator-off-in-suspend;
4892846c905SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
4902846c905SEmmanuel Vadot				};
4912846c905SEmmanuel Vadot			};
4922846c905SEmmanuel Vadot
4932846c905SEmmanuel Vadot			vdd_vdenc_s0: dcdc-reg4 {
4942846c905SEmmanuel Vadot				regulator-name = "vdd_vdenc_s0";
4952846c905SEmmanuel Vadot				regulator-always-on;
4962846c905SEmmanuel Vadot				regulator-boot-on;
4972846c905SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4982846c905SEmmanuel Vadot				regulator-max-microvolt = <825000>;
4992846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5002846c905SEmmanuel Vadot
5012846c905SEmmanuel Vadot				regulator-state-mem {
5022846c905SEmmanuel Vadot					regulator-off-in-suspend;
5032846c905SEmmanuel Vadot				};
5042846c905SEmmanuel Vadot			};
5052846c905SEmmanuel Vadot
5062846c905SEmmanuel Vadot			vdd_ddr_s0: dcdc-reg5 {
5072846c905SEmmanuel Vadot				regulator-name = "vdd_ddr_s0";
5082846c905SEmmanuel Vadot				regulator-always-on;
5092846c905SEmmanuel Vadot				regulator-boot-on;
5102846c905SEmmanuel Vadot				regulator-min-microvolt = <675000>;
5112846c905SEmmanuel Vadot				regulator-max-microvolt = <900000>;
5122846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5132846c905SEmmanuel Vadot
5142846c905SEmmanuel Vadot				regulator-state-mem {
5152846c905SEmmanuel Vadot					regulator-off-in-suspend;
5162846c905SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
5172846c905SEmmanuel Vadot				};
5182846c905SEmmanuel Vadot			};
5192846c905SEmmanuel Vadot
5202846c905SEmmanuel Vadot			vdd2_ddr_s3: dcdc-reg6 {
5212846c905SEmmanuel Vadot				regulator-name = "vdd2_ddr_s3";
5222846c905SEmmanuel Vadot				regulator-always-on;
5232846c905SEmmanuel Vadot				regulator-boot-on;
5242846c905SEmmanuel Vadot
5252846c905SEmmanuel Vadot				regulator-state-mem {
5262846c905SEmmanuel Vadot					regulator-on-in-suspend;
5272846c905SEmmanuel Vadot				};
5282846c905SEmmanuel Vadot			};
5292846c905SEmmanuel Vadot
5302846c905SEmmanuel Vadot			vcc_2v0_pldo_s3: dcdc-reg7 {
5312846c905SEmmanuel Vadot				regulator-name = "vdd_2v0_pldo_s3";
5322846c905SEmmanuel Vadot				regulator-always-on;
5332846c905SEmmanuel Vadot				regulator-boot-on;
5342846c905SEmmanuel Vadot				regulator-min-microvolt = <2000000>;
5352846c905SEmmanuel Vadot				regulator-max-microvolt = <2000000>;
5362846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5372846c905SEmmanuel Vadot
5382846c905SEmmanuel Vadot				regulator-state-mem {
5392846c905SEmmanuel Vadot					regulator-on-in-suspend;
5402846c905SEmmanuel Vadot					regulator-suspend-microvolt = <2000000>;
5412846c905SEmmanuel Vadot				};
5422846c905SEmmanuel Vadot			};
5432846c905SEmmanuel Vadot
5442846c905SEmmanuel Vadot			vcc_3v3_s3: dcdc-reg8 {
5452846c905SEmmanuel Vadot				regulator-name = "vcc_3v3_s3";
5462846c905SEmmanuel Vadot				regulator-always-on;
5472846c905SEmmanuel Vadot				regulator-boot-on;
5482846c905SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
5492846c905SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
5502846c905SEmmanuel Vadot
5512846c905SEmmanuel Vadot				regulator-state-mem {
5522846c905SEmmanuel Vadot					regulator-on-in-suspend;
5532846c905SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
5542846c905SEmmanuel Vadot				};
5552846c905SEmmanuel Vadot			};
5562846c905SEmmanuel Vadot
5572846c905SEmmanuel Vadot			vddq_ddr_s0: dcdc-reg9 {
5582846c905SEmmanuel Vadot				regulator-name = "vddq_ddr_s0";
5592846c905SEmmanuel Vadot				regulator-always-on;
5602846c905SEmmanuel Vadot				regulator-boot-on;
5612846c905SEmmanuel Vadot
5622846c905SEmmanuel Vadot				regulator-state-mem {
5632846c905SEmmanuel Vadot					regulator-off-in-suspend;
5642846c905SEmmanuel Vadot				};
5652846c905SEmmanuel Vadot			};
5662846c905SEmmanuel Vadot
5672846c905SEmmanuel Vadot			vcc_1v8_s3: dcdc-reg10 {
5682846c905SEmmanuel Vadot				regulator-name = "vcc_1v8_s3";
5692846c905SEmmanuel Vadot				regulator-always-on;
5702846c905SEmmanuel Vadot				regulator-boot-on;
5712846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5722846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5732846c905SEmmanuel Vadot
5742846c905SEmmanuel Vadot				regulator-state-mem {
5752846c905SEmmanuel Vadot					regulator-on-in-suspend;
5762846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
5772846c905SEmmanuel Vadot				};
5782846c905SEmmanuel Vadot			};
5792846c905SEmmanuel Vadot
5802846c905SEmmanuel Vadot			avcc_1v8_s0: pldo-reg1 {
5812846c905SEmmanuel Vadot				regulator-name = "avcc_1v8_s0";
5822846c905SEmmanuel Vadot				regulator-always-on;
5832846c905SEmmanuel Vadot				regulator-boot-on;
5842846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5852846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5862846c905SEmmanuel Vadot
5872846c905SEmmanuel Vadot				regulator-state-mem {
5882846c905SEmmanuel Vadot					regulator-off-in-suspend;
5892846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
5902846c905SEmmanuel Vadot				};
5912846c905SEmmanuel Vadot			};
5922846c905SEmmanuel Vadot
5932846c905SEmmanuel Vadot			/* shorted to avcc_1v8_s0 on the board */
5942846c905SEmmanuel Vadot			vcc_1v8_s0: pldo-reg2 {
5952846c905SEmmanuel Vadot				regulator-name = "vcc_1v8_s0";
5962846c905SEmmanuel Vadot				regulator-always-on;
5972846c905SEmmanuel Vadot				regulator-boot-on;
5982846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5992846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
6002846c905SEmmanuel Vadot
6012846c905SEmmanuel Vadot				regulator-state-mem {
6022846c905SEmmanuel Vadot					regulator-off-in-suspend;
6032846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
6042846c905SEmmanuel Vadot				};
6052846c905SEmmanuel Vadot			};
6062846c905SEmmanuel Vadot
6072846c905SEmmanuel Vadot			avdd_1v2_s0: pldo-reg3 {
6082846c905SEmmanuel Vadot				regulator-name = "avdd_1v2_s0";
6092846c905SEmmanuel Vadot				regulator-always-on;
6102846c905SEmmanuel Vadot				regulator-boot-on;
6112846c905SEmmanuel Vadot				regulator-min-microvolt = <1200000>;
6122846c905SEmmanuel Vadot				regulator-max-microvolt = <1200000>;
6132846c905SEmmanuel Vadot
6142846c905SEmmanuel Vadot				regulator-state-mem {
6152846c905SEmmanuel Vadot					regulator-off-in-suspend;
6162846c905SEmmanuel Vadot				};
6172846c905SEmmanuel Vadot			};
6182846c905SEmmanuel Vadot
6192846c905SEmmanuel Vadot			vcc_3v3_s0: pldo-reg4 {
6202846c905SEmmanuel Vadot				regulator-name = "vcc_3v3_s0";
6212846c905SEmmanuel Vadot				regulator-always-on;
6222846c905SEmmanuel Vadot				regulator-boot-on;
6232846c905SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
6242846c905SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
6252846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
6262846c905SEmmanuel Vadot
6272846c905SEmmanuel Vadot				regulator-state-mem {
6282846c905SEmmanuel Vadot					regulator-off-in-suspend;
6292846c905SEmmanuel Vadot				};
6302846c905SEmmanuel Vadot			};
6312846c905SEmmanuel Vadot
6322846c905SEmmanuel Vadot			vccio_sd_s0: pldo-reg5 {
6332846c905SEmmanuel Vadot				regulator-name = "vccio_sd_s0";
6342846c905SEmmanuel Vadot				regulator-always-on;
6352846c905SEmmanuel Vadot				regulator-boot-on;
6362846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6372846c905SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
6382846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
6392846c905SEmmanuel Vadot
6402846c905SEmmanuel Vadot				regulator-state-mem {
6412846c905SEmmanuel Vadot					regulator-off-in-suspend;
6422846c905SEmmanuel Vadot				};
6432846c905SEmmanuel Vadot			};
6442846c905SEmmanuel Vadot
6452846c905SEmmanuel Vadot			pldo6_s3: pldo-reg6 {
6462846c905SEmmanuel Vadot				regulator-name = "pldo6_s3";
6472846c905SEmmanuel Vadot				regulator-always-on;
6482846c905SEmmanuel Vadot				regulator-boot-on;
6492846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6502846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
6512846c905SEmmanuel Vadot
6522846c905SEmmanuel Vadot				regulator-state-mem {
6532846c905SEmmanuel Vadot					regulator-on-in-suspend;
6542846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
6552846c905SEmmanuel Vadot				};
6562846c905SEmmanuel Vadot			};
6572846c905SEmmanuel Vadot
6582846c905SEmmanuel Vadot			vdd_0v75_s3: nldo-reg1 {
6592846c905SEmmanuel Vadot				regulator-name = "vdd_0v75_s3";
6602846c905SEmmanuel Vadot				regulator-always-on;
6612846c905SEmmanuel Vadot				regulator-boot-on;
6622846c905SEmmanuel Vadot				regulator-min-microvolt = <750000>;
6632846c905SEmmanuel Vadot				regulator-max-microvolt = <750000>;
6642846c905SEmmanuel Vadot
6652846c905SEmmanuel Vadot				regulator-state-mem {
6662846c905SEmmanuel Vadot					regulator-on-in-suspend;
6672846c905SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
6682846c905SEmmanuel Vadot				};
6692846c905SEmmanuel Vadot			};
6702846c905SEmmanuel Vadot
6712846c905SEmmanuel Vadot			vdd_ddr_pll_s0: nldo-reg2 {
6722846c905SEmmanuel Vadot				regulator-name = "vdd_ddr_pll_s0";
6732846c905SEmmanuel Vadot				regulator-always-on;
6742846c905SEmmanuel Vadot				regulator-boot-on;
6752846c905SEmmanuel Vadot				regulator-min-microvolt = <850000>;
6762846c905SEmmanuel Vadot				regulator-max-microvolt = <850000>;
6772846c905SEmmanuel Vadot
6782846c905SEmmanuel Vadot				regulator-state-mem {
6792846c905SEmmanuel Vadot					regulator-off-in-suspend;
6802846c905SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
6812846c905SEmmanuel Vadot				};
6822846c905SEmmanuel Vadot			};
6832846c905SEmmanuel Vadot
6842846c905SEmmanuel Vadot			avdd_0v75_s0: nldo-reg3 {
6852846c905SEmmanuel Vadot				regulator-name = "avdd_0v75_s0";
6862846c905SEmmanuel Vadot				regulator-always-on;
6872846c905SEmmanuel Vadot				regulator-boot-on;
6882846c905SEmmanuel Vadot				/*
6892846c905SEmmanuel Vadot				 * The schematic mentions that actual setting
6902846c905SEmmanuel Vadot				 * should be 0.8375V. RK3588 datasheet specifies
6912846c905SEmmanuel Vadot				 * maximum as 0.825V. So we set datasheet max
6922846c905SEmmanuel Vadot				 * here.
6932846c905SEmmanuel Vadot				 */
6942846c905SEmmanuel Vadot				regulator-min-microvolt = <825000>;
6952846c905SEmmanuel Vadot				regulator-max-microvolt = <825000>;
6962846c905SEmmanuel Vadot
6972846c905SEmmanuel Vadot				regulator-state-mem {
6982846c905SEmmanuel Vadot					regulator-off-in-suspend;
6992846c905SEmmanuel Vadot				};
7002846c905SEmmanuel Vadot			};
7012846c905SEmmanuel Vadot
7022846c905SEmmanuel Vadot			vdd_0v85_s0: nldo-reg4 {
7032846c905SEmmanuel Vadot				regulator-name = "vdd_0v85_s0";
7042846c905SEmmanuel Vadot				regulator-always-on;
7052846c905SEmmanuel Vadot				regulator-boot-on;
7062846c905SEmmanuel Vadot				regulator-min-microvolt = <850000>;
7072846c905SEmmanuel Vadot				regulator-max-microvolt = <850000>;
7082846c905SEmmanuel Vadot
7092846c905SEmmanuel Vadot				regulator-state-mem {
7102846c905SEmmanuel Vadot					regulator-off-in-suspend;
7112846c905SEmmanuel Vadot				};
7122846c905SEmmanuel Vadot			};
7132846c905SEmmanuel Vadot
7142846c905SEmmanuel Vadot			vdd_0v75_s0: nldo-reg5 {
7152846c905SEmmanuel Vadot				regulator-name = "vdd_0v75_s0";
7162846c905SEmmanuel Vadot				regulator-always-on;
7172846c905SEmmanuel Vadot				regulator-boot-on;
7182846c905SEmmanuel Vadot				regulator-min-microvolt = <750000>;
7192846c905SEmmanuel Vadot				regulator-max-microvolt = <750000>;
7202846c905SEmmanuel Vadot
7212846c905SEmmanuel Vadot				regulator-state-mem {
7222846c905SEmmanuel Vadot					regulator-off-in-suspend;
7232846c905SEmmanuel Vadot				};
7242846c905SEmmanuel Vadot			};
7252846c905SEmmanuel Vadot		};
7262846c905SEmmanuel Vadot	};
7272846c905SEmmanuel Vadot};
7282846c905SEmmanuel Vadot
7292846c905SEmmanuel Vadot&tsadc {
7302846c905SEmmanuel Vadot	status = "okay";
7312846c905SEmmanuel Vadot};
7322846c905SEmmanuel Vadot
7332846c905SEmmanuel Vadot&u2phy0 {
7342846c905SEmmanuel Vadot	status = "okay";
7352846c905SEmmanuel Vadot};
7362846c905SEmmanuel Vadot
7372846c905SEmmanuel Vadot&u2phy0_otg {
7382846c905SEmmanuel Vadot	status = "okay";
7392846c905SEmmanuel Vadot};
7402846c905SEmmanuel Vadot
7412846c905SEmmanuel Vadot&u2phy1 {
7422846c905SEmmanuel Vadot	status = "okay";
7432846c905SEmmanuel Vadot};
7442846c905SEmmanuel Vadot
7452846c905SEmmanuel Vadot&u2phy1_otg {
7462846c905SEmmanuel Vadot	status = "okay";
7472846c905SEmmanuel Vadot};
7482846c905SEmmanuel Vadot
7492846c905SEmmanuel Vadot&u2phy2 {
7502846c905SEmmanuel Vadot	status = "okay";
7512846c905SEmmanuel Vadot};
7522846c905SEmmanuel Vadot
7532846c905SEmmanuel Vadot&u2phy3 {
7542846c905SEmmanuel Vadot	status = "okay";
7552846c905SEmmanuel Vadot};
7562846c905SEmmanuel Vadot
7572846c905SEmmanuel Vadot&u2phy2_host {
7582846c905SEmmanuel Vadot	phy-supply = <&vcc5v0_usb20>;
7592846c905SEmmanuel Vadot	status = "okay";
7602846c905SEmmanuel Vadot};
7612846c905SEmmanuel Vadot
7622846c905SEmmanuel Vadot&u2phy3_host {
7632846c905SEmmanuel Vadot	phy-supply = <&vcc5v0_usb20>;
7642846c905SEmmanuel Vadot	status = "okay";
7652846c905SEmmanuel Vadot};
7662846c905SEmmanuel Vadot
7672846c905SEmmanuel Vadot&uart2 {
7682846c905SEmmanuel Vadot	pinctrl-0 = <&uart2m0_xfer>;
7692846c905SEmmanuel Vadot	status = "okay";
7702846c905SEmmanuel Vadot};
7712846c905SEmmanuel Vadot
7722846c905SEmmanuel Vadot&usbdp_phy0 {
7732846c905SEmmanuel Vadot	status = "okay";
7742846c905SEmmanuel Vadot};
7752846c905SEmmanuel Vadot
7762846c905SEmmanuel Vadot&usbdp_phy1 {
7772846c905SEmmanuel Vadot	status = "okay";
7782846c905SEmmanuel Vadot};
7792846c905SEmmanuel Vadot
7802846c905SEmmanuel Vadot&usb_host0_ehci {
7812846c905SEmmanuel Vadot	status = "okay";
7822846c905SEmmanuel Vadot};
7832846c905SEmmanuel Vadot
7842846c905SEmmanuel Vadot&usb_host0_ohci {
7852846c905SEmmanuel Vadot	status = "okay";
7862846c905SEmmanuel Vadot};
7872846c905SEmmanuel Vadot
7882846c905SEmmanuel Vadot&usb_host0_xhci {
7892846c905SEmmanuel Vadot	status = "okay";
7902846c905SEmmanuel Vadot};
7912846c905SEmmanuel Vadot
7922846c905SEmmanuel Vadot&usb_host1_ehci {
7932846c905SEmmanuel Vadot	status = "okay";
7942846c905SEmmanuel Vadot};
7952846c905SEmmanuel Vadot
7962846c905SEmmanuel Vadot&usb_host1_ohci {
7972846c905SEmmanuel Vadot	status = "okay";
7982846c905SEmmanuel Vadot};
7992846c905SEmmanuel Vadot
8002846c905SEmmanuel Vadot&usb_host1_xhci {
8012846c905SEmmanuel Vadot	dr_mode = "host";
8022846c905SEmmanuel Vadot	status = "okay";
8032846c905SEmmanuel Vadot};
8042846c905SEmmanuel Vadot
8052846c905SEmmanuel Vadot&vop_mmu {
8062846c905SEmmanuel Vadot	status = "okay";
8072846c905SEmmanuel Vadot};
8082846c905SEmmanuel Vadot
8092846c905SEmmanuel Vadot&vop {
8102846c905SEmmanuel Vadot	status = "okay";
8112846c905SEmmanuel Vadot};
812