xref: /linux/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
4724ba675SRob Herring *
5724ba675SRob Herring * Author: Robert Nelson <robertcnelson@gmail.com>
6724ba675SRob Herring */
7724ba675SRob Herring/dts-v1/;
8724ba675SRob Herring
9724ba675SRob Herring#include "am33xx.dtsi"
10724ba675SRob Herring#include "am335x-osd335x-common.dtsi"
11909ed2f5STrevor Woerner#include <dt-bindings/leds/common.h>
12724ba675SRob Herring
13724ba675SRob Herring/ {
14724ba675SRob Herring	model = "TI AM335x PocketBeagle";
15724ba675SRob Herring	compatible = "ti,am335x-pocketbeagle", "ti,am335x-bone", "ti,am33xx";
16724ba675SRob Herring
17724ba675SRob Herring	chosen {
18724ba675SRob Herring		stdout-path = &uart0;
19724ba675SRob Herring	};
20724ba675SRob Herring
21724ba675SRob Herring	leds {
22724ba675SRob Herring		pinctrl-names = "default";
23724ba675SRob Herring		pinctrl-0 = <&usr_leds_pins>;
24724ba675SRob Herring
25724ba675SRob Herring		compatible = "gpio-leds";
26724ba675SRob Herring
27724ba675SRob Herring		led-usr0 {
28724ba675SRob Herring			label = "beaglebone:green:usr0";
29909ed2f5STrevor Woerner			color = <LED_COLOR_ID_BLUE>;
30909ed2f5STrevor Woerner			function = LED_FUNCTION_HEARTBEAT;
31724ba675SRob Herring			gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
32724ba675SRob Herring			linux,default-trigger = "heartbeat";
33724ba675SRob Herring			default-state = "off";
34724ba675SRob Herring		};
35724ba675SRob Herring
36724ba675SRob Herring		led-usr1 {
37724ba675SRob Herring			label = "beaglebone:green:usr1";
38909ed2f5STrevor Woerner			color = <LED_COLOR_ID_BLUE>;
39909ed2f5STrevor Woerner			function = LED_FUNCTION_DISK_ACTIVITY;
40724ba675SRob Herring			gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
41724ba675SRob Herring			linux,default-trigger = "mmc0";
42724ba675SRob Herring			default-state = "off";
43724ba675SRob Herring		};
44724ba675SRob Herring
45724ba675SRob Herring		led-usr2 {
46724ba675SRob Herring			label = "beaglebone:green:usr2";
47909ed2f5STrevor Woerner			color = <LED_COLOR_ID_BLUE>;
48909ed2f5STrevor Woerner			function = LED_FUNCTION_CPU;
49724ba675SRob Herring			gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
50724ba675SRob Herring			linux,default-trigger = "cpu0";
51724ba675SRob Herring			default-state = "off";
52724ba675SRob Herring		};
53724ba675SRob Herring
54724ba675SRob Herring		led-usr3 {
55724ba675SRob Herring			label = "beaglebone:green:usr3";
56909ed2f5STrevor Woerner			color = <LED_COLOR_ID_BLUE>;
57909ed2f5STrevor Woerner			function = LED_FUNCTION_INDICATOR;
58724ba675SRob Herring			gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
59724ba675SRob Herring			default-state = "off";
60724ba675SRob Herring		};
61724ba675SRob Herring	};
62724ba675SRob Herring
63724ba675SRob Herring	vmmcsd_fixed: fixedregulator0 {
64724ba675SRob Herring		compatible = "regulator-fixed";
65724ba675SRob Herring		regulator-name = "vmmcsd_fixed";
66724ba675SRob Herring		regulator-min-microvolt = <3300000>;
67724ba675SRob Herring		regulator-max-microvolt = <3300000>;
68724ba675SRob Herring	};
69724ba675SRob Herring};
70724ba675SRob Herring
71724ba675SRob Herring&gpio0 {
72724ba675SRob Herring	gpio-line-names =
73724ba675SRob Herring		"NC",
74724ba675SRob Herring		"NC",
75724ba675SRob Herring		"P1.08 [SPI0_CLK]",
76724ba675SRob Herring		"P1.10 [SPI0_MISO]",
77724ba675SRob Herring		"P1.12 [SPI0_MOSI]",
78724ba675SRob Herring		"P1.06 [SPI0_CS]",
79724ba675SRob Herring		"[MMC0_CD]",
80724ba675SRob Herring		"P2.29 [SPI1_CLK]",
81724ba675SRob Herring		"[SYSBOOT 12]",
82724ba675SRob Herring		"[SYSBOOT 13]",
83724ba675SRob Herring		"[SYSBOOT 14]",
84724ba675SRob Herring		"[SYSBOOT 15]",
85724ba675SRob Herring		"P1.26 [I2C2_SDA]",
86724ba675SRob Herring		"P1.28 [I2C2_SCL]",
87724ba675SRob Herring		"P2.11 [I2C1_SDA]",
88724ba675SRob Herring		"P2.09 [I2C1_SCL]",
89724ba675SRob Herring		"NC",
90724ba675SRob Herring		"NC",
91724ba675SRob Herring		"NC",
92724ba675SRob Herring		"P2.31 [SPI1_CS]",
93724ba675SRob Herring		"P1.20 [PRU0.16]",
94724ba675SRob Herring		"NC",
95724ba675SRob Herring		"NC",
96724ba675SRob Herring		"P2.03",
97724ba675SRob Herring		"NC",
98724ba675SRob Herring		"NC",
99724ba675SRob Herring		"P1.34",
100724ba675SRob Herring		"P2.19",
101724ba675SRob Herring		"NC",
102724ba675SRob Herring		"NC",
103724ba675SRob Herring		"P2.05 [UART4_RX]",
104724ba675SRob Herring		"P2.07 [UART4_TX]";
105724ba675SRob Herring};
106724ba675SRob Herring
107724ba675SRob Herring&gpio1 {
108724ba675SRob Herring	gpio-line-names =
109724ba675SRob Herring		"NC",
110724ba675SRob Herring		"NC",
111724ba675SRob Herring		"NC",
112724ba675SRob Herring		"NC",
113724ba675SRob Herring		"NC",
114724ba675SRob Herring		"NC",
115724ba675SRob Herring		"NC",
116724ba675SRob Herring		"NC",
117724ba675SRob Herring		"NC",
118724ba675SRob Herring		"P2.25 [SPI1_MOSI]",
119724ba675SRob Herring		"P1.32 [UART0_RX]",
120724ba675SRob Herring		"P1.30 [UART0_TX]",
121724ba675SRob Herring		"P2.24",
122724ba675SRob Herring		"P2.33",
123724ba675SRob Herring		"P2.22",
124b6ef9b9eSTrevor Woerner		"P2.18 [PRU0.15i]",
125724ba675SRob Herring		"NC",
126724ba675SRob Herring		"NC",
127724ba675SRob Herring		"P2.01 [PWM1A]",
128724ba675SRob Herring		"NC",
129724ba675SRob Herring		"P2.10",
130724ba675SRob Herring		"[USR LED 0]",
131724ba675SRob Herring		"[USR LED 1]",
132724ba675SRob Herring		"[USR LED 2]",
133724ba675SRob Herring		"[USR LED 3]",
134724ba675SRob Herring		"P2.06",
135724ba675SRob Herring		"P2.04",
136724ba675SRob Herring		"P2.02",
137724ba675SRob Herring		"P2.08",
138724ba675SRob Herring		"NC",
139724ba675SRob Herring		"NC",
140724ba675SRob Herring		"NC";
141724ba675SRob Herring};
142724ba675SRob Herring
143724ba675SRob Herring&gpio2 {
144724ba675SRob Herring	gpio-line-names =
145724ba675SRob Herring		"P2.20",
146724ba675SRob Herring		"P2.17",
147724ba675SRob Herring		"NC",
148724ba675SRob Herring		"NC",
149724ba675SRob Herring		"NC",
150724ba675SRob Herring		"[EEPROM_WP]",
151724ba675SRob Herring		"[SYSBOOT 0]",
152724ba675SRob Herring		"[SYSBOOT 1]",
153724ba675SRob Herring		"[SYSBOOT 2]",
154724ba675SRob Herring		"[SYSBOOT 3]",
155724ba675SRob Herring		"[SYSBOOT 4]",
156724ba675SRob Herring		"[SYSBOOT 5]",
157724ba675SRob Herring		"[SYSBOOT 6]",
158724ba675SRob Herring		"[SYSBOOT 7]",
159724ba675SRob Herring		"[SYSBOOT 8]",
160724ba675SRob Herring		"[SYSBOOT 9]",
161724ba675SRob Herring		"[SYSBOOT 10]",
162724ba675SRob Herring		"[SYSBOOT 11]",
163724ba675SRob Herring		"NC",
164724ba675SRob Herring		"NC",
165724ba675SRob Herring		"NC",
166724ba675SRob Herring		"NC",
167724ba675SRob Herring		"P2.35 [AIN5]",
168724ba675SRob Herring		"P1.02 [AIN6]",
169724ba675SRob Herring		"P1.35 [PRU1.10]",
170724ba675SRob Herring		"P1.04 [PRU1.11]",
171724ba675SRob Herring		"[MMC0_DAT3]",
172724ba675SRob Herring		"[MMC0_DAT2]",
173724ba675SRob Herring		"[MMC0_DAT1]",
174724ba675SRob Herring		"[MMC0_DAT0]",
175724ba675SRob Herring		"[MMC0_CLK]",
176724ba675SRob Herring		"[MMC0_CMD]";
177724ba675SRob Herring};
178724ba675SRob Herring
179724ba675SRob Herring&gpio3 {
180724ba675SRob Herring	gpio-line-names =
181724ba675SRob Herring		"NC",
182724ba675SRob Herring		"NC",
183724ba675SRob Herring		"NC",
184724ba675SRob Herring		"NC",
185724ba675SRob Herring		"NC",
186724ba675SRob Herring		"[I2C0_SDA]",
187724ba675SRob Herring		"[I2C0_SCL]",
188724ba675SRob Herring		"[JTAG EMU0]",
189724ba675SRob Herring		"[JTAG EMU1]",
190724ba675SRob Herring		"NC",
191724ba675SRob Herring		"NC",
192724ba675SRob Herring		"NC",
193724ba675SRob Herring		"NC",
194724ba675SRob Herring		"P1.03 [USB1]",
195724ba675SRob Herring		"P1.36 [PWM0A]",
196724ba675SRob Herring		"P1.33 [PRU0.1]",
197724ba675SRob Herring		"P2.32 [PRU0.2]",
198724ba675SRob Herring		"P2.30 [PRU0.3]",
199724ba675SRob Herring		"P1.31 [PRU0.4]",
200724ba675SRob Herring		"P2.34 [PRU0.5]",
201724ba675SRob Herring		"P2.28 [PRU0.6]",
202724ba675SRob Herring		"P1.29 [PRU0.7]",
203724ba675SRob Herring		"NC",
204724ba675SRob Herring		"NC",
205724ba675SRob Herring		"NC",
206724ba675SRob Herring		"NC",
207724ba675SRob Herring		"NC",
208724ba675SRob Herring		"NC",
209724ba675SRob Herring		"NC",
210724ba675SRob Herring		"NC",
211724ba675SRob Herring		"NC",
212724ba675SRob Herring		"NC";
213724ba675SRob Herring};
214724ba675SRob Herring
215724ba675SRob Herring&am33xx_pinmux {
216724ba675SRob Herring
217724ba675SRob Herring	compatible = "pinconf-single";
218724ba675SRob Herring	pinctrl-names = "default";
219724ba675SRob Herring
220724ba675SRob Herring	/* P2_03 (ZCZ ball T10) gpio0_23 0x824 PIN 9 */
221724ba675SRob Herring	P2_03_gpio: P2-03-gpio-pins {
222724ba675SRob Herring		pinctrl-single,pins = <
223724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLUP, MUX_MODE7)
224724ba675SRob Herring		>;
225724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
226724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
227724ba675SRob Herring	};
228724ba675SRob Herring
229724ba675SRob Herring	/* P1_34 (ZCZ ball T11) gpio0_26 0x828 PIN 10 */
230724ba675SRob Herring	P1_34_gpio: P1-34-gpio-pins {
231724ba675SRob Herring		pinctrl-single,pins = <
232724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_INPUT_PULLUP, MUX_MODE7)
233724ba675SRob Herring		>;
234724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
235724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
236724ba675SRob Herring	};
237724ba675SRob Herring
238724ba675SRob Herring	/* P2_19 (ZCZ ball U12) gpio0_27 0x82c PIN 11 */
239724ba675SRob Herring	P2_19_gpio: P2-19-gpio-pins {
240724ba675SRob Herring		pinctrl-single,pins = <
241724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLUP, MUX_MODE7)
242724ba675SRob Herring		>;
243724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
244724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
245724ba675SRob Herring	};
246724ba675SRob Herring
247724ba675SRob Herring	/* P2_24 (ZCZ ball T12) gpio1_12 0x830 PIN 12 */
248724ba675SRob Herring	P2_24_gpio: P2-24-gpio-pins {
249724ba675SRob Herring		pinctrl-single,pins = <
250724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE7)
251724ba675SRob Herring		>;
252724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
253724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
254724ba675SRob Herring	};
255724ba675SRob Herring
256724ba675SRob Herring	/* P2_33 (ZCZ ball R12) gpio1_13 0x834 PIN 13 */
257724ba675SRob Herring	P2_33_gpio: P2-33-gpio-pins {
258724ba675SRob Herring		pinctrl-single,pins = <
259724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE7)
260724ba675SRob Herring		>;
261724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
262724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
263724ba675SRob Herring	};
264724ba675SRob Herring
265724ba675SRob Herring	/* P2_22 (ZCZ ball V13) gpio1_14 0x838 PIN 14 */
266724ba675SRob Herring	P2_22_gpio: P2-22-gpio-pins {
267724ba675SRob Herring		pinctrl-single,pins = <
268724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE7)
269724ba675SRob Herring		>;
270724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
271724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
272724ba675SRob Herring	};
273724ba675SRob Herring
274*9485f787STrevor Woerner	/* P2_20 (ZCZ ball T13) gpio2_00 0x888 */
275*9485f787STrevor Woerner	P2_20_gpio: P2-20-gpio-pins {
276*9485f787STrevor Woerner		pinctrl-single,pins = <
277*9485f787STrevor Woerner			AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLUP, MUX_MODE7)
278*9485f787STrevor Woerner		>;
279*9485f787STrevor Woerner		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
280*9485f787STrevor Woerner		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
281*9485f787STrevor Woerner	};
282*9485f787STrevor Woerner
283724ba675SRob Herring	/* P2_10 (ZCZ ball R14) gpio1_20 0x850 PIN 20 */
284724ba675SRob Herring	P2_10_gpio: P2-10-gpio-pins {
285724ba675SRob Herring		pinctrl-single,pins = <
286724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_INPUT_PULLUP, MUX_MODE7)
287724ba675SRob Herring		>;
288724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
289724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
290724ba675SRob Herring	};
291724ba675SRob Herring
292724ba675SRob Herring	/* P2_06 (ZCZ ball U16) gpio1_25 0x864 PIN 25 */
293724ba675SRob Herring	P2_06_gpio: P2-06-gpio-pins {
294724ba675SRob Herring		pinctrl-single,pins = <
295724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLUP, MUX_MODE7)
296724ba675SRob Herring		>;
297724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
298724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
299724ba675SRob Herring	};
300724ba675SRob Herring
301724ba675SRob Herring	/* P2_04 (ZCZ ball T16) gpio1_26 0x868 PIN 26 */
302724ba675SRob Herring	P2_04_gpio: P2-04-gpio-pins {
303724ba675SRob Herring		pinctrl-single,pins = <
304724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLUP, MUX_MODE7)
305724ba675SRob Herring		>;
306724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
307724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
308724ba675SRob Herring	};
309724ba675SRob Herring
310724ba675SRob Herring	/* P2_02 (ZCZ ball V17) gpio1_27 0x86c PIN 27 */
311724ba675SRob Herring	P2_02_gpio: P2-02-gpio-pins {
312724ba675SRob Herring		pinctrl-single,pins = <
313724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLUP, MUX_MODE7)
314724ba675SRob Herring		>;
315724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
316724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
317724ba675SRob Herring	};
318724ba675SRob Herring
319724ba675SRob Herring	/* P2_08 (ZCZ ball U18) gpio1_28 0x878 PIN 30 */
320724ba675SRob Herring	P2_08_gpio: P2-08-gpio-pins {
321724ba675SRob Herring		pinctrl-single,pins = <
322724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLDOWN, MUX_MODE7)
323724ba675SRob Herring		>;
324724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x00  0x10  0x00  0x18>;
325724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x00  0x00  0x10  0x18>;
326724ba675SRob Herring	};
327724ba675SRob Herring
328724ba675SRob Herring	/* P2_17 (ZCZ ball V12) gpio2_1 0x88c PIN 35 */
329724ba675SRob Herring	P2_17_gpio: P2-17-gpio-pins {
330724ba675SRob Herring		pinctrl-single,pins = <
331724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLUP, MUX_MODE7)
332724ba675SRob Herring		>;
333724ba675SRob Herring		pinctrl-single,bias-pullup   =   < 0x10  0x10  0x00  0x18>;
334724ba675SRob Herring		pinctrl-single,bias-pulldown   = < 0x10  0x00  0x10  0x18>;
335724ba675SRob Herring	};
336724ba675SRob Herring
337724ba675SRob Herring	i2c2_pins: pinmux-i2c2-pins {
338724ba675SRob Herring		pinctrl-single,pins = <
339724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLUP, MUX_MODE3)	/* (D17) uart1_rtsn.I2C2_SCL */
340724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLUP, MUX_MODE3)	/* (D18) uart1_ctsn.I2C2_SDA */
341724ba675SRob Herring		>;
342724ba675SRob Herring	};
343724ba675SRob Herring
344724ba675SRob Herring	ehrpwm0_pins: pinmux-ehrpwm0-pins {
345724ba675SRob Herring		pinctrl-single,pins = <
346724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_OUTPUT_PULLDOWN, MUX_MODE1)	/* (A13) mcasp0_aclkx.ehrpwm0A */
347724ba675SRob Herring		>;
348724ba675SRob Herring	};
349724ba675SRob Herring
350724ba675SRob Herring	ehrpwm1_pins: pinmux-ehrpwm1-pins {
351724ba675SRob Herring		pinctrl-single,pins = <
352724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT_PULLDOWN, MUX_MODE6)	/* (U14) gpmc_a2.ehrpwm1A */
353724ba675SRob Herring		>;
354724ba675SRob Herring	};
355724ba675SRob Herring
356724ba675SRob Herring	mmc0_pins: pinmux-mmc0-pins {
357724ba675SRob Herring		pinctrl-single,pins = <
358724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE7)		/* (C15) spi0_cs1.gpio0[6] */
359724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
360724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
361724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
362724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
363724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
364724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
365724ba675SRob Herring		>;
366724ba675SRob Herring	};
367724ba675SRob Herring
368724ba675SRob Herring	spi0_pins: pinmux-spi0-pins {
369724ba675SRob Herring		pinctrl-single,pins = <
370724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE0)
371724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLUP, MUX_MODE0)
372724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE0)
373724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE0)
374724ba675SRob Herring		>;
375724ba675SRob Herring	};
376724ba675SRob Herring
377724ba675SRob Herring	spi1_pins: pinmux-spi1-pins {
378724ba675SRob Herring		pinctrl-single,pins = <
379724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_INPUT_PULLUP, MUX_MODE4)	/* (C18) eCAP0_in_PWM0_out.spi1_sclk */
380724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLUP, MUX_MODE4)	/* (E18) uart0_ctsn.spi1_d0 */
381724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE4)	/* (E17) uart0_rtsn.spi1_d1 */
382724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR0, PIN_INPUT_PULLUP, MUX_MODE4)	/* (A15) xdma_event_intr0.spi1_cs1 */
383724ba675SRob Herring		>;
384724ba675SRob Herring	};
385724ba675SRob Herring
386724ba675SRob Herring	usr_leds_pins: pinmux-usr-leds-pins {
387724ba675SRob Herring		pinctrl-single,pins = <
388724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT, MUX_MODE7)		/* (V15) gpmc_a5.gpio1[21] - USR_LED_0 */
389724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT, MUX_MODE7)		/* (U15) gpmc_a6.gpio1[22] - USR_LED_1 */
390724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_OUTPUT, MUX_MODE7)		/* (T15) gpmc_a7.gpio1[23] - USR_LED_2 */
391724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_OUTPUT, MUX_MODE7)		/* (V16) gpmc_a8.gpio1[24] - USR_LED_3 */
392724ba675SRob Herring		>;
393724ba675SRob Herring	};
394724ba675SRob Herring
395724ba675SRob Herring	uart0_pins: pinmux-uart0-pins {
396724ba675SRob Herring		pinctrl-single,pins = <
397724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
398724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
399724ba675SRob Herring		>;
400724ba675SRob Herring	};
401724ba675SRob Herring
402724ba675SRob Herring	uart4_pins: pinmux-uart4-pins {
403724ba675SRob Herring		pinctrl-single,pins = <
404724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE6)	/* (T17) gpmc_wait0.uart4_rxd */
405724ba675SRob Herring			AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_OUTPUT_PULLDOWN, MUX_MODE6)	/* (U17) gpmc_wpn.uart4_txd */
406724ba675SRob Herring		>;
407724ba675SRob Herring	};
408b6ef9b9eSTrevor Woerner
409b6ef9b9eSTrevor Woerner	pru0_pins: pinmux-pru0-pins {
410b6ef9b9eSTrevor Woerner		pinctrl-single,pins = <
411b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_INPUT_PULLUP, MUX_MODE5)/* (D14) xdma_event_intr1.pr1_pru0_pru_r31_16 */
412b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_OUTPUT_PULLDOWN, MUX_MODE5)/* (A14) mcasp0_ahclkx.pr1_pru0_pru_r30_7 */
413b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_OUTPUT_PULLDOWN, MUX_MODE5)	/* (B12) mcasp0_acklr.pr1_pru0_pru_r30_4 */
414b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_OUTPUT_PULLDOWN, MUX_MODE5)	/* (B13) mcasp0_fsx.pr1_pru0_pru_r30_1 */
415b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE6)	/* (U13) gpmc_ad15.pr1_pru0_pru_r31_15 */
416b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR1, PIN_OUTPUT_PULLDOWN, MUX_MODE5)	/* (D13) mcasp0_axr1.pr1_pru0_pru_r30_6 */
417b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_OUTPUT_PULLDOWN, MUX_MODE5)/* (C12) mcasp0_ahclkr.pr1_pru0_pru_r30_3 */
418b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR0, PIN_OUTPUT_PULLDOWN, MUX_MODE5)	/* (D12) mcasp0_axr0.pr1_pru0_pru_r30_2 */
419b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_MCASP0_FSR, PIN_OUTPUT_PULLDOWN, MUX_MODE5)	/* (C13) mcasp0_fsr.pr1_pru0_pru_r30_5 */
420b6ef9b9eSTrevor Woerner		>;
421b6ef9b9eSTrevor Woerner	};
422b6ef9b9eSTrevor Woerner
423b6ef9b9eSTrevor Woerner	pru1_pins: pinmux-pru1-pins {
424b6ef9b9eSTrevor Woerner		pinctrl-single,pins = <
425b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE5)/*(R6) lcd_ac_bias_en.pr1_pru1_pru_r30_11 */
426b6ef9b9eSTrevor Woerner			AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT_PULLDOWN, MUX_MODE5)	/* (V5) lcd_pclk.pr1_pru1_pru_r30_10 */
427b6ef9b9eSTrevor Woerner		>;
428b6ef9b9eSTrevor Woerner	};
429724ba675SRob Herring};
430724ba675SRob Herring
431724ba675SRob Herring&epwmss0 {
432724ba675SRob Herring	status = "okay";
433724ba675SRob Herring};
434724ba675SRob Herring
435724ba675SRob Herring&ehrpwm0 {
436724ba675SRob Herring	status = "okay";
437724ba675SRob Herring	pinctrl-names = "default";
438724ba675SRob Herring	pinctrl-0 = <&ehrpwm0_pins>;
439724ba675SRob Herring};
440724ba675SRob Herring
441724ba675SRob Herring&epwmss1 {
442724ba675SRob Herring	status = "okay";
443724ba675SRob Herring};
444724ba675SRob Herring
445724ba675SRob Herring&ehrpwm1 {
446724ba675SRob Herring	status = "okay";
447724ba675SRob Herring	pinctrl-names = "default";
448724ba675SRob Herring	pinctrl-0 = <&ehrpwm1_pins>;
449724ba675SRob Herring};
450724ba675SRob Herring
451724ba675SRob Herring&i2c0 {
452724ba675SRob Herring	eeprom: eeprom@50 {
453724ba675SRob Herring		compatible = "atmel,24c256";
454724ba675SRob Herring		reg = <0x50>;
455724ba675SRob Herring	};
456724ba675SRob Herring};
457724ba675SRob Herring
458724ba675SRob Herring&i2c2 {
459724ba675SRob Herring	pinctrl-names = "default";
460724ba675SRob Herring	pinctrl-0 = <&i2c2_pins>;
461724ba675SRob Herring
462724ba675SRob Herring	status = "okay";
463724ba675SRob Herring	clock-frequency = <400000>;
464724ba675SRob Herring};
465724ba675SRob Herring
466724ba675SRob Herring&mmc1 {
467724ba675SRob Herring	status = "okay";
468724ba675SRob Herring	vmmc-supply = <&vmmcsd_fixed>;
469724ba675SRob Herring	bus-width = <4>;
470724ba675SRob Herring	pinctrl-names = "default";
471724ba675SRob Herring	pinctrl-0 = <&mmc0_pins>;
472724ba675SRob Herring	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
473724ba675SRob Herring};
474724ba675SRob Herring
475724ba675SRob Herring&rtc {
476724ba675SRob Herring	system-power-controller;
477724ba675SRob Herring};
478724ba675SRob Herring
479724ba675SRob Herring&tscadc {
480724ba675SRob Herring	status = "okay";
481724ba675SRob Herring	adc {
482724ba675SRob Herring		ti,adc-channels = <0 1 2 3 4 5 6 7>;
483724ba675SRob Herring		ti,chan-step-avg = <16 16 16 16 16 16 16 16>;
484724ba675SRob Herring		ti,chan-step-opendelay = <0x98 0x98 0x98 0x98 0x98 0x98 0x98 0x98>;
485724ba675SRob Herring		ti,chan-step-sampledelay = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;
486724ba675SRob Herring	};
487724ba675SRob Herring};
488724ba675SRob Herring
489724ba675SRob Herring&uart0 {
490724ba675SRob Herring	pinctrl-names = "default";
491724ba675SRob Herring	pinctrl-0 = <&uart0_pins>;
492724ba675SRob Herring
493724ba675SRob Herring	status = "okay";
494724ba675SRob Herring};
495724ba675SRob Herring
496724ba675SRob Herring&uart4 {
497724ba675SRob Herring	pinctrl-names = "default";
498724ba675SRob Herring	pinctrl-0 = <&uart4_pins>;
499724ba675SRob Herring
500724ba675SRob Herring	status = "okay";
501724ba675SRob Herring};
502724ba675SRob Herring
503724ba675SRob Herring&usb0 {
504724ba675SRob Herring	dr_mode = "otg";
505724ba675SRob Herring};
506724ba675SRob Herring
507724ba675SRob Herring&usb1 {
508724ba675SRob Herring	dr_mode = "host";
509724ba675SRob Herring};
510b6ef9b9eSTrevor Woerner
511b6ef9b9eSTrevor Woerner&pruss_tm {
512b6ef9b9eSTrevor Woerner	status = "okay";
513b6ef9b9eSTrevor Woerner};
514b6ef9b9eSTrevor Woerner
515b6ef9b9eSTrevor Woerner&pru0 {
516b6ef9b9eSTrevor Woerner	pinctrl-names = "default";
517b6ef9b9eSTrevor Woerner	pinctrl-0 = <&pru0_pins>;
518b6ef9b9eSTrevor Woerner};
519b6ef9b9eSTrevor Woerner
520b6ef9b9eSTrevor Woerner&pru1 {
521b6ef9b9eSTrevor Woerner	pinctrl-names = "default";
522b6ef9b9eSTrevor Woerner	pinctrl-0 = <&pru1_pins>;
523b6ef9b9eSTrevor Woerner};
524