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
210*a68e1aecSShreeya Patel&saradc {
211*a68e1aecSShreeya Patel	vref-supply = <&avcc_1v8_s0>;
212*a68e1aecSShreeya Patel	status = "okay";
213*a68e1aecSShreeya Patel};
214*a68e1aecSShreeya Patel
215a1d32814SChristopher Obbard&sdhci {
216a1d32814SChristopher Obbard	bus-width = <8>;
217a1d32814SChristopher Obbard	no-sdio;
218a1d32814SChristopher Obbard	no-sd;
219a1d32814SChristopher Obbard	non-removable;
220a1d32814SChristopher Obbard	max-frequency = <200000000>;
221a1d32814SChristopher Obbard	mmc-hs400-1_8v;
222a1d32814SChristopher Obbard	mmc-hs400-enhanced-strobe;
223a1d32814SChristopher Obbard	status = "okay";
224a1d32814SChristopher Obbard};
225a1d32814SChristopher Obbard
2262a6d4af5SLucas Tanure&sdmmc {
2272a6d4af5SLucas Tanure	max-frequency = <200000000>;
2282a6d4af5SLucas Tanure	no-sdio;
2292a6d4af5SLucas Tanure	no-mmc;
2302a6d4af5SLucas Tanure	bus-width = <4>;
2312a6d4af5SLucas Tanure	cap-mmc-highspeed;
2322a6d4af5SLucas Tanure	cap-sd-highspeed;
2332a6d4af5SLucas Tanure	disable-wp;
2342a6d4af5SLucas Tanure	sd-uhs-sdr104;
2352a6d4af5SLucas Tanure	vmmc-supply = <&vcc_3v3_s3>;
2362a6d4af5SLucas Tanure	vqmmc-supply = <&vccio_sd_s0>;
2372a6d4af5SLucas Tanure	status = "okay";
2382a6d4af5SLucas Tanure};
2392a6d4af5SLucas Tanure
240db242e82SSebastian Reichel&spi2 {
241db242e82SSebastian Reichel	status = "okay";
242db242e82SSebastian Reichel	assigned-clocks = <&cru CLK_SPI2>;
243db242e82SSebastian Reichel	assigned-clock-rates = <200000000>;
244db242e82SSebastian Reichel	pinctrl-names = "default";
245db242e82SSebastian Reichel	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
246db242e82SSebastian Reichel	num-cs = <1>;
247db242e82SSebastian Reichel
248db242e82SSebastian Reichel	pmic@0 {
249db242e82SSebastian Reichel		compatible = "rockchip,rk806";
250db242e82SSebastian Reichel		spi-max-frequency = <1000000>;
251db242e82SSebastian Reichel		reg = <0x0>;
252db242e82SSebastian Reichel
253db242e82SSebastian Reichel		interrupt-parent = <&gpio0>;
254db242e82SSebastian Reichel		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
255db242e82SSebastian Reichel
256db242e82SSebastian Reichel		pinctrl-names = "default";
257db242e82SSebastian Reichel		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
258db242e82SSebastian Reichel			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
259db242e82SSebastian Reichel
260db242e82SSebastian Reichel		vcc1-supply = <&vcc5v0_sys>;
261db242e82SSebastian Reichel		vcc2-supply = <&vcc5v0_sys>;
262db242e82SSebastian Reichel		vcc3-supply = <&vcc5v0_sys>;
263db242e82SSebastian Reichel		vcc4-supply = <&vcc5v0_sys>;
264db242e82SSebastian Reichel		vcc5-supply = <&vcc5v0_sys>;
265db242e82SSebastian Reichel		vcc6-supply = <&vcc5v0_sys>;
266db242e82SSebastian Reichel		vcc7-supply = <&vcc5v0_sys>;
267db242e82SSebastian Reichel		vcc8-supply = <&vcc5v0_sys>;
268db242e82SSebastian Reichel		vcc9-supply = <&vcc5v0_sys>;
269db242e82SSebastian Reichel		vcc10-supply = <&vcc5v0_sys>;
270db242e82SSebastian Reichel		vcc11-supply = <&vcc_2v0_pldo_s3>;
271db242e82SSebastian Reichel		vcc12-supply = <&vcc5v0_sys>;
272db242e82SSebastian Reichel		vcc13-supply = <&vcc_1v1_nldo_s3>;
273db242e82SSebastian Reichel		vcc14-supply = <&vcc_1v1_nldo_s3>;
274db242e82SSebastian Reichel		vcca-supply = <&vcc5v0_sys>;
275db242e82SSebastian Reichel
276db242e82SSebastian Reichel		gpio-controller;
277db242e82SSebastian Reichel		#gpio-cells = <2>;
278db242e82SSebastian Reichel
279db242e82SSebastian Reichel		rk806_dvs1_null: dvs1-null-pins {
280db242e82SSebastian Reichel			pins = "gpio_pwrctrl2";
281db242e82SSebastian Reichel			function = "pin_fun0";
282db242e82SSebastian Reichel		};
283db242e82SSebastian Reichel
284db242e82SSebastian Reichel		rk806_dvs2_null: dvs2-null-pins {
285db242e82SSebastian Reichel			pins = "gpio_pwrctrl2";
286db242e82SSebastian Reichel			function = "pin_fun0";
287db242e82SSebastian Reichel		};
288db242e82SSebastian Reichel
289db242e82SSebastian Reichel		rk806_dvs3_null: dvs3-null-pins {
290db242e82SSebastian Reichel			pins = "gpio_pwrctrl3";
291db242e82SSebastian Reichel			function = "pin_fun0";
292db242e82SSebastian Reichel		};
293db242e82SSebastian Reichel
294db242e82SSebastian Reichel		regulators {
295db242e82SSebastian Reichel			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
296db242e82SSebastian Reichel				regulator-boot-on;
297db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
298db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
299db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
300db242e82SSebastian Reichel				regulator-name = "vdd_gpu_s0";
301db242e82SSebastian Reichel				regulator-enable-ramp-delay = <400>;
302db242e82SSebastian Reichel
303db242e82SSebastian Reichel				regulator-state-mem {
304db242e82SSebastian Reichel					regulator-off-in-suspend;
305db242e82SSebastian Reichel				};
306db242e82SSebastian Reichel			};
307db242e82SSebastian Reichel
308db242e82SSebastian Reichel			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
309db242e82SSebastian Reichel				regulator-always-on;
310db242e82SSebastian Reichel				regulator-boot-on;
311db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
312db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
313db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
314db242e82SSebastian Reichel				regulator-name = "vdd_cpu_lit_s0";
315db242e82SSebastian Reichel
316db242e82SSebastian Reichel				regulator-state-mem {
317db242e82SSebastian Reichel					regulator-off-in-suspend;
318db242e82SSebastian Reichel				};
319db242e82SSebastian Reichel			};
320db242e82SSebastian Reichel
321db242e82SSebastian Reichel			vdd_log_s0: dcdc-reg3 {
322db242e82SSebastian Reichel				regulator-always-on;
323db242e82SSebastian Reichel				regulator-boot-on;
324db242e82SSebastian Reichel				regulator-min-microvolt = <675000>;
325db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
326db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
327db242e82SSebastian Reichel				regulator-name = "vdd_log_s0";
328db242e82SSebastian Reichel
329db242e82SSebastian Reichel				regulator-state-mem {
330db242e82SSebastian Reichel					regulator-off-in-suspend;
331db242e82SSebastian Reichel					regulator-suspend-microvolt = <750000>;
332db242e82SSebastian Reichel				};
333db242e82SSebastian Reichel			};
334db242e82SSebastian Reichel
335db242e82SSebastian Reichel			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
336db242e82SSebastian Reichel				regulator-always-on;
337db242e82SSebastian Reichel				regulator-boot-on;
338db242e82SSebastian Reichel				regulator-min-microvolt = <550000>;
339db242e82SSebastian Reichel				regulator-max-microvolt = <950000>;
340db242e82SSebastian Reichel				regulator-init-microvolt = <750000>;
341db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
342db242e82SSebastian Reichel				regulator-name = "vdd_vdenc_s0";
343db242e82SSebastian Reichel
344db242e82SSebastian Reichel				regulator-state-mem {
345db242e82SSebastian Reichel					regulator-off-in-suspend;
346db242e82SSebastian Reichel				};
347db242e82SSebastian Reichel			};
348db242e82SSebastian Reichel
349db242e82SSebastian Reichel			vdd_ddr_s0: dcdc-reg5 {
350db242e82SSebastian Reichel				regulator-always-on;
351db242e82SSebastian Reichel				regulator-boot-on;
352db242e82SSebastian Reichel				regulator-min-microvolt = <675000>;
353db242e82SSebastian Reichel				regulator-max-microvolt = <900000>;
354db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
355db242e82SSebastian Reichel				regulator-name = "vdd_ddr_s0";
356db242e82SSebastian Reichel
357db242e82SSebastian Reichel				regulator-state-mem {
358db242e82SSebastian Reichel					regulator-off-in-suspend;
359db242e82SSebastian Reichel					regulator-suspend-microvolt = <850000>;
360db242e82SSebastian Reichel				};
361db242e82SSebastian Reichel			};
362db242e82SSebastian Reichel
363db242e82SSebastian Reichel			vdd2_ddr_s3: dcdc-reg6 {
364db242e82SSebastian Reichel				regulator-always-on;
365db242e82SSebastian Reichel				regulator-boot-on;
366db242e82SSebastian Reichel				regulator-name = "vdd2_ddr_s3";
367db242e82SSebastian Reichel
368db242e82SSebastian Reichel				regulator-state-mem {
369db242e82SSebastian Reichel					regulator-on-in-suspend;
370db242e82SSebastian Reichel				};
371db242e82SSebastian Reichel			};
372db242e82SSebastian Reichel
373db242e82SSebastian Reichel			vcc_2v0_pldo_s3: dcdc-reg7 {
374db242e82SSebastian Reichel				regulator-always-on;
375db242e82SSebastian Reichel				regulator-boot-on;
376db242e82SSebastian Reichel				regulator-min-microvolt = <2000000>;
377db242e82SSebastian Reichel				regulator-max-microvolt = <2000000>;
378db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
379db242e82SSebastian Reichel				regulator-name = "vdd_2v0_pldo_s3";
380db242e82SSebastian Reichel
381db242e82SSebastian Reichel				regulator-state-mem {
382db242e82SSebastian Reichel					regulator-on-in-suspend;
383db242e82SSebastian Reichel					regulator-suspend-microvolt = <2000000>;
384db242e82SSebastian Reichel				};
385db242e82SSebastian Reichel			};
386db242e82SSebastian Reichel
387db242e82SSebastian Reichel			vcc_3v3_s3: dcdc-reg8 {
388db242e82SSebastian Reichel				regulator-always-on;
389db242e82SSebastian Reichel				regulator-boot-on;
390db242e82SSebastian Reichel				regulator-min-microvolt = <3300000>;
391db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
392db242e82SSebastian Reichel				regulator-name = "vcc_3v3_s3";
393db242e82SSebastian Reichel
394db242e82SSebastian Reichel				regulator-state-mem {
395db242e82SSebastian Reichel					regulator-on-in-suspend;
396db242e82SSebastian Reichel					regulator-suspend-microvolt = <3300000>;
397db242e82SSebastian Reichel				};
398db242e82SSebastian Reichel			};
399db242e82SSebastian Reichel
400db242e82SSebastian Reichel			vddq_ddr_s0: dcdc-reg9 {
401db242e82SSebastian Reichel				regulator-always-on;
402db242e82SSebastian Reichel				regulator-boot-on;
403db242e82SSebastian Reichel				regulator-name = "vddq_ddr_s0";
404db242e82SSebastian Reichel
405db242e82SSebastian Reichel				regulator-state-mem {
406db242e82SSebastian Reichel					regulator-off-in-suspend;
407db242e82SSebastian Reichel				};
408db242e82SSebastian Reichel			};
409db242e82SSebastian Reichel
410db242e82SSebastian Reichel			vcc_1v8_s3: dcdc-reg10 {
411db242e82SSebastian Reichel				regulator-always-on;
412db242e82SSebastian Reichel				regulator-boot-on;
413db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
414db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
415db242e82SSebastian Reichel				regulator-name = "vcc_1v8_s3";
416db242e82SSebastian Reichel
417db242e82SSebastian Reichel				regulator-state-mem {
418db242e82SSebastian Reichel					regulator-on-in-suspend;
419db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
420db242e82SSebastian Reichel				};
421db242e82SSebastian Reichel			};
422db242e82SSebastian Reichel
423db242e82SSebastian Reichel			avcc_1v8_s0: pldo-reg1 {
424db242e82SSebastian Reichel				regulator-always-on;
425db242e82SSebastian Reichel				regulator-boot-on;
426db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
427db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
428db242e82SSebastian Reichel				regulator-name = "avcc_1v8_s0";
429db242e82SSebastian Reichel
430db242e82SSebastian Reichel				regulator-state-mem {
431db242e82SSebastian Reichel					regulator-off-in-suspend;
432db242e82SSebastian Reichel				};
433db242e82SSebastian Reichel			};
434db242e82SSebastian Reichel
435db242e82SSebastian Reichel			vcc_1v8_s0: pldo-reg2 {
436db242e82SSebastian Reichel				regulator-always-on;
437db242e82SSebastian Reichel				regulator-boot-on;
438db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
439db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
440db242e82SSebastian Reichel				regulator-name = "vcc_1v8_s0";
441db242e82SSebastian Reichel
442db242e82SSebastian Reichel				regulator-state-mem {
443db242e82SSebastian Reichel					regulator-off-in-suspend;
444db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
445db242e82SSebastian Reichel				};
446db242e82SSebastian Reichel			};
447db242e82SSebastian Reichel
448db242e82SSebastian Reichel			avdd_1v2_s0: pldo-reg3 {
449db242e82SSebastian Reichel				regulator-always-on;
450db242e82SSebastian Reichel				regulator-boot-on;
451db242e82SSebastian Reichel				regulator-min-microvolt = <1200000>;
452db242e82SSebastian Reichel				regulator-max-microvolt = <1200000>;
453db242e82SSebastian Reichel				regulator-name = "avdd_1v2_s0";
454db242e82SSebastian Reichel
455db242e82SSebastian Reichel				regulator-state-mem {
456db242e82SSebastian Reichel					regulator-off-in-suspend;
457db242e82SSebastian Reichel				};
458db242e82SSebastian Reichel			};
459db242e82SSebastian Reichel
460db242e82SSebastian Reichel			vcc_3v3_s0: pldo-reg4 {
461db242e82SSebastian Reichel				regulator-always-on;
462db242e82SSebastian Reichel				regulator-boot-on;
463db242e82SSebastian Reichel				regulator-min-microvolt = <3300000>;
464db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
465db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
466db242e82SSebastian Reichel				regulator-name = "vcc_3v3_s0";
467db242e82SSebastian Reichel
468db242e82SSebastian Reichel				regulator-state-mem {
469db242e82SSebastian Reichel					regulator-off-in-suspend;
470db242e82SSebastian Reichel				};
471db242e82SSebastian Reichel			};
472db242e82SSebastian Reichel
473db242e82SSebastian Reichel			vccio_sd_s0: pldo-reg5 {
474db242e82SSebastian Reichel				regulator-always-on;
475db242e82SSebastian Reichel				regulator-boot-on;
476db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
477db242e82SSebastian Reichel				regulator-max-microvolt = <3300000>;
478db242e82SSebastian Reichel				regulator-ramp-delay = <12500>;
479db242e82SSebastian Reichel				regulator-name = "vccio_sd_s0";
480db242e82SSebastian Reichel
481db242e82SSebastian Reichel				regulator-state-mem {
482db242e82SSebastian Reichel					regulator-off-in-suspend;
483db242e82SSebastian Reichel				};
484db242e82SSebastian Reichel			};
485db242e82SSebastian Reichel
486db242e82SSebastian Reichel			pldo6_s3: pldo-reg6 {
487db242e82SSebastian Reichel				regulator-always-on;
488db242e82SSebastian Reichel				regulator-boot-on;
489db242e82SSebastian Reichel				regulator-min-microvolt = <1800000>;
490db242e82SSebastian Reichel				regulator-max-microvolt = <1800000>;
491db242e82SSebastian Reichel				regulator-name = "pldo6_s3";
492db242e82SSebastian Reichel
493db242e82SSebastian Reichel				regulator-state-mem {
494db242e82SSebastian Reichel					regulator-on-in-suspend;
495db242e82SSebastian Reichel					regulator-suspend-microvolt = <1800000>;
496db242e82SSebastian Reichel				};
497db242e82SSebastian Reichel			};
498db242e82SSebastian Reichel
499db242e82SSebastian Reichel			vdd_0v75_s3: nldo-reg1 {
500db242e82SSebastian Reichel				regulator-always-on;
501db242e82SSebastian Reichel				regulator-boot-on;
502db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
503db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
504db242e82SSebastian Reichel				regulator-name = "vdd_0v75_s3";
505db242e82SSebastian Reichel
506db242e82SSebastian Reichel				regulator-state-mem {
507db242e82SSebastian Reichel					regulator-on-in-suspend;
508db242e82SSebastian Reichel					regulator-suspend-microvolt = <750000>;
509db242e82SSebastian Reichel				};
510db242e82SSebastian Reichel			};
511db242e82SSebastian Reichel
512db242e82SSebastian Reichel			vdd_ddr_pll_s0: nldo-reg2 {
513db242e82SSebastian Reichel				regulator-always-on;
514db242e82SSebastian Reichel				regulator-boot-on;
515db242e82SSebastian Reichel				regulator-min-microvolt = <850000>;
516db242e82SSebastian Reichel				regulator-max-microvolt = <850000>;
517db242e82SSebastian Reichel				regulator-name = "vdd_ddr_pll_s0";
518db242e82SSebastian Reichel
519db242e82SSebastian Reichel				regulator-state-mem {
520db242e82SSebastian Reichel					regulator-off-in-suspend;
521db242e82SSebastian Reichel					regulator-suspend-microvolt = <850000>;
522db242e82SSebastian Reichel				};
523db242e82SSebastian Reichel			};
524db242e82SSebastian Reichel
525db242e82SSebastian Reichel			avdd_0v75_s0: nldo-reg3 {
526db242e82SSebastian Reichel				regulator-always-on;
527db242e82SSebastian Reichel				regulator-boot-on;
528db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
529db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
530db242e82SSebastian Reichel				regulator-name = "avdd_0v75_s0";
531db242e82SSebastian Reichel
532db242e82SSebastian Reichel				regulator-state-mem {
533db242e82SSebastian Reichel					regulator-off-in-suspend;
534db242e82SSebastian Reichel				};
535db242e82SSebastian Reichel			};
536db242e82SSebastian Reichel
537db242e82SSebastian Reichel			vdd_0v85_s0: nldo-reg4 {
538db242e82SSebastian Reichel				regulator-always-on;
539db242e82SSebastian Reichel				regulator-boot-on;
540db242e82SSebastian Reichel				regulator-min-microvolt = <850000>;
541db242e82SSebastian Reichel				regulator-max-microvolt = <850000>;
542db242e82SSebastian Reichel				regulator-name = "vdd_0v85_s0";
543db242e82SSebastian Reichel
544db242e82SSebastian Reichel				regulator-state-mem {
545db242e82SSebastian Reichel					regulator-off-in-suspend;
546db242e82SSebastian Reichel				};
547db242e82SSebastian Reichel			};
548db242e82SSebastian Reichel
549db242e82SSebastian Reichel			vdd_0v75_s0: nldo-reg5 {
550db242e82SSebastian Reichel				regulator-always-on;
551db242e82SSebastian Reichel				regulator-boot-on;
552db242e82SSebastian Reichel				regulator-min-microvolt = <750000>;
553db242e82SSebastian Reichel				regulator-max-microvolt = <750000>;
554db242e82SSebastian Reichel				regulator-name = "vdd_0v75_s0";
555db242e82SSebastian Reichel
556db242e82SSebastian Reichel				regulator-state-mem {
557db242e82SSebastian Reichel					regulator-off-in-suspend;
558db242e82SSebastian Reichel				};
559db242e82SSebastian Reichel			};
560db242e82SSebastian Reichel		};
561db242e82SSebastian Reichel	};
562db242e82SSebastian Reichel};
563db242e82SSebastian Reichel
564a1d32814SChristopher Obbard&uart2 {
565a1d32814SChristopher Obbard	pinctrl-0 = <&uart2m0_xfer>;
566a1d32814SChristopher Obbard	status = "okay";
567a1d32814SChristopher Obbard};
568