1e67e8565SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2e67e8565SEmmanuel Vadot/*
3e67e8565SEmmanuel Vadot * SoM: https://www.ti.com/lit/zip/sprr439
4e67e8565SEmmanuel Vadot *
5e67e8565SEmmanuel Vadot * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
6e67e8565SEmmanuel Vadot */
7e67e8565SEmmanuel Vadot
8e67e8565SEmmanuel Vadot/dts-v1/;
9e67e8565SEmmanuel Vadot
10e67e8565SEmmanuel Vadot#include "k3-j721s2.dtsi"
11e67e8565SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
12e67e8565SEmmanuel Vadot
13e67e8565SEmmanuel Vadot/ {
14e67e8565SEmmanuel Vadot	memory@80000000 {
15e67e8565SEmmanuel Vadot		device_type = "memory";
16e67e8565SEmmanuel Vadot		/* 16 GB RAM */
17e67e8565SEmmanuel Vadot		reg = <0x00 0x80000000 0x00 0x80000000>,
18e67e8565SEmmanuel Vadot		      <0x08 0x80000000 0x03 0x80000000>;
19e67e8565SEmmanuel Vadot	};
20e67e8565SEmmanuel Vadot
21e67e8565SEmmanuel Vadot	/* Reserving memory regions still pending */
22e67e8565SEmmanuel Vadot	reserved_memory: reserved-memory {
23e67e8565SEmmanuel Vadot		#address-cells = <2>;
24e67e8565SEmmanuel Vadot		#size-cells = <2>;
25e67e8565SEmmanuel Vadot		ranges;
26e67e8565SEmmanuel Vadot
27e67e8565SEmmanuel Vadot		secure_ddr: optee@9e800000 {
28e67e8565SEmmanuel Vadot			reg = <0x00 0x9e800000 0x00 0x01800000>;
29e67e8565SEmmanuel Vadot			alignment = <0x1000>;
30e67e8565SEmmanuel Vadot			no-map;
31e67e8565SEmmanuel Vadot		};
3284943d6fSEmmanuel Vadot
3384943d6fSEmmanuel Vadot		mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
3484943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
3584943d6fSEmmanuel Vadot			reg = <0x00 0xa0000000 0x00 0x100000>;
3684943d6fSEmmanuel Vadot			no-map;
3784943d6fSEmmanuel Vadot		};
3884943d6fSEmmanuel Vadot
3984943d6fSEmmanuel Vadot		mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
4084943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
4184943d6fSEmmanuel Vadot			reg = <0x00 0xa0100000 0x00 0xf00000>;
4284943d6fSEmmanuel Vadot			no-map;
4384943d6fSEmmanuel Vadot		};
4484943d6fSEmmanuel Vadot
4584943d6fSEmmanuel Vadot		mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
4684943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
4784943d6fSEmmanuel Vadot			reg = <0x00 0xa1000000 0x00 0x100000>;
4884943d6fSEmmanuel Vadot			no-map;
4984943d6fSEmmanuel Vadot		};
5084943d6fSEmmanuel Vadot
5184943d6fSEmmanuel Vadot		mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
5284943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
5384943d6fSEmmanuel Vadot			reg = <0x00 0xa1100000 0x00 0xf00000>;
5484943d6fSEmmanuel Vadot			no-map;
5584943d6fSEmmanuel Vadot		};
5684943d6fSEmmanuel Vadot
5784943d6fSEmmanuel Vadot		main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 {
5884943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
5984943d6fSEmmanuel Vadot			reg = <0x00 0xa2000000 0x00 0x100000>;
6084943d6fSEmmanuel Vadot			no-map;
6184943d6fSEmmanuel Vadot		};
6284943d6fSEmmanuel Vadot
6384943d6fSEmmanuel Vadot		main_r5fss0_core0_memory_region: r5f-memory@a2100000 {
6484943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
6584943d6fSEmmanuel Vadot			reg = <0x00 0xa2100000 0x00 0xf00000>;
6684943d6fSEmmanuel Vadot			no-map;
6784943d6fSEmmanuel Vadot		};
6884943d6fSEmmanuel Vadot
6984943d6fSEmmanuel Vadot		main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 {
7084943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
7184943d6fSEmmanuel Vadot			reg = <0x00 0xa3000000 0x00 0x100000>;
7284943d6fSEmmanuel Vadot			no-map;
7384943d6fSEmmanuel Vadot		};
7484943d6fSEmmanuel Vadot
7584943d6fSEmmanuel Vadot		main_r5fss0_core1_memory_region: r5f-memory@a3100000 {
7684943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
7784943d6fSEmmanuel Vadot			reg = <0x00 0xa3100000 0x00 0xf00000>;
7884943d6fSEmmanuel Vadot			no-map;
7984943d6fSEmmanuel Vadot		};
8084943d6fSEmmanuel Vadot
8184943d6fSEmmanuel Vadot		main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a4000000 {
8284943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
8384943d6fSEmmanuel Vadot			reg = <0x00 0xa4000000 0x00 0x100000>;
8484943d6fSEmmanuel Vadot			no-map;
8584943d6fSEmmanuel Vadot		};
8684943d6fSEmmanuel Vadot
8784943d6fSEmmanuel Vadot		main_r5fss1_core0_memory_region: r5f-memory@a4100000 {
8884943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
8984943d6fSEmmanuel Vadot			reg = <0x00 0xa4100000 0x00 0xf00000>;
9084943d6fSEmmanuel Vadot			no-map;
9184943d6fSEmmanuel Vadot		};
9284943d6fSEmmanuel Vadot
9384943d6fSEmmanuel Vadot		main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a5000000 {
9484943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
9584943d6fSEmmanuel Vadot			reg = <0x00 0xa5000000 0x00 0x100000>;
9684943d6fSEmmanuel Vadot			no-map;
9784943d6fSEmmanuel Vadot		};
9884943d6fSEmmanuel Vadot
9984943d6fSEmmanuel Vadot		main_r5fss1_core1_memory_region: r5f-memory@a5100000 {
10084943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
10184943d6fSEmmanuel Vadot			reg = <0x00 0xa5100000 0x00 0xf00000>;
10284943d6fSEmmanuel Vadot			no-map;
10384943d6fSEmmanuel Vadot		};
10484943d6fSEmmanuel Vadot
10584943d6fSEmmanuel Vadot		c71_0_dma_memory_region: c71-dma-memory@a6000000 {
10684943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
10784943d6fSEmmanuel Vadot			reg = <0x00 0xa6000000 0x00 0x100000>;
10884943d6fSEmmanuel Vadot			no-map;
10984943d6fSEmmanuel Vadot		};
11084943d6fSEmmanuel Vadot
11184943d6fSEmmanuel Vadot		c71_0_memory_region: c71-memory@a6100000 {
11284943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
11384943d6fSEmmanuel Vadot			reg = <0x00 0xa6100000 0x00 0xf00000>;
11484943d6fSEmmanuel Vadot			no-map;
11584943d6fSEmmanuel Vadot		};
11684943d6fSEmmanuel Vadot
11784943d6fSEmmanuel Vadot		c71_1_dma_memory_region: c71-dma-memory@a7000000 {
11884943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
11984943d6fSEmmanuel Vadot			reg = <0x00 0xa7000000 0x00 0x100000>;
12084943d6fSEmmanuel Vadot			no-map;
12184943d6fSEmmanuel Vadot		};
12284943d6fSEmmanuel Vadot
12384943d6fSEmmanuel Vadot		c71_1_memory_region: c71-memory@a7100000 {
12484943d6fSEmmanuel Vadot			compatible = "shared-dma-pool";
12584943d6fSEmmanuel Vadot			reg = <0x00 0xa7100000 0x00 0xf00000>;
12684943d6fSEmmanuel Vadot			no-map;
12784943d6fSEmmanuel Vadot		};
12884943d6fSEmmanuel Vadot
12984943d6fSEmmanuel Vadot		rtos_ipc_memory_region: ipc-memories@a8000000 {
13084943d6fSEmmanuel Vadot			reg = <0x00 0xa8000000 0x00 0x01c00000>;
13184943d6fSEmmanuel Vadot			alignment = <0x1000>;
13284943d6fSEmmanuel Vadot			no-map;
13384943d6fSEmmanuel Vadot		};
134e67e8565SEmmanuel Vadot	};
135e67e8565SEmmanuel Vadot
136aa1a8ff2SEmmanuel Vadot	mux0: mux-controller {
137aa1a8ff2SEmmanuel Vadot		compatible = "gpio-mux";
138aa1a8ff2SEmmanuel Vadot		#mux-state-cells = <1>;
139aa1a8ff2SEmmanuel Vadot		mux-gpios = <&exp_som 1 GPIO_ACTIVE_HIGH>;
140aa1a8ff2SEmmanuel Vadot	};
141aa1a8ff2SEmmanuel Vadot
142aa1a8ff2SEmmanuel Vadot	mux1: mux-controller {
143aa1a8ff2SEmmanuel Vadot		compatible = "gpio-mux";
144aa1a8ff2SEmmanuel Vadot		#mux-state-cells = <1>;
145aa1a8ff2SEmmanuel Vadot		mux-gpios = <&exp_som 2 GPIO_ACTIVE_HIGH>;
146aa1a8ff2SEmmanuel Vadot	};
147aa1a8ff2SEmmanuel Vadot
148e67e8565SEmmanuel Vadot	transceiver0: can-phy0 {
149e67e8565SEmmanuel Vadot		/* standby pin has been grounded by default */
150e67e8565SEmmanuel Vadot		compatible = "ti,tcan1042";
151e67e8565SEmmanuel Vadot		#phy-cells = <0>;
152e67e8565SEmmanuel Vadot		max-bitrate = <5000000>;
153e67e8565SEmmanuel Vadot	};
154e67e8565SEmmanuel Vadot};
155e67e8565SEmmanuel Vadot
156f126890aSEmmanuel Vadot&wkup_pmx0 {
157f126890aSEmmanuel Vadot	mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
158f126890aSEmmanuel Vadot		pinctrl-single,pins = <
159f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (D19) MCU_OSPI0_CLK */
160f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F15) MCU_OSPI0_CSn0 */
161f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x00c, PIN_INPUT, 0) /* (C19) MCU_OSPI0_D0 */
162f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x010, PIN_INPUT, 0) /* (F16) MCU_OSPI0_D1 */
163f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x014, PIN_INPUT, 0) /* (G15) MCU_OSPI0_D2 */
164f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x018, PIN_INPUT, 0) /* (F18) MCU_OSPI0_D3 */
165f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (E19) MCU_OSPI0_D4 */
166f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (G19) MCU_OSPI0_D5 */
167f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (F19) MCU_OSPI0_D6 */
168f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (F20) MCU_OSPI0_D7 */
169f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x008, PIN_INPUT, 0) /* (E18) MCU_OSPI0_DQS */
170f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (E20) MCU_OSPI0_LBCLKO */
171f126890aSEmmanuel Vadot		>;
172f126890aSEmmanuel Vadot	};
173f126890aSEmmanuel Vadot};
174f126890aSEmmanuel Vadot
175*8d13bc63SEmmanuel Vadot&wkup_pmx1 {
176*8d13bc63SEmmanuel Vadot	pmic_irq_pins_default: pmic-irq-default-pins {
177*8d13bc63SEmmanuel Vadot		pinctrl-single,pins = <
178*8d13bc63SEmmanuel Vadot			/* (C21) MCU_OSPI1_CSn1.WKUP_GPIO0_39 */
179*8d13bc63SEmmanuel Vadot			J721S2_WKUP_IOPAD(0x028, PIN_INPUT, 7)
180*8d13bc63SEmmanuel Vadot		>;
181*8d13bc63SEmmanuel Vadot	};
182*8d13bc63SEmmanuel Vadot};
183*8d13bc63SEmmanuel Vadot
184f126890aSEmmanuel Vadot&wkup_pmx2 {
185f126890aSEmmanuel Vadot	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
186f126890aSEmmanuel Vadot		pinctrl-single,pins = <
187f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */
188f126890aSEmmanuel Vadot			J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */
189f126890aSEmmanuel Vadot		>;
190f126890aSEmmanuel Vadot	};
191f126890aSEmmanuel Vadot};
192f126890aSEmmanuel Vadot
193e67e8565SEmmanuel Vadot&main_pmx0 {
194f126890aSEmmanuel Vadot	main_i2c0_pins_default: main-i2c0-default-pins {
195e67e8565SEmmanuel Vadot		pinctrl-single,pins = <
196e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x0e0, PIN_INPUT_PULLUP, 0) /* (AH25) I2C0_SCL */
197e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x0e4, PIN_INPUT_PULLUP, 0) /* (AE24) I2C0_SDA */
198e67e8565SEmmanuel Vadot		>;
199e67e8565SEmmanuel Vadot	};
200e67e8565SEmmanuel Vadot
201f126890aSEmmanuel Vadot	main_mcan16_pins_default: main-mcan16-default-pins {
202e67e8565SEmmanuel Vadot		pinctrl-single,pins = <
203e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x028, PIN_INPUT, 0) /* (AB24) MCAN16_RX */
204e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x024, PIN_OUTPUT, 0) /* (Y28) MCAN16_TX */
205e67e8565SEmmanuel Vadot		>;
206e67e8565SEmmanuel Vadot	};
207e67e8565SEmmanuel Vadot};
208e67e8565SEmmanuel Vadot
209f126890aSEmmanuel Vadot&wkup_i2c0 {
210f126890aSEmmanuel Vadot	status = "okay";
211f126890aSEmmanuel Vadot	pinctrl-names = "default";
212f126890aSEmmanuel Vadot	pinctrl-0 = <&wkup_i2c0_pins_default>;
213f126890aSEmmanuel Vadot	clock-frequency = <400000>;
214f126890aSEmmanuel Vadot
215f126890aSEmmanuel Vadot	eeprom@50 {
216f126890aSEmmanuel Vadot		/* CAV24C256WE-GT3 */
217f126890aSEmmanuel Vadot		compatible = "atmel,24c256";
218f126890aSEmmanuel Vadot		reg = <0x50>;
219f126890aSEmmanuel Vadot	};
220*8d13bc63SEmmanuel Vadot
221*8d13bc63SEmmanuel Vadot	tps659411: pmic@48 {
222*8d13bc63SEmmanuel Vadot		compatible = "ti,tps6594-q1";
223*8d13bc63SEmmanuel Vadot		reg = <0x48>;
224*8d13bc63SEmmanuel Vadot		system-power-controller;
225*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
226*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&pmic_irq_pins_default>;
227*8d13bc63SEmmanuel Vadot		interrupt-parent = <&wkup_gpio0>;
228*8d13bc63SEmmanuel Vadot		interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
229*8d13bc63SEmmanuel Vadot		gpio-controller;
230*8d13bc63SEmmanuel Vadot		#gpio-cells = <2>;
231*8d13bc63SEmmanuel Vadot		ti,primary-pmic;
232*8d13bc63SEmmanuel Vadot		buck1234-supply = <&vsys_3v3>;
233*8d13bc63SEmmanuel Vadot		buck5-supply = <&vsys_3v3>;
234*8d13bc63SEmmanuel Vadot		ldo1-supply = <&vsys_3v3>;
235*8d13bc63SEmmanuel Vadot		ldo2-supply = <&vsys_3v3>;
236*8d13bc63SEmmanuel Vadot		ldo3-supply = <&vsys_3v3>;
237*8d13bc63SEmmanuel Vadot		ldo4-supply = <&vsys_3v3>;
238*8d13bc63SEmmanuel Vadot
239*8d13bc63SEmmanuel Vadot		regulators {
240*8d13bc63SEmmanuel Vadot			bucka1234: buck1234 {
241*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_cpu_avs";
242*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <600000>;
243*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <900000>;
244*8d13bc63SEmmanuel Vadot				regulator-boot-on;
245*8d13bc63SEmmanuel Vadot				regulator-always-on;
246*8d13bc63SEmmanuel Vadot				bootph-pre-ram;
247*8d13bc63SEmmanuel Vadot			};
248*8d13bc63SEmmanuel Vadot
249*8d13bc63SEmmanuel Vadot			bucka5: buck5 {
250*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_mcu_0v85";
251*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <850000>;
252*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <850000>;
253*8d13bc63SEmmanuel Vadot				regulator-boot-on;
254*8d13bc63SEmmanuel Vadot				regulator-always-on;
255*8d13bc63SEmmanuel Vadot			};
256*8d13bc63SEmmanuel Vadot
257*8d13bc63SEmmanuel Vadot			ldoa1: ldo1 {
258*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_mcuwk_0v8";
259*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <800000>;
260*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <800000>;
261*8d13bc63SEmmanuel Vadot				regulator-boot-on;
262*8d13bc63SEmmanuel Vadot				regulator-always-on;
263*8d13bc63SEmmanuel Vadot			};
264*8d13bc63SEmmanuel Vadot
265*8d13bc63SEmmanuel Vadot			ldoa2: ldo2 {
266*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_mcu_gpioret_3v3";
267*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
268*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
269*8d13bc63SEmmanuel Vadot				regulator-boot-on;
270*8d13bc63SEmmanuel Vadot				regulator-always-on;
271*8d13bc63SEmmanuel Vadot			};
272*8d13bc63SEmmanuel Vadot
273*8d13bc63SEmmanuel Vadot			ldoa3: ldo3 {
274*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_mcuio_1v8";
275*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
276*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
277*8d13bc63SEmmanuel Vadot				regulator-boot-on;
278*8d13bc63SEmmanuel Vadot				regulator-always-on;
279*8d13bc63SEmmanuel Vadot			};
280*8d13bc63SEmmanuel Vadot
281*8d13bc63SEmmanuel Vadot			ldoa4: ldo4 {
282*8d13bc63SEmmanuel Vadot				regulator-name = "vda_mcu_1v8";
283*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
284*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
285*8d13bc63SEmmanuel Vadot				regulator-boot-on;
286*8d13bc63SEmmanuel Vadot				regulator-always-on;
287*8d13bc63SEmmanuel Vadot			};
288*8d13bc63SEmmanuel Vadot		};
289*8d13bc63SEmmanuel Vadot	};
290*8d13bc63SEmmanuel Vadot
291*8d13bc63SEmmanuel Vadot	tps659414: pmic@4c {
292*8d13bc63SEmmanuel Vadot		compatible = "ti,tps6594-q1";
293*8d13bc63SEmmanuel Vadot		reg = <0x4c>;
294*8d13bc63SEmmanuel Vadot		system-power-controller;
295*8d13bc63SEmmanuel Vadot		interrupt-parent = <&wkup_gpio0>;
296*8d13bc63SEmmanuel Vadot		interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
297*8d13bc63SEmmanuel Vadot		gpio-controller;
298*8d13bc63SEmmanuel Vadot		#gpio-cells = <2>;
299*8d13bc63SEmmanuel Vadot		buck1-supply = <&vsys_3v3>;
300*8d13bc63SEmmanuel Vadot		buck2-supply = <&vsys_3v3>;
301*8d13bc63SEmmanuel Vadot		buck3-supply = <&vsys_3v3>;
302*8d13bc63SEmmanuel Vadot		buck4-supply = <&vsys_3v3>;
303*8d13bc63SEmmanuel Vadot		buck5-supply = <&vsys_3v3>;
304*8d13bc63SEmmanuel Vadot		ldo1-supply = <&vsys_3v3>;
305*8d13bc63SEmmanuel Vadot		ldo2-supply = <&vsys_3v3>;
306*8d13bc63SEmmanuel Vadot		ldo3-supply = <&vsys_3v3>;
307*8d13bc63SEmmanuel Vadot		ldo4-supply = <&vsys_3v3>;
308*8d13bc63SEmmanuel Vadot
309*8d13bc63SEmmanuel Vadot		regulators {
310*8d13bc63SEmmanuel Vadot			buckb1: buck1 {
311*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_io_1v8_reg";
312*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
313*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
314*8d13bc63SEmmanuel Vadot				regulator-always-on;
315*8d13bc63SEmmanuel Vadot				regulator-boot-on;
316*8d13bc63SEmmanuel Vadot			};
317*8d13bc63SEmmanuel Vadot
318*8d13bc63SEmmanuel Vadot			buckb2: buck2 {
319*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_fpd_1v1";
320*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1100000>;
321*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1100000>;
322*8d13bc63SEmmanuel Vadot				regulator-boot-on;
323*8d13bc63SEmmanuel Vadot				regulator-always-on;
324*8d13bc63SEmmanuel Vadot			};
325*8d13bc63SEmmanuel Vadot
326*8d13bc63SEmmanuel Vadot			buckb3: buck3 {
327*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_phy_1v8";
328*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
329*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
330*8d13bc63SEmmanuel Vadot				regulator-boot-on;
331*8d13bc63SEmmanuel Vadot				regulator-always-on;
332*8d13bc63SEmmanuel Vadot			};
333*8d13bc63SEmmanuel Vadot
334*8d13bc63SEmmanuel Vadot			buckb4: buck4 {
335*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_ddr_1v1";
336*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1100000>;
337*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1100000>;
338*8d13bc63SEmmanuel Vadot				regulator-boot-on;
339*8d13bc63SEmmanuel Vadot				regulator-always-on;
340*8d13bc63SEmmanuel Vadot			};
341*8d13bc63SEmmanuel Vadot
342*8d13bc63SEmmanuel Vadot			buckb5: buck5 {
343*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_ram_0v85";
344*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <850000>;
345*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <850000>;
346*8d13bc63SEmmanuel Vadot				regulator-boot-on;
347*8d13bc63SEmmanuel Vadot				regulator-always-on;
348*8d13bc63SEmmanuel Vadot			};
349*8d13bc63SEmmanuel Vadot
350*8d13bc63SEmmanuel Vadot			ldob1: ldo1 {
351*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_wk_0v8";
352*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <800000>;
353*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <800000>;
354*8d13bc63SEmmanuel Vadot				regulator-boot-on;
355*8d13bc63SEmmanuel Vadot				regulator-always-on;
356*8d13bc63SEmmanuel Vadot			};
357*8d13bc63SEmmanuel Vadot
358*8d13bc63SEmmanuel Vadot			ldob2: ldo2 {
359*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_gpioret_3v3";
360*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
361*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
362*8d13bc63SEmmanuel Vadot				regulator-boot-on;
363*8d13bc63SEmmanuel Vadot				regulator-always-on;
364*8d13bc63SEmmanuel Vadot			};
365*8d13bc63SEmmanuel Vadot
366*8d13bc63SEmmanuel Vadot			ldob3: ldo3 {
367*8d13bc63SEmmanuel Vadot				regulator-name = "vda_dll_0v8";
368*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <800000>;
369*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <800000>;
370*8d13bc63SEmmanuel Vadot				regulator-boot-on;
371*8d13bc63SEmmanuel Vadot				regulator-always-on;
372*8d13bc63SEmmanuel Vadot			};
373*8d13bc63SEmmanuel Vadot
374*8d13bc63SEmmanuel Vadot			ldob4: ldo4 {
375*8d13bc63SEmmanuel Vadot				regulator-name = "vda_pll_1v8";
376*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
377*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
378*8d13bc63SEmmanuel Vadot				regulator-boot-on;
379*8d13bc63SEmmanuel Vadot				regulator-always-on;
380*8d13bc63SEmmanuel Vadot			};
381*8d13bc63SEmmanuel Vadot		};
382*8d13bc63SEmmanuel Vadot	};
383*8d13bc63SEmmanuel Vadot
384*8d13bc63SEmmanuel Vadot	lp876411: pmic@58 {
385*8d13bc63SEmmanuel Vadot		compatible = "ti,lp8764-q1";
386*8d13bc63SEmmanuel Vadot		reg = <0x58>;
387*8d13bc63SEmmanuel Vadot		system-power-controller;
388*8d13bc63SEmmanuel Vadot		interrupt-parent = <&wkup_gpio0>;
389*8d13bc63SEmmanuel Vadot		interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
390*8d13bc63SEmmanuel Vadot		gpio-controller;
391*8d13bc63SEmmanuel Vadot		#gpio-cells = <2>;
392*8d13bc63SEmmanuel Vadot		buck1234-supply = <&vsys_3v3>;
393*8d13bc63SEmmanuel Vadot
394*8d13bc63SEmmanuel Vadot		regulators {
395*8d13bc63SEmmanuel Vadot			buckc1234: buck1234 {
396*8d13bc63SEmmanuel Vadot				regulator-name = "vdd_core_0v8";
397*8d13bc63SEmmanuel Vadot				regulator-min-microvolt = <800000>;
398*8d13bc63SEmmanuel Vadot				regulator-max-microvolt = <800000>;
399*8d13bc63SEmmanuel Vadot				regulator-boot-on;
400*8d13bc63SEmmanuel Vadot				regulator-always-on;
401*8d13bc63SEmmanuel Vadot			};
402*8d13bc63SEmmanuel Vadot		};
403*8d13bc63SEmmanuel Vadot	};
404f126890aSEmmanuel Vadot};
405f126890aSEmmanuel Vadot
406e67e8565SEmmanuel Vadot&main_i2c0 {
4078bab661aSEmmanuel Vadot	status = "okay";
408e67e8565SEmmanuel Vadot	pinctrl-names = "default";
409e67e8565SEmmanuel Vadot	pinctrl-0 = <&main_i2c0_pins_default>;
410e67e8565SEmmanuel Vadot	clock-frequency = <400000>;
411e67e8565SEmmanuel Vadot
412e67e8565SEmmanuel Vadot	exp_som: gpio@21 {
413e67e8565SEmmanuel Vadot		compatible = "ti,tca6408";
414e67e8565SEmmanuel Vadot		reg = <0x21>;
415e67e8565SEmmanuel Vadot		gpio-controller;
416e67e8565SEmmanuel Vadot		#gpio-cells = <2>;
417e67e8565SEmmanuel Vadot		gpio-line-names = "USB2.0_MUX_SEL", "CANUART_MUX1_SEL0",
418e67e8565SEmmanuel Vadot				  "CANUART_MUX2_SEL0", "CANUART_MUX_SEL1",
419e67e8565SEmmanuel Vadot				  "GPIO_RGMII1_RST", "GPIO_eDP_ENABLE",
420e67e8565SEmmanuel Vadot				   "GPIO_LIN_EN", "CAN_STB";
421e67e8565SEmmanuel Vadot	};
422e67e8565SEmmanuel Vadot};
423e67e8565SEmmanuel Vadot
424e67e8565SEmmanuel Vadot&main_mcan16 {
4258bab661aSEmmanuel Vadot	status = "okay";
426e67e8565SEmmanuel Vadot	pinctrl-0 = <&main_mcan16_pins_default>;
427e67e8565SEmmanuel Vadot	pinctrl-names = "default";
428e67e8565SEmmanuel Vadot	phys = <&transceiver0>;
429e67e8565SEmmanuel Vadot};
430f126890aSEmmanuel Vadot
431f126890aSEmmanuel Vadot&ospi0 {
432f126890aSEmmanuel Vadot	status = "okay";
433f126890aSEmmanuel Vadot	pinctrl-names = "default";
434f126890aSEmmanuel Vadot	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
435f126890aSEmmanuel Vadot
436f126890aSEmmanuel Vadot	flash@0 {
437f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
438f126890aSEmmanuel Vadot		reg = <0x0>;
439f126890aSEmmanuel Vadot		spi-tx-bus-width = <8>;
440f126890aSEmmanuel Vadot		spi-rx-bus-width = <8>;
441f126890aSEmmanuel Vadot		spi-max-frequency = <25000000>;
442f126890aSEmmanuel Vadot		cdns,tshsl-ns = <60>;
443f126890aSEmmanuel Vadot		cdns,tsd2d-ns = <60>;
444f126890aSEmmanuel Vadot		cdns,tchsh-ns = <60>;
445f126890aSEmmanuel Vadot		cdns,tslch-ns = <60>;
446f126890aSEmmanuel Vadot		cdns,read-delay = <4>;
447f126890aSEmmanuel Vadot	};
448f126890aSEmmanuel Vadot};
44984943d6fSEmmanuel Vadot
45084943d6fSEmmanuel Vadot&mailbox0_cluster0 {
45184943d6fSEmmanuel Vadot	status = "okay";
45284943d6fSEmmanuel Vadot	interrupts = <436>;
45384943d6fSEmmanuel Vadot	mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
45484943d6fSEmmanuel Vadot		ti,mbox-rx = <0 0 0>;
45584943d6fSEmmanuel Vadot		ti,mbox-tx = <1 0 0>;
45684943d6fSEmmanuel Vadot	};
45784943d6fSEmmanuel Vadot
45884943d6fSEmmanuel Vadot	mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
45984943d6fSEmmanuel Vadot		ti,mbox-rx = <2 0 0>;
46084943d6fSEmmanuel Vadot		ti,mbox-tx = <3 0 0>;
46184943d6fSEmmanuel Vadot	};
46284943d6fSEmmanuel Vadot};
46384943d6fSEmmanuel Vadot
46484943d6fSEmmanuel Vadot&mailbox0_cluster1 {
46584943d6fSEmmanuel Vadot	status = "okay";
46684943d6fSEmmanuel Vadot	interrupts = <432>;
46784943d6fSEmmanuel Vadot	mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
46884943d6fSEmmanuel Vadot		ti,mbox-rx = <0 0 0>;
46984943d6fSEmmanuel Vadot		ti,mbox-tx = <1 0 0>;
47084943d6fSEmmanuel Vadot	};
47184943d6fSEmmanuel Vadot
47284943d6fSEmmanuel Vadot	mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
47384943d6fSEmmanuel Vadot		ti,mbox-rx = <2 0 0>;
47484943d6fSEmmanuel Vadot		ti,mbox-tx = <3 0 0>;
47584943d6fSEmmanuel Vadot	};
47684943d6fSEmmanuel Vadot};
47784943d6fSEmmanuel Vadot
47884943d6fSEmmanuel Vadot&mailbox0_cluster2 {
47984943d6fSEmmanuel Vadot	status = "okay";
48084943d6fSEmmanuel Vadot	interrupts = <428>;
48184943d6fSEmmanuel Vadot	mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
48284943d6fSEmmanuel Vadot		ti,mbox-rx = <0 0 0>;
48384943d6fSEmmanuel Vadot		ti,mbox-tx = <1 0 0>;
48484943d6fSEmmanuel Vadot	};
48584943d6fSEmmanuel Vadot
48684943d6fSEmmanuel Vadot	mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
48784943d6fSEmmanuel Vadot		ti,mbox-rx = <2 0 0>;
48884943d6fSEmmanuel Vadot		ti,mbox-tx = <3 0 0>;
48984943d6fSEmmanuel Vadot	};
49084943d6fSEmmanuel Vadot};
49184943d6fSEmmanuel Vadot
49284943d6fSEmmanuel Vadot&mailbox0_cluster4 {
49384943d6fSEmmanuel Vadot	status = "okay";
49484943d6fSEmmanuel Vadot	interrupts = <420>;
49584943d6fSEmmanuel Vadot	mbox_c71_0: mbox-c71-0 {
49684943d6fSEmmanuel Vadot		ti,mbox-rx = <0 0 0>;
49784943d6fSEmmanuel Vadot		ti,mbox-tx = <1 0 0>;
49884943d6fSEmmanuel Vadot	};
49984943d6fSEmmanuel Vadot
50084943d6fSEmmanuel Vadot	mbox_c71_1: mbox-c71-1 {
50184943d6fSEmmanuel Vadot		ti,mbox-rx = <2 0 0>;
50284943d6fSEmmanuel Vadot		ti,mbox-tx = <3 0 0>;
50384943d6fSEmmanuel Vadot	};
50484943d6fSEmmanuel Vadot};
50584943d6fSEmmanuel Vadot
50684943d6fSEmmanuel Vadot&mcu_r5fss0_core0 {
50784943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>;
50884943d6fSEmmanuel Vadot	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
50984943d6fSEmmanuel Vadot			<&mcu_r5fss0_core0_memory_region>;
51084943d6fSEmmanuel Vadot};
51184943d6fSEmmanuel Vadot
51284943d6fSEmmanuel Vadot&mcu_r5fss0_core1 {
51384943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>;
51484943d6fSEmmanuel Vadot	memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
51584943d6fSEmmanuel Vadot			<&mcu_r5fss0_core1_memory_region>;
51684943d6fSEmmanuel Vadot};
51784943d6fSEmmanuel Vadot
51884943d6fSEmmanuel Vadot&main_r5fss0_core0 {
51984943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>;
52084943d6fSEmmanuel Vadot	memory-region = <&main_r5fss0_core0_dma_memory_region>,
52184943d6fSEmmanuel Vadot			<&main_r5fss0_core0_memory_region>;
52284943d6fSEmmanuel Vadot};
52384943d6fSEmmanuel Vadot
52484943d6fSEmmanuel Vadot&main_r5fss0_core1 {
52584943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>;
52684943d6fSEmmanuel Vadot	memory-region = <&main_r5fss0_core1_dma_memory_region>,
52784943d6fSEmmanuel Vadot			<&main_r5fss0_core1_memory_region>;
52884943d6fSEmmanuel Vadot};
52984943d6fSEmmanuel Vadot
53084943d6fSEmmanuel Vadot&main_r5fss1_core0 {
53184943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>;
53284943d6fSEmmanuel Vadot	memory-region = <&main_r5fss1_core0_dma_memory_region>,
53384943d6fSEmmanuel Vadot			<&main_r5fss1_core0_memory_region>;
53484943d6fSEmmanuel Vadot};
53584943d6fSEmmanuel Vadot
53684943d6fSEmmanuel Vadot&main_r5fss1_core1 {
53784943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>;
53884943d6fSEmmanuel Vadot	memory-region = <&main_r5fss1_core1_dma_memory_region>,
53984943d6fSEmmanuel Vadot			<&main_r5fss1_core1_memory_region>;
54084943d6fSEmmanuel Vadot};
54184943d6fSEmmanuel Vadot
54284943d6fSEmmanuel Vadot&c71_0 {
54384943d6fSEmmanuel Vadot	status = "okay";
54484943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
54584943d6fSEmmanuel Vadot	memory-region = <&c71_0_dma_memory_region>,
54684943d6fSEmmanuel Vadot			<&c71_0_memory_region>;
54784943d6fSEmmanuel Vadot};
54884943d6fSEmmanuel Vadot
54984943d6fSEmmanuel Vadot&c71_1 {
55084943d6fSEmmanuel Vadot	status = "okay";
55184943d6fSEmmanuel Vadot	mboxes = <&mailbox0_cluster4>, <&mbox_c71_1>;
55284943d6fSEmmanuel Vadot	memory-region = <&c71_1_dma_memory_region>,
55384943d6fSEmmanuel Vadot			<&c71_1_memory_region>;
55484943d6fSEmmanuel Vadot};
555