xref: /linux/arch/arm/boot/dts/ti/omap/am335x-moxa-uc-8100-common.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (C) 2020 MOXA Inc. - https://www.moxa.com/
4*724ba675SRob Herring *
5*724ba675SRob Herring * Author: Johnson Chen <johnsonch.chen@moxa.com>
6*724ba675SRob Herring */
7*724ba675SRob Herring
8*724ba675SRob Herring#include "am33xx.dtsi"
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring
12*724ba675SRob Herring	cpus {
13*724ba675SRob Herring		cpu@0 {
14*724ba675SRob Herring			cpu0-supply = <&vdd1_reg>;
15*724ba675SRob Herring		};
16*724ba675SRob Herring	};
17*724ba675SRob Herring
18*724ba675SRob Herring	vbat: vbat-regulator {
19*724ba675SRob Herring		compatible = "regulator-fixed";
20*724ba675SRob Herring	};
21*724ba675SRob Herring
22*724ba675SRob Herring	/* Power supply provides a fixed 3.3V @3A */
23*724ba675SRob Herring	vmmcsd_fixed: vmmcsd-regulator {
24*724ba675SRob Herring		compatible = "regulator-fixed";
25*724ba675SRob Herring		regulator-name = "vmmcsd_fixed";
26*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
27*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
28*724ba675SRob Herring		regulator-boot-on;
29*724ba675SRob Herring	};
30*724ba675SRob Herring
31*724ba675SRob Herring	buttons: push_button {
32*724ba675SRob Herring		compatible = "gpio-keys";
33*724ba675SRob Herring	};
34*724ba675SRob Herring
35*724ba675SRob Herring};
36*724ba675SRob Herring
37*724ba675SRob Herring&am33xx_pinmux {
38*724ba675SRob Herring	pinctrl-names = "default";
39*724ba675SRob Herring	pinctrl-0 = <&minipcie_pins>;
40*724ba675SRob Herring
41*724ba675SRob Herring	minipcie_pins: minipcie-pins {
42*724ba675SRob Herring		pinctrl-single,pins = <
43*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* lcd_pclk.gpio2_24 */
44*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* lcd_ac_bias_en.gpio2_25 */
45*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* lcd_vsync.gpio2_22  Power off PIN*/
46*724ba675SRob Herring		>;
47*724ba675SRob Herring	};
48*724ba675SRob Herring
49*724ba675SRob Herring	push_button_pins: push-button-pins {
50*724ba675SRob Herring		pinctrl-single,pins = <
51*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* mcasp0_ahcklx.gpio3_21 */
52*724ba675SRob Herring		>;
53*724ba675SRob Herring	};
54*724ba675SRob Herring
55*724ba675SRob Herring	i2c0_pins: i2c0-pins {
56*724ba675SRob Herring		pinctrl-single,pins = <
57*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0)
58*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0)
59*724ba675SRob Herring		>;
60*724ba675SRob Herring	};
61*724ba675SRob Herring
62*724ba675SRob Herring
63*724ba675SRob Herring	i2c1_pins: i2c1-pins {
64*724ba675SRob Herring		pinctrl-single,pins = <
65*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLUP, MUX_MODE3)	/* uart0_ctsn.i2c1_sda */
66*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE3)	/* uart0_rtsn.i2c1_scl */
67*724ba675SRob Herring		>;
68*724ba675SRob Herring	};
69*724ba675SRob Herring
70*724ba675SRob Herring	uart0_pins: uart0-pins {
71*724ba675SRob Herring		pinctrl-single,pins = <
72*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
73*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
74*724ba675SRob Herring		>;
75*724ba675SRob Herring	};
76*724ba675SRob Herring
77*724ba675SRob Herring	uart1_pins: uart1-pins {
78*724ba675SRob Herring		pinctrl-single,pins = <
79*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT, MUX_MODE0)
80*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
81*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
82*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT, MUX_MODE0)
83*724ba675SRob Herring		>;
84*724ba675SRob Herring	};
85*724ba675SRob Herring
86*724ba675SRob Herring	uart2_pins: uart2-pins {
87*724ba675SRob Herring		pinctrl-single,pins = <
88*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_INPUT, MUX_MODE6)		/* lcd_data14.uart5_ctsn */
89*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT_PULLDOWN, MUX_MODE6)  /* lcd_data15.uart5_rtsn */
90*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_INPUT_PULLUP, MUX_MODE4)     /* lcd_data9.uart5_rxd */
91*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE4)		/* lcd_data8.uart5_txd */
92*724ba675SRob Herring		>;
93*724ba675SRob Herring	};
94*724ba675SRob Herring
95*724ba675SRob Herring	cpsw_default: cpsw-default-pins {
96*724ba675SRob Herring		pinctrl-single,pins = <
97*724ba675SRob Herring			/* Slave 1 */
98*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE1)
99*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLUP, MUX_MODE1)
100*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE1)
101*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE1)
102*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE1)
103*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLUP, MUX_MODE1)
104*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLUP, MUX_MODE1)
105*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE0)
106*724ba675SRob Herring
107*724ba675SRob Herring			/* Slave 2 */
108*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLDOWN, MUX_MODE3)   /* rmii2_crs_dv */
109*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLDOWN, MUX_MODE3)   /* rmii2_rxer */
110*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT_PULLDOWN, MUX_MODE3)  /* rmii2_txen */
111*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT_PULLDOWN, MUX_MODE3)  /* rmii2_td1 */
112*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT_PULLDOWN, MUX_MODE3)  /* rmii2_td0 */
113*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE3)   /* rmii2_rd1 */
114*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE3)   /* rmii2_rd0 */
115*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLDOWN, MUX_MODE1)  /* rmii2_refclk */
116*724ba675SRob Herring
117*724ba675SRob Herring		>;
118*724ba675SRob Herring	};
119*724ba675SRob Herring
120*724ba675SRob Herring	davinci_mdio_default: davinci-mdio-default-pins {
121*724ba675SRob Herring		pinctrl-single,pins = <
122*724ba675SRob Herring			/* MDIO */
123*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0)
124*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0)
125*724ba675SRob Herring		>;
126*724ba675SRob Herring	};
127*724ba675SRob Herring
128*724ba675SRob Herring	mmc0_pins_default: mmc0-pins {
129*724ba675SRob Herring		pinctrl-single,pins = <
130*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
131*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
132*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
133*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
134*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
135*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
136*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_INPUT_PULLUP, MUX_MODE7)	/* mcasp0_aclkx.gpio3_14 */
137*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT_PULLUP, MUX_MODE7)    /* mcasp0_aclkx.gpio3_18 */
138*724ba675SRob Herring		>;
139*724ba675SRob Herring	};
140*724ba675SRob Herring
141*724ba675SRob Herring	mmc2_pins_default: mmc2-pins {
142*724ba675SRob Herring		pinctrl-single,pins = <
143*724ba675SRob Herring			/* eMMC */
144*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad12.mmc2_dat0 */
145*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad13.mmc2_dat1 */
146*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad14.mmc2_dat2 */
147*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad15.mmc2_dat3 */
148*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad8.mmc2_dat4 */
149*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad9.mmc2_dat5 */
150*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad10.mmc2_dat6 */
151*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_ad11.mmc2_dat7 */
152*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLUP, MUX_MODE3)     /* gpmc_csn3.mmc2_cmd */
153*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLUP, MUX_MODE3)	/* gpmc_clk.mmc2_clk */
154*724ba675SRob Herring		>;
155*724ba675SRob Herring	};
156*724ba675SRob Herring
157*724ba675SRob Herring	spi0_pins: spi0-pins {
158*724ba675SRob Herring		pinctrl-single,pins = <
159*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE0)
160*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE0)
161*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLUP, MUX_MODE0)
162*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE0)
163*724ba675SRob Herring		>;
164*724ba675SRob Herring	};
165*724ba675SRob Herring
166*724ba675SRob Herring};
167*724ba675SRob Herring
168*724ba675SRob Herring&uart0 {
169*724ba675SRob Herring	/* Console */
170*724ba675SRob Herring	status = "okay";
171*724ba675SRob Herring	pinctrl-names = "default";
172*724ba675SRob Herring	pinctrl-0 = <&uart0_pins>;
173*724ba675SRob Herring};
174*724ba675SRob Herring
175*724ba675SRob Herring&uart1 {
176*724ba675SRob Herring	/* UART 1 setting */
177*724ba675SRob Herring	status = "okay";
178*724ba675SRob Herring	pinctrl-names = "default";
179*724ba675SRob Herring	pinctrl-0 = <&uart1_pins>;
180*724ba675SRob Herring};
181*724ba675SRob Herring
182*724ba675SRob Herring&uart5 {
183*724ba675SRob Herring	/* UART 2 setting */
184*724ba675SRob Herring	status = "okay";
185*724ba675SRob Herring	pinctrl-names = "default";
186*724ba675SRob Herring	pinctrl-0 = <&uart2_pins>;
187*724ba675SRob Herring};
188*724ba675SRob Herring
189*724ba675SRob Herring&i2c0 {
190*724ba675SRob Herring	pinctrl-names = "default";
191*724ba675SRob Herring	pinctrl-0 = <&i2c0_pins>;
192*724ba675SRob Herring
193*724ba675SRob Herring	status = "okay";
194*724ba675SRob Herring	clock-frequency = <400000>;
195*724ba675SRob Herring
196*724ba675SRob Herring	tps: tps@2d {
197*724ba675SRob Herring		compatible = "ti,tps65910";
198*724ba675SRob Herring		reg = <0x2d>;
199*724ba675SRob Herring	};
200*724ba675SRob Herring
201*724ba675SRob Herring	eeprom: eeprom@50 {
202*724ba675SRob Herring		compatible = "atmel,24c16";
203*724ba675SRob Herring		pagesize = <16>;
204*724ba675SRob Herring		reg = <0x50>;
205*724ba675SRob Herring	};
206*724ba675SRob Herring
207*724ba675SRob Herring	rtc_wdt: rtc_wdt@68 {
208*724ba675SRob Herring		compatible = "dallas,ds1374";
209*724ba675SRob Herring		reg = <0x68>;
210*724ba675SRob Herring	};
211*724ba675SRob Herring};
212*724ba675SRob Herring
213*724ba675SRob Herring&i2c1 {
214*724ba675SRob Herring	pinctrl-names = "default";
215*724ba675SRob Herring	pinctrl-0 = <&i2c1_pins>;
216*724ba675SRob Herring
217*724ba675SRob Herring	status = "okay";
218*724ba675SRob Herring	clock-frequency = <400000>;
219*724ba675SRob Herring	gpio_xten: gpio_xten@27 {
220*724ba675SRob Herring		compatible = "nxp,pca9535";
221*724ba675SRob Herring		gpio-controller;
222*724ba675SRob Herring		#gpio-cells = <2>;
223*724ba675SRob Herring		reg = <0x27>;
224*724ba675SRob Herring	};
225*724ba675SRob Herring};
226*724ba675SRob Herring
227*724ba675SRob Herring&usb0 {
228*724ba675SRob Herring	dr_mode = "host";
229*724ba675SRob Herring};
230*724ba675SRob Herring
231*724ba675SRob Herring&usb1 {
232*724ba675SRob Herring	dr_mode = "host";
233*724ba675SRob Herring};
234*724ba675SRob Herring
235*724ba675SRob Herring
236*724ba675SRob Herring#include "../../tps65910.dtsi"
237*724ba675SRob Herring&tps {
238*724ba675SRob Herring	vcc1-supply = <&vbat>;
239*724ba675SRob Herring	vcc2-supply = <&vbat>;
240*724ba675SRob Herring	vcc3-supply = <&vbat>;
241*724ba675SRob Herring	vcc4-supply = <&vbat>;
242*724ba675SRob Herring	vcc5-supply = <&vbat>;
243*724ba675SRob Herring	vcc6-supply = <&vbat>;
244*724ba675SRob Herring	vcc7-supply = <&vbat>;
245*724ba675SRob Herring	vccio-supply = <&vbat>;
246*724ba675SRob Herring
247*724ba675SRob Herring	regulators {
248*724ba675SRob Herring		vrtc_reg: regulator@0 {
249*724ba675SRob Herring			regulator-always-on;
250*724ba675SRob Herring		};
251*724ba675SRob Herring
252*724ba675SRob Herring		vio_reg: regulator@1 {
253*724ba675SRob Herring			regulator-always-on;
254*724ba675SRob Herring		};
255*724ba675SRob Herring
256*724ba675SRob Herring		vdd1_reg: regulator@2 {
257*724ba675SRob Herring			regulator-always-on;
258*724ba675SRob Herring		};
259*724ba675SRob Herring
260*724ba675SRob Herring		vdd2_reg: regulator@3 {
261*724ba675SRob Herring			regulator-always-on;
262*724ba675SRob Herring		};
263*724ba675SRob Herring
264*724ba675SRob Herring		vdd3_reg: regulator@4 {
265*724ba675SRob Herring			regulator-always-on;
266*724ba675SRob Herring		};
267*724ba675SRob Herring
268*724ba675SRob Herring		vdig1_reg: regulator@5 {
269*724ba675SRob Herring			regulator-always-on;
270*724ba675SRob Herring		};
271*724ba675SRob Herring
272*724ba675SRob Herring		vdig2_reg: regulator@6 {
273*724ba675SRob Herring			regulator-always-on;
274*724ba675SRob Herring		};
275*724ba675SRob Herring
276*724ba675SRob Herring		vpll_reg: regulator@7 {
277*724ba675SRob Herring			regulator-always-on;
278*724ba675SRob Herring		};
279*724ba675SRob Herring
280*724ba675SRob Herring		vdac_reg: regulator@8 {
281*724ba675SRob Herring			regulator-always-on;
282*724ba675SRob Herring		};
283*724ba675SRob Herring
284*724ba675SRob Herring		vaux1_reg: regulator@9 {
285*724ba675SRob Herring			regulator-always-on;
286*724ba675SRob Herring		};
287*724ba675SRob Herring
288*724ba675SRob Herring		vaux2_reg: regulator@10 {
289*724ba675SRob Herring			regulator-always-on;
290*724ba675SRob Herring		};
291*724ba675SRob Herring
292*724ba675SRob Herring		vaux33_reg: regulator@11 {
293*724ba675SRob Herring			regulator-always-on;
294*724ba675SRob Herring		};
295*724ba675SRob Herring
296*724ba675SRob Herring		vmmc_reg: regulator@12 {
297*724ba675SRob Herring			compatible = "regulator-fixed";
298*724ba675SRob Herring			regulator-name = "vmmc_reg";
299*724ba675SRob Herring			regulator-min-microvolt = <3300000>;
300*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
301*724ba675SRob Herring			regulator-always-on;
302*724ba675SRob Herring		};
303*724ba675SRob Herring	};
304*724ba675SRob Herring};
305*724ba675SRob Herring
306*724ba675SRob Herring/* Power */
307*724ba675SRob Herring&vbat {
308*724ba675SRob Herring	regulator-name = "vbat";
309*724ba675SRob Herring	regulator-min-microvolt = <5000000>;
310*724ba675SRob Herring	regulator-max-microvolt = <5000000>;
311*724ba675SRob Herring};
312*724ba675SRob Herring
313*724ba675SRob Herring&mac_sw {
314*724ba675SRob Herring	pinctrl-names = "default";
315*724ba675SRob Herring	pinctrl-0 = <&cpsw_default>;
316*724ba675SRob Herring	status = "okay";
317*724ba675SRob Herring};
318*724ba675SRob Herring
319*724ba675SRob Herring&davinci_mdio_sw {
320*724ba675SRob Herring	pinctrl-names = "default";
321*724ba675SRob Herring	pinctrl-0 = <&davinci_mdio_default>;
322*724ba675SRob Herring
323*724ba675SRob Herring	ethphy0: ethernet-phy@4 {
324*724ba675SRob Herring		reg = <4>;
325*724ba675SRob Herring	};
326*724ba675SRob Herring
327*724ba675SRob Herring	ethphy1: ethernet-phy@5 {
328*724ba675SRob Herring		reg = <5>;
329*724ba675SRob Herring	};
330*724ba675SRob Herring};
331*724ba675SRob Herring
332*724ba675SRob Herring&cpsw_port1 {
333*724ba675SRob Herring	phy-handle = <&ethphy0>;
334*724ba675SRob Herring	phy-mode = "rmii";
335*724ba675SRob Herring	ti,dual-emac-pvid = <1>;
336*724ba675SRob Herring};
337*724ba675SRob Herring
338*724ba675SRob Herring&cpsw_port2 {
339*724ba675SRob Herring	phy-handle = <&ethphy1>;
340*724ba675SRob Herring	phy-mode = "rmii";
341*724ba675SRob Herring	ti,dual-emac-pvid = <2>;
342*724ba675SRob Herring};
343*724ba675SRob Herring
344*724ba675SRob Herring&sham {
345*724ba675SRob Herring	status = "okay";
346*724ba675SRob Herring};
347*724ba675SRob Herring
348*724ba675SRob Herring&aes {
349*724ba675SRob Herring	status = "okay";
350*724ba675SRob Herring};
351*724ba675SRob Herring
352*724ba675SRob Herring&gpio0_target {
353*724ba675SRob Herring	ti,no-reset-on-init;
354*724ba675SRob Herring};
355*724ba675SRob Herring
356*724ba675SRob Herring&mmc1 {
357*724ba675SRob Herring	pinctrl-names = "default";
358*724ba675SRob Herring	vmmc-supply = <&vmmcsd_fixed>;
359*724ba675SRob Herring	bus-width = <4>;
360*724ba675SRob Herring	pinctrl-0 = <&mmc0_pins_default>;
361*724ba675SRob Herring	cd-gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
362*724ba675SRob Herring	wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
363*724ba675SRob Herring	status = "okay";
364*724ba675SRob Herring};
365*724ba675SRob Herring
366*724ba675SRob Herring&mmc3 {
367*724ba675SRob Herring	dmas = <&edma_xbar 12 0 1
368*724ba675SRob Herring			&edma_xbar 13 0 2>;
369*724ba675SRob Herring	dma-names = "tx", "rx";
370*724ba675SRob Herring	pinctrl-names = "default";
371*724ba675SRob Herring	vmmc-supply = <&vmmcsd_fixed>;
372*724ba675SRob Herring	bus-width = <8>;
373*724ba675SRob Herring	pinctrl-0 = <&mmc2_pins_default>;
374*724ba675SRob Herring	ti,non-removable;
375*724ba675SRob Herring	status = "okay";
376*724ba675SRob Herring};
377*724ba675SRob Herring
378*724ba675SRob Herring&buttons {
379*724ba675SRob Herring	pinctrl-names = "default";
380*724ba675SRob Herring	pinctrl-0 = <&push_button_pins>;
381*724ba675SRob Herring
382*724ba675SRob Herring	button-0 {
383*724ba675SRob Herring		label = "push_button";
384*724ba675SRob Herring		linux,code = <0x100>;
385*724ba675SRob Herring		gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;
386*724ba675SRob Herring	};
387*724ba675SRob Herring};
388*724ba675SRob Herring
389*724ba675SRob Herring/* SPI Busses */
390*724ba675SRob Herring&spi0 {
391*724ba675SRob Herring	status = "okay";
392*724ba675SRob Herring	pinctrl-names = "default";
393*724ba675SRob Herring	pinctrl-0 = <&spi0_pins>;
394*724ba675SRob Herring
395*724ba675SRob Herring	flash@0 {
396*724ba675SRob Herring		compatible = "mx25l6405d";
397*724ba675SRob Herring		spi-max-frequency = <40000000>;
398*724ba675SRob Herring
399*724ba675SRob Herring		reg = <0>;
400*724ba675SRob Herring		spi-cpol;
401*724ba675SRob Herring		spi-cpha;
402*724ba675SRob Herring		#address-cells = <1>;
403*724ba675SRob Herring		#size-cells = <1>;
404*724ba675SRob Herring
405*724ba675SRob Herring		/* reg : The partition's offset and size within the mtd bank. */
406*724ba675SRob Herring		partitions@0 {
407*724ba675SRob Herring			label = "MLO";
408*724ba675SRob Herring			reg = <0x0 0x80000>;
409*724ba675SRob Herring		};
410*724ba675SRob Herring
411*724ba675SRob Herring		partitions@1 {
412*724ba675SRob Herring			label = "U-Boot";
413*724ba675SRob Herring			reg = <0x80000 0x100000>;
414*724ba675SRob Herring		};
415*724ba675SRob Herring
416*724ba675SRob Herring		partitions@2 {
417*724ba675SRob Herring			label = "U-Boot Env";
418*724ba675SRob Herring			reg = <0x180000 0x20000>;
419*724ba675SRob Herring		};
420*724ba675SRob Herring	};
421*724ba675SRob Herring};
422