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