xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588-quartzpro64.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
184943d6fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
284943d6fSEmmanuel Vadot/*
384943d6fSEmmanuel Vadot * Copyright (c) 2023 Ondřej Jirman <megi@xff.cz>
484943d6fSEmmanuel Vadot */
584943d6fSEmmanuel Vadot
684943d6fSEmmanuel Vadot/dts-v1/;
784943d6fSEmmanuel Vadot
884943d6fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
984943d6fSEmmanuel Vadot#include <dt-bindings/input/input.h>
1084943d6fSEmmanuel Vadot#include <dt-bindings/leds/common.h>
1184943d6fSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
1284943d6fSEmmanuel Vadot#include <dt-bindings/usb/pd.h>
1384943d6fSEmmanuel Vadot#include "rk3588.dtsi"
1484943d6fSEmmanuel Vadot
1584943d6fSEmmanuel Vadot/ {
1684943d6fSEmmanuel Vadot	model = "PINE64 QuartzPro64";
1784943d6fSEmmanuel Vadot	compatible = "pine64,quartzpro64", "rockchip,rk3588";
1884943d6fSEmmanuel Vadot
1984943d6fSEmmanuel Vadot	aliases {
20*8d13bc63SEmmanuel Vadot		ethernet0 = &gmac0;
2184943d6fSEmmanuel Vadot		mmc0 = &sdhci;
2284943d6fSEmmanuel Vadot		mmc1 = &sdmmc;
2384943d6fSEmmanuel Vadot	};
2484943d6fSEmmanuel Vadot
2584943d6fSEmmanuel Vadot	chosen {
2684943d6fSEmmanuel Vadot		stdout-path = "serial2:1500000n8";
2784943d6fSEmmanuel Vadot	};
2884943d6fSEmmanuel Vadot
2984943d6fSEmmanuel Vadot	adc-keys-0 {
3084943d6fSEmmanuel Vadot		compatible = "adc-keys";
3184943d6fSEmmanuel Vadot		io-channels = <&saradc 0>;
3284943d6fSEmmanuel Vadot		io-channel-names = "buttons";
3384943d6fSEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
3484943d6fSEmmanuel Vadot		poll-interval = <100>;
3584943d6fSEmmanuel Vadot
3684943d6fSEmmanuel Vadot		button-maskrom {
3784943d6fSEmmanuel Vadot			label = "Mask Rom";
3884943d6fSEmmanuel Vadot			linux,code = <KEY_SETUP>;
3984943d6fSEmmanuel Vadot			press-threshold-microvolt = <393>;
4084943d6fSEmmanuel Vadot		};
4184943d6fSEmmanuel Vadot	};
4284943d6fSEmmanuel Vadot
4384943d6fSEmmanuel Vadot	adc-keys-1 {
4484943d6fSEmmanuel Vadot		compatible = "adc-keys";
4584943d6fSEmmanuel Vadot		io-channels = <&saradc 1>;
4684943d6fSEmmanuel Vadot		io-channel-names = "buttons";
4784943d6fSEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
4884943d6fSEmmanuel Vadot		poll-interval = <100>;
4984943d6fSEmmanuel Vadot
5084943d6fSEmmanuel Vadot		button-volume-up {
5184943d6fSEmmanuel Vadot			label = "V+/REC";
5284943d6fSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
5384943d6fSEmmanuel Vadot			press-threshold-microvolt = <17821>;
5484943d6fSEmmanuel Vadot		};
5584943d6fSEmmanuel Vadot
5684943d6fSEmmanuel Vadot		button-volume-down {
5784943d6fSEmmanuel Vadot			label = "V-";
5884943d6fSEmmanuel Vadot			linux,code = <KEY_VOLUMEDOWN>;
5984943d6fSEmmanuel Vadot			press-threshold-microvolt = <415384>;
6084943d6fSEmmanuel Vadot		};
6184943d6fSEmmanuel Vadot
6284943d6fSEmmanuel Vadot		button-menu {
6384943d6fSEmmanuel Vadot			label = "MENU";
6484943d6fSEmmanuel Vadot			linux,code = <KEY_MENU>;
6584943d6fSEmmanuel Vadot			press-threshold-microvolt = <890909>;
6684943d6fSEmmanuel Vadot		};
6784943d6fSEmmanuel Vadot
6884943d6fSEmmanuel Vadot		button-esc {
6984943d6fSEmmanuel Vadot			label = "ESC";
7084943d6fSEmmanuel Vadot			linux,code = <KEY_ESC>;
7184943d6fSEmmanuel Vadot			press-threshold-microvolt = <1233962>;
7284943d6fSEmmanuel Vadot		};
7384943d6fSEmmanuel Vadot	};
7484943d6fSEmmanuel Vadot
7584943d6fSEmmanuel Vadot	headphone_amp: audio-amplifier-headphone {
7684943d6fSEmmanuel Vadot		compatible = "simple-audio-amplifier";
7784943d6fSEmmanuel Vadot		enable-gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
7884943d6fSEmmanuel Vadot		sound-name-prefix = "Headphones Amp";
7984943d6fSEmmanuel Vadot	};
8084943d6fSEmmanuel Vadot
8184943d6fSEmmanuel Vadot	speaker_amp: audio-amplifier-speaker {
8284943d6fSEmmanuel Vadot		compatible = "simple-audio-amplifier";
8384943d6fSEmmanuel Vadot		enable-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>;
8484943d6fSEmmanuel Vadot		sound-name-prefix = "Speaker Amp";
8584943d6fSEmmanuel Vadot	};
8684943d6fSEmmanuel Vadot
8784943d6fSEmmanuel Vadot	leds {
8884943d6fSEmmanuel Vadot		compatible = "gpio-leds";
8984943d6fSEmmanuel Vadot		pinctrl-names = "default";
9084943d6fSEmmanuel Vadot		pinctrl-0 = <&led_pins>;
9184943d6fSEmmanuel Vadot
9284943d6fSEmmanuel Vadot		led-1 {
9384943d6fSEmmanuel Vadot			color = <LED_COLOR_ID_ORANGE>;
9484943d6fSEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
9584943d6fSEmmanuel Vadot			gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
9684943d6fSEmmanuel Vadot		};
9784943d6fSEmmanuel Vadot	};
9884943d6fSEmmanuel Vadot
9984943d6fSEmmanuel Vadot	sound {
10084943d6fSEmmanuel Vadot		compatible = "simple-audio-card";
10184943d6fSEmmanuel Vadot		pinctrl-names = "default";
10284943d6fSEmmanuel Vadot		pinctrl-0 = <&hp_detect>;
10384943d6fSEmmanuel Vadot		simple-audio-card,name = "Analog";
10484943d6fSEmmanuel Vadot		simple-audio-card,aux-devs = <&speaker_amp>, <&headphone_amp>;
10584943d6fSEmmanuel Vadot		simple-audio-card,format = "i2s";
10684943d6fSEmmanuel Vadot		simple-audio-card,mclk-fs = <256>;
10784943d6fSEmmanuel Vadot		simple-audio-card,hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
10884943d6fSEmmanuel Vadot		simple-audio-card,bitclock-master = <&daicpu>;
10984943d6fSEmmanuel Vadot		simple-audio-card,frame-master = <&daicpu>;
11084943d6fSEmmanuel Vadot		/* SARADC_IN3 is used as MIC detection / key input */
11184943d6fSEmmanuel Vadot
11284943d6fSEmmanuel Vadot		simple-audio-card,widgets =
11384943d6fSEmmanuel Vadot			"Microphone", "Onboard Microphone",
11484943d6fSEmmanuel Vadot			"Microphone", "Microphone Jack",
11584943d6fSEmmanuel Vadot			"Speaker", "Speaker",
11684943d6fSEmmanuel Vadot			"Headphone", "Headphones";
11784943d6fSEmmanuel Vadot
11884943d6fSEmmanuel Vadot		simple-audio-card,routing =
11984943d6fSEmmanuel Vadot			"Headphones", "LOUT1",
12084943d6fSEmmanuel Vadot			"Headphones", "ROUT1",
12184943d6fSEmmanuel Vadot			"Speaker", "LOUT2",
12284943d6fSEmmanuel Vadot			"Speaker", "ROUT2",
12384943d6fSEmmanuel Vadot
12484943d6fSEmmanuel Vadot			"Headphones", "Headphones Amp OUTL",
12584943d6fSEmmanuel Vadot			"Headphones", "Headphones Amp OUTR",
12684943d6fSEmmanuel Vadot			"Headphones Amp INL", "LOUT1",
12784943d6fSEmmanuel Vadot			"Headphones Amp INR", "ROUT1",
12884943d6fSEmmanuel Vadot
12984943d6fSEmmanuel Vadot			"Speaker", "Speaker Amp OUTL",
13084943d6fSEmmanuel Vadot			"Speaker", "Speaker Amp OUTR",
13184943d6fSEmmanuel Vadot			"Speaker Amp INL", "LOUT2",
13284943d6fSEmmanuel Vadot			"Speaker Amp INR", "ROUT2",
13384943d6fSEmmanuel Vadot
13484943d6fSEmmanuel Vadot			/* single ended signal to LINPUT1 */
13584943d6fSEmmanuel Vadot			"LINPUT1", "Microphone Jack",
13684943d6fSEmmanuel Vadot			"RINPUT1", "Microphone Jack",
13784943d6fSEmmanuel Vadot			/* differential signal */
13884943d6fSEmmanuel Vadot			"LINPUT2", "Onboard Microphone",
13984943d6fSEmmanuel Vadot			"RINPUT2", "Onboard Microphone";
14084943d6fSEmmanuel Vadot
14184943d6fSEmmanuel Vadot		daicpu: simple-audio-card,cpu {
14284943d6fSEmmanuel Vadot			sound-dai = <&i2s0_8ch>;
14384943d6fSEmmanuel Vadot			system-clock-frequency = <12288000>;
14484943d6fSEmmanuel Vadot		};
14584943d6fSEmmanuel Vadot
14684943d6fSEmmanuel Vadot		daicodec: simple-audio-card,codec {
14784943d6fSEmmanuel Vadot			sound-dai = <&es8388>;
14884943d6fSEmmanuel Vadot			system-clock-frequency = <12288000>;
14984943d6fSEmmanuel Vadot		};
15084943d6fSEmmanuel Vadot	};
15184943d6fSEmmanuel Vadot
15284943d6fSEmmanuel Vadot	vcc12v_dcin: vcc12v-dcin-regulator {
15384943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
15484943d6fSEmmanuel Vadot		regulator-name = "vcc12v_dcin";
15584943d6fSEmmanuel Vadot		regulator-always-on;
15684943d6fSEmmanuel Vadot		regulator-boot-on;
15784943d6fSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
15884943d6fSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
15984943d6fSEmmanuel Vadot	};
16084943d6fSEmmanuel Vadot
16184943d6fSEmmanuel Vadot	vcc3v3_bt: vcc3v3-bt-regulator {
16284943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
16384943d6fSEmmanuel Vadot		enable-active-high;
16484943d6fSEmmanuel Vadot		gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
16584943d6fSEmmanuel Vadot		regulator-name = "vcc3v3_bt";
16684943d6fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
16784943d6fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
16884943d6fSEmmanuel Vadot		startup-delay-us = <50000>;
16984943d6fSEmmanuel Vadot		vin-supply = <&vcc_3v3_s0>;
17084943d6fSEmmanuel Vadot	};
17184943d6fSEmmanuel Vadot
17284943d6fSEmmanuel Vadot	vcc3v3_pcie30: vcc3v3-pcie30-regulator {
17384943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
17484943d6fSEmmanuel Vadot		enable-active-high;
17584943d6fSEmmanuel Vadot		gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>;
17684943d6fSEmmanuel Vadot		regulator-name = "vcc3v3_pcie30";
17784943d6fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
17884943d6fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
17984943d6fSEmmanuel Vadot		startup-delay-us = <5000>;
18084943d6fSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
18184943d6fSEmmanuel Vadot	};
18284943d6fSEmmanuel Vadot
18384943d6fSEmmanuel Vadot	vcc3v3_wf: vcc3v3-wf-regulator {
18484943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
18584943d6fSEmmanuel Vadot		enable-active-high;
18684943d6fSEmmanuel Vadot		gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
18784943d6fSEmmanuel Vadot		regulator-name = "vcc3v3_wf";
18884943d6fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
18984943d6fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
19084943d6fSEmmanuel Vadot		startup-delay-us = <50000>;
19184943d6fSEmmanuel Vadot		vin-supply = <&vcc_3v3_s0>;
19284943d6fSEmmanuel Vadot	};
19384943d6fSEmmanuel Vadot
19484943d6fSEmmanuel Vadot	vcc4v0_sys: vcc4v0-sys-regulator {
19584943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
19684943d6fSEmmanuel Vadot		regulator-name = "vcc4v0_sys";
19784943d6fSEmmanuel Vadot		regulator-always-on;
19884943d6fSEmmanuel Vadot		regulator-boot-on;
19984943d6fSEmmanuel Vadot		regulator-min-microvolt = <4000000>;
20084943d6fSEmmanuel Vadot		regulator-max-microvolt = <4000000>;
20184943d6fSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
20284943d6fSEmmanuel Vadot	};
20384943d6fSEmmanuel Vadot
20484943d6fSEmmanuel Vadot	vcc5v0_host: vcc5v0-host-regulator {
20584943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
20684943d6fSEmmanuel Vadot		enable-active-high;
20784943d6fSEmmanuel Vadot		gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
20884943d6fSEmmanuel Vadot		pinctrl-names = "default";
20984943d6fSEmmanuel Vadot		pinctrl-0 = <&vcc5v0_host_en>;
21084943d6fSEmmanuel Vadot		regulator-name = "vcc5v0_host";
21184943d6fSEmmanuel Vadot		regulator-always-on;
21284943d6fSEmmanuel Vadot		regulator-boot-on;
21384943d6fSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
21484943d6fSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
21584943d6fSEmmanuel Vadot		vin-supply = <&vcc5v0_usb>;
21684943d6fSEmmanuel Vadot	};
21784943d6fSEmmanuel Vadot
21884943d6fSEmmanuel Vadot	vcc5v0_usb: vcc5v0-usb-regulator {
21984943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
22084943d6fSEmmanuel Vadot		regulator-name = "vcc5v0_usb";
22184943d6fSEmmanuel Vadot		regulator-always-on;
22284943d6fSEmmanuel Vadot		regulator-boot-on;
22384943d6fSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
22484943d6fSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
22584943d6fSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
22684943d6fSEmmanuel Vadot	};
22784943d6fSEmmanuel Vadot};
22884943d6fSEmmanuel Vadot
22984943d6fSEmmanuel Vadot&combphy0_ps {
23084943d6fSEmmanuel Vadot	status = "okay";
23184943d6fSEmmanuel Vadot};
23284943d6fSEmmanuel Vadot
23384943d6fSEmmanuel Vadot&combphy1_ps {
23484943d6fSEmmanuel Vadot	status = "okay";
23584943d6fSEmmanuel Vadot};
23684943d6fSEmmanuel Vadot
23784943d6fSEmmanuel Vadot&combphy2_psu {
23884943d6fSEmmanuel Vadot	status = "okay";
23984943d6fSEmmanuel Vadot};
24084943d6fSEmmanuel Vadot
24184943d6fSEmmanuel Vadot&cpu_b0 {
24284943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
24384943d6fSEmmanuel Vadot};
24484943d6fSEmmanuel Vadot
24584943d6fSEmmanuel Vadot&cpu_b1 {
24684943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
24784943d6fSEmmanuel Vadot};
24884943d6fSEmmanuel Vadot
24984943d6fSEmmanuel Vadot&cpu_b2 {
25084943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
25184943d6fSEmmanuel Vadot};
25284943d6fSEmmanuel Vadot
25384943d6fSEmmanuel Vadot&cpu_b3 {
25484943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
25584943d6fSEmmanuel Vadot};
25684943d6fSEmmanuel Vadot
25784943d6fSEmmanuel Vadot&cpu_l0 {
25884943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
25984943d6fSEmmanuel Vadot};
26084943d6fSEmmanuel Vadot
26184943d6fSEmmanuel Vadot&cpu_l1 {
26284943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
26384943d6fSEmmanuel Vadot};
26484943d6fSEmmanuel Vadot
26584943d6fSEmmanuel Vadot&cpu_l2 {
26684943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
26784943d6fSEmmanuel Vadot};
26884943d6fSEmmanuel Vadot
26984943d6fSEmmanuel Vadot&cpu_l3 {
27084943d6fSEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
27184943d6fSEmmanuel Vadot};
27284943d6fSEmmanuel Vadot
27384943d6fSEmmanuel Vadot&gmac0 {
27484943d6fSEmmanuel Vadot	clock_in_out = "output";
27584943d6fSEmmanuel Vadot	phy-handle = <&rgmii_phy>;
27684943d6fSEmmanuel Vadot	phy-mode = "rgmii-rxid";
27784943d6fSEmmanuel Vadot	pinctrl-names = "default";
27884943d6fSEmmanuel Vadot	pinctrl-0 = <&gmac0_miim
27984943d6fSEmmanuel Vadot		     &gmac0_tx_bus2
28084943d6fSEmmanuel Vadot		     &gmac0_rx_bus2
28184943d6fSEmmanuel Vadot		     &gmac0_rgmii_clk
28284943d6fSEmmanuel Vadot		     &gmac0_rgmii_bus>;
28384943d6fSEmmanuel Vadot	rx_delay = <0x00>;
28484943d6fSEmmanuel Vadot	tx_delay = <0x43>;
28584943d6fSEmmanuel Vadot	status = "okay";
28684943d6fSEmmanuel Vadot};
28784943d6fSEmmanuel Vadot
28884943d6fSEmmanuel Vadot&i2c2 {
28984943d6fSEmmanuel Vadot	status = "okay";
29084943d6fSEmmanuel Vadot
29184943d6fSEmmanuel Vadot	hym8563: rtc@51 {
29284943d6fSEmmanuel Vadot		compatible = "haoyu,hym8563";
29384943d6fSEmmanuel Vadot		reg = <0x51>;
29484943d6fSEmmanuel Vadot		#clock-cells = <0>;
29584943d6fSEmmanuel Vadot		clock-output-names = "hym8563";
29684943d6fSEmmanuel Vadot		interrupt-parent = <&gpio0>;
29784943d6fSEmmanuel Vadot		interrupts = <RK_PD4 IRQ_TYPE_LEVEL_LOW>;
29884943d6fSEmmanuel Vadot		pinctrl-names = "default";
29984943d6fSEmmanuel Vadot		pinctrl-0 = <&hym8563_int>;
30084943d6fSEmmanuel Vadot		wakeup-source;
30184943d6fSEmmanuel Vadot	};
30284943d6fSEmmanuel Vadot};
30384943d6fSEmmanuel Vadot
30484943d6fSEmmanuel Vadot&i2c7 {
30584943d6fSEmmanuel Vadot	status = "okay";
30684943d6fSEmmanuel Vadot
30784943d6fSEmmanuel Vadot	es8388: audio-codec@11 {
30884943d6fSEmmanuel Vadot		compatible = "everest,es8388";
30984943d6fSEmmanuel Vadot		reg = <0x11>;
31084943d6fSEmmanuel Vadot		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
31184943d6fSEmmanuel Vadot		assigned-clock-rates = <12288000>;
31284943d6fSEmmanuel Vadot		clocks = <&cru I2S0_8CH_MCLKOUT>;
31384943d6fSEmmanuel Vadot		clock-names = "mclk";
31484943d6fSEmmanuel Vadot		AVDD-supply = <&avcc_1v8_codec_s0>;
31584943d6fSEmmanuel Vadot		DVDD-supply = <&avcc_1v8_codec_s0>;
31684943d6fSEmmanuel Vadot		HPVDD-supply = <&vcc_3v3_s0>;
31784943d6fSEmmanuel Vadot		PVDD-supply = <&vcc_3v3_s0>;
31884943d6fSEmmanuel Vadot		#sound-dai-cells = <0>;
31984943d6fSEmmanuel Vadot	};
32084943d6fSEmmanuel Vadot};
32184943d6fSEmmanuel Vadot
32284943d6fSEmmanuel Vadot&i2s0_8ch {
32384943d6fSEmmanuel Vadot	pinctrl-names = "default";
32484943d6fSEmmanuel Vadot	pinctrl-0 = <&i2s0_lrck
32584943d6fSEmmanuel Vadot		     &i2s0_mclk
32684943d6fSEmmanuel Vadot		     &i2s0_sclk
32784943d6fSEmmanuel Vadot		     &i2s0_sdi0
32884943d6fSEmmanuel Vadot		     &i2s0_sdo0>;
32984943d6fSEmmanuel Vadot	status = "okay";
33084943d6fSEmmanuel Vadot};
33184943d6fSEmmanuel Vadot
33284943d6fSEmmanuel Vadot&mdio0 {
33384943d6fSEmmanuel Vadot	rgmii_phy: ethernet-phy@1 {
33484943d6fSEmmanuel Vadot		/* RTL8211F */
33584943d6fSEmmanuel Vadot		compatible = "ethernet-phy-id001c.c916";
33684943d6fSEmmanuel Vadot		reg = <0x1>;
33784943d6fSEmmanuel Vadot		pinctrl-names = "default";
33884943d6fSEmmanuel Vadot		pinctrl-0 = <&rtl8211f_rst>;
33984943d6fSEmmanuel Vadot		reset-assert-us = <20000>;
34084943d6fSEmmanuel Vadot		reset-deassert-us = <100000>;
34184943d6fSEmmanuel Vadot		reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
34284943d6fSEmmanuel Vadot	};
34384943d6fSEmmanuel Vadot};
34484943d6fSEmmanuel Vadot
34584943d6fSEmmanuel Vadot&pinctrl {
34684943d6fSEmmanuel Vadot	hym8563 {
34784943d6fSEmmanuel Vadot		hym8563_int: hym8563-int {
34884943d6fSEmmanuel Vadot			rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
34984943d6fSEmmanuel Vadot		};
35084943d6fSEmmanuel Vadot	};
35184943d6fSEmmanuel Vadot
35284943d6fSEmmanuel Vadot	leds {
35384943d6fSEmmanuel Vadot		led_pins: led-pins {
35484943d6fSEmmanuel Vadot			rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>;
35584943d6fSEmmanuel Vadot		};
35684943d6fSEmmanuel Vadot	};
35784943d6fSEmmanuel Vadot
35884943d6fSEmmanuel Vadot	rtl8111 {
35984943d6fSEmmanuel Vadot		rtl8111_isolate: rtl8111-isolate {
36084943d6fSEmmanuel Vadot			rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
36184943d6fSEmmanuel Vadot		};
36284943d6fSEmmanuel Vadot	};
36384943d6fSEmmanuel Vadot
36484943d6fSEmmanuel Vadot	rtl8211f {
36584943d6fSEmmanuel Vadot		rtl8211f_rst: rtl8211f-rst {
36684943d6fSEmmanuel Vadot			rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
36784943d6fSEmmanuel Vadot		};
36884943d6fSEmmanuel Vadot
36984943d6fSEmmanuel Vadot	};
37084943d6fSEmmanuel Vadot
37184943d6fSEmmanuel Vadot	sound {
37284943d6fSEmmanuel Vadot		hp_detect: hp-detect {
37384943d6fSEmmanuel Vadot			rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
37484943d6fSEmmanuel Vadot		};
37584943d6fSEmmanuel Vadot	};
37684943d6fSEmmanuel Vadot
37784943d6fSEmmanuel Vadot	usb {
37884943d6fSEmmanuel Vadot		vcc5v0_host_en: vcc5v0-host-en {
37984943d6fSEmmanuel Vadot			rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
38084943d6fSEmmanuel Vadot		};
38184943d6fSEmmanuel Vadot	};
38284943d6fSEmmanuel Vadot};
38384943d6fSEmmanuel Vadot
38484943d6fSEmmanuel Vadot/* WIFI */
38584943d6fSEmmanuel Vadot&pcie2x1l0 {
38684943d6fSEmmanuel Vadot	reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
38784943d6fSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_wf>;
38884943d6fSEmmanuel Vadot	status = "okay";
38984943d6fSEmmanuel Vadot};
39084943d6fSEmmanuel Vadot
39184943d6fSEmmanuel Vadot/* GMAC1 */
39284943d6fSEmmanuel Vadot&pcie2x1l1 {
39384943d6fSEmmanuel Vadot	pinctrl-names = "default";
39484943d6fSEmmanuel Vadot	pinctrl-0 = <&rtl8111_isolate>;
39584943d6fSEmmanuel Vadot	reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
39684943d6fSEmmanuel Vadot	status = "okay";
39784943d6fSEmmanuel Vadot};
39884943d6fSEmmanuel Vadot
39984943d6fSEmmanuel Vadot&pcie30phy {
40084943d6fSEmmanuel Vadot	status = "okay";
40184943d6fSEmmanuel Vadot};
40284943d6fSEmmanuel Vadot
40384943d6fSEmmanuel Vadot&pcie3x4 {
40484943d6fSEmmanuel Vadot	reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
40584943d6fSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie30>;
40684943d6fSEmmanuel Vadot	status = "okay";
40784943d6fSEmmanuel Vadot};
40884943d6fSEmmanuel Vadot
40984943d6fSEmmanuel Vadot&saradc {
41084943d6fSEmmanuel Vadot	vref-supply = <&vcc_1v8_s0>;
41184943d6fSEmmanuel Vadot	status = "okay";
41284943d6fSEmmanuel Vadot};
41384943d6fSEmmanuel Vadot
41484943d6fSEmmanuel Vadot&sata0 {
41584943d6fSEmmanuel Vadot	status = "okay";
41684943d6fSEmmanuel Vadot};
41784943d6fSEmmanuel Vadot
41884943d6fSEmmanuel Vadot&sdhci {
41984943d6fSEmmanuel Vadot	bus-width = <8>;
42084943d6fSEmmanuel Vadot	no-sdio;
42184943d6fSEmmanuel Vadot	no-sd;
42284943d6fSEmmanuel Vadot	non-removable;
42384943d6fSEmmanuel Vadot	max-frequency = <150000000>;
42484943d6fSEmmanuel Vadot	mmc-hs400-1_8v;
42584943d6fSEmmanuel Vadot	mmc-hs400-enhanced-strobe;
42684943d6fSEmmanuel Vadot	status = "okay";
42784943d6fSEmmanuel Vadot};
42884943d6fSEmmanuel Vadot
42984943d6fSEmmanuel Vadot&sdmmc {
43084943d6fSEmmanuel Vadot	bus-width = <4>;
43184943d6fSEmmanuel Vadot	cap-sd-highspeed;
43284943d6fSEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
43384943d6fSEmmanuel Vadot	disable-wp;
43484943d6fSEmmanuel Vadot	max-frequency = <150000000>;
43584943d6fSEmmanuel Vadot	no-sdio;
43684943d6fSEmmanuel Vadot	no-mmc;
43784943d6fSEmmanuel Vadot	sd-uhs-sdr104;
43884943d6fSEmmanuel Vadot	vmmc-supply = <&vcc_3v3_s3>;
43984943d6fSEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
44084943d6fSEmmanuel Vadot	status = "okay";
44184943d6fSEmmanuel Vadot};
44284943d6fSEmmanuel Vadot
44384943d6fSEmmanuel Vadot&spi2 {
44484943d6fSEmmanuel Vadot	assigned-clocks = <&cru CLK_SPI2>;
44584943d6fSEmmanuel Vadot	assigned-clock-rates = <200000000>;
44684943d6fSEmmanuel Vadot	num-cs = <2>;
44784943d6fSEmmanuel Vadot	status = "okay";
44884943d6fSEmmanuel Vadot
44984943d6fSEmmanuel Vadot	pmic@0 {
45084943d6fSEmmanuel Vadot		compatible = "rockchip,rk806";
45184943d6fSEmmanuel Vadot		reg = <0x0>;
45284943d6fSEmmanuel Vadot		#gpio-cells = <2>;
45384943d6fSEmmanuel Vadot		gpio-controller;
45484943d6fSEmmanuel Vadot		interrupt-parent = <&gpio0>;
45584943d6fSEmmanuel Vadot		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
45684943d6fSEmmanuel Vadot		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
45784943d6fSEmmanuel Vadot			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
45884943d6fSEmmanuel Vadot		pinctrl-names = "default";
45984943d6fSEmmanuel Vadot		spi-max-frequency = <1000000>;
46084943d6fSEmmanuel Vadot
46184943d6fSEmmanuel Vadot		vcc1-supply = <&vcc4v0_sys>;
46284943d6fSEmmanuel Vadot		vcc2-supply = <&vcc4v0_sys>;
46384943d6fSEmmanuel Vadot		vcc3-supply = <&vcc4v0_sys>;
46484943d6fSEmmanuel Vadot		vcc4-supply = <&vcc4v0_sys>;
46584943d6fSEmmanuel Vadot		vcc5-supply = <&vcc4v0_sys>;
46684943d6fSEmmanuel Vadot		vcc6-supply = <&vcc4v0_sys>;
46784943d6fSEmmanuel Vadot		vcc7-supply = <&vcc4v0_sys>;
46884943d6fSEmmanuel Vadot		vcc8-supply = <&vcc4v0_sys>;
46984943d6fSEmmanuel Vadot		vcc9-supply = <&vcc4v0_sys>;
47084943d6fSEmmanuel Vadot		vcc10-supply = <&vcc4v0_sys>;
47184943d6fSEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
47284943d6fSEmmanuel Vadot		vcc12-supply = <&vcc4v0_sys>;
47384943d6fSEmmanuel Vadot		vcc13-supply = <&vcc_1v1_nldo_s3>;
47484943d6fSEmmanuel Vadot		vcc14-supply = <&vcc_1v1_nldo_s3>;
47584943d6fSEmmanuel Vadot		vcca-supply = <&vcc4v0_sys>;
47684943d6fSEmmanuel Vadot
47784943d6fSEmmanuel Vadot		rk806_dvs1_null: dvs1-null-pins {
47884943d6fSEmmanuel Vadot			pins = "gpio_pwrctrl1";
47984943d6fSEmmanuel Vadot			function = "pin_fun0";
48084943d6fSEmmanuel Vadot		};
48184943d6fSEmmanuel Vadot
48284943d6fSEmmanuel Vadot		rk806_dvs2_null: dvs2-null-pins {
48384943d6fSEmmanuel Vadot			pins = "gpio_pwrctrl2";
48484943d6fSEmmanuel Vadot			function = "pin_fun0";
48584943d6fSEmmanuel Vadot		};
48684943d6fSEmmanuel Vadot
48784943d6fSEmmanuel Vadot		rk806_dvs3_null: dvs3-null-pins {
48884943d6fSEmmanuel Vadot			pins = "gpio_pwrctrl3";
48984943d6fSEmmanuel Vadot			function = "pin_fun0";
49084943d6fSEmmanuel Vadot		};
49184943d6fSEmmanuel Vadot
49284943d6fSEmmanuel Vadot		regulators {
49384943d6fSEmmanuel Vadot			vdd_gpu_s0: dcdc-reg1 {
49484943d6fSEmmanuel Vadot				regulator-name = "vdd_gpu_s0";
49584943d6fSEmmanuel Vadot				regulator-boot-on;
49684943d6fSEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
49784943d6fSEmmanuel Vadot				regulator-min-microvolt = <550000>;
49884943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
49984943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
50084943d6fSEmmanuel Vadot
50184943d6fSEmmanuel Vadot				regulator-state-mem {
50284943d6fSEmmanuel Vadot					regulator-off-in-suspend;
50384943d6fSEmmanuel Vadot				};
50484943d6fSEmmanuel Vadot			};
50584943d6fSEmmanuel Vadot
50684943d6fSEmmanuel Vadot			vdd_npu_s0: dcdc-reg2 {
50784943d6fSEmmanuel Vadot				regulator-name = "vdd_npu_s0";
50884943d6fSEmmanuel Vadot				regulator-always-on;
50984943d6fSEmmanuel Vadot				regulator-boot-on;
51084943d6fSEmmanuel Vadot				regulator-min-microvolt = <550000>;
51184943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
51284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
51384943d6fSEmmanuel Vadot
51484943d6fSEmmanuel Vadot				regulator-state-mem {
51584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
51684943d6fSEmmanuel Vadot				};
51784943d6fSEmmanuel Vadot			};
51884943d6fSEmmanuel Vadot
51984943d6fSEmmanuel Vadot			vdd_log_s0: dcdc-reg3 {
52084943d6fSEmmanuel Vadot				regulator-name = "vdd_log_s0";
52184943d6fSEmmanuel Vadot				regulator-always-on;
52284943d6fSEmmanuel Vadot				regulator-boot-on;
52384943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
52484943d6fSEmmanuel Vadot				regulator-max-microvolt = <750000>;
52584943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
52684943d6fSEmmanuel Vadot
52784943d6fSEmmanuel Vadot				regulator-state-mem {
52884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
52984943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
53084943d6fSEmmanuel Vadot				};
53184943d6fSEmmanuel Vadot			};
53284943d6fSEmmanuel Vadot
53384943d6fSEmmanuel Vadot			vdd_vdenc_s0: dcdc-reg4 {
53484943d6fSEmmanuel Vadot				regulator-name = "vdd_vdenc_s0";
53584943d6fSEmmanuel Vadot				regulator-always-on;
53684943d6fSEmmanuel Vadot				regulator-boot-on;
53784943d6fSEmmanuel Vadot				regulator-min-microvolt = <550000>;
53884943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
53984943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
54084943d6fSEmmanuel Vadot
54184943d6fSEmmanuel Vadot				regulator-state-mem {
54284943d6fSEmmanuel Vadot					regulator-off-in-suspend;
54384943d6fSEmmanuel Vadot				};
54484943d6fSEmmanuel Vadot
54584943d6fSEmmanuel Vadot			};
54684943d6fSEmmanuel Vadot
54784943d6fSEmmanuel Vadot			vdd_gpu_mem_s0: dcdc-reg5 {
54884943d6fSEmmanuel Vadot				regulator-name = "vdd_gpu_mem_s0";
54984943d6fSEmmanuel Vadot				regulator-boot-on;
55084943d6fSEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
55184943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
55284943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
55384943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
55484943d6fSEmmanuel Vadot
55584943d6fSEmmanuel Vadot				regulator-state-mem {
55684943d6fSEmmanuel Vadot					regulator-off-in-suspend;
55784943d6fSEmmanuel Vadot				};
55884943d6fSEmmanuel Vadot
55984943d6fSEmmanuel Vadot			};
56084943d6fSEmmanuel Vadot
56184943d6fSEmmanuel Vadot			vdd_npu_mem_s0: dcdc-reg6 {
56284943d6fSEmmanuel Vadot				regulator-name = "vdd_npu_mem_s0";
56384943d6fSEmmanuel Vadot				regulator-always-on;
56484943d6fSEmmanuel Vadot				regulator-boot-on;
56584943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
56684943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
56784943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
56884943d6fSEmmanuel Vadot
56984943d6fSEmmanuel Vadot				regulator-state-mem {
57084943d6fSEmmanuel Vadot					regulator-off-in-suspend;
57184943d6fSEmmanuel Vadot				};
57284943d6fSEmmanuel Vadot
57384943d6fSEmmanuel Vadot			};
57484943d6fSEmmanuel Vadot
57584943d6fSEmmanuel Vadot			vcc_2v0_pldo_s3: dcdc-reg7 {
57684943d6fSEmmanuel Vadot				regulator-name = "vdd_2v0_pldo_s3";
57784943d6fSEmmanuel Vadot				regulator-always-on;
57884943d6fSEmmanuel Vadot				regulator-boot-on;
57984943d6fSEmmanuel Vadot				regulator-min-microvolt = <2000000>;
58084943d6fSEmmanuel Vadot				regulator-max-microvolt = <2000000>;
58184943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
58284943d6fSEmmanuel Vadot
58384943d6fSEmmanuel Vadot				regulator-state-mem {
58484943d6fSEmmanuel Vadot					regulator-on-in-suspend;
58584943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <2000000>;
58684943d6fSEmmanuel Vadot				};
58784943d6fSEmmanuel Vadot			};
58884943d6fSEmmanuel Vadot
58984943d6fSEmmanuel Vadot			vdd_vdenc_mem_s0: dcdc-reg8 {
59084943d6fSEmmanuel Vadot				regulator-name = "vdd_vdenc_mem_s0";
59184943d6fSEmmanuel Vadot				regulator-always-on;
59284943d6fSEmmanuel Vadot				regulator-boot-on;
59384943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
59484943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
59584943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
59684943d6fSEmmanuel Vadot
59784943d6fSEmmanuel Vadot				regulator-state-mem {
59884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
59984943d6fSEmmanuel Vadot				};
60084943d6fSEmmanuel Vadot			};
60184943d6fSEmmanuel Vadot
60284943d6fSEmmanuel Vadot			vdd2_ddr_s3: dcdc-reg9 {
60384943d6fSEmmanuel Vadot				regulator-name = "vdd2_ddr_s3";
60484943d6fSEmmanuel Vadot				regulator-always-on;
60584943d6fSEmmanuel Vadot				regulator-boot-on;
60684943d6fSEmmanuel Vadot
60784943d6fSEmmanuel Vadot				regulator-state-mem {
60884943d6fSEmmanuel Vadot					regulator-on-in-suspend;
60984943d6fSEmmanuel Vadot				};
61084943d6fSEmmanuel Vadot			};
61184943d6fSEmmanuel Vadot
61284943d6fSEmmanuel Vadot			vcc_1v1_nldo_s3: dcdc-reg10 {
61384943d6fSEmmanuel Vadot				regulator-name = "vcc_1v1_nldo_s3";
61484943d6fSEmmanuel Vadot				regulator-always-on;
61584943d6fSEmmanuel Vadot				regulator-boot-on;
61684943d6fSEmmanuel Vadot				regulator-min-microvolt = <1100000>;
61784943d6fSEmmanuel Vadot				regulator-max-microvolt = <1100000>;
61884943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
61984943d6fSEmmanuel Vadot
62084943d6fSEmmanuel Vadot				regulator-state-mem {
62184943d6fSEmmanuel Vadot					regulator-on-in-suspend;
62284943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <1100000>;
62384943d6fSEmmanuel Vadot				};
62484943d6fSEmmanuel Vadot			};
62584943d6fSEmmanuel Vadot
62684943d6fSEmmanuel Vadot			avcc_1v8_s0: pldo-reg1 {
62784943d6fSEmmanuel Vadot				regulator-name = "avcc_1v8_s0";
62884943d6fSEmmanuel Vadot				regulator-always-on;
62984943d6fSEmmanuel Vadot				regulator-boot-on;
63084943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
63184943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
63284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
63384943d6fSEmmanuel Vadot
63484943d6fSEmmanuel Vadot				regulator-state-mem {
63584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
63684943d6fSEmmanuel Vadot				};
63784943d6fSEmmanuel Vadot			};
63884943d6fSEmmanuel Vadot
63984943d6fSEmmanuel Vadot			vdd1_1v8_ddr_s3: pldo-reg2 {
64084943d6fSEmmanuel Vadot				regulator-name = "vdd1_1v8_ddr_s3";
64184943d6fSEmmanuel Vadot				regulator-always-on;
64284943d6fSEmmanuel Vadot				regulator-boot-on;
64384943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
64484943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
64584943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
64684943d6fSEmmanuel Vadot
64784943d6fSEmmanuel Vadot				regulator-state-mem {
64884943d6fSEmmanuel Vadot					regulator-on-in-suspend;
64984943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
65084943d6fSEmmanuel Vadot				};
65184943d6fSEmmanuel Vadot			};
65284943d6fSEmmanuel Vadot
65384943d6fSEmmanuel Vadot			avcc_1v8_codec_s0: pldo-reg3 {
65484943d6fSEmmanuel Vadot				regulator-name = "avcc_1v8_codec_s0";
65584943d6fSEmmanuel Vadot				regulator-always-on;
65684943d6fSEmmanuel Vadot				regulator-boot-on;
65784943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
65884943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
65984943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
66084943d6fSEmmanuel Vadot
66184943d6fSEmmanuel Vadot				regulator-state-mem {
66284943d6fSEmmanuel Vadot					regulator-off-in-suspend;
66384943d6fSEmmanuel Vadot				};
66484943d6fSEmmanuel Vadot			};
66584943d6fSEmmanuel Vadot
66684943d6fSEmmanuel Vadot			vcc_3v3_s3: pldo-reg4 {
66784943d6fSEmmanuel Vadot				regulator-name = "vcc_3v3_s3";
66884943d6fSEmmanuel Vadot				regulator-always-on;
66984943d6fSEmmanuel Vadot				regulator-boot-on;
67084943d6fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
67184943d6fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
67284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
67384943d6fSEmmanuel Vadot
67484943d6fSEmmanuel Vadot				regulator-state-mem {
67584943d6fSEmmanuel Vadot					regulator-on-in-suspend;
67684943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
67784943d6fSEmmanuel Vadot				};
67884943d6fSEmmanuel Vadot			};
67984943d6fSEmmanuel Vadot
68084943d6fSEmmanuel Vadot			vccio_sd_s0: pldo-reg5 {
68184943d6fSEmmanuel Vadot				regulator-name = "vccio_sd_s0";
68284943d6fSEmmanuel Vadot				regulator-always-on;
68384943d6fSEmmanuel Vadot				regulator-boot-on;
68484943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
68584943d6fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
68684943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
68784943d6fSEmmanuel Vadot
68884943d6fSEmmanuel Vadot				regulator-state-mem {
68984943d6fSEmmanuel Vadot					regulator-off-in-suspend;
69084943d6fSEmmanuel Vadot				};
69184943d6fSEmmanuel Vadot			};
69284943d6fSEmmanuel Vadot
69384943d6fSEmmanuel Vadot			vcc_1v8_s3: pldo-reg6 {
69484943d6fSEmmanuel Vadot				regulator-name = "vcc_1v8_s3";
69584943d6fSEmmanuel Vadot				regulator-always-on;
69684943d6fSEmmanuel Vadot				regulator-boot-on;
69784943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
69884943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
69984943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
70084943d6fSEmmanuel Vadot
70184943d6fSEmmanuel Vadot				regulator-state-mem {
70284943d6fSEmmanuel Vadot					regulator-on-in-suspend;
70384943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
70484943d6fSEmmanuel Vadot				};
70584943d6fSEmmanuel Vadot			};
70684943d6fSEmmanuel Vadot
70784943d6fSEmmanuel Vadot			vdd_0v75_s3: nldo-reg1 {
70884943d6fSEmmanuel Vadot				regulator-name = "vdd_0v75_s3";
70984943d6fSEmmanuel Vadot				regulator-always-on;
71084943d6fSEmmanuel Vadot				regulator-boot-on;
71184943d6fSEmmanuel Vadot				regulator-min-microvolt = <750000>;
71284943d6fSEmmanuel Vadot				regulator-max-microvolt = <750000>;
71384943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
71484943d6fSEmmanuel Vadot
71584943d6fSEmmanuel Vadot				regulator-state-mem {
71684943d6fSEmmanuel Vadot					regulator-on-in-suspend;
71784943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
71884943d6fSEmmanuel Vadot				};
71984943d6fSEmmanuel Vadot			};
72084943d6fSEmmanuel Vadot
72184943d6fSEmmanuel Vadot			/* reserved for LPDDR5, unused? */
72284943d6fSEmmanuel Vadot			vdd2l_0v9_ddr_s3: nldo-reg2 {
72384943d6fSEmmanuel Vadot				regulator-name = "vdd2l_0v9_ddr_s3";
72484943d6fSEmmanuel Vadot				regulator-always-on;
72584943d6fSEmmanuel Vadot				regulator-boot-on;
72684943d6fSEmmanuel Vadot				regulator-min-microvolt = <900000>;
72784943d6fSEmmanuel Vadot				regulator-max-microvolt = <900000>;
72884943d6fSEmmanuel Vadot
72984943d6fSEmmanuel Vadot				regulator-state-mem {
73084943d6fSEmmanuel Vadot					regulator-on-in-suspend;
73184943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <900000>;
73284943d6fSEmmanuel Vadot				};
73384943d6fSEmmanuel Vadot			};
73484943d6fSEmmanuel Vadot
73584943d6fSEmmanuel Vadot			vdd_0v75_hdmi_edp_s0: nldo-reg3 {
73684943d6fSEmmanuel Vadot				regulator-name = "vdd_0v75_hdmi_edp_s0";
73784943d6fSEmmanuel Vadot				regulator-always-on;
73884943d6fSEmmanuel Vadot				regulator-boot-on;
73984943d6fSEmmanuel Vadot				regulator-min-microvolt = <750000>;
74084943d6fSEmmanuel Vadot				regulator-max-microvolt = <750000>;
74184943d6fSEmmanuel Vadot
74284943d6fSEmmanuel Vadot				regulator-state-mem {
74384943d6fSEmmanuel Vadot					regulator-off-in-suspend;
74484943d6fSEmmanuel Vadot				};
74584943d6fSEmmanuel Vadot			};
74684943d6fSEmmanuel Vadot
74784943d6fSEmmanuel Vadot			avdd_0v75_s0: nldo-reg4 {
74884943d6fSEmmanuel Vadot				regulator-name = "avdd_0v75_s0";
74984943d6fSEmmanuel Vadot				regulator-always-on;
75084943d6fSEmmanuel Vadot				regulator-boot-on;
75184943d6fSEmmanuel Vadot				regulator-min-microvolt = <750000>;
75284943d6fSEmmanuel Vadot				regulator-max-microvolt = <750000>;
75384943d6fSEmmanuel Vadot
75484943d6fSEmmanuel Vadot				regulator-state-mem {
75584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
75684943d6fSEmmanuel Vadot				};
75784943d6fSEmmanuel Vadot			};
75884943d6fSEmmanuel Vadot
75984943d6fSEmmanuel Vadot			vdd_0v85_s0: nldo-reg5 {
76084943d6fSEmmanuel Vadot				regulator-name = "vdd_0v85_s0";
76184943d6fSEmmanuel Vadot				regulator-always-on;
76284943d6fSEmmanuel Vadot				regulator-boot-on;
76384943d6fSEmmanuel Vadot				regulator-min-microvolt = <850000>;
76484943d6fSEmmanuel Vadot				regulator-max-microvolt = <850000>;
76584943d6fSEmmanuel Vadot
76684943d6fSEmmanuel Vadot				regulator-state-mem {
76784943d6fSEmmanuel Vadot					regulator-off-in-suspend;
76884943d6fSEmmanuel Vadot				};
76984943d6fSEmmanuel Vadot			};
77084943d6fSEmmanuel Vadot		};
77184943d6fSEmmanuel Vadot	};
77284943d6fSEmmanuel Vadot
77384943d6fSEmmanuel Vadot	pmic@1 {
77484943d6fSEmmanuel Vadot		compatible = "rockchip,rk806";
77584943d6fSEmmanuel Vadot		reg = <0x01>;
77684943d6fSEmmanuel Vadot		#gpio-cells = <2>;
77784943d6fSEmmanuel Vadot		gpio-controller;
77884943d6fSEmmanuel Vadot		interrupt-parent = <&gpio0>;
77984943d6fSEmmanuel Vadot		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
78084943d6fSEmmanuel Vadot		pinctrl-0 = <&rk806_slave_dvs1_null>, <&rk806_slave_dvs2_null>,
78184943d6fSEmmanuel Vadot			    <&rk806_slave_dvs3_null>;
78284943d6fSEmmanuel Vadot		pinctrl-names = "default";
78384943d6fSEmmanuel Vadot		spi-max-frequency = <1000000>;
78484943d6fSEmmanuel Vadot
78584943d6fSEmmanuel Vadot		vcc1-supply = <&vcc4v0_sys>;
78684943d6fSEmmanuel Vadot		vcc2-supply = <&vcc4v0_sys>;
78784943d6fSEmmanuel Vadot		vcc3-supply = <&vcc4v0_sys>;
78884943d6fSEmmanuel Vadot		vcc4-supply = <&vcc4v0_sys>;
78984943d6fSEmmanuel Vadot		vcc5-supply = <&vcc4v0_sys>;
79084943d6fSEmmanuel Vadot		vcc6-supply = <&vcc4v0_sys>;
79184943d6fSEmmanuel Vadot		vcc7-supply = <&vcc4v0_sys>;
79284943d6fSEmmanuel Vadot		vcc8-supply = <&vcc4v0_sys>;
79384943d6fSEmmanuel Vadot		vcc9-supply = <&vcc4v0_sys>;
79484943d6fSEmmanuel Vadot		vcc10-supply = <&vcc4v0_sys>;
79584943d6fSEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
79684943d6fSEmmanuel Vadot		vcc12-supply = <&vcc4v0_sys>;
79784943d6fSEmmanuel Vadot		vcc13-supply = <&vcc_1v1_nldo_s3>;
79884943d6fSEmmanuel Vadot		vcc14-supply = <&vcc_2v0_pldo_s3>;
79984943d6fSEmmanuel Vadot		vcca-supply = <&vcc4v0_sys>;
80084943d6fSEmmanuel Vadot
80184943d6fSEmmanuel Vadot		rk806_slave_dvs1_null: dvs1-null-pins {
80284943d6fSEmmanuel Vadot			pins = "gpio_pwrctrl1";
80384943d6fSEmmanuel Vadot			function = "pin_fun0";
80484943d6fSEmmanuel Vadot		};
80584943d6fSEmmanuel Vadot
80684943d6fSEmmanuel Vadot		rk806_slave_dvs2_null: dvs2-null-pins {
80784943d6fSEmmanuel Vadot			pins = "gpio_pwrctrl2";
80884943d6fSEmmanuel Vadot			function = "pin_fun0";
80984943d6fSEmmanuel Vadot		};
81084943d6fSEmmanuel Vadot
81184943d6fSEmmanuel Vadot		rk806_slave_dvs3_null: dvs3-null-pins {
81284943d6fSEmmanuel Vadot			pins = "gpio_pwrctrl3";
81384943d6fSEmmanuel Vadot			function = "pin_fun0";
81484943d6fSEmmanuel Vadot		};
81584943d6fSEmmanuel Vadot
81684943d6fSEmmanuel Vadot		regulators {
81784943d6fSEmmanuel Vadot			vdd_cpu_big1_s0: dcdc-reg1 {
81884943d6fSEmmanuel Vadot				regulator-name = "vdd_cpu_big1_s0";
81984943d6fSEmmanuel Vadot				regulator-always-on;
82084943d6fSEmmanuel Vadot				regulator-boot-on;
82184943d6fSEmmanuel Vadot				regulator-min-microvolt = <550000>;
82284943d6fSEmmanuel Vadot				regulator-max-microvolt = <1050000>;
82384943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
82484943d6fSEmmanuel Vadot
82584943d6fSEmmanuel Vadot				regulator-state-mem {
82684943d6fSEmmanuel Vadot					regulator-off-in-suspend;
82784943d6fSEmmanuel Vadot				};
82884943d6fSEmmanuel Vadot			};
82984943d6fSEmmanuel Vadot
83084943d6fSEmmanuel Vadot			vdd_cpu_big0_s0: dcdc-reg2 {
83184943d6fSEmmanuel Vadot				regulator-name = "vdd_cpu_big0_s0";
83284943d6fSEmmanuel Vadot				regulator-always-on;
83384943d6fSEmmanuel Vadot				regulator-boot-on;
83484943d6fSEmmanuel Vadot				regulator-min-microvolt = <550000>;
83584943d6fSEmmanuel Vadot				regulator-max-microvolt = <1050000>;
83684943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
83784943d6fSEmmanuel Vadot
83884943d6fSEmmanuel Vadot				regulator-state-mem {
83984943d6fSEmmanuel Vadot					regulator-off-in-suspend;
84084943d6fSEmmanuel Vadot				};
84184943d6fSEmmanuel Vadot			};
84284943d6fSEmmanuel Vadot
84384943d6fSEmmanuel Vadot			vdd_cpu_lit_s0: dcdc-reg3 {
84484943d6fSEmmanuel Vadot				regulator-name = "vdd_cpu_lit_s0";
84584943d6fSEmmanuel Vadot				regulator-always-on;
84684943d6fSEmmanuel Vadot				regulator-boot-on;
84784943d6fSEmmanuel Vadot				regulator-min-microvolt = <550000>;
84884943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
84984943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
85084943d6fSEmmanuel Vadot
85184943d6fSEmmanuel Vadot				regulator-state-mem {
85284943d6fSEmmanuel Vadot					regulator-off-in-suspend;
85384943d6fSEmmanuel Vadot				};
85484943d6fSEmmanuel Vadot			};
85584943d6fSEmmanuel Vadot
85684943d6fSEmmanuel Vadot			vcc_3v3_s0: dcdc-reg4 {
85784943d6fSEmmanuel Vadot				regulator-name = "vcc_3v3_s0";
85884943d6fSEmmanuel Vadot				regulator-always-on;
85984943d6fSEmmanuel Vadot				regulator-boot-on;
86084943d6fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
86184943d6fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
86284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
86384943d6fSEmmanuel Vadot
86484943d6fSEmmanuel Vadot				regulator-state-mem {
86584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
86684943d6fSEmmanuel Vadot				};
86784943d6fSEmmanuel Vadot			};
86884943d6fSEmmanuel Vadot
86984943d6fSEmmanuel Vadot			vdd_cpu_big1_mem_s0: dcdc-reg5 {
87084943d6fSEmmanuel Vadot				regulator-name = "vdd_cpu_big1_mem_s0";
87184943d6fSEmmanuel Vadot				regulator-always-on;
87284943d6fSEmmanuel Vadot				regulator-boot-on;
87384943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
87484943d6fSEmmanuel Vadot				regulator-max-microvolt = <1050000>;
87584943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
87684943d6fSEmmanuel Vadot
87784943d6fSEmmanuel Vadot				regulator-state-mem {
87884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
87984943d6fSEmmanuel Vadot				};
88084943d6fSEmmanuel Vadot			};
88184943d6fSEmmanuel Vadot
88284943d6fSEmmanuel Vadot
88384943d6fSEmmanuel Vadot			vdd_cpu_big0_mem_s0: dcdc-reg6 {
88484943d6fSEmmanuel Vadot				regulator-name = "vdd_cpu_big0_mem_s0";
88584943d6fSEmmanuel Vadot				regulator-always-on;
88684943d6fSEmmanuel Vadot				regulator-boot-on;
88784943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
88884943d6fSEmmanuel Vadot				regulator-max-microvolt = <1050000>;
88984943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
89084943d6fSEmmanuel Vadot
89184943d6fSEmmanuel Vadot				regulator-state-mem {
89284943d6fSEmmanuel Vadot					regulator-off-in-suspend;
89384943d6fSEmmanuel Vadot				};
89484943d6fSEmmanuel Vadot			};
89584943d6fSEmmanuel Vadot
89684943d6fSEmmanuel Vadot			vcc_1v8_s0: dcdc-reg7 {
89784943d6fSEmmanuel Vadot				regulator-name = "vcc_1v8_s0";
89884943d6fSEmmanuel Vadot				regulator-always-on;
89984943d6fSEmmanuel Vadot				regulator-boot-on;
90084943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
90184943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
90284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
90384943d6fSEmmanuel Vadot
90484943d6fSEmmanuel Vadot				regulator-state-mem {
90584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
90684943d6fSEmmanuel Vadot				};
90784943d6fSEmmanuel Vadot			};
90884943d6fSEmmanuel Vadot
90984943d6fSEmmanuel Vadot			vdd_cpu_lit_mem_s0: dcdc-reg8 {
91084943d6fSEmmanuel Vadot				regulator-name = "vdd_cpu_lit_mem_s0";
91184943d6fSEmmanuel Vadot				regulator-always-on;
91284943d6fSEmmanuel Vadot				regulator-boot-on;
91384943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
91484943d6fSEmmanuel Vadot				regulator-max-microvolt = <950000>;
91584943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
91684943d6fSEmmanuel Vadot
91784943d6fSEmmanuel Vadot				regulator-state-mem {
91884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
91984943d6fSEmmanuel Vadot				};
92084943d6fSEmmanuel Vadot			};
92184943d6fSEmmanuel Vadot
92284943d6fSEmmanuel Vadot			vddq_ddr_s0: dcdc-reg9 {
92384943d6fSEmmanuel Vadot				regulator-name = "vddq_ddr_s0";
92484943d6fSEmmanuel Vadot				regulator-always-on;
92584943d6fSEmmanuel Vadot				regulator-boot-on;
92684943d6fSEmmanuel Vadot
92784943d6fSEmmanuel Vadot				regulator-state-mem {
92884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
92984943d6fSEmmanuel Vadot				};
93084943d6fSEmmanuel Vadot			};
93184943d6fSEmmanuel Vadot
93284943d6fSEmmanuel Vadot			vdd_ddr_s0: dcdc-reg10 {
93384943d6fSEmmanuel Vadot				regulator-name = "vdd_ddr_s0";
93484943d6fSEmmanuel Vadot				regulator-always-on;
93584943d6fSEmmanuel Vadot				regulator-boot-on;
93684943d6fSEmmanuel Vadot				regulator-min-microvolt = <675000>;
93784943d6fSEmmanuel Vadot				regulator-max-microvolt = <900000>;
93884943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
93984943d6fSEmmanuel Vadot
94084943d6fSEmmanuel Vadot				regulator-state-mem {
94184943d6fSEmmanuel Vadot					regulator-off-in-suspend;
94284943d6fSEmmanuel Vadot				};
94384943d6fSEmmanuel Vadot			};
94484943d6fSEmmanuel Vadot
94584943d6fSEmmanuel Vadot			/* reserved, unused? */
94684943d6fSEmmanuel Vadot			vcc_1v8_cam_s0: pldo-reg1 {
94784943d6fSEmmanuel Vadot				regulator-name = "vcc_1v8_cam_s0";
94884943d6fSEmmanuel Vadot				regulator-always-on;
94984943d6fSEmmanuel Vadot				regulator-boot-on;
95084943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
95184943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
95284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
95384943d6fSEmmanuel Vadot
95484943d6fSEmmanuel Vadot				regulator-state-mem {
95584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
95684943d6fSEmmanuel Vadot				};
95784943d6fSEmmanuel Vadot			};
95884943d6fSEmmanuel Vadot
95984943d6fSEmmanuel Vadot			avdd1v8_ddr_pll_s0: pldo-reg2 {
96084943d6fSEmmanuel Vadot				regulator-name = "avdd1v8_ddr_pll_s0";
96184943d6fSEmmanuel Vadot				regulator-always-on;
96284943d6fSEmmanuel Vadot				regulator-boot-on;
96384943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
96484943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
96584943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
96684943d6fSEmmanuel Vadot
96784943d6fSEmmanuel Vadot				regulator-state-mem {
96884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
96984943d6fSEmmanuel Vadot				};
97084943d6fSEmmanuel Vadot			};
97184943d6fSEmmanuel Vadot
97284943d6fSEmmanuel Vadot			vdd_1v8_pll_s0: pldo-reg3 {
97384943d6fSEmmanuel Vadot				regulator-name = "vdd_1v8_pll_s0";
97484943d6fSEmmanuel Vadot				regulator-always-on;
97584943d6fSEmmanuel Vadot				regulator-boot-on;
97684943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
97784943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
97884943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
97984943d6fSEmmanuel Vadot
98084943d6fSEmmanuel Vadot				regulator-state-mem {
98184943d6fSEmmanuel Vadot					regulator-off-in-suspend;
98284943d6fSEmmanuel Vadot				};
98384943d6fSEmmanuel Vadot			};
98484943d6fSEmmanuel Vadot
98584943d6fSEmmanuel Vadot			/* reserved, unused? */
98684943d6fSEmmanuel Vadot			vcc_3v3_sd_s0: pldo-reg4 {
98784943d6fSEmmanuel Vadot				regulator-name = "vcc_3v3_sd_s0";
98884943d6fSEmmanuel Vadot				regulator-always-on;
98984943d6fSEmmanuel Vadot				regulator-boot-on;
99084943d6fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
99184943d6fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
99284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
99384943d6fSEmmanuel Vadot
99484943d6fSEmmanuel Vadot				regulator-state-mem {
99584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
99684943d6fSEmmanuel Vadot				};
99784943d6fSEmmanuel Vadot			};
99884943d6fSEmmanuel Vadot
99984943d6fSEmmanuel Vadot			/* reserved, unused? */
100084943d6fSEmmanuel Vadot			vcc_2v8_cam_s0: pldo-reg5 {
100184943d6fSEmmanuel Vadot				regulator-name = "vcc_2v8_cam_s0";
100284943d6fSEmmanuel Vadot				regulator-always-on;
100384943d6fSEmmanuel Vadot				regulator-boot-on;
100484943d6fSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
100584943d6fSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
100684943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
100784943d6fSEmmanuel Vadot
100884943d6fSEmmanuel Vadot				regulator-state-mem {
100984943d6fSEmmanuel Vadot					regulator-off-in-suspend;
101084943d6fSEmmanuel Vadot				};
101184943d6fSEmmanuel Vadot			};
101284943d6fSEmmanuel Vadot
101384943d6fSEmmanuel Vadot			/* unused */
101484943d6fSEmmanuel Vadot			pldo6_s3: pldo-reg6 {
101584943d6fSEmmanuel Vadot				regulator-name = "pldo6_s3";
101684943d6fSEmmanuel Vadot				regulator-always-on;
101784943d6fSEmmanuel Vadot				regulator-boot-on;
101884943d6fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
101984943d6fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
102084943d6fSEmmanuel Vadot
102184943d6fSEmmanuel Vadot				regulator-state-mem {
102284943d6fSEmmanuel Vadot					regulator-on-in-suspend;
102384943d6fSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
102484943d6fSEmmanuel Vadot				};
102584943d6fSEmmanuel Vadot			};
102684943d6fSEmmanuel Vadot
102784943d6fSEmmanuel Vadot			vdd_0v75_pll_s0: nldo-reg1 {
102884943d6fSEmmanuel Vadot				regulator-name = "vdd_0v75_pll_s0";
102984943d6fSEmmanuel Vadot				regulator-always-on;
103084943d6fSEmmanuel Vadot				regulator-boot-on;
103184943d6fSEmmanuel Vadot				regulator-min-microvolt = <750000>;
103284943d6fSEmmanuel Vadot				regulator-max-microvolt = <750000>;
103384943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
103484943d6fSEmmanuel Vadot
103584943d6fSEmmanuel Vadot				regulator-state-mem {
103684943d6fSEmmanuel Vadot					regulator-off-in-suspend;
103784943d6fSEmmanuel Vadot				};
103884943d6fSEmmanuel Vadot			};
103984943d6fSEmmanuel Vadot
104084943d6fSEmmanuel Vadot			vdd_ddr_pll_s0: nldo-reg2 {
104184943d6fSEmmanuel Vadot				regulator-name = "vdd_ddr_pll_s0";
104284943d6fSEmmanuel Vadot				regulator-always-on;
104384943d6fSEmmanuel Vadot				regulator-boot-on;
104484943d6fSEmmanuel Vadot				regulator-min-microvolt = <850000>;
104584943d6fSEmmanuel Vadot				regulator-max-microvolt = <850000>;
104684943d6fSEmmanuel Vadot
104784943d6fSEmmanuel Vadot				regulator-state-mem {
104884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
104984943d6fSEmmanuel Vadot				};
105084943d6fSEmmanuel Vadot			};
105184943d6fSEmmanuel Vadot
105284943d6fSEmmanuel Vadot			avdd_0v85_s0: nldo-reg3 {
105384943d6fSEmmanuel Vadot				regulator-name = "avdd_0v85_s0";
105484943d6fSEmmanuel Vadot				regulator-always-on;
105584943d6fSEmmanuel Vadot				regulator-boot-on;
105684943d6fSEmmanuel Vadot				regulator-min-microvolt = <850000>;
105784943d6fSEmmanuel Vadot				regulator-max-microvolt = <850000>;
105884943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
105984943d6fSEmmanuel Vadot
106084943d6fSEmmanuel Vadot				regulator-state-mem {
106184943d6fSEmmanuel Vadot					regulator-off-in-suspend;
106284943d6fSEmmanuel Vadot				};
106384943d6fSEmmanuel Vadot			};
106484943d6fSEmmanuel Vadot
106584943d6fSEmmanuel Vadot			/* reserved, unused */
106684943d6fSEmmanuel Vadot			avdd_1v2_cam_s0: nldo-reg4 {
106784943d6fSEmmanuel Vadot				regulator-name = "avdd_1v2_cam_s0";
106884943d6fSEmmanuel Vadot				regulator-always-on;
106984943d6fSEmmanuel Vadot				regulator-boot-on;
107084943d6fSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
107184943d6fSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
107284943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
107384943d6fSEmmanuel Vadot
107484943d6fSEmmanuel Vadot				regulator-state-mem {
107584943d6fSEmmanuel Vadot					regulator-off-in-suspend;
107684943d6fSEmmanuel Vadot				};
107784943d6fSEmmanuel Vadot			};
107884943d6fSEmmanuel Vadot
107984943d6fSEmmanuel Vadot			avdd_1v2_s0: nldo-reg5 {
108084943d6fSEmmanuel Vadot				regulator-name = "avdd_1v2_s0";
108184943d6fSEmmanuel Vadot				regulator-always-on;
108284943d6fSEmmanuel Vadot				regulator-boot-on;
108384943d6fSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
108484943d6fSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
108584943d6fSEmmanuel Vadot				regulator-ramp-delay = <12500>;
108684943d6fSEmmanuel Vadot
108784943d6fSEmmanuel Vadot				regulator-state-mem {
108884943d6fSEmmanuel Vadot					regulator-off-in-suspend;
108984943d6fSEmmanuel Vadot				};
109084943d6fSEmmanuel Vadot			};
109184943d6fSEmmanuel Vadot		};
109284943d6fSEmmanuel Vadot	};
109384943d6fSEmmanuel Vadot};
109484943d6fSEmmanuel Vadot
109584943d6fSEmmanuel Vadot&tsadc {
109684943d6fSEmmanuel Vadot	status = "okay";
109784943d6fSEmmanuel Vadot};
109884943d6fSEmmanuel Vadot
109984943d6fSEmmanuel Vadot&u2phy2 {
110084943d6fSEmmanuel Vadot	status = "okay";
110184943d6fSEmmanuel Vadot};
110284943d6fSEmmanuel Vadot
110384943d6fSEmmanuel Vadot&u2phy2_host {
110484943d6fSEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
110584943d6fSEmmanuel Vadot	status = "okay";
110684943d6fSEmmanuel Vadot};
110784943d6fSEmmanuel Vadot
110884943d6fSEmmanuel Vadot&u2phy3 {
110984943d6fSEmmanuel Vadot	status = "okay";
111084943d6fSEmmanuel Vadot};
111184943d6fSEmmanuel Vadot
111284943d6fSEmmanuel Vadot&u2phy3_host {
111384943d6fSEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
111484943d6fSEmmanuel Vadot	status = "okay";
111584943d6fSEmmanuel Vadot};
111684943d6fSEmmanuel Vadot
111784943d6fSEmmanuel Vadot&uart2 {
111884943d6fSEmmanuel Vadot	pinctrl-names = "default";
111984943d6fSEmmanuel Vadot	pinctrl-0 = <&uart2m0_xfer>;
112084943d6fSEmmanuel Vadot	status = "okay";
112184943d6fSEmmanuel Vadot};
112284943d6fSEmmanuel Vadot
112384943d6fSEmmanuel Vadot&usb_host0_ehci {
112484943d6fSEmmanuel Vadot	status = "okay";
112584943d6fSEmmanuel Vadot};
112684943d6fSEmmanuel Vadot
112784943d6fSEmmanuel Vadot&usb_host0_ohci {
112884943d6fSEmmanuel Vadot	status = "okay";
112984943d6fSEmmanuel Vadot};
113084943d6fSEmmanuel Vadot
113184943d6fSEmmanuel Vadot&usb_host1_ehci {
113284943d6fSEmmanuel Vadot	status = "okay";
113384943d6fSEmmanuel Vadot};
113484943d6fSEmmanuel Vadot
113584943d6fSEmmanuel Vadot&usb_host1_ohci {
113684943d6fSEmmanuel Vadot	status = "okay";
113784943d6fSEmmanuel Vadot};
1138