xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am67a-beagley-ai.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT
2*b2d2a78aSEmmanuel Vadot/*
3*b2d2a78aSEmmanuel Vadot * https://beagley-ai.org/
4*b2d2a78aSEmmanuel Vadot *
5*b2d2a78aSEmmanuel Vadot * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
6*b2d2a78aSEmmanuel Vadot * Copyright (C) 2024 Robert Nelson, BeagleBoard.org Foundation
7*b2d2a78aSEmmanuel Vadot */
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadot/dts-v1/;
10*b2d2a78aSEmmanuel Vadot
11*b2d2a78aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
12*b2d2a78aSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h>
13*b2d2a78aSEmmanuel Vadot#include "k3-j722s.dtsi"
14*b2d2a78aSEmmanuel Vadot
15*b2d2a78aSEmmanuel Vadot/ {
16*b2d2a78aSEmmanuel Vadot	compatible = "beagle,am67a-beagley-ai", "ti,j722s";
17*b2d2a78aSEmmanuel Vadot	model = "BeagleBoard.org BeagleY-AI";
18*b2d2a78aSEmmanuel Vadot
19*b2d2a78aSEmmanuel Vadot	aliases {
20*b2d2a78aSEmmanuel Vadot		serial0 = &wkup_uart0;
21*b2d2a78aSEmmanuel Vadot		serial2 = &main_uart0;
22*b2d2a78aSEmmanuel Vadot		mmc1 = &sdhci1;
23*b2d2a78aSEmmanuel Vadot		rtc0 = &rtc;
24*b2d2a78aSEmmanuel Vadot	};
25*b2d2a78aSEmmanuel Vadot
26*b2d2a78aSEmmanuel Vadot	chosen {
27*b2d2a78aSEmmanuel Vadot		stdout-path = &main_uart0;
28*b2d2a78aSEmmanuel Vadot	};
29*b2d2a78aSEmmanuel Vadot
30*b2d2a78aSEmmanuel Vadot	memory@80000000 {
31*b2d2a78aSEmmanuel Vadot		/* 4G RAM */
32*b2d2a78aSEmmanuel Vadot		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
33*b2d2a78aSEmmanuel Vadot		      <0x00000008 0x80000000 0x00000000 0x80000000>;
34*b2d2a78aSEmmanuel Vadot		device_type = "memory";
35*b2d2a78aSEmmanuel Vadot		bootph-pre-ram;
36*b2d2a78aSEmmanuel Vadot	};
37*b2d2a78aSEmmanuel Vadot
38*b2d2a78aSEmmanuel Vadot	reserved_memory: reserved-memory {
39*b2d2a78aSEmmanuel Vadot		#address-cells = <2>;
40*b2d2a78aSEmmanuel Vadot		#size-cells = <2>;
41*b2d2a78aSEmmanuel Vadot		ranges;
42*b2d2a78aSEmmanuel Vadot
43*b2d2a78aSEmmanuel Vadot		secure_tfa_ddr: tfa@9e780000 {
44*b2d2a78aSEmmanuel Vadot			reg = <0x00 0x9e780000 0x00 0x80000>;
45*b2d2a78aSEmmanuel Vadot			no-map;
46*b2d2a78aSEmmanuel Vadot		};
47*b2d2a78aSEmmanuel Vadot
48*b2d2a78aSEmmanuel Vadot		secure_ddr: optee@9e800000 {
49*b2d2a78aSEmmanuel Vadot			reg = <0x00 0x9e800000 0x00 0x01800000>;
50*b2d2a78aSEmmanuel Vadot			no-map;
51*b2d2a78aSEmmanuel Vadot		};
52*b2d2a78aSEmmanuel Vadot
53*b2d2a78aSEmmanuel Vadot		wkup_r5fss0_core0_memory_region: r5f-memory@a0100000 {
54*b2d2a78aSEmmanuel Vadot			compatible = "shared-dma-pool";
55*b2d2a78aSEmmanuel Vadot			reg = <0x00 0xa0100000 0x00 0xf00000>;
56*b2d2a78aSEmmanuel Vadot			no-map;
57*b2d2a78aSEmmanuel Vadot		};
58*b2d2a78aSEmmanuel Vadot	};
59*b2d2a78aSEmmanuel Vadot
60*b2d2a78aSEmmanuel Vadot	vsys_5v0: regulator-1 {
61*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
62*b2d2a78aSEmmanuel Vadot		regulator-name = "vsys_5v0";
63*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
64*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
65*b2d2a78aSEmmanuel Vadot		regulator-always-on;
66*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
67*b2d2a78aSEmmanuel Vadot		bootph-all;
68*b2d2a78aSEmmanuel Vadot	};
69*b2d2a78aSEmmanuel Vadot
70*b2d2a78aSEmmanuel Vadot	vdd_3v3: regulator-2 {
71*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
72*b2d2a78aSEmmanuel Vadot		regulator-name = "vdd_3v3";
73*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
74*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
75*b2d2a78aSEmmanuel Vadot		vin-supply = <&vsys_5v0>;
76*b2d2a78aSEmmanuel Vadot		regulator-always-on;
77*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
78*b2d2a78aSEmmanuel Vadot	};
79*b2d2a78aSEmmanuel Vadot
80*b2d2a78aSEmmanuel Vadot	vdd_mmc1: regulator-3 {
81*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
82*b2d2a78aSEmmanuel Vadot		regulator-name = "vdd_mmc1";
83*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
84*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&vdd_3v3_sd_pins_default>;
85*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
86*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
87*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
88*b2d2a78aSEmmanuel Vadot		enable-active-high;
89*b2d2a78aSEmmanuel Vadot		gpio = <&main_gpio1 50 GPIO_ACTIVE_HIGH>;
90*b2d2a78aSEmmanuel Vadot		bootph-all;
91*b2d2a78aSEmmanuel Vadot	};
92*b2d2a78aSEmmanuel Vadot
93*b2d2a78aSEmmanuel Vadot	vdd_sd_dv: regulator-4 {
94*b2d2a78aSEmmanuel Vadot		compatible = "regulator-gpio";
95*b2d2a78aSEmmanuel Vadot		regulator-name = "tlv71033";
96*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
97*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&vdd_sd_dv_pins_default>;
98*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
99*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
100*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
101*b2d2a78aSEmmanuel Vadot		vin-supply = <&vsys_5v0>;
102*b2d2a78aSEmmanuel Vadot		gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>;
103*b2d2a78aSEmmanuel Vadot		states = <1800000 0x0>,
104*b2d2a78aSEmmanuel Vadot			 <3300000 0x1>;
105*b2d2a78aSEmmanuel Vadot		bootph-all;
106*b2d2a78aSEmmanuel Vadot	};
107*b2d2a78aSEmmanuel Vadot
108*b2d2a78aSEmmanuel Vadot	vsys_io_1v8: regulator-5 {
109*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
110*b2d2a78aSEmmanuel Vadot		regulator-name = "vsys_io_1v8";
111*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
112*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
113*b2d2a78aSEmmanuel Vadot		regulator-always-on;
114*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
115*b2d2a78aSEmmanuel Vadot	};
116*b2d2a78aSEmmanuel Vadot
117*b2d2a78aSEmmanuel Vadot	vsys_io_1v2: regulator-6 {
118*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
119*b2d2a78aSEmmanuel Vadot		regulator-name = "vsys_io_1v2";
120*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <1200000>;
121*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <1200000>;
122*b2d2a78aSEmmanuel Vadot		regulator-always-on;
123*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
124*b2d2a78aSEmmanuel Vadot	};
125*b2d2a78aSEmmanuel Vadot
126*b2d2a78aSEmmanuel Vadot	leds {
127*b2d2a78aSEmmanuel Vadot		compatible = "gpio-leds";
128*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
129*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&led_pins_default>;
130*b2d2a78aSEmmanuel Vadot
131*b2d2a78aSEmmanuel Vadot		led-0 {
132*b2d2a78aSEmmanuel Vadot			gpios = <&main_gpio0 11 GPIO_ACTIVE_LOW>;
133*b2d2a78aSEmmanuel Vadot			default-state = "off";
134*b2d2a78aSEmmanuel Vadot		};
135*b2d2a78aSEmmanuel Vadot
136*b2d2a78aSEmmanuel Vadot		led-1 {
137*b2d2a78aSEmmanuel Vadot			gpios = <&main_gpio0 12 GPIO_ACTIVE_HIGH>;
138*b2d2a78aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
139*b2d2a78aSEmmanuel Vadot			function = LED_FUNCTION_HEARTBEAT;
140*b2d2a78aSEmmanuel Vadot			default-state = "on";
141*b2d2a78aSEmmanuel Vadot		};
142*b2d2a78aSEmmanuel Vadot	};
143*b2d2a78aSEmmanuel Vadot};
144*b2d2a78aSEmmanuel Vadot
145*b2d2a78aSEmmanuel Vadot&main_pmx0 {
146*b2d2a78aSEmmanuel Vadot	main_i2c0_pins_default: main-i2c0-default-pins {
147*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
148*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (D23) I2C0_SCL */
149*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x01e4, PIN_INPUT_PULLUP, 0) /* (B22) I2C0_SDA */
150*b2d2a78aSEmmanuel Vadot		>;
151*b2d2a78aSEmmanuel Vadot		bootph-all;
152*b2d2a78aSEmmanuel Vadot	};
153*b2d2a78aSEmmanuel Vadot
154*b2d2a78aSEmmanuel Vadot	main_uart0_pins_default: main-uart0-default-pins {
155*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
156*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x01c8, PIN_INPUT, 0)	/* (A22) UART0_RXD */
157*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x01cc, PIN_OUTPUT, 0)	/* (B22) UART0_TXD */
158*b2d2a78aSEmmanuel Vadot		>;
159*b2d2a78aSEmmanuel Vadot		bootph-all;
160*b2d2a78aSEmmanuel Vadot	};
161*b2d2a78aSEmmanuel Vadot
162*b2d2a78aSEmmanuel Vadot	vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
163*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
164*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0244, PIN_OUTPUT, 7) /* (A24) MMC1_SDWP.GPIO1_49 */
165*b2d2a78aSEmmanuel Vadot		>;
166*b2d2a78aSEmmanuel Vadot		bootph-all;
167*b2d2a78aSEmmanuel Vadot	};
168*b2d2a78aSEmmanuel Vadot
169*b2d2a78aSEmmanuel Vadot	main_mmc1_pins_default: main-mmc1-default-pins {
170*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
171*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x023c, PIN_INPUT, 0) /* (H22) MMC1_CMD */
172*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0234, PIN_OUTPUT, 0) /* (H24) MMC1_CLK */
173*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0230, PIN_INPUT, 0) /* (H23) MMC1_DAT0 */
174*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x022c, PIN_INPUT_PULLUP, 0) /* (H20) MMC1_DAT1 */
175*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0228, PIN_INPUT_PULLUP, 0) /* (J23) MMC1_DAT2 */
176*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0224, PIN_INPUT_PULLUP, 0) /* (H25) MMC1_DAT3 */
177*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0240, PIN_INPUT, 7) /* (B24) MMC1_SDCD.GPIO1_48 */
178*b2d2a78aSEmmanuel Vadot		>;
179*b2d2a78aSEmmanuel Vadot		bootph-all;
180*b2d2a78aSEmmanuel Vadot	};
181*b2d2a78aSEmmanuel Vadot
182*b2d2a78aSEmmanuel Vadot	mdio_pins_default: mdio-default-pins {
183*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
184*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0160, PIN_OUTPUT, 0) /* (AC24) MDIO0_MDC */
185*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x015c, PIN_INPUT, 0) /* (AD25) MDIO0_MDIO */
186*b2d2a78aSEmmanuel Vadot		>;
187*b2d2a78aSEmmanuel Vadot	};
188*b2d2a78aSEmmanuel Vadot
189*b2d2a78aSEmmanuel Vadot	rgmii1_pins_default: rgmii1-default-pins {
190*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
191*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x014c, PIN_INPUT, 0) /* (AC25) RGMII1_RD0 */
192*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0150, PIN_INPUT, 0) /* (AD27) RGMII1_RD1 */
193*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0154, PIN_INPUT, 0) /* (AE24) RGMII1_RD2 */
194*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0158, PIN_INPUT, 0) /* (AE26) RGMII1_RD3 */
195*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0148, PIN_INPUT, 0) /* (AE27) RGMII1_RXC */
196*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0144, PIN_INPUT, 0) /* (AD23) RGMII1_RX_CTL */
197*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0134, PIN_OUTPUT, 0) /* (AF27) RGMII1_TD0 */
198*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0138, PIN_OUTPUT, 0) /* (AE23) RGMII1_TD1 */
199*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x013c, PIN_OUTPUT, 0) /* (AG25) RGMII1_TD2 */
200*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0140, PIN_OUTPUT, 0) /* (AF24) RGMII1_TD3 */
201*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0130, PIN_OUTPUT, 0) /* (AG26) RGMII1_TXC */
202*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x012c, PIN_OUTPUT, 0) /* (AF25) RGMII1_TX_CTL */
203*b2d2a78aSEmmanuel Vadot		>;
204*b2d2a78aSEmmanuel Vadot	};
205*b2d2a78aSEmmanuel Vadot
206*b2d2a78aSEmmanuel Vadot	led_pins_default: led-default-pins {
207*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
208*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x002c, PIN_OUTPUT, 7) /* (K26) OSPI0_CSn0.GPIO0_11 */
209*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0030, PIN_OUTPUT, 7) /* (K23) OSPI0_CSn1.GPIO0_12 */
210*b2d2a78aSEmmanuel Vadot		>;
211*b2d2a78aSEmmanuel Vadot	};
212*b2d2a78aSEmmanuel Vadot
213*b2d2a78aSEmmanuel Vadot	pmic_irq_pins_default: pmic-irq-default-pins {
214*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
215*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x01f4, PIN_INPUT_PULLUP, 0) /* (B23) EXTINTn */
216*b2d2a78aSEmmanuel Vadot		>;
217*b2d2a78aSEmmanuel Vadot	};
218*b2d2a78aSEmmanuel Vadot
219*b2d2a78aSEmmanuel Vadot	vdd_3v3_sd_pins_default: vdd-3v3-sd-default-pins {
220*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
221*b2d2a78aSEmmanuel Vadot			J722S_IOPAD(0x0254, PIN_OUTPUT, 7) /* (E25) USB0_DRVVBUS.GPIO1_50 */
222*b2d2a78aSEmmanuel Vadot		>;
223*b2d2a78aSEmmanuel Vadot	};
224*b2d2a78aSEmmanuel Vadot};
225*b2d2a78aSEmmanuel Vadot
226*b2d2a78aSEmmanuel Vadot&cpsw3g {
227*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
228*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&rgmii1_pins_default>;
229*b2d2a78aSEmmanuel Vadot	status = "okay";
230*b2d2a78aSEmmanuel Vadot};
231*b2d2a78aSEmmanuel Vadot
232*b2d2a78aSEmmanuel Vadot&cpsw3g_mdio {
233*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
234*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&mdio_pins_default>;
235*b2d2a78aSEmmanuel Vadot	status = "okay";
236*b2d2a78aSEmmanuel Vadot
237*b2d2a78aSEmmanuel Vadot	cpsw3g_phy0: ethernet-phy@0 {
238*b2d2a78aSEmmanuel Vadot		reg = <0>;
239*b2d2a78aSEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
240*b2d2a78aSEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
241*b2d2a78aSEmmanuel Vadot		ti,min-output-impedance;
242*b2d2a78aSEmmanuel Vadot	};
243*b2d2a78aSEmmanuel Vadot};
244*b2d2a78aSEmmanuel Vadot
245*b2d2a78aSEmmanuel Vadot&cpsw_port1 {
246*b2d2a78aSEmmanuel Vadot	phy-mode = "rgmii-rxid";
247*b2d2a78aSEmmanuel Vadot	phy-handle = <&cpsw3g_phy0>;
248*b2d2a78aSEmmanuel Vadot	status = "okay";
249*b2d2a78aSEmmanuel Vadot};
250*b2d2a78aSEmmanuel Vadot
251*b2d2a78aSEmmanuel Vadot&main_gpio1 {
252*b2d2a78aSEmmanuel Vadot	status = "okay";
253*b2d2a78aSEmmanuel Vadot};
254*b2d2a78aSEmmanuel Vadot
255*b2d2a78aSEmmanuel Vadot&main_uart0 {
256*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
257*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&main_uart0_pins_default>;
258*b2d2a78aSEmmanuel Vadot	bootph-all;
259*b2d2a78aSEmmanuel Vadot	status = "okay";
260*b2d2a78aSEmmanuel Vadot};
261*b2d2a78aSEmmanuel Vadot
262*b2d2a78aSEmmanuel Vadot&mcu_pmx0 {
263*b2d2a78aSEmmanuel Vadot	wkup_uart0_pins_default: wkup-uart0-default-pins {
264*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
265*b2d2a78aSEmmanuel Vadot			J722S_MCU_IOPAD(0x02c, PIN_INPUT, 0)	/* (C7) WKUP_UART0_CTSn */
266*b2d2a78aSEmmanuel Vadot			J722S_MCU_IOPAD(0x030, PIN_OUTPUT, 0)	/* (C6) WKUP_UART0_RTSn */
267*b2d2a78aSEmmanuel Vadot			J722S_MCU_IOPAD(0x024, PIN_INPUT, 0)	/* (D8) WKUP_UART0_RXD */
268*b2d2a78aSEmmanuel Vadot			J722S_MCU_IOPAD(0x028, PIN_OUTPUT, 0)	/* (D7) WKUP_UART0_TXD */
269*b2d2a78aSEmmanuel Vadot		>;
270*b2d2a78aSEmmanuel Vadot		bootph-all;
271*b2d2a78aSEmmanuel Vadot	};
272*b2d2a78aSEmmanuel Vadot
273*b2d2a78aSEmmanuel Vadot	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
274*b2d2a78aSEmmanuel Vadot		pinctrl-single,pins = <
275*b2d2a78aSEmmanuel Vadot			J722S_MCU_IOPAD(0x04c, PIN_INPUT_PULLUP, 0)	/* (C7) WKUP_I2C0_SCL */
276*b2d2a78aSEmmanuel Vadot			J722S_MCU_IOPAD(0x050, PIN_INPUT_PULLUP, 0)	/* (C6) WKUP_I2C1_SDA */
277*b2d2a78aSEmmanuel Vadot		>;
278*b2d2a78aSEmmanuel Vadot		bootph-all;
279*b2d2a78aSEmmanuel Vadot	};
280*b2d2a78aSEmmanuel Vadot};
281*b2d2a78aSEmmanuel Vadot
282*b2d2a78aSEmmanuel Vadot&wkup_uart0 {
283*b2d2a78aSEmmanuel Vadot	/* WKUP UART0 is used by Device Manager firmware */
284*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
285*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&wkup_uart0_pins_default>;
286*b2d2a78aSEmmanuel Vadot	bootph-all;
287*b2d2a78aSEmmanuel Vadot	status = "reserved";
288*b2d2a78aSEmmanuel Vadot};
289*b2d2a78aSEmmanuel Vadot
290*b2d2a78aSEmmanuel Vadot&wkup_i2c0 {
291*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
292*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&wkup_i2c0_pins_default>;
293*b2d2a78aSEmmanuel Vadot	clock-frequency = <100000>;
294*b2d2a78aSEmmanuel Vadot	bootph-all;
295*b2d2a78aSEmmanuel Vadot	status = "okay";
296*b2d2a78aSEmmanuel Vadot
297*b2d2a78aSEmmanuel Vadot	tps65219: pmic@30 {
298*b2d2a78aSEmmanuel Vadot		compatible = "ti,tps65219";
299*b2d2a78aSEmmanuel Vadot		reg = <0x30>;
300*b2d2a78aSEmmanuel Vadot		buck1-supply = <&vsys_5v0>;
301*b2d2a78aSEmmanuel Vadot		buck2-supply = <&vsys_5v0>;
302*b2d2a78aSEmmanuel Vadot		buck3-supply = <&vsys_5v0>;
303*b2d2a78aSEmmanuel Vadot		ldo1-supply = <&vdd_3v3>;
304*b2d2a78aSEmmanuel Vadot		ldo3-supply = <&vdd_3v3>;
305*b2d2a78aSEmmanuel Vadot		ldo4-supply = <&vdd_3v3>;
306*b2d2a78aSEmmanuel Vadot
307*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
308*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&pmic_irq_pins_default>;
309*b2d2a78aSEmmanuel Vadot		interrupt-parent = <&gic500>;
310*b2d2a78aSEmmanuel Vadot		interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
311*b2d2a78aSEmmanuel Vadot		interrupt-controller;
312*b2d2a78aSEmmanuel Vadot		#interrupt-cells = <1>;
313*b2d2a78aSEmmanuel Vadot
314*b2d2a78aSEmmanuel Vadot		bootph-all;
315*b2d2a78aSEmmanuel Vadot		system-power-controller;
316*b2d2a78aSEmmanuel Vadot		ti,power-button;
317*b2d2a78aSEmmanuel Vadot
318*b2d2a78aSEmmanuel Vadot		regulators {
319*b2d2a78aSEmmanuel Vadot			buck1_reg: buck1 {
320*b2d2a78aSEmmanuel Vadot				regulator-name = "VDD_3V3";
321*b2d2a78aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
322*b2d2a78aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
323*b2d2a78aSEmmanuel Vadot				regulator-boot-on;
324*b2d2a78aSEmmanuel Vadot				regulator-always-on;
325*b2d2a78aSEmmanuel Vadot			};
326*b2d2a78aSEmmanuel Vadot
327*b2d2a78aSEmmanuel Vadot			buck2_reg: buck2 {
328*b2d2a78aSEmmanuel Vadot				regulator-name = "VDD_1V8";
329*b2d2a78aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
330*b2d2a78aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
331*b2d2a78aSEmmanuel Vadot				regulator-boot-on;
332*b2d2a78aSEmmanuel Vadot				regulator-always-on;
333*b2d2a78aSEmmanuel Vadot			};
334*b2d2a78aSEmmanuel Vadot
335*b2d2a78aSEmmanuel Vadot			ldo1_reg: ldo1 {
336*b2d2a78aSEmmanuel Vadot				regulator-name = "VDDSHV5_SDIO";
337*b2d2a78aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
338*b2d2a78aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
339*b2d2a78aSEmmanuel Vadot				regulator-allow-bypass;
340*b2d2a78aSEmmanuel Vadot				regulator-boot-on;
341*b2d2a78aSEmmanuel Vadot				regulator-always-on;
342*b2d2a78aSEmmanuel Vadot			};
343*b2d2a78aSEmmanuel Vadot
344*b2d2a78aSEmmanuel Vadot			ldo2_reg: ldo2 {
345*b2d2a78aSEmmanuel Vadot				regulator-name = "VDD_1V2";
346*b2d2a78aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
347*b2d2a78aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
348*b2d2a78aSEmmanuel Vadot				regulator-boot-on;
349*b2d2a78aSEmmanuel Vadot				regulator-always-on;
350*b2d2a78aSEmmanuel Vadot			};
351*b2d2a78aSEmmanuel Vadot
352*b2d2a78aSEmmanuel Vadot			ldo3_reg: ldo3 {
353*b2d2a78aSEmmanuel Vadot				regulator-name = "VDDA_PHY_1V8";
354*b2d2a78aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
355*b2d2a78aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
356*b2d2a78aSEmmanuel Vadot				regulator-boot-on;
357*b2d2a78aSEmmanuel Vadot				regulator-always-on;
358*b2d2a78aSEmmanuel Vadot			};
359*b2d2a78aSEmmanuel Vadot
360*b2d2a78aSEmmanuel Vadot			ldo4_reg: ldo4 {
361*b2d2a78aSEmmanuel Vadot				regulator-name = "VDDA_PLL_1V8";
362*b2d2a78aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
363*b2d2a78aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
364*b2d2a78aSEmmanuel Vadot				regulator-boot-on;
365*b2d2a78aSEmmanuel Vadot				regulator-always-on;
366*b2d2a78aSEmmanuel Vadot			};
367*b2d2a78aSEmmanuel Vadot		};
368*b2d2a78aSEmmanuel Vadot	};
369*b2d2a78aSEmmanuel Vadot
370*b2d2a78aSEmmanuel Vadot	eeprom@50 {
371*b2d2a78aSEmmanuel Vadot		compatible = "atmel,24c32";
372*b2d2a78aSEmmanuel Vadot		reg = <0x50>;
373*b2d2a78aSEmmanuel Vadot	};
374*b2d2a78aSEmmanuel Vadot
375*b2d2a78aSEmmanuel Vadot	rtc: rtc@68 {
376*b2d2a78aSEmmanuel Vadot		compatible = "dallas,ds1340";
377*b2d2a78aSEmmanuel Vadot		reg = <0x68>;
378*b2d2a78aSEmmanuel Vadot	};
379*b2d2a78aSEmmanuel Vadot};
380*b2d2a78aSEmmanuel Vadot
381*b2d2a78aSEmmanuel Vadot&sdhci1 {
382*b2d2a78aSEmmanuel Vadot	/* SD/MMC */
383*b2d2a78aSEmmanuel Vadot	vmmc-supply = <&vdd_mmc1>;
384*b2d2a78aSEmmanuel Vadot	vqmmc-supply = <&vdd_sd_dv>;
385*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
386*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&main_mmc1_pins_default>;
387*b2d2a78aSEmmanuel Vadot	disable-wp;
388*b2d2a78aSEmmanuel Vadot	cd-gpios = <&main_gpio1 48 GPIO_ACTIVE_LOW>;
389*b2d2a78aSEmmanuel Vadot	cd-debounce-delay-ms = <100>;
390*b2d2a78aSEmmanuel Vadot	bootph-all;
391*b2d2a78aSEmmanuel Vadot	ti,fails-without-test-cd;
392*b2d2a78aSEmmanuel Vadot	status = "okay";
393*b2d2a78aSEmmanuel Vadot};
394