1a1d32814SChristopher Obbard// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2a1d32814SChristopher Obbard
3a1d32814SChristopher Obbard/dts-v1/;
4a1d32814SChristopher Obbard
555529fe3SCristian Ciocaltea#include <dt-bindings/gpio/gpio.h>
6a1d32814SChristopher Obbard#include "rk3588.dtsi"
7a1d32814SChristopher Obbard
8a1d32814SChristopher Obbard/ {
9a1d32814SChristopher Obbard	model = "Radxa ROCK 5 Model B";
10a1d32814SChristopher Obbard	compatible = "radxa,rock-5b", "rockchip,rk3588";
11a1d32814SChristopher Obbard
12a1d32814SChristopher Obbard	aliases {
136fb13f88SChristopher Obbard		mmc0 = &sdhci;
14*c75b725eSFUKAUMI Naoki		mmc1 = &sdmmc;
15a1d32814SChristopher Obbard		serial2 = &uart2;
16a1d32814SChristopher Obbard	};
17a1d32814SChristopher Obbard
18a1d32814SChristopher Obbard	chosen {
19a1d32814SChristopher Obbard		stdout-path = "serial2:1500000n8";
20a1d32814SChristopher Obbard	};
21a1d32814SChristopher Obbard
227efcaf99SCristian Ciocaltea	analog-sound {
2355529fe3SCristian Ciocaltea		compatible = "audio-graph-card";
247efcaf99SCristian Ciocaltea		label = "rk3588-es8316";
2555529fe3SCristian Ciocaltea
2655529fe3SCristian Ciocaltea		widgets = "Microphone", "Mic Jack",
2755529fe3SCristian Ciocaltea			  "Headphone", "Headphones";
2855529fe3SCristian Ciocaltea
2955529fe3SCristian Ciocaltea		routing = "MIC2", "Mic Jack",
3055529fe3SCristian Ciocaltea			  "Headphones", "HPOL",
3155529fe3SCristian Ciocaltea			  "Headphones", "HPOR";
3255529fe3SCristian Ciocaltea
3355529fe3SCristian Ciocaltea		dais = <&i2s0_8ch_p0>;
3455529fe3SCristian Ciocaltea		hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
3555529fe3SCristian Ciocaltea		pinctrl-names = "default";
3655529fe3SCristian Ciocaltea		pinctrl-0 = <&hp_detect>;
3755529fe3SCristian Ciocaltea	};
3855529fe3SCristian Ciocaltea
397efcaf99SCristian Ciocaltea	fan: pwm-fan {
407efcaf99SCristian Ciocaltea		compatible = "pwm-fan";
417efcaf99SCristian Ciocaltea		cooling-levels = <0 95 145 195 255>;
427efcaf99SCristian Ciocaltea		fan-supply = <&vcc5v0_sys>;
437efcaf99SCristian Ciocaltea		pwms = <&pwm1 0 50000 0>;
447efcaf99SCristian Ciocaltea		#cooling-cells = <2>;
457efcaf99SCristian Ciocaltea	};
467efcaf99SCristian Ciocaltea
47488fc7adSSebastian Reichel	vcc5v0_host: vcc5v0-host-regulator {
48488fc7adSSebastian Reichel		compatible = "regulator-fixed";
49488fc7adSSebastian Reichel		regulator-name = "vcc5v0_host";
50488fc7adSSebastian Reichel		regulator-boot-on;
51488fc7adSSebastian Reichel		regulator-always-on;
52488fc7adSSebastian Reichel		regulator-min-microvolt = <5000000>;
53488fc7adSSebastian Reichel		regulator-max-microvolt = <5000000>;
54488fc7adSSebastian Reichel		enable-active-high;
55488fc7adSSebastian Reichel		gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
56488fc7adSSebastian Reichel		pinctrl-names = "default";
57488fc7adSSebastian Reichel		pinctrl-0 = <&vcc5v0_host_en>;
58488fc7adSSebastian Reichel		vin-supply = <&vcc5v0_sys>;
59488fc7adSSebastian Reichel	};
60488fc7adSSebastian Reichel
61a1d32814SChristopher Obbard	vcc5v0_sys: vcc5v0-sys-regulator {
62a1d32814SChristopher Obbard		compatible = "regulator-fixed";
63a1d32814SChristopher Obbard		regulator-name = "vcc5v0_sys";
64a1d32814SChristopher Obbard		regulator-always-on;
65a1d32814SChristopher Obbard		regulator-boot-on;
66a1d32814SChristopher Obbard		regulator-min-microvolt = <5000000>;
67a1d32814SChristopher Obbard		regulator-max-microvolt = <5000000>;
68a1d32814SChristopher Obbard	};
69db242e82SSebastian Reichel
70db242e82SSebastian Reichel	vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
71db242e82SSebastian Reichel		compatible = "regulator-fixed";
72db242e82SSebastian Reichel		regulator-name = "vcc_1v1_nldo_s3";
73db242e82SSebastian Reichel		regulator-always-on;
74db242e82SSebastian Reichel		regulator-boot-on;
75db242e82SSebastian Reichel		regulator-min-microvolt = <1100000>;
76db242e82SSebastian Reichel		regulator-max-microvolt = <1100000>;
77db242e82SSebastian Reichel		vin-supply = <&vcc5v0_sys>;
78db242e82SSebastian Reichel	};
79a1d32814SChristopher Obbard};
80a1d32814SChristopher Obbard
811bb69cd4SCristian Ciocaltea&cpu_b0 {
821bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big0_s0>;
831bb69cd4SCristian Ciocaltea};
841bb69cd4SCristian Ciocaltea
851bb69cd4SCristian Ciocaltea&cpu_b1 {
861bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big0_s0>;
871bb69cd4SCristian Ciocaltea};
881bb69cd4SCristian Ciocaltea
891bb69cd4SCristian Ciocaltea&cpu_b2 {
901bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big1_s0>;
911bb69cd4SCristian Ciocaltea};
921bb69cd4SCristian Ciocaltea
931bb69cd4SCristian Ciocaltea&cpu_b3 {
941bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big1_s0>;
951bb69cd4SCristian Ciocaltea};
961bb69cd4SCristian Ciocaltea
97db242e82SSebastian Reichel&cpu_l0 {
98db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
99db242e82SSebastian Reichel};
100db242e82SSebastian Reichel
101db242e82SSebastian Reichel&cpu_l1 {
102db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
103db242e82SSebastian Reichel};
104db242e82SSebastian Reichel
105db242e82SSebastian Reichel&cpu_l2 {
106db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
107db242e82SSebastian Reichel};
108db242e82SSebastian Reichel
109db242e82SSebastian Reichel&cpu_l3 {
110db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
111db242e82SSebastian Reichel};
112db242e82SSebastian Reichel
1131bb69cd4SCristian Ciocaltea&i2c0 {
1141bb69cd4SCristian Ciocaltea	pinctrl-names = "default";
1151bb69cd4SCristian Ciocaltea	pinctrl-0 = <&i2c0m2_xfer>;
1161bb69cd4SCristian Ciocaltea	status = "okay";
1171bb69cd4SCristian Ciocaltea
1181bb69cd4SCristian Ciocaltea	vdd_cpu_big0_s0: regulator@42 {
1191bb69cd4SCristian Ciocaltea		compatible = "rockchip,rk8602";
1201bb69cd4SCristian Ciocaltea		reg = <0x42>;
1211bb69cd4SCristian Ciocaltea		fcs,suspend-voltage-selector = <1>;
1221bb69cd4SCristian Ciocaltea		regulator-name = "vdd_cpu_big0_s0";
1231bb69cd4SCristian Ciocaltea		regulator-always-on;
1241bb69cd4SCristian Ciocaltea		regulator-boot-on;
1251bb69cd4SCristian Ciocaltea		regulator-min-microvolt = <550000>;
1261bb69cd4SCristian Ciocaltea		regulator-max-microvolt = <1050000>;
1271bb69cd4SCristian Ciocaltea		regulator-ramp-delay = <2300>;
1281bb69cd4SCristian Ciocaltea		vin-supply = <&vcc5v0_sys>;
1291bb69cd4SCristian Ciocaltea
1301bb69cd4SCristian Ciocaltea		regulator-state-mem {
1311bb69cd4SCristian Ciocaltea			regulator-off-in-suspend;
1321bb69cd4SCristian Ciocaltea		};
1331bb69cd4SCristian Ciocaltea	};
1341bb69cd4SCristian Ciocaltea
1351bb69cd4SCristian Ciocaltea	vdd_cpu_big1_s0: regulator@43 {
1361bb69cd4SCristian Ciocaltea		compatible = "rockchip,rk8603", "rockchip,rk8602";
1371bb69cd4SCristian Ciocaltea		reg = <0x43>;
1381bb69cd4SCristian Ciocaltea		fcs,suspend-voltage-selector = <1>;
1391bb69cd4SCristian Ciocaltea		regulator-name = "vdd_cpu_big1_s0";
1401bb69cd4SCristian Ciocaltea		regulator-always-on;
1411bb69cd4SCristian Ciocaltea		regulator-boot-on;
1421bb69cd4SCristian Ciocaltea		regulator-min-microvolt = <550000>;
1431bb69cd4SCristian Ciocaltea		regulator-max-microvolt = <1050000>;
1441bb69cd4SCristian Ciocaltea		regulator-ramp-delay = <2300>;
1451bb69cd4SCristian Ciocaltea		vin-supply = <&vcc5v0_sys>;
1461bb69cd4SCristian Ciocaltea
1471bb69cd4SCristian Ciocaltea		regulator-state-mem {
1481bb69cd4SCristian Ciocaltea			regulator-off-in-suspend;
1491bb69cd4SCristian Ciocaltea		};
1501bb69cd4SCristian Ciocaltea	};
1511bb69cd4SCristian Ciocaltea};
1521bb69cd4SCristian Ciocaltea
1531e9c2404SShreeya Patel&i2c6 {
1541e9c2404SShreeya Patel	status = "okay";
1551e9c2404SShreeya Patel
1561e9c2404SShreeya Patel	hym8563: rtc@51 {
1571e9c2404SShreeya Patel		compatible = "haoyu,hym8563";
1581e9c2404SShreeya Patel		reg = <0x51>;
1591e9c2404SShreeya Patel		#clock-cells = <0>;
1601e9c2404SShreeya Patel		clock-output-names = "hym8563";
1611e9c2404SShreeya Patel		pinctrl-names = "default";
1621e9c2404SShreeya Patel		pinctrl-0 = <&hym8563_int>;
1631e9c2404SShreeya Patel		interrupt-parent = <&gpio0>;
1641e9c2404SShreeya Patel		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
1651e9c2404SShreeya Patel		wakeup-source;
1661e9c2404SShreeya Patel	};
1671e9c2404SShreeya Patel};
1681e9c2404SShreeya Patel
16955529fe3SCristian Ciocaltea&i2c7 {
17055529fe3SCristian Ciocaltea	status = "okay";
17155529fe3SCristian Ciocaltea
1720af7164cSCristian Ciocaltea	es8316: audio-codec@11 {
17355529fe3SCristian Ciocaltea		compatible = "everest,es8316";
17455529fe3SCristian Ciocaltea		reg = <0x11>;
17555529fe3SCristian Ciocaltea		clocks = <&cru I2S0_8CH_MCLKOUT>;
17655529fe3SCristian Ciocaltea		clock-names = "mclk";
17728ee08ceSCristian Ciocaltea		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
17828ee08ceSCristian Ciocaltea		assigned-clock-rates = <12288000>;
17955529fe3SCristian Ciocaltea		#sound-dai-cells = <0>;
18055529fe3SCristian Ciocaltea
18155529fe3SCristian Ciocaltea		port {
18255529fe3SCristian Ciocaltea			es8316_p0_0: endpoint {
18355529fe3SCristian Ciocaltea				remote-endpoint = <&i2s0_8ch_p0_0>;
18455529fe3SCristian Ciocaltea			};
18555529fe3SCristian Ciocaltea		};
18655529fe3SCristian Ciocaltea	};
18755529fe3SCristian Ciocaltea};
18855529fe3SCristian Ciocaltea
18955529fe3SCristian Ciocaltea&i2s0_8ch {
19055529fe3SCristian Ciocaltea	pinctrl-names = "default";
19155529fe3SCristian Ciocaltea	pinctrl-0 = <&i2s0_lrck
19255529fe3SCristian Ciocaltea		     &i2s0_mclk
19355529fe3SCristian Ciocaltea		     &i2s0_sclk
19455529fe3SCristian Ciocaltea		     &i2s0_sdi0
19555529fe3SCristian Ciocaltea		     &i2s0_sdo0>;
19655529fe3SCristian Ciocaltea	status = "okay";
19755529fe3SCristian Ciocaltea
19855529fe3SCristian Ciocaltea	i2s0_8ch_p0: port {
19955529fe3SCristian Ciocaltea		i2s0_8ch_p0_0: endpoint {
20055529fe3SCristian Ciocaltea			dai-format = "i2s";
20155529fe3SCristian Ciocaltea			mclk-fs = <256>;
20255529fe3SCristian Ciocaltea			remote-endpoint = <&es8316_p0_0>;
20355529fe3SCristian Ciocaltea		};
20455529fe3SCristian Ciocaltea	};
20555529fe3SCristian Ciocaltea};
20655529fe3SCristian Ciocaltea
2071e9c2404SShreeya Patel&pinctrl {
2081e9c2404SShreeya Patel	hym8563 {
2091e9c2404SShreeya Patel		hym8563_int: hym8563-int {
2101e9c2404SShreeya Patel			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
2111e9c2404SShreeya Patel		};
2121e9c2404SShreeya Patel	};
21355529fe3SCristian Ciocaltea
21455529fe3SCristian Ciocaltea	sound {
21555529fe3SCristian Ciocaltea		hp_detect: hp-detect {
21655529fe3SCristian Ciocaltea			rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
21755529fe3SCristian Ciocaltea		};
21855529fe3SCristian Ciocaltea	};
219488fc7adSSebastian Reichel
220488fc7adSSebastian Reichel	usb {
221488fc7adSSebastian Reichel		vcc5v0_host_en: vcc5v0-host-en {
222488fc7adSSebastian Reichel			rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
223488fc7adSSebastian Reichel		};
224488fc7adSSebastian Reichel	};
2251e9c2404SShreeya Patel};
2261e9c2404SShreeya Patel
227f36bb176SCristian Ciocaltea&pwm1 {
228f36bb176SCristian Ciocaltea	status = "okay";
229f36bb176SCristian Ciocaltea};
230f36bb176SCristian Ciocaltea
231a68e1aecSShreeya Patel&saradc {
232a68e1aecSShreeya Patel	vref-supply = <&avcc_1v8_s0>;
233a68e1aecSShreeya Patel	status = "okay";
234a68e1aecSShreeya Patel};
235a68e1aecSShreeya Patel
236a1d32814SChristopher Obbard&sdhci {
237a1d32814SChristopher Obbard	bus-width = <8>;
238a1d32814SChristopher Obbard	no-sdio;
239a1d32814SChristopher Obbard	no-sd;
240a1d32814SChristopher Obbard	non-removable;
241a1d32814SChristopher Obbard	mmc-hs400-1_8v;
242a1d32814SChristopher Obbard	mmc-hs400-enhanced-strobe;
243a1d32814SChristopher Obbard	status = "okay";
244a1d32814SChristopher Obbard};
245a1d32814SChristopher Obbard
2462a6d4af5SLucas Tanure&sdmmc {
2472a6d4af5SLucas Tanure	max-frequency = <200000000>;
2482a6d4af5SLucas Tanure	no-sdio;
2492a6d4af5SLucas Tanure	no-mmc;
2502a6d4af5SLucas Tanure	bus-width = <4>;
2512a6d4af5SLucas Tanure	cap-mmc-highspeed;
2522a6d4af5SLucas Tanure	cap-sd-highspeed;
253*c75b725eSFUKAUMI Naoki	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
2542a6d4af5SLucas Tanure	disable-wp;
2552a6d4af5SLucas Tanure	sd-uhs-sdr104;
2562a6d4af5SLucas Tanure	vmmc-supply = <&vcc_3v3_s3>;
2572a6d4af5SLucas Tanure	vqmmc-supply = <&vccio_sd_s0>;
2582a6d4af5SLucas Tanure	status = "okay";
2592a6d4af5SLucas Tanure};
2602a6d4af5SLucas Tanure
261db242e82SSebastian Reichel&spi2 {
262db242e82SSebastian Reichel	status = "okay";
263db242e82SSebastian Reichel	assigned-clocks = <&cru CLK_SPI2>;
264db242e82SSebastian Reichel	assigned-clock-rates = <200000000>;
265db242e82SSebastian Reichel	pinctrl-names = "default";
266db242e82SSebastian Reichel	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
267db242e82SSebastian Reichel	num-cs = <1>;
268db242e82SSebastian Reichel
269db242e82SSebastian Reichel	pmic@0 {
270db242e82SSebastian Reichel		compatible = "rockchip,rk806";
271db242e82SSebastian Reichel		spi-max-frequency = <1000000>;
272db242e82SSebastian Reichel		reg = <0x0>;
273db242e82SSebastian Reichel
274db242e82SSebastian Reichel		interrupt-parent = <&gpio0>;
275db242e82SSebastian Reichel		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
276db242e82SSebastian Reichel
277db242e82SSebastian Reichel		pinctrl-names = "default";
278db242e82SSebastian Reichel		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
279db242e82SSebastian Reichel			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
280db242e82SSebastian Reichel
281db242e82SSebastian Reichel		vcc1-supply = <&vcc5v0_sys>;
282db242e82SSebastian Reichel		vcc2-supply = <&vcc5v0_sys>;
283db242e82SSebastian Reichel		vcc3-supply = <&vcc5v0_sys>;
284db242e82SSebastian Reichel		vcc4-supply = <&vcc5v0_sys>;
285db242e82SSebastian Reichel		vcc5-supply = <&vcc5v0_sys>;
286db242e82SSebastian Reichel		vcc6-supply = <&vcc5v0_sys>;
287db242e82SSebastian Reichel		vcc7-supply = <&vcc5v0_sys>;
288db242e82SSebastian Reichel		vcc8-supply = <&vcc5v0_sys>;
289db242e82SSebastian Reichel		vcc9-supply = <&vcc5v0_sys>;
290db242e82SSebastian Reichel		vcc10-supply = <&vcc5v0_sys>;
291db242e82SSebastian Reichel		vcc11-supply = <&vcc_2v0_pldo_s3>;
292db242e82SSebastian Reichel		vcc12-supply = <&vcc5v0_sys>;
293db242e82SSebastian Reichel		vcc13-supply = <&vcc_1v1_nldo_s3>;
294db242e82SSebastian Reichel		vcc14-supply = <&vcc_1v1_nldo_s3>;
295db242e82SSebastian Reichel		vcca-supply = <&vcc5v0_sys>;
296db242e82SSebastian Reichel
297db242e82SSebastian Reichel		gpio-controller;
298db242e82SSebastian Reichel		#gpio-cells = <2>;
299db242e82SSebastian Reichel
300db242e82SSebastian Reichel		rk806_dvs1_null: dvs1-null-pins {
301db242e82SSebastian Reichel			pins = "gpio_pwrctrl2";
302db242e82SSebastian Reichel			function = "pin_fun0";
303db242e82SSebastian Reichel		};
304db242e82SSebastian Reichel
305db242e82SSebastian Reichel		rk806_dvs2_null: dvs2-null-pins {
306db242e82SSebastian Reichel			pins = "gpio_pwrctrl2";
307db242e82SSebastian Reichel			function = "pin_fun0";
308db242e82SSebastian Reichel		};
309db242e82SSebastian Reichel
310db242e82SSebastian Reichel		rk806_dvs3_null: dvs3-null-pins {
311db242e82SSebastian Reichel			pins = "gpio_pwrctrl3";
312db242e82SSebastian Reichel			function = "pin_fun0";
313db242e82SSebastian Reichel		};
314db242e82SSebastian Reichel
315db242e82SSebastian Reichel		regulators {
316db242e82SSebastian Reichel			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
317db242e82SSebastian Reichel				regulator-boot-on;
318db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
319db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
320db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
321db242e82SSebastian Reichel				regulator-name = "vdd_gpu_s0";
322db242e82SSebastian Reichel				regulator-enable-ramp-delay = <400>;
323db242e82SSebastian Reichel
324db242e82SSebastian Reichel				regulator-state-mem {
325db242e82SSebastian Reichel					regulator-off-in-suspend;
326db242e82SSebastian Reichel				};
327db242e82SSebastian Reichel			};
328db242e82SSebastian Reichel
329db242e82SSebastian Reichel			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
330db242e82SSebastian Reichel				regulator-always-on;
331db242e82SSebastian Reichel				regulator-boot-on;
332db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
333db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
334db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
335db242e82SSebastian Reichel				regulator-name = "vdd_cpu_lit_s0";
336db242e82SSebastian Reichel
337db242e82SSebastian Reichel				regulator-state-mem {
338db242e82SSebastian Reichel					regulator-off-in-suspend;
339db242e82SSebastian Reichel				};
340db242e82SSebastian Reichel			};
341db242e82SSebastian Reichel
342db242e82SSebastian Reichel			vdd_log_s0: dcdc-reg3 {
343db242e82SSebastian Reichel				regulator-always-on;
344db242e82SSebastian Reichel				regulator-boot-on;
345db242e82SSebastian Reichel				regulator-min-microvolt = <675000>;
346db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
347db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
348db242e82SSebastian Reichel				regulator-name = "vdd_log_s0";
349db242e82SSebastian Reichel
350db242e82SSebastian Reichel				regulator-state-mem {
351db242e82SSebastian Reichel					regulator-off-in-suspend;
352db242e82SSebastian Reichel					regulator-suspend-microvolt = <750000>;
353db242e82SSebastian Reichel				};
354db242e82SSebastian Reichel			};
355db242e82SSebastian Reichel
356db242e82SSebastian Reichel			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
357db242e82SSebastian Reichel				regulator-always-on;
358db242e82SSebastian Reichel				regulator-boot-on;
359db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
360db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
361db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
362db242e82SSebastian Reichel				regulator-name = "vdd_vdenc_s0";
363db242e82SSebastian Reichel
364db242e82SSebastian Reichel				regulator-state-mem {
365db242e82SSebastian Reichel					regulator-off-in-suspend;
366db242e82SSebastian Reichel				};
367db242e82SSebastian Reichel			};
368db242e82SSebastian Reichel
369db242e82SSebastian Reichel			vdd_ddr_s0: dcdc-reg5 {
370db242e82SSebastian Reichel				regulator-always-on;
371db242e82SSebastian Reichel				regulator-boot-on;
372db242e82SSebastian Reichel				regulator-min-microvolt = <675000>;
373db242e82SSebastian Reichel				regulator-max-microvolt = <900000>;
374db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
375db242e82SSebastian Reichel				regulator-name = "vdd_ddr_s0";
376db242e82SSebastian Reichel
377db242e82SSebastian Reichel				regulator-state-mem {
378db242e82SSebastian Reichel					regulator-off-in-suspend;
379db242e82SSebastian Reichel					regulator-suspend-microvolt = <850000>;
380db242e82SSebastian Reichel				};
381db242e82SSebastian Reichel			};
382db242e82SSebastian Reichel
383db242e82SSebastian Reichel			vdd2_ddr_s3: dcdc-reg6 {
384db242e82SSebastian Reichel				regulator-always-on;
385db242e82SSebastian Reichel				regulator-boot-on;
386db242e82SSebastian Reichel				regulator-name = "vdd2_ddr_s3";
387db242e82SSebastian Reichel
388db242e82SSebastian Reichel				regulator-state-mem {
389db242e82SSebastian Reichel					regulator-on-in-suspend;
390db242e82SSebastian Reichel				};
391db242e82SSebastian Reichel			};
392db242e82SSebastian Reichel
393db242e82SSebastian Reichel			vcc_2v0_pldo_s3: dcdc-reg7 {
394db242e82SSebastian Reichel				regulator-always-on;
395db242e82SSebastian Reichel				regulator-boot-on;
396db242e82SSebastian Reichel				regulator-min-microvolt = <2000000>;
397db242e82SSebastian Reichel				regulator-max-microvolt = <2000000>;
398db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
399db242e82SSebastian Reichel				regulator-name = "vdd_2v0_pldo_s3";
400db242e82SSebastian Reichel
401db242e82SSebastian Reichel				regulator-state-mem {
402db242e82SSebastian Reichel					regulator-on-in-suspend;
403db242e82SSebastian Reichel					regulator-suspend-microvolt = <2000000>;
404db242e82SSebastian Reichel				};
405db242e82SSebastian Reichel			};
406db242e82SSebastian Reichel
407db242e82SSebastian Reichel			vcc_3v3_s3: dcdc-reg8 {
408db242e82SSebastian Reichel				regulator-always-on;
409db242e82SSebastian Reichel				regulator-boot-on;
410db242e82SSebastian Reichel				regulator-min-microvolt = <3300000>;
411db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
412db242e82SSebastian Reichel				regulator-name = "vcc_3v3_s3";
413db242e82SSebastian Reichel
414db242e82SSebastian Reichel				regulator-state-mem {
415db242e82SSebastian Reichel					regulator-on-in-suspend;
416db242e82SSebastian Reichel					regulator-suspend-microvolt = <3300000>;
417db242e82SSebastian Reichel				};
418db242e82SSebastian Reichel			};
419db242e82SSebastian Reichel
420db242e82SSebastian Reichel			vddq_ddr_s0: dcdc-reg9 {
421db242e82SSebastian Reichel				regulator-always-on;
422db242e82SSebastian Reichel				regulator-boot-on;
423db242e82SSebastian Reichel				regulator-name = "vddq_ddr_s0";
424db242e82SSebastian Reichel
425db242e82SSebastian Reichel				regulator-state-mem {
426db242e82SSebastian Reichel					regulator-off-in-suspend;
427db242e82SSebastian Reichel				};
428db242e82SSebastian Reichel			};
429db242e82SSebastian Reichel
430db242e82SSebastian Reichel			vcc_1v8_s3: dcdc-reg10 {
431db242e82SSebastian Reichel				regulator-always-on;
432db242e82SSebastian Reichel				regulator-boot-on;
433db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
434db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
435db242e82SSebastian Reichel				regulator-name = "vcc_1v8_s3";
436db242e82SSebastian Reichel
437db242e82SSebastian Reichel				regulator-state-mem {
438db242e82SSebastian Reichel					regulator-on-in-suspend;
439db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
440db242e82SSebastian Reichel				};
441db242e82SSebastian Reichel			};
442db242e82SSebastian Reichel
443db242e82SSebastian Reichel			avcc_1v8_s0: pldo-reg1 {
444db242e82SSebastian Reichel				regulator-always-on;
445db242e82SSebastian Reichel				regulator-boot-on;
446db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
447db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
448db242e82SSebastian Reichel				regulator-name = "avcc_1v8_s0";
449db242e82SSebastian Reichel
450db242e82SSebastian Reichel				regulator-state-mem {
451db242e82SSebastian Reichel					regulator-off-in-suspend;
452db242e82SSebastian Reichel				};
453db242e82SSebastian Reichel			};
454db242e82SSebastian Reichel
455db242e82SSebastian Reichel			vcc_1v8_s0: pldo-reg2 {
456db242e82SSebastian Reichel				regulator-always-on;
457db242e82SSebastian Reichel				regulator-boot-on;
458db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
459db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
460db242e82SSebastian Reichel				regulator-name = "vcc_1v8_s0";
461db242e82SSebastian Reichel
462db242e82SSebastian Reichel				regulator-state-mem {
463db242e82SSebastian Reichel					regulator-off-in-suspend;
464db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
465db242e82SSebastian Reichel				};
466db242e82SSebastian Reichel			};
467db242e82SSebastian Reichel
468db242e82SSebastian Reichel			avdd_1v2_s0: pldo-reg3 {
469db242e82SSebastian Reichel				regulator-always-on;
470db242e82SSebastian Reichel				regulator-boot-on;
471db242e82SSebastian Reichel				regulator-min-microvolt = <1200000>;
472db242e82SSebastian Reichel				regulator-max-microvolt = <1200000>;
473db242e82SSebastian Reichel				regulator-name = "avdd_1v2_s0";
474db242e82SSebastian Reichel
475db242e82SSebastian Reichel				regulator-state-mem {
476db242e82SSebastian Reichel					regulator-off-in-suspend;
477db242e82SSebastian Reichel				};
478db242e82SSebastian Reichel			};
479db242e82SSebastian Reichel
480db242e82SSebastian Reichel			vcc_3v3_s0: pldo-reg4 {
481db242e82SSebastian Reichel				regulator-always-on;
482db242e82SSebastian Reichel				regulator-boot-on;
483db242e82SSebastian Reichel				regulator-min-microvolt = <3300000>;
484db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
485db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
486db242e82SSebastian Reichel				regulator-name = "vcc_3v3_s0";
487db242e82SSebastian Reichel
488db242e82SSebastian Reichel				regulator-state-mem {
489db242e82SSebastian Reichel					regulator-off-in-suspend;
490db242e82SSebastian Reichel				};
491db242e82SSebastian Reichel			};
492db242e82SSebastian Reichel
493db242e82SSebastian Reichel			vccio_sd_s0: pldo-reg5 {
494db242e82SSebastian Reichel				regulator-always-on;
495db242e82SSebastian Reichel				regulator-boot-on;
496db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
497db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
498db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
499db242e82SSebastian Reichel				regulator-name = "vccio_sd_s0";
500db242e82SSebastian Reichel
501db242e82SSebastian Reichel				regulator-state-mem {
502db242e82SSebastian Reichel					regulator-off-in-suspend;
503db242e82SSebastian Reichel				};
504db242e82SSebastian Reichel			};
505db242e82SSebastian Reichel
506db242e82SSebastian Reichel			pldo6_s3: pldo-reg6 {
507db242e82SSebastian Reichel				regulator-always-on;
508db242e82SSebastian Reichel				regulator-boot-on;
509db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
510db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
511db242e82SSebastian Reichel				regulator-name = "pldo6_s3";
512db242e82SSebastian Reichel
513db242e82SSebastian Reichel				regulator-state-mem {
514db242e82SSebastian Reichel					regulator-on-in-suspend;
515db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
516db242e82SSebastian Reichel				};
517db242e82SSebastian Reichel			};
518db242e82SSebastian Reichel
519db242e82SSebastian Reichel			vdd_0v75_s3: nldo-reg1 {
520db242e82SSebastian Reichel				regulator-always-on;
521db242e82SSebastian Reichel				regulator-boot-on;
522db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
523db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
524db242e82SSebastian Reichel				regulator-name = "vdd_0v75_s3";
525db242e82SSebastian Reichel
526db242e82SSebastian Reichel				regulator-state-mem {
527db242e82SSebastian Reichel					regulator-on-in-suspend;
528db242e82SSebastian Reichel					regulator-suspend-microvolt = <750000>;
529db242e82SSebastian Reichel				};
530db242e82SSebastian Reichel			};
531db242e82SSebastian Reichel
532db242e82SSebastian Reichel			vdd_ddr_pll_s0: nldo-reg2 {
533db242e82SSebastian Reichel				regulator-always-on;
534db242e82SSebastian Reichel				regulator-boot-on;
535db242e82SSebastian Reichel				regulator-min-microvolt = <850000>;
536db242e82SSebastian Reichel				regulator-max-microvolt = <850000>;
537db242e82SSebastian Reichel				regulator-name = "vdd_ddr_pll_s0";
538db242e82SSebastian Reichel
539db242e82SSebastian Reichel				regulator-state-mem {
540db242e82SSebastian Reichel					regulator-off-in-suspend;
541db242e82SSebastian Reichel					regulator-suspend-microvolt = <850000>;
542db242e82SSebastian Reichel				};
543db242e82SSebastian Reichel			};
544db242e82SSebastian Reichel
545db242e82SSebastian Reichel			avdd_0v75_s0: nldo-reg3 {
546db242e82SSebastian Reichel				regulator-always-on;
547db242e82SSebastian Reichel				regulator-boot-on;
548db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
549db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
550db242e82SSebastian Reichel				regulator-name = "avdd_0v75_s0";
551db242e82SSebastian Reichel
552db242e82SSebastian Reichel				regulator-state-mem {
553db242e82SSebastian Reichel					regulator-off-in-suspend;
554db242e82SSebastian Reichel				};
555db242e82SSebastian Reichel			};
556db242e82SSebastian Reichel
557db242e82SSebastian Reichel			vdd_0v85_s0: nldo-reg4 {
558db242e82SSebastian Reichel				regulator-always-on;
559db242e82SSebastian Reichel				regulator-boot-on;
560db242e82SSebastian Reichel				regulator-min-microvolt = <850000>;
561db242e82SSebastian Reichel				regulator-max-microvolt = <850000>;
562db242e82SSebastian Reichel				regulator-name = "vdd_0v85_s0";
563db242e82SSebastian Reichel
564db242e82SSebastian Reichel				regulator-state-mem {
565db242e82SSebastian Reichel					regulator-off-in-suspend;
566db242e82SSebastian Reichel				};
567db242e82SSebastian Reichel			};
568db242e82SSebastian Reichel
569db242e82SSebastian Reichel			vdd_0v75_s0: nldo-reg5 {
570db242e82SSebastian Reichel				regulator-always-on;
571db242e82SSebastian Reichel				regulator-boot-on;
572db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
573db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
574db242e82SSebastian Reichel				regulator-name = "vdd_0v75_s0";
575db242e82SSebastian Reichel
576db242e82SSebastian Reichel				regulator-state-mem {
577db242e82SSebastian Reichel					regulator-off-in-suspend;
578db242e82SSebastian Reichel				};
579db242e82SSebastian Reichel			};
580db242e82SSebastian Reichel		};
581db242e82SSebastian Reichel	};
582db242e82SSebastian Reichel};
583db242e82SSebastian Reichel
584db242e82SSebastian Reichel&uart2 {
585a1d32814SChristopher Obbard	pinctrl-0 = <&uart2m0_xfer>;
586a1d32814SChristopher Obbard	status = "okay";
587a1d32814SChristopher Obbard};
588a1d32814SChristopher Obbard
589488fc7adSSebastian Reichel&u2phy2 {
590488fc7adSSebastian Reichel	status = "okay";
591488fc7adSSebastian Reichel};
592488fc7adSSebastian Reichel
593488fc7adSSebastian Reichel&u2phy2_host {
594488fc7adSSebastian Reichel	/* connected to USB hub, which is powered by vcc5v0_sys */
595488fc7adSSebastian Reichel	phy-supply = <&vcc5v0_sys>;
596488fc7adSSebastian Reichel	status = "okay";
597488fc7adSSebastian Reichel};
598488fc7adSSebastian Reichel
599488fc7adSSebastian Reichel&u2phy3 {
600488fc7adSSebastian Reichel	status = "okay";
601488fc7adSSebastian Reichel};
602488fc7adSSebastian Reichel
603488fc7adSSebastian Reichel&u2phy3_host {
604488fc7adSSebastian Reichel	phy-supply = <&vcc5v0_host>;
605488fc7adSSebastian Reichel	status = "okay";
606488fc7adSSebastian Reichel};
607488fc7adSSebastian Reichel
608488fc7adSSebastian Reichel&usb_host0_ehci {
609488fc7adSSebastian Reichel	status = "okay";
610488fc7adSSebastian Reichel};
611488fc7adSSebastian Reichel
612488fc7adSSebastian Reichel&usb_host0_ohci {
613488fc7adSSebastian Reichel	status = "okay";
614488fc7adSSebastian Reichel};
615488fc7adSSebastian Reichel
616488fc7adSSebastian Reichel&usb_host1_ehci {
617488fc7adSSebastian Reichel	status = "okay";
618488fc7adSSebastian Reichel};
619488fc7adSSebastian Reichel
620488fc7adSSebastian Reichel&usb_host1_ohci {
621488fc7adSSebastian Reichel	status = "okay";
622488fc7adSSebastian Reichel};
623488fc7adSSebastian Reichel