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
21f36bb176SCristian Ciocaltea	fan: pwm-fan {
22f36bb176SCristian Ciocaltea		compatible = "pwm-fan";
23f36bb176SCristian Ciocaltea		cooling-levels = <0 95 145 195 255>;
24f36bb176SCristian Ciocaltea		fan-supply = <&vcc5v0_sys>;
25f36bb176SCristian Ciocaltea		pwms = <&pwm1 0 50000 0>;
26f36bb176SCristian Ciocaltea		#cooling-cells = <2>;
27f36bb176SCristian Ciocaltea	};
28f36bb176SCristian Ciocaltea
2955529fe3SCristian Ciocaltea	sound {
3055529fe3SCristian Ciocaltea		compatible = "audio-graph-card";
3155529fe3SCristian Ciocaltea		label = "Analog";
3255529fe3SCristian Ciocaltea
3355529fe3SCristian Ciocaltea		widgets = "Microphone", "Mic Jack",
3455529fe3SCristian Ciocaltea			  "Headphone", "Headphones";
3555529fe3SCristian Ciocaltea
3655529fe3SCristian Ciocaltea		routing = "MIC2", "Mic Jack",
3755529fe3SCristian Ciocaltea			  "Headphones", "HPOL",
3855529fe3SCristian Ciocaltea			  "Headphones", "HPOR";
3955529fe3SCristian Ciocaltea
4055529fe3SCristian Ciocaltea		dais = <&i2s0_8ch_p0>;
4155529fe3SCristian Ciocaltea		hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
4255529fe3SCristian Ciocaltea		pinctrl-names = "default";
4355529fe3SCristian Ciocaltea		pinctrl-0 = <&hp_detect>;
4455529fe3SCristian Ciocaltea	};
4555529fe3SCristian Ciocaltea
46a1d32814SChristopher Obbard	vcc5v0_sys: vcc5v0-sys-regulator {
47a1d32814SChristopher Obbard		compatible = "regulator-fixed";
48a1d32814SChristopher Obbard		regulator-name = "vcc5v0_sys";
49a1d32814SChristopher Obbard		regulator-always-on;
50a1d32814SChristopher Obbard		regulator-boot-on;
51a1d32814SChristopher Obbard		regulator-min-microvolt = <5000000>;
52a1d32814SChristopher Obbard		regulator-max-microvolt = <5000000>;
53a1d32814SChristopher Obbard	};
54db242e82SSebastian Reichel
55db242e82SSebastian Reichel	vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
56db242e82SSebastian Reichel		compatible = "regulator-fixed";
57db242e82SSebastian Reichel		regulator-name = "vcc_1v1_nldo_s3";
58db242e82SSebastian Reichel		regulator-always-on;
59db242e82SSebastian Reichel		regulator-boot-on;
60db242e82SSebastian Reichel		regulator-min-microvolt = <1100000>;
61db242e82SSebastian Reichel		regulator-max-microvolt = <1100000>;
62db242e82SSebastian Reichel		vin-supply = <&vcc5v0_sys>;
63db242e82SSebastian Reichel	};
64a1d32814SChristopher Obbard};
65a1d32814SChristopher Obbard
661bb69cd4SCristian Ciocaltea&cpu_b0 {
671bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big0_s0>;
681bb69cd4SCristian Ciocaltea};
691bb69cd4SCristian Ciocaltea
701bb69cd4SCristian Ciocaltea&cpu_b1 {
711bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big0_s0>;
721bb69cd4SCristian Ciocaltea};
731bb69cd4SCristian Ciocaltea
741bb69cd4SCristian Ciocaltea&cpu_b2 {
751bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big1_s0>;
761bb69cd4SCristian Ciocaltea};
771bb69cd4SCristian Ciocaltea
781bb69cd4SCristian Ciocaltea&cpu_b3 {
791bb69cd4SCristian Ciocaltea	cpu-supply = <&vdd_cpu_big1_s0>;
801bb69cd4SCristian Ciocaltea};
811bb69cd4SCristian Ciocaltea
82db242e82SSebastian Reichel&cpu_l0 {
83db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
84db242e82SSebastian Reichel};
85db242e82SSebastian Reichel
86db242e82SSebastian Reichel&cpu_l1 {
87db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
88db242e82SSebastian Reichel};
89db242e82SSebastian Reichel
90db242e82SSebastian Reichel&cpu_l2 {
91db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
92db242e82SSebastian Reichel};
93db242e82SSebastian Reichel
94db242e82SSebastian Reichel&cpu_l3 {
95db242e82SSebastian Reichel	cpu-supply = <&vdd_cpu_lit_s0>;
96db242e82SSebastian Reichel};
97db242e82SSebastian Reichel
981bb69cd4SCristian Ciocaltea&i2c0 {
991bb69cd4SCristian Ciocaltea	pinctrl-names = "default";
1001bb69cd4SCristian Ciocaltea	pinctrl-0 = <&i2c0m2_xfer>;
1011bb69cd4SCristian Ciocaltea	status = "okay";
1021bb69cd4SCristian Ciocaltea
1031bb69cd4SCristian Ciocaltea	vdd_cpu_big0_s0: regulator@42 {
1041bb69cd4SCristian Ciocaltea		compatible = "rockchip,rk8602";
1051bb69cd4SCristian Ciocaltea		reg = <0x42>;
1061bb69cd4SCristian Ciocaltea		fcs,suspend-voltage-selector = <1>;
1071bb69cd4SCristian Ciocaltea		regulator-name = "vdd_cpu_big0_s0";
1081bb69cd4SCristian Ciocaltea		regulator-always-on;
1091bb69cd4SCristian Ciocaltea		regulator-boot-on;
1101bb69cd4SCristian Ciocaltea		regulator-min-microvolt = <550000>;
1111bb69cd4SCristian Ciocaltea		regulator-max-microvolt = <1050000>;
1121bb69cd4SCristian Ciocaltea		regulator-ramp-delay = <2300>;
1131bb69cd4SCristian Ciocaltea		vin-supply = <&vcc5v0_sys>;
1141bb69cd4SCristian Ciocaltea
1151bb69cd4SCristian Ciocaltea		regulator-state-mem {
1161bb69cd4SCristian Ciocaltea			regulator-off-in-suspend;
1171bb69cd4SCristian Ciocaltea		};
1181bb69cd4SCristian Ciocaltea	};
1191bb69cd4SCristian Ciocaltea
1201bb69cd4SCristian Ciocaltea	vdd_cpu_big1_s0: regulator@43 {
1211bb69cd4SCristian Ciocaltea		compatible = "rockchip,rk8603", "rockchip,rk8602";
1221bb69cd4SCristian Ciocaltea		reg = <0x43>;
1231bb69cd4SCristian Ciocaltea		fcs,suspend-voltage-selector = <1>;
1241bb69cd4SCristian Ciocaltea		regulator-name = "vdd_cpu_big1_s0";
1251bb69cd4SCristian Ciocaltea		regulator-always-on;
1261bb69cd4SCristian Ciocaltea		regulator-boot-on;
1271bb69cd4SCristian Ciocaltea		regulator-min-microvolt = <550000>;
1281bb69cd4SCristian Ciocaltea		regulator-max-microvolt = <1050000>;
1291bb69cd4SCristian Ciocaltea		regulator-ramp-delay = <2300>;
1301bb69cd4SCristian Ciocaltea		vin-supply = <&vcc5v0_sys>;
1311bb69cd4SCristian Ciocaltea
1321bb69cd4SCristian Ciocaltea		regulator-state-mem {
1331bb69cd4SCristian Ciocaltea			regulator-off-in-suspend;
1341bb69cd4SCristian Ciocaltea		};
1351bb69cd4SCristian Ciocaltea	};
1361bb69cd4SCristian Ciocaltea};
1371bb69cd4SCristian Ciocaltea
1381e9c2404SShreeya Patel&i2c6 {
1391e9c2404SShreeya Patel	status = "okay";
1401e9c2404SShreeya Patel
1411e9c2404SShreeya Patel	hym8563: rtc@51 {
1421e9c2404SShreeya Patel		compatible = "haoyu,hym8563";
1431e9c2404SShreeya Patel		reg = <0x51>;
1441e9c2404SShreeya Patel		#clock-cells = <0>;
1451e9c2404SShreeya Patel		clock-output-names = "hym8563";
1461e9c2404SShreeya Patel		pinctrl-names = "default";
1471e9c2404SShreeya Patel		pinctrl-0 = <&hym8563_int>;
1481e9c2404SShreeya Patel		interrupt-parent = <&gpio0>;
1491e9c2404SShreeya Patel		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
1501e9c2404SShreeya Patel		wakeup-source;
1511e9c2404SShreeya Patel	};
1521e9c2404SShreeya Patel};
1531e9c2404SShreeya Patel
15455529fe3SCristian Ciocaltea&i2c7 {
15555529fe3SCristian Ciocaltea	status = "okay";
15655529fe3SCristian Ciocaltea
1570af7164cSCristian Ciocaltea	es8316: audio-codec@11 {
15855529fe3SCristian Ciocaltea		compatible = "everest,es8316";
15955529fe3SCristian Ciocaltea		reg = <0x11>;
16055529fe3SCristian Ciocaltea		clocks = <&cru I2S0_8CH_MCLKOUT>;
16155529fe3SCristian Ciocaltea		clock-names = "mclk";
16228ee08ceSCristian Ciocaltea		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
16328ee08ceSCristian Ciocaltea		assigned-clock-rates = <12288000>;
16455529fe3SCristian Ciocaltea		#sound-dai-cells = <0>;
16555529fe3SCristian Ciocaltea
16655529fe3SCristian Ciocaltea		port {
16755529fe3SCristian Ciocaltea			es8316_p0_0: endpoint {
16855529fe3SCristian Ciocaltea				remote-endpoint = <&i2s0_8ch_p0_0>;
16955529fe3SCristian Ciocaltea			};
17055529fe3SCristian Ciocaltea		};
17155529fe3SCristian Ciocaltea	};
17255529fe3SCristian Ciocaltea};
17355529fe3SCristian Ciocaltea
17455529fe3SCristian Ciocaltea&i2s0_8ch {
17555529fe3SCristian Ciocaltea	pinctrl-names = "default";
17655529fe3SCristian Ciocaltea	pinctrl-0 = <&i2s0_lrck
17755529fe3SCristian Ciocaltea		     &i2s0_mclk
17855529fe3SCristian Ciocaltea		     &i2s0_sclk
17955529fe3SCristian Ciocaltea		     &i2s0_sdi0
18055529fe3SCristian Ciocaltea		     &i2s0_sdo0>;
18155529fe3SCristian Ciocaltea	status = "okay";
18255529fe3SCristian Ciocaltea
18355529fe3SCristian Ciocaltea	i2s0_8ch_p0: port {
18455529fe3SCristian Ciocaltea		i2s0_8ch_p0_0: endpoint {
18555529fe3SCristian Ciocaltea			dai-format = "i2s";
18655529fe3SCristian Ciocaltea			mclk-fs = <256>;
18755529fe3SCristian Ciocaltea			remote-endpoint = <&es8316_p0_0>;
18855529fe3SCristian Ciocaltea		};
18955529fe3SCristian Ciocaltea	};
19055529fe3SCristian Ciocaltea};
19155529fe3SCristian Ciocaltea
1921e9c2404SShreeya Patel&pinctrl {
1931e9c2404SShreeya Patel	hym8563 {
1941e9c2404SShreeya Patel		hym8563_int: hym8563-int {
1951e9c2404SShreeya Patel			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
1961e9c2404SShreeya Patel		};
1971e9c2404SShreeya Patel	};
19855529fe3SCristian Ciocaltea
19955529fe3SCristian Ciocaltea	sound {
20055529fe3SCristian Ciocaltea		hp_detect: hp-detect {
20155529fe3SCristian Ciocaltea			rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
20255529fe3SCristian Ciocaltea		};
20355529fe3SCristian Ciocaltea	};
2041e9c2404SShreeya Patel};
2051e9c2404SShreeya Patel
206f36bb176SCristian Ciocaltea&pwm1 {
207f36bb176SCristian Ciocaltea	status = "okay";
208f36bb176SCristian Ciocaltea};
209f36bb176SCristian Ciocaltea
210a1d32814SChristopher Obbard&sdhci {
211a1d32814SChristopher Obbard	bus-width = <8>;
212a1d32814SChristopher Obbard	no-sdio;
213a1d32814SChristopher Obbard	no-sd;
214a1d32814SChristopher Obbard	non-removable;
215a1d32814SChristopher Obbard	max-frequency = <200000000>;
216a1d32814SChristopher Obbard	mmc-hs400-1_8v;
217a1d32814SChristopher Obbard	mmc-hs400-enhanced-strobe;
218a1d32814SChristopher Obbard	status = "okay";
219a1d32814SChristopher Obbard};
220a1d32814SChristopher Obbard
221*2a6d4af5SLucas Tanure&sdmmc {
222*2a6d4af5SLucas Tanure	max-frequency = <200000000>;
223*2a6d4af5SLucas Tanure	no-sdio;
224*2a6d4af5SLucas Tanure	no-mmc;
225*2a6d4af5SLucas Tanure	bus-width = <4>;
226*2a6d4af5SLucas Tanure	cap-mmc-highspeed;
227*2a6d4af5SLucas Tanure	cap-sd-highspeed;
228*2a6d4af5SLucas Tanure	disable-wp;
229*2a6d4af5SLucas Tanure	sd-uhs-sdr104;
230*2a6d4af5SLucas Tanure	vmmc-supply = <&vcc_3v3_s3>;
231*2a6d4af5SLucas Tanure	vqmmc-supply = <&vccio_sd_s0>;
232*2a6d4af5SLucas Tanure	status = "okay";
233*2a6d4af5SLucas Tanure};
234*2a6d4af5SLucas Tanure
235db242e82SSebastian Reichel&spi2 {
236db242e82SSebastian Reichel	status = "okay";
237db242e82SSebastian Reichel	assigned-clocks = <&cru CLK_SPI2>;
238db242e82SSebastian Reichel	assigned-clock-rates = <200000000>;
239db242e82SSebastian Reichel	pinctrl-names = "default";
240db242e82SSebastian Reichel	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
241db242e82SSebastian Reichel	num-cs = <1>;
242db242e82SSebastian Reichel
243db242e82SSebastian Reichel	pmic@0 {
244db242e82SSebastian Reichel		compatible = "rockchip,rk806";
245db242e82SSebastian Reichel		spi-max-frequency = <1000000>;
246db242e82SSebastian Reichel		reg = <0x0>;
247db242e82SSebastian Reichel
248db242e82SSebastian Reichel		interrupt-parent = <&gpio0>;
249db242e82SSebastian Reichel		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
250db242e82SSebastian Reichel
251db242e82SSebastian Reichel		pinctrl-names = "default";
252db242e82SSebastian Reichel		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
253db242e82SSebastian Reichel			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
254db242e82SSebastian Reichel
255db242e82SSebastian Reichel		vcc1-supply = <&vcc5v0_sys>;
256db242e82SSebastian Reichel		vcc2-supply = <&vcc5v0_sys>;
257db242e82SSebastian Reichel		vcc3-supply = <&vcc5v0_sys>;
258db242e82SSebastian Reichel		vcc4-supply = <&vcc5v0_sys>;
259db242e82SSebastian Reichel		vcc5-supply = <&vcc5v0_sys>;
260db242e82SSebastian Reichel		vcc6-supply = <&vcc5v0_sys>;
261db242e82SSebastian Reichel		vcc7-supply = <&vcc5v0_sys>;
262db242e82SSebastian Reichel		vcc8-supply = <&vcc5v0_sys>;
263db242e82SSebastian Reichel		vcc9-supply = <&vcc5v0_sys>;
264db242e82SSebastian Reichel		vcc10-supply = <&vcc5v0_sys>;
265db242e82SSebastian Reichel		vcc11-supply = <&vcc_2v0_pldo_s3>;
266db242e82SSebastian Reichel		vcc12-supply = <&vcc5v0_sys>;
267db242e82SSebastian Reichel		vcc13-supply = <&vcc_1v1_nldo_s3>;
268db242e82SSebastian Reichel		vcc14-supply = <&vcc_1v1_nldo_s3>;
269db242e82SSebastian Reichel		vcca-supply = <&vcc5v0_sys>;
270db242e82SSebastian Reichel
271db242e82SSebastian Reichel		gpio-controller;
272db242e82SSebastian Reichel		#gpio-cells = <2>;
273db242e82SSebastian Reichel
274db242e82SSebastian Reichel		rk806_dvs1_null: dvs1-null-pins {
275db242e82SSebastian Reichel			pins = "gpio_pwrctrl2";
276db242e82SSebastian Reichel			function = "pin_fun0";
277db242e82SSebastian Reichel		};
278db242e82SSebastian Reichel
279db242e82SSebastian Reichel		rk806_dvs2_null: dvs2-null-pins {
280db242e82SSebastian Reichel			pins = "gpio_pwrctrl2";
281db242e82SSebastian Reichel			function = "pin_fun0";
282db242e82SSebastian Reichel		};
283db242e82SSebastian Reichel
284db242e82SSebastian Reichel		rk806_dvs3_null: dvs3-null-pins {
285db242e82SSebastian Reichel			pins = "gpio_pwrctrl3";
286db242e82SSebastian Reichel			function = "pin_fun0";
287db242e82SSebastian Reichel		};
288db242e82SSebastian Reichel
289db242e82SSebastian Reichel		regulators {
290db242e82SSebastian Reichel			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
291db242e82SSebastian Reichel				regulator-boot-on;
292db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
293db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
294db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
295db242e82SSebastian Reichel				regulator-name = "vdd_gpu_s0";
296db242e82SSebastian Reichel				regulator-enable-ramp-delay = <400>;
297db242e82SSebastian Reichel
298db242e82SSebastian Reichel				regulator-state-mem {
299db242e82SSebastian Reichel					regulator-off-in-suspend;
300db242e82SSebastian Reichel				};
301db242e82SSebastian Reichel			};
302db242e82SSebastian Reichel
303db242e82SSebastian Reichel			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
304db242e82SSebastian Reichel				regulator-always-on;
305db242e82SSebastian Reichel				regulator-boot-on;
306db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
307db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
308db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
309db242e82SSebastian Reichel				regulator-name = "vdd_cpu_lit_s0";
310db242e82SSebastian Reichel
311db242e82SSebastian Reichel				regulator-state-mem {
312db242e82SSebastian Reichel					regulator-off-in-suspend;
313db242e82SSebastian Reichel				};
314db242e82SSebastian Reichel			};
315db242e82SSebastian Reichel
316db242e82SSebastian Reichel			vdd_log_s0: dcdc-reg3 {
317db242e82SSebastian Reichel				regulator-always-on;
318db242e82SSebastian Reichel				regulator-boot-on;
319db242e82SSebastian Reichel				regulator-min-microvolt = <675000>;
320db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
321db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
322db242e82SSebastian Reichel				regulator-name = "vdd_log_s0";
323db242e82SSebastian Reichel
324db242e82SSebastian Reichel				regulator-state-mem {
325db242e82SSebastian Reichel					regulator-off-in-suspend;
326db242e82SSebastian Reichel					regulator-suspend-microvolt = <750000>;
327db242e82SSebastian Reichel				};
328db242e82SSebastian Reichel			};
329db242e82SSebastian Reichel
330db242e82SSebastian Reichel			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
331db242e82SSebastian Reichel				regulator-always-on;
332db242e82SSebastian Reichel				regulator-boot-on;
333db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
334db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
335db242e82SSebastian Reichel				regulator-init-microvolt = <750000>;
336db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
337db242e82SSebastian Reichel				regulator-name = "vdd_vdenc_s0";
338db242e82SSebastian Reichel
339db242e82SSebastian Reichel				regulator-state-mem {
340db242e82SSebastian Reichel					regulator-off-in-suspend;
341db242e82SSebastian Reichel				};
342db242e82SSebastian Reichel			};
343db242e82SSebastian Reichel
344db242e82SSebastian Reichel			vdd_ddr_s0: dcdc-reg5 {
345db242e82SSebastian Reichel				regulator-always-on;
346db242e82SSebastian Reichel				regulator-boot-on;
347db242e82SSebastian Reichel				regulator-min-microvolt = <675000>;
348db242e82SSebastian Reichel				regulator-max-microvolt = <900000>;
349db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
350db242e82SSebastian Reichel				regulator-name = "vdd_ddr_s0";
351db242e82SSebastian Reichel
352db242e82SSebastian Reichel				regulator-state-mem {
353db242e82SSebastian Reichel					regulator-off-in-suspend;
354db242e82SSebastian Reichel					regulator-suspend-microvolt = <850000>;
355db242e82SSebastian Reichel				};
356db242e82SSebastian Reichel			};
357db242e82SSebastian Reichel
358db242e82SSebastian Reichel			vdd2_ddr_s3: dcdc-reg6 {
359db242e82SSebastian Reichel				regulator-always-on;
360db242e82SSebastian Reichel				regulator-boot-on;
361db242e82SSebastian Reichel				regulator-name = "vdd2_ddr_s3";
362db242e82SSebastian Reichel
363db242e82SSebastian Reichel				regulator-state-mem {
364db242e82SSebastian Reichel					regulator-on-in-suspend;
365db242e82SSebastian Reichel				};
366db242e82SSebastian Reichel			};
367db242e82SSebastian Reichel
368db242e82SSebastian Reichel			vcc_2v0_pldo_s3: dcdc-reg7 {
369db242e82SSebastian Reichel				regulator-always-on;
370db242e82SSebastian Reichel				regulator-boot-on;
371db242e82SSebastian Reichel				regulator-min-microvolt = <2000000>;
372db242e82SSebastian Reichel				regulator-max-microvolt = <2000000>;
373db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
374db242e82SSebastian Reichel				regulator-name = "vdd_2v0_pldo_s3";
375db242e82SSebastian Reichel
376db242e82SSebastian Reichel				regulator-state-mem {
377db242e82SSebastian Reichel					regulator-on-in-suspend;
378db242e82SSebastian Reichel					regulator-suspend-microvolt = <2000000>;
379db242e82SSebastian Reichel				};
380db242e82SSebastian Reichel			};
381db242e82SSebastian Reichel
382db242e82SSebastian Reichel			vcc_3v3_s3: dcdc-reg8 {
383db242e82SSebastian Reichel				regulator-always-on;
384db242e82SSebastian Reichel				regulator-boot-on;
385db242e82SSebastian Reichel				regulator-min-microvolt = <3300000>;
386db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
387db242e82SSebastian Reichel				regulator-name = "vcc_3v3_s3";
388db242e82SSebastian Reichel
389db242e82SSebastian Reichel				regulator-state-mem {
390db242e82SSebastian Reichel					regulator-on-in-suspend;
391db242e82SSebastian Reichel					regulator-suspend-microvolt = <3300000>;
392db242e82SSebastian Reichel				};
393db242e82SSebastian Reichel			};
394db242e82SSebastian Reichel
395db242e82SSebastian Reichel			vddq_ddr_s0: dcdc-reg9 {
396db242e82SSebastian Reichel				regulator-always-on;
397db242e82SSebastian Reichel				regulator-boot-on;
398db242e82SSebastian Reichel				regulator-name = "vddq_ddr_s0";
399db242e82SSebastian Reichel
400db242e82SSebastian Reichel				regulator-state-mem {
401db242e82SSebastian Reichel					regulator-off-in-suspend;
402db242e82SSebastian Reichel				};
403db242e82SSebastian Reichel			};
404db242e82SSebastian Reichel
405db242e82SSebastian Reichel			vcc_1v8_s3: dcdc-reg10 {
406db242e82SSebastian Reichel				regulator-always-on;
407db242e82SSebastian Reichel				regulator-boot-on;
408db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
409db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
410db242e82SSebastian Reichel				regulator-name = "vcc_1v8_s3";
411db242e82SSebastian Reichel
412db242e82SSebastian Reichel				regulator-state-mem {
413db242e82SSebastian Reichel					regulator-on-in-suspend;
414db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
415db242e82SSebastian Reichel				};
416db242e82SSebastian Reichel			};
417db242e82SSebastian Reichel
418db242e82SSebastian Reichel			avcc_1v8_s0: pldo-reg1 {
419db242e82SSebastian Reichel				regulator-always-on;
420db242e82SSebastian Reichel				regulator-boot-on;
421db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
422db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
423db242e82SSebastian Reichel				regulator-name = "avcc_1v8_s0";
424db242e82SSebastian Reichel
425db242e82SSebastian Reichel				regulator-state-mem {
426db242e82SSebastian Reichel					regulator-off-in-suspend;
427db242e82SSebastian Reichel				};
428db242e82SSebastian Reichel			};
429db242e82SSebastian Reichel
430db242e82SSebastian Reichel			vcc_1v8_s0: pldo-reg2 {
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_s0";
436db242e82SSebastian Reichel
437db242e82SSebastian Reichel				regulator-state-mem {
438db242e82SSebastian Reichel					regulator-off-in-suspend;
439db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
440db242e82SSebastian Reichel				};
441db242e82SSebastian Reichel			};
442db242e82SSebastian Reichel
443db242e82SSebastian Reichel			avdd_1v2_s0: pldo-reg3 {
444db242e82SSebastian Reichel				regulator-always-on;
445db242e82SSebastian Reichel				regulator-boot-on;
446db242e82SSebastian Reichel				regulator-min-microvolt = <1200000>;
447db242e82SSebastian Reichel				regulator-max-microvolt = <1200000>;
448db242e82SSebastian Reichel				regulator-name = "avdd_1v2_s0";
449db242e82SSebastian Reichel
450db242e82SSebastian Reichel				regulator-state-mem {
451db242e82SSebastian Reichel					regulator-off-in-suspend;
452db242e82SSebastian Reichel				};
453db242e82SSebastian Reichel			};
454db242e82SSebastian Reichel
455db242e82SSebastian Reichel			vcc_3v3_s0: pldo-reg4 {
456db242e82SSebastian Reichel				regulator-always-on;
457db242e82SSebastian Reichel				regulator-boot-on;
458db242e82SSebastian Reichel				regulator-min-microvolt = <3300000>;
459db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
460db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
461db242e82SSebastian Reichel				regulator-name = "vcc_3v3_s0";
462db242e82SSebastian Reichel
463db242e82SSebastian Reichel				regulator-state-mem {
464db242e82SSebastian Reichel					regulator-off-in-suspend;
465db242e82SSebastian Reichel				};
466db242e82SSebastian Reichel			};
467db242e82SSebastian Reichel
468db242e82SSebastian Reichel			vccio_sd_s0: pldo-reg5 {
469db242e82SSebastian Reichel				regulator-always-on;
470db242e82SSebastian Reichel				regulator-boot-on;
471db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
472db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
473db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
474db242e82SSebastian Reichel				regulator-name = "vccio_sd_s0";
475db242e82SSebastian Reichel
476db242e82SSebastian Reichel				regulator-state-mem {
477db242e82SSebastian Reichel					regulator-off-in-suspend;
478db242e82SSebastian Reichel				};
479db242e82SSebastian Reichel			};
480db242e82SSebastian Reichel
481db242e82SSebastian Reichel			pldo6_s3: pldo-reg6 {
482db242e82SSebastian Reichel				regulator-always-on;
483db242e82SSebastian Reichel				regulator-boot-on;
484db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
485db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
486db242e82SSebastian Reichel				regulator-name = "pldo6_s3";
487db242e82SSebastian Reichel
488db242e82SSebastian Reichel				regulator-state-mem {
489db242e82SSebastian Reichel					regulator-on-in-suspend;
490db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
491db242e82SSebastian Reichel				};
492db242e82SSebastian Reichel			};
493db242e82SSebastian Reichel
494db242e82SSebastian Reichel			vdd_0v75_s3: nldo-reg1 {
495db242e82SSebastian Reichel				regulator-always-on;
496db242e82SSebastian Reichel				regulator-boot-on;
497db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
498db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
499db242e82SSebastian Reichel				regulator-name = "vdd_0v75_s3";
500db242e82SSebastian Reichel
501db242e82SSebastian Reichel				regulator-state-mem {
502db242e82SSebastian Reichel					regulator-on-in-suspend;
503db242e82SSebastian Reichel					regulator-suspend-microvolt = <750000>;
504db242e82SSebastian Reichel				};
505db242e82SSebastian Reichel			};
506db242e82SSebastian Reichel
507db242e82SSebastian Reichel			vdd_ddr_pll_s0: nldo-reg2 {
508db242e82SSebastian Reichel				regulator-always-on;
509db242e82SSebastian Reichel				regulator-boot-on;
510db242e82SSebastian Reichel				regulator-min-microvolt = <850000>;
511db242e82SSebastian Reichel				regulator-max-microvolt = <850000>;
512db242e82SSebastian Reichel				regulator-name = "vdd_ddr_pll_s0";
513db242e82SSebastian Reichel
514db242e82SSebastian Reichel				regulator-state-mem {
515db242e82SSebastian Reichel					regulator-off-in-suspend;
516db242e82SSebastian Reichel					regulator-suspend-microvolt = <850000>;
517db242e82SSebastian Reichel				};
518db242e82SSebastian Reichel			};
519db242e82SSebastian Reichel
520db242e82SSebastian Reichel			avdd_0v75_s0: nldo-reg3 {
521db242e82SSebastian Reichel				regulator-always-on;
522db242e82SSebastian Reichel				regulator-boot-on;
523db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
524db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
525db242e82SSebastian Reichel				regulator-name = "avdd_0v75_s0";
526db242e82SSebastian Reichel
527db242e82SSebastian Reichel				regulator-state-mem {
528db242e82SSebastian Reichel					regulator-off-in-suspend;
529db242e82SSebastian Reichel				};
530db242e82SSebastian Reichel			};
531db242e82SSebastian Reichel
532db242e82SSebastian Reichel			vdd_0v85_s0: nldo-reg4 {
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_0v85_s0";
538db242e82SSebastian Reichel
539db242e82SSebastian Reichel				regulator-state-mem {
540db242e82SSebastian Reichel					regulator-off-in-suspend;
541db242e82SSebastian Reichel				};
542db242e82SSebastian Reichel			};
543db242e82SSebastian Reichel
544db242e82SSebastian Reichel			vdd_0v75_s0: nldo-reg5 {
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 = "vdd_0v75_s0";
550db242e82SSebastian Reichel
551db242e82SSebastian Reichel				regulator-state-mem {
552db242e82SSebastian Reichel					regulator-off-in-suspend;
553db242e82SSebastian Reichel				};
554db242e82SSebastian Reichel			};
555db242e82SSebastian Reichel		};
556db242e82SSebastian Reichel	};
557db242e82SSebastian Reichel};
558db242e82SSebastian Reichel
559a1d32814SChristopher Obbard&uart2 {
560a1d32814SChristopher Obbard	pinctrl-0 = <&uart2m0_xfer>;
561a1d32814SChristopher Obbard	status = "okay";
562a1d32814SChristopher Obbard};
563