xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/stm32mp157c-ed1.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
4f126890aSEmmanuel Vadot * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
5f126890aSEmmanuel Vadot */
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "stm32mp157.dtsi"
9f126890aSEmmanuel Vadot#include "stm32mp15xc.dtsi"
10f126890aSEmmanuel Vadot#include "stm32mp15-pinctrl.dtsi"
11f126890aSEmmanuel Vadot#include "stm32mp15xxaa-pinctrl.dtsi"
12f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
13*7d0873ebSEmmanuel Vadot#include <dt-bindings/leds/common.h>
14f126890aSEmmanuel Vadot#include <dt-bindings/mfd/st,stpmic1.h>
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot/ {
17f126890aSEmmanuel Vadot	model = "STMicroelectronics STM32MP157C eval daughter";
18f126890aSEmmanuel Vadot	compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot	aliases {
21f126890aSEmmanuel Vadot		serial0 = &uart4;
22f126890aSEmmanuel Vadot	};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	chosen {
25f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
26f126890aSEmmanuel Vadot	};
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot	memory@c0000000 {
29f126890aSEmmanuel Vadot		device_type = "memory";
30f126890aSEmmanuel Vadot		reg = <0xC0000000 0x40000000>;
31f126890aSEmmanuel Vadot	};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot	reserved-memory {
34f126890aSEmmanuel Vadot		#address-cells = <1>;
35f126890aSEmmanuel Vadot		#size-cells = <1>;
36f126890aSEmmanuel Vadot		ranges;
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot		mcuram2: mcuram2@10000000 {
39f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
40f126890aSEmmanuel Vadot			reg = <0x10000000 0x40000>;
41f126890aSEmmanuel Vadot			no-map;
42f126890aSEmmanuel Vadot		};
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot		vdev0vring0: vdev0vring0@10040000 {
45f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
46f126890aSEmmanuel Vadot			reg = <0x10040000 0x1000>;
47f126890aSEmmanuel Vadot			no-map;
48f126890aSEmmanuel Vadot		};
49f126890aSEmmanuel Vadot
50f126890aSEmmanuel Vadot		vdev0vring1: vdev0vring1@10041000 {
51f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
52f126890aSEmmanuel Vadot			reg = <0x10041000 0x1000>;
53f126890aSEmmanuel Vadot			no-map;
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot		vdev0buffer: vdev0buffer@10042000 {
57f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
58f126890aSEmmanuel Vadot			reg = <0x10042000 0x4000>;
59f126890aSEmmanuel Vadot			no-map;
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot		mcuram: mcuram@30000000 {
63f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
64f126890aSEmmanuel Vadot			reg = <0x30000000 0x40000>;
65f126890aSEmmanuel Vadot			no-map;
66f126890aSEmmanuel Vadot		};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot		retram: retram@38000000 {
69f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
70f126890aSEmmanuel Vadot			reg = <0x38000000 0x10000>;
71f126890aSEmmanuel Vadot			no-map;
72f126890aSEmmanuel Vadot		};
73f126890aSEmmanuel Vadot	};
74f126890aSEmmanuel Vadot
75*7d0873ebSEmmanuel Vadot	led {
76*7d0873ebSEmmanuel Vadot		compatible = "gpio-leds";
77*7d0873ebSEmmanuel Vadot		led-blue {
78*7d0873ebSEmmanuel Vadot			gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
79*7d0873ebSEmmanuel Vadot			linux,default-trigger = "heartbeat";
80*7d0873ebSEmmanuel Vadot			default-state = "off";
81*7d0873ebSEmmanuel Vadot			function = LED_FUNCTION_HEARTBEAT;
82*7d0873ebSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
83*7d0873ebSEmmanuel Vadot		};
84*7d0873ebSEmmanuel Vadot	};
85*7d0873ebSEmmanuel Vadot
86f126890aSEmmanuel Vadot	sd_switch: regulator-sd_switch {
87f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
88f126890aSEmmanuel Vadot		regulator-name = "sd_switch";
89f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
90f126890aSEmmanuel Vadot		regulator-max-microvolt = <2900000>;
91f126890aSEmmanuel Vadot		regulator-type = "voltage";
92f126890aSEmmanuel Vadot		regulator-always-on;
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot		gpios = <&gpiof 14 GPIO_ACTIVE_HIGH>;
95f126890aSEmmanuel Vadot		gpios-states = <0>;
96f126890aSEmmanuel Vadot		states = <1800000 0x1>,
97f126890aSEmmanuel Vadot			 <2900000 0x0>;
98f126890aSEmmanuel Vadot	};
99f126890aSEmmanuel Vadot
100f126890aSEmmanuel Vadot	vin: vin {
101f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
102f126890aSEmmanuel Vadot		regulator-name = "vin";
103f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
104f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
105f126890aSEmmanuel Vadot		regulator-always-on;
106f126890aSEmmanuel Vadot	};
107f126890aSEmmanuel Vadot};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot&adc {
110f126890aSEmmanuel Vadot	/* ANA0, ANA1 are dedicated pins and don't need pinctrl: only in6. */
111f126890aSEmmanuel Vadot	pinctrl-0 = <&adc1_in6_pins_a>;
112f126890aSEmmanuel Vadot	pinctrl-names = "default";
113f126890aSEmmanuel Vadot	vdd-supply = <&vdd>;
114f126890aSEmmanuel Vadot	vdda-supply = <&vdda>;
115f126890aSEmmanuel Vadot	vref-supply = <&vdda>;
116f126890aSEmmanuel Vadot	status = "disabled";
117f126890aSEmmanuel Vadot	adc1: adc@0 {
118f126890aSEmmanuel Vadot		status = "okay";
119f126890aSEmmanuel Vadot		channel@0 {
120f126890aSEmmanuel Vadot			reg = <0>;
121f126890aSEmmanuel Vadot			/* 16.5 ck_cycles sampling time */
122f126890aSEmmanuel Vadot			st,min-sample-time-ns = <400>;
123f126890aSEmmanuel Vadot		};
124f126890aSEmmanuel Vadot		channel@1 {
125f126890aSEmmanuel Vadot			reg = <1>;
126f126890aSEmmanuel Vadot			st,min-sample-time-ns = <400>;
127f126890aSEmmanuel Vadot		};
128f126890aSEmmanuel Vadot		channel@6 {
129f126890aSEmmanuel Vadot			reg = <6>;
130f126890aSEmmanuel Vadot			st,min-sample-time-ns = <400>;
131f126890aSEmmanuel Vadot		};
132f126890aSEmmanuel Vadot	};
133f126890aSEmmanuel Vadot};
134f126890aSEmmanuel Vadot
135f126890aSEmmanuel Vadot&crc1 {
136f126890aSEmmanuel Vadot	status = "okay";
137f126890aSEmmanuel Vadot};
138f126890aSEmmanuel Vadot
139f126890aSEmmanuel Vadot&cryp1 {
140f126890aSEmmanuel Vadot	status = "okay";
141f126890aSEmmanuel Vadot};
142f126890aSEmmanuel Vadot
143f126890aSEmmanuel Vadot&dac {
144f126890aSEmmanuel Vadot	pinctrl-names = "default";
145f126890aSEmmanuel Vadot	pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>;
146f126890aSEmmanuel Vadot	vref-supply = <&vdda>;
147f126890aSEmmanuel Vadot	status = "disabled";
148f126890aSEmmanuel Vadot	dac1: dac@1 {
149f126890aSEmmanuel Vadot		status = "okay";
150f126890aSEmmanuel Vadot	};
151f126890aSEmmanuel Vadot	dac2: dac@2 {
152f126890aSEmmanuel Vadot		status = "okay";
153f126890aSEmmanuel Vadot	};
154f126890aSEmmanuel Vadot};
155f126890aSEmmanuel Vadot
156f126890aSEmmanuel Vadot&dts {
157f126890aSEmmanuel Vadot	status = "okay";
158f126890aSEmmanuel Vadot};
159f126890aSEmmanuel Vadot
160f126890aSEmmanuel Vadot&hash1 {
161f126890aSEmmanuel Vadot	status = "okay";
162f126890aSEmmanuel Vadot};
163f126890aSEmmanuel Vadot
164f126890aSEmmanuel Vadot&i2c4 {
165f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
166f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c4_pins_a>;
167f126890aSEmmanuel Vadot	pinctrl-1 = <&i2c4_sleep_pins_a>;
168f126890aSEmmanuel Vadot	i2c-scl-rising-time-ns = <185>;
169f126890aSEmmanuel Vadot	i2c-scl-falling-time-ns = <20>;
170f126890aSEmmanuel Vadot	clock-frequency = <400000>;
171f126890aSEmmanuel Vadot	status = "okay";
172f126890aSEmmanuel Vadot	/* spare dmas for other usage */
173f126890aSEmmanuel Vadot	/delete-property/dmas;
174f126890aSEmmanuel Vadot	/delete-property/dma-names;
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot	pmic: stpmic@33 {
177f126890aSEmmanuel Vadot		compatible = "st,stpmic1";
178f126890aSEmmanuel Vadot		reg = <0x33>;
179f126890aSEmmanuel Vadot		interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
180f126890aSEmmanuel Vadot		interrupt-controller;
181f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
182f126890aSEmmanuel Vadot		status = "okay";
183f126890aSEmmanuel Vadot
184f126890aSEmmanuel Vadot		regulators {
185f126890aSEmmanuel Vadot			compatible = "st,stpmic1-regulators";
186f126890aSEmmanuel Vadot			buck1-supply = <&vin>;
187f126890aSEmmanuel Vadot			buck2-supply = <&vin>;
188f126890aSEmmanuel Vadot			buck3-supply = <&vin>;
189f126890aSEmmanuel Vadot			buck4-supply = <&vin>;
190f126890aSEmmanuel Vadot			ldo1-supply = <&v3v3>;
191f126890aSEmmanuel Vadot			ldo2-supply = <&v3v3>;
192f126890aSEmmanuel Vadot			ldo3-supply = <&vdd_ddr>;
193f126890aSEmmanuel Vadot			ldo4-supply = <&vin>;
194f126890aSEmmanuel Vadot			ldo5-supply = <&v3v3>;
195f126890aSEmmanuel Vadot			ldo6-supply = <&v3v3>;
196f126890aSEmmanuel Vadot			vref_ddr-supply = <&vin>;
197f126890aSEmmanuel Vadot			boost-supply = <&vin>;
198f126890aSEmmanuel Vadot			pwr_sw1-supply = <&bst_out>;
199f126890aSEmmanuel Vadot			pwr_sw2-supply = <&bst_out>;
200f126890aSEmmanuel Vadot
201f126890aSEmmanuel Vadot			vddcore: buck1 {
202f126890aSEmmanuel Vadot				regulator-name = "vddcore";
203f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
204f126890aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
205f126890aSEmmanuel Vadot				regulator-always-on;
206f126890aSEmmanuel Vadot				regulator-initial-mode = <0>;
207f126890aSEmmanuel Vadot				regulator-over-current-protection;
208f126890aSEmmanuel Vadot			};
209f126890aSEmmanuel Vadot
210f126890aSEmmanuel Vadot			vdd_ddr: buck2 {
211f126890aSEmmanuel Vadot				regulator-name = "vdd_ddr";
212f126890aSEmmanuel Vadot				regulator-min-microvolt = <1350000>;
213f126890aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
214f126890aSEmmanuel Vadot				regulator-always-on;
215f126890aSEmmanuel Vadot				regulator-initial-mode = <0>;
216f126890aSEmmanuel Vadot				regulator-over-current-protection;
217f126890aSEmmanuel Vadot			};
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot			vdd: buck3 {
220f126890aSEmmanuel Vadot				regulator-name = "vdd";
221f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
222f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
223f126890aSEmmanuel Vadot				regulator-always-on;
224f126890aSEmmanuel Vadot				st,mask-reset;
225f126890aSEmmanuel Vadot				regulator-initial-mode = <0>;
226f126890aSEmmanuel Vadot				regulator-over-current-protection;
227f126890aSEmmanuel Vadot			};
228f126890aSEmmanuel Vadot
229f126890aSEmmanuel Vadot			v3v3: buck4 {
230f126890aSEmmanuel Vadot				regulator-name = "v3v3";
231f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
232f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
233f126890aSEmmanuel Vadot				regulator-always-on;
234f126890aSEmmanuel Vadot				regulator-over-current-protection;
235f126890aSEmmanuel Vadot				regulator-initial-mode = <0>;
236f126890aSEmmanuel Vadot			};
237f126890aSEmmanuel Vadot
238f126890aSEmmanuel Vadot			vdda: ldo1 {
239f126890aSEmmanuel Vadot				regulator-name = "vdda";
240f126890aSEmmanuel Vadot				regulator-min-microvolt = <2900000>;
241f126890aSEmmanuel Vadot				regulator-max-microvolt = <2900000>;
242f126890aSEmmanuel Vadot				interrupts = <IT_CURLIM_LDO1 0>;
243f126890aSEmmanuel Vadot			};
244f126890aSEmmanuel Vadot
245f126890aSEmmanuel Vadot			v2v8: ldo2 {
246f126890aSEmmanuel Vadot				regulator-name = "v2v8";
247f126890aSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
248f126890aSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
249f126890aSEmmanuel Vadot				interrupts = <IT_CURLIM_LDO2 0>;
250f126890aSEmmanuel Vadot			};
251f126890aSEmmanuel Vadot
252f126890aSEmmanuel Vadot			vtt_ddr: ldo3 {
253f126890aSEmmanuel Vadot				regulator-name = "vtt_ddr";
254f126890aSEmmanuel Vadot				regulator-min-microvolt = <500000>;
255f126890aSEmmanuel Vadot				regulator-max-microvolt = <750000>;
256f126890aSEmmanuel Vadot				regulator-always-on;
257f126890aSEmmanuel Vadot				regulator-over-current-protection;
258f126890aSEmmanuel Vadot			};
259f126890aSEmmanuel Vadot
260f126890aSEmmanuel Vadot			vdd_usb: ldo4 {
261f126890aSEmmanuel Vadot				regulator-name = "vdd_usb";
262f126890aSEmmanuel Vadot				interrupts = <IT_CURLIM_LDO4 0>;
263f126890aSEmmanuel Vadot			};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot			vdd_sd: ldo5 {
266f126890aSEmmanuel Vadot				regulator-name = "vdd_sd";
267f126890aSEmmanuel Vadot				regulator-min-microvolt = <2900000>;
268f126890aSEmmanuel Vadot				regulator-max-microvolt = <2900000>;
269f126890aSEmmanuel Vadot				interrupts = <IT_CURLIM_LDO5 0>;
270f126890aSEmmanuel Vadot				regulator-boot-on;
271f126890aSEmmanuel Vadot			};
272f126890aSEmmanuel Vadot
273f126890aSEmmanuel Vadot			v1v8: ldo6 {
274f126890aSEmmanuel Vadot				regulator-name = "v1v8";
275f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
276f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
277f126890aSEmmanuel Vadot				interrupts = <IT_CURLIM_LDO6 0>;
278f126890aSEmmanuel Vadot			};
279f126890aSEmmanuel Vadot
280f126890aSEmmanuel Vadot			vref_ddr: vref_ddr {
281f126890aSEmmanuel Vadot				regulator-name = "vref_ddr";
282f126890aSEmmanuel Vadot				regulator-always-on;
283f126890aSEmmanuel Vadot			};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot			bst_out: boost {
286f126890aSEmmanuel Vadot				regulator-name = "bst_out";
287f126890aSEmmanuel Vadot				interrupts = <IT_OCP_BOOST 0>;
288f126890aSEmmanuel Vadot			};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot			vbus_otg: pwr_sw1 {
291f126890aSEmmanuel Vadot				regulator-name = "vbus_otg";
292f126890aSEmmanuel Vadot				interrupts = <IT_OCP_OTG 0>;
293f126890aSEmmanuel Vadot			 };
294f126890aSEmmanuel Vadot
295f126890aSEmmanuel Vadot			 vbus_sw: pwr_sw2 {
296f126890aSEmmanuel Vadot				regulator-name = "vbus_sw";
297f126890aSEmmanuel Vadot				interrupts = <IT_OCP_SWOUT 0>;
298f126890aSEmmanuel Vadot				regulator-active-discharge = <1>;
299f126890aSEmmanuel Vadot			 };
300f126890aSEmmanuel Vadot		};
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot		onkey {
303f126890aSEmmanuel Vadot			compatible = "st,stpmic1-onkey";
304f126890aSEmmanuel Vadot			interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
305f126890aSEmmanuel Vadot			interrupt-names = "onkey-falling", "onkey-rising";
306f126890aSEmmanuel Vadot			power-off-time-sec = <10>;
307f126890aSEmmanuel Vadot			status = "okay";
308f126890aSEmmanuel Vadot		};
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot		watchdog {
311f126890aSEmmanuel Vadot			compatible = "st,stpmic1-wdt";
312f126890aSEmmanuel Vadot			status = "disabled";
313f126890aSEmmanuel Vadot		};
314f126890aSEmmanuel Vadot	};
315f126890aSEmmanuel Vadot};
316f126890aSEmmanuel Vadot
317f126890aSEmmanuel Vadot&ipcc {
318f126890aSEmmanuel Vadot	status = "okay";
319f126890aSEmmanuel Vadot};
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot&iwdg2 {
322f126890aSEmmanuel Vadot	timeout-sec = <32>;
323f126890aSEmmanuel Vadot	status = "okay";
324f126890aSEmmanuel Vadot};
325f126890aSEmmanuel Vadot
326f126890aSEmmanuel Vadot&m4_rproc {
327f126890aSEmmanuel Vadot	memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
328f126890aSEmmanuel Vadot			<&vdev0vring1>, <&vdev0buffer>;
329f126890aSEmmanuel Vadot	mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>, <&ipcc 3>;
330f126890aSEmmanuel Vadot	mbox-names = "vq0", "vq1", "shutdown", "detach";
331f126890aSEmmanuel Vadot	interrupt-parent = <&exti>;
332f126890aSEmmanuel Vadot	interrupts = <68 1>;
333f126890aSEmmanuel Vadot	status = "okay";
334f126890aSEmmanuel Vadot};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot&pwr_regulators {
337f126890aSEmmanuel Vadot	vdd-supply = <&vdd>;
338f126890aSEmmanuel Vadot	vdd_3v3_usbfs-supply = <&vdd_usb>;
339f126890aSEmmanuel Vadot};
340f126890aSEmmanuel Vadot
341f126890aSEmmanuel Vadot&rng1 {
342f126890aSEmmanuel Vadot	status = "okay";
343f126890aSEmmanuel Vadot};
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot&rtc {
346f126890aSEmmanuel Vadot	status = "okay";
347f126890aSEmmanuel Vadot};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot&sdmmc1 {
350f126890aSEmmanuel Vadot	pinctrl-names = "default", "opendrain", "sleep";
351f126890aSEmmanuel Vadot	pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
352f126890aSEmmanuel Vadot	pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
353f126890aSEmmanuel Vadot	pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
354f126890aSEmmanuel Vadot	cd-gpios = <&gpiog 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
355f126890aSEmmanuel Vadot	disable-wp;
356f126890aSEmmanuel Vadot	st,sig-dir;
357f126890aSEmmanuel Vadot	st,neg-edge;
358f126890aSEmmanuel Vadot	st,use-ckin;
359f126890aSEmmanuel Vadot	bus-width = <4>;
360f126890aSEmmanuel Vadot	vmmc-supply = <&vdd_sd>;
361f126890aSEmmanuel Vadot	vqmmc-supply = <&sd_switch>;
362f126890aSEmmanuel Vadot	sd-uhs-sdr12;
363f126890aSEmmanuel Vadot	sd-uhs-sdr25;
364f126890aSEmmanuel Vadot	sd-uhs-sdr50;
365f126890aSEmmanuel Vadot	sd-uhs-ddr50;
366f126890aSEmmanuel Vadot	status = "okay";
367f126890aSEmmanuel Vadot};
368f126890aSEmmanuel Vadot
369f126890aSEmmanuel Vadot&sdmmc2 {
370f126890aSEmmanuel Vadot	pinctrl-names = "default", "opendrain", "sleep";
371f126890aSEmmanuel Vadot	pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
372f126890aSEmmanuel Vadot	pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>;
373f126890aSEmmanuel Vadot	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>;
374f126890aSEmmanuel Vadot	non-removable;
375f126890aSEmmanuel Vadot	no-sd;
376f126890aSEmmanuel Vadot	no-sdio;
377f126890aSEmmanuel Vadot	st,neg-edge;
378f126890aSEmmanuel Vadot	bus-width = <8>;
379f126890aSEmmanuel Vadot	vmmc-supply = <&v3v3>;
380f126890aSEmmanuel Vadot	vqmmc-supply = <&vdd>;
381f126890aSEmmanuel Vadot	mmc-ddr-3_3v;
382f126890aSEmmanuel Vadot	status = "okay";
383f126890aSEmmanuel Vadot};
384f126890aSEmmanuel Vadot
385f126890aSEmmanuel Vadot&timers6 {
386f126890aSEmmanuel Vadot	status = "okay";
387f126890aSEmmanuel Vadot	/* spare dmas for other usage */
388f126890aSEmmanuel Vadot	/delete-property/dmas;
389f126890aSEmmanuel Vadot	/delete-property/dma-names;
390f126890aSEmmanuel Vadot	timer@5 {
391f126890aSEmmanuel Vadot		status = "okay";
392f126890aSEmmanuel Vadot	};
393f126890aSEmmanuel Vadot};
394f126890aSEmmanuel Vadot
395f126890aSEmmanuel Vadot&uart4 {
396f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep", "idle";
397f126890aSEmmanuel Vadot	pinctrl-0 = <&uart4_pins_a>;
398f126890aSEmmanuel Vadot	pinctrl-1 = <&uart4_sleep_pins_a>;
399f126890aSEmmanuel Vadot	pinctrl-2 = <&uart4_idle_pins_a>;
400f126890aSEmmanuel Vadot	/delete-property/dmas;
401f126890aSEmmanuel Vadot	/delete-property/dma-names;
402f126890aSEmmanuel Vadot	status = "okay";
403f126890aSEmmanuel Vadot};
404f126890aSEmmanuel Vadot
405f126890aSEmmanuel Vadot&usbotg_hs {
406f126890aSEmmanuel Vadot	vbus-supply = <&vbus_otg>;
407f126890aSEmmanuel Vadot};
408f126890aSEmmanuel Vadot
409f126890aSEmmanuel Vadot&usbphyc_port0 {
410f126890aSEmmanuel Vadot	phy-supply = <&vdd_usb>;
411f126890aSEmmanuel Vadot};
412f126890aSEmmanuel Vadot
413f126890aSEmmanuel Vadot&usbphyc_port1 {
414f126890aSEmmanuel Vadot	phy-supply = <&vdd_usb>;
415f126890aSEmmanuel Vadot};
416