xref: /linux/arch/arm/boot/dts/ti/omap/am335x-lxm.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (C) 2014 NovaTech LLC - https://www.novatechweb.com
4*724ba675SRob Herring */
5*724ba675SRob Herring/dts-v1/;
6*724ba675SRob Herring
7*724ba675SRob Herring#include "am33xx.dtsi"
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	model = "NovaTech OrionLXm";
11*724ba675SRob Herring	compatible = "novatech,am335x-lxm", "ti,am33xx";
12*724ba675SRob Herring
13*724ba675SRob Herring	cpus {
14*724ba675SRob Herring		cpu@0 {
15*724ba675SRob Herring			cpu0-supply = <&vdd1_reg>;
16*724ba675SRob Herring		};
17*724ba675SRob Herring	};
18*724ba675SRob Herring
19*724ba675SRob Herring	memory@80000000 {
20*724ba675SRob Herring		device_type = "memory";
21*724ba675SRob Herring		reg = <0x80000000 0x20000000>; /* 512 MB */
22*724ba675SRob Herring	};
23*724ba675SRob Herring
24*724ba675SRob Herring	/* Power supply provides a fixed 5V @2A */
25*724ba675SRob Herring	vbat: fixedregulator0 {
26*724ba675SRob Herring		compatible = "regulator-fixed";
27*724ba675SRob Herring		regulator-name = "vbat";
28*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
29*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
30*724ba675SRob Herring		regulator-boot-on;
31*724ba675SRob Herring	};
32*724ba675SRob Herring
33*724ba675SRob Herring	/* Power supply provides a fixed 3.3V @3A */
34*724ba675SRob Herring	vmmcsd_fixed: fixedregulator1 {
35*724ba675SRob Herring		compatible = "regulator-fixed";
36*724ba675SRob Herring		regulator-name = "vmmcsd_fixed";
37*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
38*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
39*724ba675SRob Herring		regulator-boot-on;
40*724ba675SRob Herring	};
41*724ba675SRob Herring};
42*724ba675SRob Herring
43*724ba675SRob Herring&am33xx_pinmux {
44*724ba675SRob Herring	mmc1_pins: mmc1-pins {
45*724ba675SRob Herring		pinctrl-single,pins = <
46*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
47*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
48*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
49*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
50*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
51*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
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, MUX_MODE0)
58*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT, MUX_MODE0)
59*724ba675SRob Herring		>;
60*724ba675SRob Herring	};
61*724ba675SRob Herring
62*724ba675SRob Herring	cpsw_default: cpsw-default-pins {
63*724ba675SRob Herring		pinctrl-single,pins = <
64*724ba675SRob Herring			/* Slave 1 */
65*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_int */
66*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE1)	/* rmii1_crs_dv */
67*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE1)	/* rmii1_rxer */
68*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE1)	/* rmii1_txen */
69*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE1)	/* rmii1_td1 */
70*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE1)	/* rmii1_td0 */
71*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE1)	/* rmii1_rd1 */
72*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE1)	/* rmii1_rd0 */
73*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE0)
74*724ba675SRob Herring
75*724ba675SRob Herring			/* Slave 2 */
76*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT_PULLDOWN, MUX_MODE3)	/* rmii2_txen */
77*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT_PULLDOWN, MUX_MODE3)	/* rmii2_td1 */
78*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT_PULLDOWN, MUX_MODE3)	/* rmii2_td0 */
79*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE3)	/* rmii2_rd1 */
80*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE3)	/* rmii2_rd0 */
81*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLDOWN, MUX_MODE3)	/* rmii2_crs_dv */
82*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLDOWN, MUX_MODE3)	/* rmii2_rxer */
83*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_int */
84*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLDOWN, MUX_MODE1)	/* rmii2_refclk */
85*724ba675SRob Herring		>;
86*724ba675SRob Herring	};
87*724ba675SRob Herring
88*724ba675SRob Herring	cpsw_sleep: cpsw-sleep-pins {
89*724ba675SRob Herring		pinctrl-single,pins = <
90*724ba675SRob Herring			/* Slave 1 reset value */
91*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_int */
92*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_crs_dv */
93*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_rxer */
94*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_txen */
95*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_td1 */
96*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_td0 */
97*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_rd1 */
98*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_rd0 */
99*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii1_refclk */
100*724ba675SRob Herring
101*724ba675SRob Herring			/* Slave 2 reset value*/
102*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_txen */
103*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_td1 */
104*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_td0 */
105*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_rd1 */
106*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_rd0 */
107*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_crs_dv */
108*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_rxer */
109*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_int */
110*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLDOWN, MUX_MODE7)	/* rmii2_refclk */
111*724ba675SRob Herring		>;
112*724ba675SRob Herring	};
113*724ba675SRob Herring
114*724ba675SRob Herring	davinci_mdio_default: davinci-mdio-default-pins {
115*724ba675SRob Herring		pinctrl-single,pins = <
116*724ba675SRob Herring			/* MDIO */
117*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0)
118*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0)
119*724ba675SRob Herring		>;
120*724ba675SRob Herring	};
121*724ba675SRob Herring
122*724ba675SRob Herring	davinci_mdio_sleep: davinci-mdio-sleep-pins {
123*724ba675SRob Herring		pinctrl-single,pins = <
124*724ba675SRob Herring			/* MDIO reset value */
125*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7)
126*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7)
127*724ba675SRob Herring		>;
128*724ba675SRob Herring	};
129*724ba675SRob Herring
130*724ba675SRob Herring	emmc_pins: emmc-pins {
131*724ba675SRob Herring		pinctrl-single,pins = <
132*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn1.mmc1_clk */
133*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
134*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
135*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
136*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
137*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
138*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
139*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
140*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
141*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
142*724ba675SRob Herring		>;
143*724ba675SRob Herring	};
144*724ba675SRob Herring
145*724ba675SRob Herring	uart0_pins: uart0-pins {
146*724ba675SRob Herring		pinctrl-single,pins = <
147*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
148*724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
149*724ba675SRob Herring		>;
150*724ba675SRob Herring	};
151*724ba675SRob Herring};
152*724ba675SRob Herring
153*724ba675SRob Herring&i2c0 {
154*724ba675SRob Herring	pinctrl-names = "default";
155*724ba675SRob Herring	pinctrl-0 = <&i2c0_pins>;
156*724ba675SRob Herring
157*724ba675SRob Herring	status = "okay";
158*724ba675SRob Herring	clock-frequency = <400000>;
159*724ba675SRob Herring
160*724ba675SRob Herring	serial_config1: serial_config1@20 {
161*724ba675SRob Herring		compatible = "nxp,pca9539";
162*724ba675SRob Herring		reg = <0x20>;
163*724ba675SRob Herring		gpio-controller;
164*724ba675SRob Herring		#gpio-cells = <2>;
165*724ba675SRob Herring	};
166*724ba675SRob Herring
167*724ba675SRob Herring	serial_config2: serial_config2@21 {
168*724ba675SRob Herring		compatible = "nxp,pca9539";
169*724ba675SRob Herring		reg = <0x21>;
170*724ba675SRob Herring		gpio-controller;
171*724ba675SRob Herring		#gpio-cells = <2>;
172*724ba675SRob Herring	};
173*724ba675SRob Herring
174*724ba675SRob Herring	tps: tps@2d {
175*724ba675SRob Herring		compatible = "ti,tps65910";
176*724ba675SRob Herring		reg = <0x2d>;
177*724ba675SRob Herring	};
178*724ba675SRob Herring};
179*724ba675SRob Herring
180*724ba675SRob Herring/include/ "../../tps65910.dtsi"
181*724ba675SRob Herring
182*724ba675SRob Herring&tps {
183*724ba675SRob Herring	vcc1-supply = <&vbat>;
184*724ba675SRob Herring	vcc2-supply = <&vbat>;
185*724ba675SRob Herring	vcc3-supply = <&vbat>;
186*724ba675SRob Herring	vcc4-supply = <&vbat>;
187*724ba675SRob Herring	vcc5-supply = <&vbat>;
188*724ba675SRob Herring	vcc6-supply = <&vbat>;
189*724ba675SRob Herring	vcc7-supply = <&vbat>;
190*724ba675SRob Herring	vccio-supply = <&vbat>;
191*724ba675SRob Herring
192*724ba675SRob Herring	regulators {
193*724ba675SRob Herring		/* vrtc - unused */
194*724ba675SRob Herring
195*724ba675SRob Herring		vio_reg: regulator@1 {
196*724ba675SRob Herring			regulator-name = "vio_1v5,ddr";
197*724ba675SRob Herring			regulator-min-microvolt = <1500000>;
198*724ba675SRob Herring			regulator-max-microvolt = <1500000>;
199*724ba675SRob Herring			regulator-boot-on;
200*724ba675SRob Herring			regulator-always-on;
201*724ba675SRob Herring		};
202*724ba675SRob Herring
203*724ba675SRob Herring		vdd1_reg: regulator@2 {
204*724ba675SRob Herring			regulator-name = "vdd1,mpu";
205*724ba675SRob Herring			regulator-min-microvolt = <600000>;
206*724ba675SRob Herring			regulator-max-microvolt = <1500000>;
207*724ba675SRob Herring			regulator-boot-on;
208*724ba675SRob Herring			regulator-always-on;
209*724ba675SRob Herring		};
210*724ba675SRob Herring
211*724ba675SRob Herring		vdd2_reg: regulator@3 {
212*724ba675SRob Herring			regulator-name = "vdd2_1v1,core";
213*724ba675SRob Herring			regulator-min-microvolt = <1100000>;
214*724ba675SRob Herring			regulator-max-microvolt = <1100000>;
215*724ba675SRob Herring			regulator-boot-on;
216*724ba675SRob Herring			regulator-always-on;
217*724ba675SRob Herring		};
218*724ba675SRob Herring
219*724ba675SRob Herring		/* vdd3 - unused */
220*724ba675SRob Herring
221*724ba675SRob Herring		/* vdig1 - unused */
222*724ba675SRob Herring
223*724ba675SRob Herring		vdig2_reg: regulator@6 {
224*724ba675SRob Herring			regulator-name = "vdig2_1v8,vdds_pll";
225*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
226*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
227*724ba675SRob Herring			regulator-boot-on;
228*724ba675SRob Herring			regulator-always-on;
229*724ba675SRob Herring		};
230*724ba675SRob Herring
231*724ba675SRob Herring		/* vpll - unused */
232*724ba675SRob Herring
233*724ba675SRob Herring		vdac_reg: regulator@8 {
234*724ba675SRob Herring			regulator-name = "vdac_1v8,vdds";
235*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
236*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
237*724ba675SRob Herring			regulator-boot-on;
238*724ba675SRob Herring			regulator-always-on;
239*724ba675SRob Herring		};
240*724ba675SRob Herring
241*724ba675SRob Herring		vaux1_reg: regulator@9 {
242*724ba675SRob Herring			regulator-name = "vaux1_1v8,usb";
243*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
244*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
245*724ba675SRob Herring			regulator-boot-on;
246*724ba675SRob Herring			regulator-always-on;
247*724ba675SRob Herring		};
248*724ba675SRob Herring
249*724ba675SRob Herring		vaux2_reg: regulator@10 {
250*724ba675SRob Herring			regulator-name = "vaux2_3v3,io";
251*724ba675SRob Herring			regulator-min-microvolt = <3300000>;
252*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
253*724ba675SRob Herring			regulator-boot-on;
254*724ba675SRob Herring			regulator-always-on;
255*724ba675SRob Herring		};
256*724ba675SRob Herring
257*724ba675SRob Herring		vaux33_reg: regulator@11 {
258*724ba675SRob Herring			regulator-name = "vaux33_3v3,usb";
259*724ba675SRob Herring			regulator-min-microvolt = <3300000>;
260*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
261*724ba675SRob Herring			regulator-boot-on;
262*724ba675SRob Herring			regulator-always-on;
263*724ba675SRob Herring		};
264*724ba675SRob Herring
265*724ba675SRob Herring		vmmc_reg: regulator@12 {
266*724ba675SRob Herring			regulator-name = "vmmc_3v3,io";
267*724ba675SRob Herring			regulator-min-microvolt = <3300000>;
268*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
269*724ba675SRob Herring			regulator-boot-on;
270*724ba675SRob Herring			regulator-always-on;
271*724ba675SRob Herring		};
272*724ba675SRob Herring	};
273*724ba675SRob Herring};
274*724ba675SRob Herring
275*724ba675SRob Herring&sham {
276*724ba675SRob Herring	status = "okay";
277*724ba675SRob Herring};
278*724ba675SRob Herring
279*724ba675SRob Herring&aes {
280*724ba675SRob Herring	status = "okay";
281*724ba675SRob Herring};
282*724ba675SRob Herring
283*724ba675SRob Herring&uart0 {
284*724ba675SRob Herring	pinctrl-names = "default";
285*724ba675SRob Herring	pinctrl-0 = <&uart0_pins>;
286*724ba675SRob Herring
287*724ba675SRob Herring	status = "okay";
288*724ba675SRob Herring};
289*724ba675SRob Herring
290*724ba675SRob Herring&usb0 {
291*724ba675SRob Herring	dr_mode = "host";
292*724ba675SRob Herring};
293*724ba675SRob Herring
294*724ba675SRob Herring&usb1 {
295*724ba675SRob Herring	dr_mode = "host";
296*724ba675SRob Herring};
297*724ba675SRob Herring
298*724ba675SRob Herring&cpsw_port1 {
299*724ba675SRob Herring	phy-handle = <&ethphy0>;
300*724ba675SRob Herring	phy-mode = "rmii";
301*724ba675SRob Herring	ti,dual-emac-pvid = <2>;
302*724ba675SRob Herring};
303*724ba675SRob Herring
304*724ba675SRob Herring&cpsw_port2 {
305*724ba675SRob Herring	phy-handle = <&ethphy1>;
306*724ba675SRob Herring	phy-mode = "rmii";
307*724ba675SRob Herring	ti,dual-emac-pvid = <3>;
308*724ba675SRob Herring};
309*724ba675SRob Herring
310*724ba675SRob Herring&mac_sw {
311*724ba675SRob Herring	pinctrl-names = "default", "sleep";
312*724ba675SRob Herring	pinctrl-0 = <&cpsw_default>;
313*724ba675SRob Herring	pinctrl-1 = <&cpsw_sleep>;
314*724ba675SRob Herring	status = "okay";
315*724ba675SRob Herring};
316*724ba675SRob Herring
317*724ba675SRob Herring&davinci_mdio_sw {
318*724ba675SRob Herring	pinctrl-names = "default", "sleep";
319*724ba675SRob Herring	pinctrl-0 = <&davinci_mdio_default>;
320*724ba675SRob Herring	pinctrl-1 = <&davinci_mdio_sleep>;
321*724ba675SRob Herring
322*724ba675SRob Herring	ethphy0: ethernet-phy@5 {
323*724ba675SRob Herring		reg = <5>;
324*724ba675SRob Herring	};
325*724ba675SRob Herring
326*724ba675SRob Herring	ethphy1: ethernet-phy@4 {
327*724ba675SRob Herring		reg = <4>;
328*724ba675SRob Herring	};
329*724ba675SRob Herring};
330*724ba675SRob Herring
331*724ba675SRob Herring&mmc1 {
332*724ba675SRob Herring	pinctrl-names = "default";
333*724ba675SRob Herring	pinctrl-0 = <&mmc1_pins>;
334*724ba675SRob Herring	vmmc-supply = <&vmmcsd_fixed>;
335*724ba675SRob Herring	bus-width = <4>;
336*724ba675SRob Herring	status = "okay";
337*724ba675SRob Herring};
338*724ba675SRob Herring
339*724ba675SRob Herring&mmc2 {
340*724ba675SRob Herring	pinctrl-names = "default";
341*724ba675SRob Herring	pinctrl-0 = <&emmc_pins>;
342*724ba675SRob Herring	vmmc-supply = <&vmmcsd_fixed>;
343*724ba675SRob Herring	bus-width = <8>;
344*724ba675SRob Herring	non-removable;
345*724ba675SRob Herring	status = "okay";
346*724ba675SRob Herring};
347*724ba675SRob Herring
348