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