xref: /linux/arch/arm64/boot/dts/ti/k3-am62l3-beaglebadge.dts (revision cbe8aadf1551f3f4a853f24b3b96d9f0eea49c53)
1// SPDX-License-Identifier: GPL-2.0-only or MIT
2/*
3 * https://www.beagleboard.org/boards/beaglebadge
4 *
5 * Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
8/dts-v1/;
9
10#include <dt-bindings/gpio/gpio.h>
11#include <dt-bindings/input/input.h>
12#include <dt-bindings/leds/common.h>
13#include "k3-am62l3.dtsi"
14#include "k3-pinctrl.h"
15
16/ {
17	compatible = "beagle,am62l3-beaglebadge", "ti,am62l3";
18	model = "BeagleBoard.org BeagleBadge";
19
20	chosen {
21		stdout-path = "serial0:115200n8";
22	};
23
24	aliases {
25		i2c0 = &i2c0;
26		i2c1 = &i2c1;
27		i2c2 = &i2c2;
28		i2c4 = &wkup_i2c0;
29		mmc1 = &sdhci1;
30		serial0 = &uart0;
31		serial1 = &uart1;
32	};
33
34	memory@80000000 {
35		/* 256MB */
36		reg = <0x00000000 0x80000000 0x00000000 0x10000000>;
37		device_type = "memory";
38		bootph-all;
39	};
40
41	thermal-zones {
42		wkup0-thermal {
43			polling-delay-passive = <250>;	/* milliSeconds */
44			polling-delay = <500>;		/* milliSeconds */
45			thermal-sensors = <&vtm0 0>;
46
47			trips {
48				crit0 {
49					temperature = <125000>;
50					hysteresis = <2000>;
51					type = "critical";
52				};
53			};
54		};
55	};
56
57	gpio_keys: gpio-keys {
58		compatible = "gpio-keys";
59		autorepeat;
60
61		button-select {
62			label = "SELECT";
63			linux,code = <KEY_SELECT>;
64			gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
65		};
66
67		button-back {
68			label = "BACK";
69			linux,code = <KEY_BACK>;
70			gpios = <&gpio0 104 GPIO_ACTIVE_LOW>;
71		};
72
73		button-up {
74			label = "UP";
75			linux,code = <KEY_UP>;
76			gpios = <&gpio0 32 GPIO_ACTIVE_LOW>;
77		};
78
79		button-down {
80			label = "DOWN";
81			linux,code = <KEY_DOWN>;
82			gpios = <&gpio0 42 GPIO_ACTIVE_LOW>;
83		};
84
85		button-left {
86			label = "LEFT";
87			linux,code = <KEY_LEFT>;
88			gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
89		};
90
91		button-right {
92			label = "RIGHT";
93			linux,code = <KEY_RIGHT>;
94			gpios = <&gpio0 95 GPIO_ACTIVE_LOW>;
95		};
96	};
97
98	multicolor-led {
99		compatible = "pwm-leds-multicolor";
100
101		multi-led {
102			color = <LED_COLOR_ID_RGB>;
103			max-brightness = <255>;
104
105			led-red {
106				pwms = <&ecap2 0 10000000 0>;
107				color = <LED_COLOR_ID_RED>;
108			};
109
110			led-green {
111				pwms = <&ecap1 0 10000000 0>;
112				color = <LED_COLOR_ID_GREEN>;
113			};
114
115			led-blue {
116				pwms = <&epwm1 1 10000000 0>;
117				color = <LED_COLOR_ID_BLUE>;
118			};
119		};
120	};
121
122	seven-segment-left {
123		compatible = "gpio-7-segment";
124		segment-gpios = <&mcp23s18 0 GPIO_ACTIVE_LOW>,
125				<&mcp23s18 1 GPIO_ACTIVE_LOW>,
126				<&mcp23s18 2 GPIO_ACTIVE_LOW>,
127				<&mcp23s18 3 GPIO_ACTIVE_LOW>,
128				<&mcp23s18 4 GPIO_ACTIVE_LOW>,
129				<&mcp23s18 5 GPIO_ACTIVE_LOW>,
130				<&mcp23s18 6 GPIO_ACTIVE_LOW>,
131				<&mcp23s18 7 GPIO_ACTIVE_LOW>;
132	};
133
134	seven-segment-right {
135		compatible = "gpio-7-segment";
136		segment-gpios = <&mcp23s18 8 GPIO_ACTIVE_LOW>,
137				<&mcp23s18 9 GPIO_ACTIVE_LOW>,
138				<&mcp23s18 10 GPIO_ACTIVE_LOW>,
139				<&mcp23s18 11 GPIO_ACTIVE_LOW>,
140				<&mcp23s18 12 GPIO_ACTIVE_LOW>,
141				<&mcp23s18 13 GPIO_ACTIVE_LOW>,
142				<&mcp23s18 14 GPIO_ACTIVE_LOW>,
143				<&mcp23s18 15 GPIO_ACTIVE_LOW>;
144	};
145
146	pwm-beeper {
147		compatible = "pwm-beeper";
148		pwms = <&epwm0 1 1000000 0>;
149		amp-supply = <&sensor_3v3>;
150	};
151
152	vsys_out: regulator-0 {
153		/* output of BQ24070 */
154		compatible = "regulator-fixed";
155		regulator-name = "VSYS_OUT";
156		regulator-min-microvolt = <4400000>;
157		regulator-max-microvolt = <4400000>;
158		regulator-always-on;
159		regulator-boot-on;
160		bootph-all;
161	};
162
163	vcc_3v3_main: regulator-1 {
164		/* output of TPS62A06 */
165		compatible = "regulator-fixed";
166		regulator-name = "VCC_3V3_MAIN";
167		regulator-min-microvolt = <3300000>;
168		regulator-max-microvolt = <3300000>;
169		vin-supply = <&vsys_out>;
170		regulator-always-on;
171		regulator-boot-on;
172		bootph-all;
173	};
174
175	vdd_3v3: regulator-2 {
176		/* output of TPS22965 */
177		compatible = "regulator-fixed";
178		regulator-name = "VDD_3V3";
179		regulator-min-microvolt = <3300000>;
180		regulator-max-microvolt = <3300000>;
181		vin-supply = <&vcc_3v3_main>;
182		regulator-always-on;
183		regulator-boot-on;
184		bootph-all;
185	};
186
187	vdd_3v3_sd: regulator-3 {
188		/* TPS22918DBVR */
189		compatible = "regulator-fixed";
190		regulator-name = "VDD_3V3_SD";
191		regulator-min-microvolt = <3300000>;
192		regulator-max-microvolt = <3300000>;
193		vin-supply = <&vdd_3v3>;
194		regulator-boot-on;
195		enable-active-high;
196		gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
197		pinctrl-names = "default";
198		pinctrl-0 = <&vdd_3v3_sd_ena_pins_default>;
199		bootph-all;
200	};
201
202	sensor_3v3: regulator-4 {
203		/* TPS22918DBVR */
204		compatible = "regulator-fixed";
205		regulator-name = "Sensor_3V3";
206		regulator-min-microvolt = <3300000>;
207		regulator-max-microvolt = <3300000>;
208		vin-supply = <&vdd_3v3>;
209		regulator-boot-on;
210		enable-active-high;
211		gpios = <&wkup_gpio0 1 GPIO_ACTIVE_HIGH>;
212		pinctrl-names = "default";
213		pinctrl-0 = <&sensor_3v3_ena_pins_default>;
214		bootph-all;
215	};
216};
217
218&pmx0 {
219	uart0_pins_default: uart0-default-pins {
220		pinctrl-single,pins = <
221			AM62LX_IOPAD(0x01b8, PIN_OUTPUT, 0) /* (C13) UART0_TXD */
222			AM62LX_IOPAD(0x01b4, PIN_INPUT, 0) /* (D13) UART0_RXD */
223		>;
224		bootph-all;
225	};
226
227	uart0_pins_wakeup: uart0-wakeup-pins {
228		pinctrl-single,pins = <
229			AM62LX_IOPAD(0x01b8, PIN_OUTPUT, 0) /* (C13) UART0_TXD */
230			AM62LX_IOPAD(0x01b4, PIN_INPUT | PIN_WKUP_EN, 0) /* (D13) UART0_RXD */
231		>;
232		bootph-all;
233	};
234
235	uart1_pins_default: uart1-default-pins {
236		pinctrl-single,pins = <
237			AM62LX_IOPAD(0x019c, PIN_OUTPUT, 2) /* (A12) MCASP0_ACLKR.UART1_TXD */
238			AM62LX_IOPAD(0x0198, PIN_INPUT, 2) /* (C11) MCASP0_AFSR.UART1_RXD */
239			AM62LX_IOPAD(0x0180, PIN_INPUT, 2) /* (A8) MCASP0_AXR3.UART1_CTSn */
240			AM62LX_IOPAD(0x0184, PIN_OUTPUT, 2) /* (B10) MCASP0_AXR2.UART1_RTSn */
241		>;
242		bootph-all;
243	};
244
245	usr_button_pins_default: usr-button-default-pins {
246		pinctrl-single,pins = <
247			AM62LX_IOPAD(0x00a4, PIN_INPUT, 7) /* (H18) GPMC0_AD11.GPIO0_26 */
248			AM62LX_IOPAD(0x01e4, PIN_INPUT, 7) /* (D16) EXT_REFCLK1.GPIO0_104 */
249			AM62LX_IOPAD(0x00c0, PIN_INPUT, 7) /* (N19) GPMC0_ADVn_ALE.GPIO0_32 */
250			AM62LX_IOPAD(0x00e8, PIN_INPUT, 7) /* (L19) GPMC0_CSn1.GPIO0_42 */
251			AM62LX_IOPAD(0x00b8, PIN_INPUT, 7) /* (L21) GPMC0_CLK.GPIO0_31 */
252			AM62LX_IOPAD(0x01c0, PIN_INPUT, 7) /* (B13) UART0_RTSn.GPIO0_95 */
253		>;
254		bootph-all;
255	};
256
257	i2c0_pins_default: i2c0-default-pins {
258		pinctrl-single,pins = <
259			AM62LX_IOPAD(0x01cc, PIN_INPUT_PULLUP, 0) /* (B7) I2C0_SCL */
260			AM62LX_IOPAD(0x01d0, PIN_INPUT_PULLUP, 0) /* (A7) I2C0_SDA */
261		>;
262		bootph-all;
263	};
264
265	i2c1_pins_default: i2c1-default-pins {
266		pinctrl-single,pins = <
267			AM62LX_IOPAD(0x01d4, PIN_INPUT_PULLUP, 0) /* (D7) I2C1_SCL */
268			AM62LX_IOPAD(0x01d8, PIN_INPUT_PULLUP, 0) /* (A6) I2C1_SDA */
269		>;
270		bootph-all;
271	};
272
273	i2c2_qwiic_pins_default: i2c2-qwiic-default-pins {
274		pinctrl-single,pins = <
275			AM62LX_IOPAD(0x01dc, PIN_INPUT_PULLUP, 0) /* (B8) I2C2_SCL */
276			AM62LX_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (D8) I2C2_SDA */
277		>;
278		bootph-all;
279	};
280
281	vdd_3v3_sd_ena_pins_default: vdd-3v3-sd-ena-default-pins {
282		pinctrl-single,pins = <
283			AM62LX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (L23) GPMC0_AD1.GPIO0_16 */
284		>;
285		bootph-all;
286	};
287
288	sensor_3v3_ena_pins_default: sensor-3v3-ena-default-pins {
289		pinctrl-single,pins = <
290			AM62LX_IOPAD(0x004, PIN_OUTPUT, 7) /* (AA23) WKUP_UART0_TXD.WKUP_GPIO0_1 */
291		>;
292		bootph-all;
293	};
294
295	mmc1_pins_default: mmc1-default-pins {
296		pinctrl-single,pins = <
297			AM62LX_IOPAD(0x0230, PIN_INPUT, 0) /* (Y3) MMC1_CMD */
298			AM62LX_IOPAD(0x0228, PIN_OUTPUT, 0) /* (Y2) MMC1_CLK */
299			AM62LX_IOPAD(0x0224, PIN_INPUT, 0) /* (AA1) MMC1_DAT0 */
300			AM62LX_IOPAD(0x0220, PIN_INPUT, 0) /* (Y4) MMC1_DAT1 */
301			AM62LX_IOPAD(0x021c, PIN_INPUT, 0) /* (AA2) MMC1_DAT2 */
302			AM62LX_IOPAD(0x0218, PIN_INPUT, 0) /* (AB2) MMC1_DAT3 */
303			AM62LX_IOPAD(0x0234, PIN_INPUT, 7) /* (B6) MMC1_SDCD.GPIO0_122 */
304		>;
305		bootph-all;
306	};
307
308	usb1_pins_default: usb1-default-pins {
309		pinctrl-single,pins = <
310			AM62LX_IOPAD(0x0248, PIN_INPUT | PIN_DS_PULLUD_ENABLE |
311				PIN_DS_PULL_UP, 0) /* (A5) USB1_DRVVBUS */
312		>;
313		bootph-all;
314	};
315
316	pwm_beeper_pins_default: pwm-beeper-default-pins {
317		pinctrl-single,pins = <
318			AM62LX_IOPAD(0x00b0, PIN_OUTPUT, 4) /* (F22) GPMC0_AD14.EHRPWM0_B */
319		>;
320	};
321
322	pmic_irq_pins_default: pmic-irq-default-pins {
323		pinctrl-single,pins = <
324			AM62LX_IOPAD(0x01e8, PIN_INPUT, 0) /* (C8) EXTINTn */
325		>;
326		bootph-all;
327	};
328
329	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
330		pinctrl-single,pins = <
331			AM62LX_IOPAD(0x0010, PIN_INPUT_PULLUP, 0) /* (AB22) WKUP_I2C0_SCL */
332			AM62LX_IOPAD(0x0014, PIN_INPUT_PULLUP, 0) /* (AA22) WKUP_I2C0_SDA */
333		>;
334		bootph-all;
335	};
336
337	rgb_led_ecap2_pins_default: rgb-led-ecap2-default-pins {
338		pinctrl-single,pins = <
339			AM62LX_IOPAD(0x0190, PIN_OUTPUT, 2) /* (A11) MCASP0_ACLKX.ECAP2_IN_APWM_OUT */
340		>;
341	};
342
343	rgb_led_ecap1_pins_default: rgb-led-ecap1-default-pins {
344		pinctrl-single,pins = <
345			AM62LX_IOPAD(0x0188, PIN_OUTPUT, 2) /* (A9) MCASP0_AXR1.ECAP1_IN_APWM_OUT */
346		>;
347	};
348
349	rgb_led_epwm1_pins_default: rgb-led-epwm1-default-pins {
350		pinctrl-single,pins = <
351			AM62LX_IOPAD(0x018c, PIN_OUTPUT, 5) /* (B9) MCASP0_AXR0.EHRPWM1_B */
352		>;
353	};
354
355	spi1_pins_default: spi1-default-pins {
356		pinctrl-single,pins = <
357			AM62LX_IOPAD(0x008c, PIN_OUTPUT, 4) /* (H22) GPMC0_AD5.SPI1_CLK */
358			AM62LX_IOPAD(0x0088, PIN_OUTPUT, 4) /* (K23) GPMC0_AD4.SPI1_CS0 */
359			AM62LX_IOPAD(0x0080, PIN_INPUT, 4) /* (K22) GPMC0_AD2.SPI1_D0 */
360			AM62LX_IOPAD(0x0084, PIN_OUTPUT, 4) /* (J23) GPMC0_AD3.SPI1_D1 */
361		>;
362		bootph-all;
363	};
364
365	spi3_pins_default: spi3-default-pins {
366		pinctrl-single,pins = <
367			AM62LX_IOPAD(0x00d0, PIN_OUTPUT, 5) /* (P22) GPMC0_BE1n.SPI3_CLK */
368			AM62LX_IOPAD(0x00cc, PIN_OUTPUT, 5) /* (P23) GPMC0_BE0n_CLE.SPI3_CS0 */
369			AM62LX_IOPAD(0x00d4, PIN_INPUT, 5) /* (N23) GPMC0_WAIT0.SPI3_D0 */
370			AM62LX_IOPAD(0x00d8, PIN_OUTPUT, 5) /* (N22) GPMC0_WAIT1.SPI3_D1 */
371		>;
372	};
373
374	mcp23s18_reset_pins_default: mcp23s18-reset-default-pins {
375		pinctrl-single,pins = <
376			AM62LX_IOPAD(0x00a0, PIN_OUTPUT, 7) /* (H21) GPMC0_AD10.GPIO0_25 */
377		>;
378	};
379
380	epwm2_pins_default: epwm2-default-pins {
381		pinctrl-single,pins = <
382			AM62LX_IOPAD(0x00c4, PIN_OUTPUT, 4) /* (N20) GPMC0_OEn_REn.EHRPWM2_A */
383		>;
384	};
385
386	lora_control_pins_default: lora-control-default-pins {
387		pinctrl-single,pins = <
388			AM62LX_IOPAD(0x00c8, PIN_OUTPUT, 7) /* (M19) GPMC0_WEn.GPIO0_34 */
389			AM62LX_IOPAD(0x00e4, PIN_OUTPUT, 7) /* (L20) GPMC0_CSn0.GPIO0_41 */
390			AM62LX_IOPAD(0x01a4, PIN_INPUT, 7) /* (D11) SPI0_CS1.GPIO0_88 */
391			AM62LX_IOPAD(0x01bc, PIN_INPUT, 7) /* (B14) UART0_CTSn.GPIO0_94 */
392		>;
393		bootph-all;
394	};
395
396	gpio0_pins_default: gpio0-default-pins {
397		pinctrl-single,pins = <
398			AM62LX_IOPAD(0x0078, PIN_OUTPUT, 7) /* (L22) GPMC0_AD0.GPIO0_15 */
399			AM62LX_IOPAD(0x00e0, PIN_INPUT, 7) /* (M21) GPMC0_DIR.GPIO0_40 */
400			AM62LX_IOPAD(0x00ec, PIN_OUTPUT, 7) /* (M23) GPMC0_CSn2.GPIO0_43 */
401			AM62LX_IOPAD(0x00f0, PIN_INPUT, 7) /* (M22) GPMC0_CSn3.GPIO0_44 */
402			AM62LX_IOPAD(0x0194, PIN_OUTPUT, 7) /* (B11) MCASP0_AFSX.GPIO0_84 */
403		>;
404		bootph-all;
405	};
406};
407
408&uart0 {
409	wakeup-source;
410	pinctrl-0 = <&uart0_pins_default>;
411	pinctrl-1 = <&uart0_pins_wakeup>;
412	pinctrl-names = "default", "wakeup";
413	bootph-all;
414	status = "okay";
415};
416
417&uart1 {
418	pinctrl-names = "default";
419	pinctrl-0 = <&uart1_pins_default>;
420	bootph-all;
421	status = "okay";
422};
423
424&i2c0 {
425	clock-frequency = <400000>;
426	pinctrl-names = "default";
427	pinctrl-0 = <&i2c0_pins_default>;
428	bootph-all;
429	status = "okay";
430
431	/* T&H Sensor */
432	th-sensor@44 {
433		compatible = "sensirion,sht4x";
434		reg = <0x44>;
435	};
436
437	/* EEPROM */
438	eeprom@50 {
439		/* FT24C32A-ELRT */
440		compatible = "atmel,24c32";
441		reg = <0x50>;
442	};
443
444	/* Fuel Gauge */
445	fuel-gauge@55 {
446		compatible = "ti,bq27541";
447		reg = <0x55>;
448	};
449
450	/* IMU Sensor */
451	accelerometer@6a {
452		compatible = "st,lsm6ds3tr-c";
453		reg = <0x6a>;
454		vdd-supply = <&vcc_3v3_main>;
455		vddio-supply = <&vcc_3v3_main>;
456	};
457};
458
459&i2c1 {
460	clock-frequency = <400000>;
461	pinctrl-names = "default";
462	pinctrl-0 = <&i2c1_pins_default>;
463	bootph-all;
464	status = "okay";
465};
466
467&i2c2 {
468	clock-frequency = <400000>;
469	pinctrl-names = "default";
470	pinctrl-0 = <&i2c2_qwiic_pins_default>;
471	bootph-all;
472	status = "okay";
473};
474
475&wkup_i2c0 {
476	clock-frequency = <400000>;
477	pinctrl-names = "default";
478	pinctrl-0 = <&wkup_i2c0_pins_default>;
479	bootph-all;
480	status = "okay";
481
482	tps65214: pmic@30 {
483		compatible = "ti,tps65214";
484		reg = <0x30>;
485		interrupt-parent = <&gic500>;
486		interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
487		buck1-supply = <&vcc_3v3_main>;
488		buck2-supply = <&vcc_3v3_main>;
489		buck3-supply = <&vcc_3v3_main>;
490		ldo1-supply = <&vcc_3v3_main>;
491		ldo2-supply = <&vcc_3v3_main>;
492		pinctrl-names = "default";
493		pinctrl-0 = <&pmic_irq_pins_default>;
494		ti,power-button;
495		bootph-all;
496
497		regulators {
498			buck1_reg: buck1 {
499				regulator-name = "VDD_CORE";
500				regulator-min-microvolt = <750000>;
501				regulator-max-microvolt = <750000>;
502				regulator-always-on;
503				regulator-boot-on;
504			};
505
506			buck2_reg: buck2 {
507				regulator-name = "VDD_1V8";
508				regulator-min-microvolt = <1800000>;
509				regulator-max-microvolt = <1800000>;
510				regulator-always-on;
511				regulator-boot-on;
512			};
513
514			buck3_reg: buck3 {
515				regulator-name = "VDD_LPDDR4";
516				regulator-min-microvolt = <1100000>;
517				regulator-max-microvolt = <1100000>;
518				regulator-always-on;
519				regulator-boot-on;
520			};
521
522			ldo1_reg: ldo1 {
523				regulator-name = "VDDA_1V8";
524				regulator-min-microvolt = <1800000>;
525				regulator-max-microvolt = <1800000>;
526				regulator-always-on;
527				regulator-boot-on;
528			};
529
530			ldo2_reg: ldo2 {
531				regulator-name = "PMIC_VDD_RTC";
532				regulator-min-microvolt = <750000>;
533				regulator-max-microvolt = <750000>;
534				regulator-always-on;
535				regulator-boot-on;
536			};
537		};
538	};
539};
540
541&gpio0 {
542	gpio-line-names = "","","","","","","","","","",	/* 0-9 */
543			 "","","","","","BOOST_5V_ENA","VDD_3V3_SD_ENA","","","",	/* 10-19 */
544			 "","","","","","MCP23S18_RESET","BTN_SELECT","","","",	/* 20-29 */
545			 "","BTN_LEFT","BTN_UP","","LORA_RESET","","","","","",	/* 30-39 */
546			 "GAUGE_BATLOW","LORA_RFSW","BTN_DOWN","USB_RST","MBUS_INT","","","","","",	/* 40-49 */
547			 "","WLAN_EN","","","","","","","","",	/* 50-59 */
548			 "","","","","","","","","","",	/* 60-69 */
549			 "","","","","","","","","","",	/* 70-79 */
550			 "","","","","MBUS_RST","","","","LORA_BUSY","",	/* 80-89 */
551			 "","","","","LORA_DIO","BTN_RIGHT","","","","",	/* 90-99 */
552			 "","","","","BTN_BACK","","","","","",	/* 100-109 */
553			 "","","","","","","","","","",	/* 110-119 */
554			 "","","SD_CD","","","";	/* 120-125 */
555	pinctrl-names = "default";
556	pinctrl-0 = <&gpio0_pins_default>, <&usr_button_pins_default>, <&lora_control_pins_default>;
557	bootph-all;
558	status = "okay";
559};
560
561&wkup_gpio0 {
562	gpio-line-names = "","SENSOR_3V3_ENA","","","","","","";	/* 0-7 */
563	bootph-all;
564	status = "okay";
565};
566
567&sdhci1 {
568	/* SD/MMC */
569	vmmc-supply = <&vdd_3v3_sd>;
570	disable-wp;
571	cd-gpios = <&gpio0 122 GPIO_ACTIVE_LOW>;
572	cd-debounce-delay-ms = <100>;
573	ti,fails-without-test-cd;
574	pinctrl-names = "default";
575	pinctrl-0 = <&mmc1_pins_default>;
576	bootph-all;
577	status = "okay";
578};
579
580&epwm0 {
581	pinctrl-names = "default";
582	pinctrl-0 = <&pwm_beeper_pins_default>;
583	status = "okay";
584};
585
586&epwm1 {
587	pinctrl-names = "default";
588	pinctrl-0 = <&rgb_led_epwm1_pins_default>;
589	status = "okay";
590};
591
592&epwm2 {
593	pinctrl-names = "default";
594	pinctrl-0 = <&epwm2_pins_default>;
595	status = "okay";
596};
597
598&ecap1 {
599	pinctrl-names = "default";
600	pinctrl-0 = <&rgb_led_ecap1_pins_default>;
601	status = "okay";
602};
603
604&ecap2 {
605	pinctrl-names = "default";
606	pinctrl-0 = <&rgb_led_ecap2_pins_default>;
607	status = "okay";
608};
609
610&usbss0 {
611	ti,vbus-divider;
612	status = "okay";
613};
614
615&usb0 {
616	usb-role-switch;
617	bootph-all;
618	status = "okay";
619};
620
621&usbss1 {
622	ti,vbus-divider;
623	bootph-all;
624	status = "okay";
625};
626
627&usb1 {
628	dr_mode = "host";
629	pinctrl-names = "default";
630	pinctrl-0 = <&usb1_pins_default>;
631	bootph-all;
632	status = "okay";
633};
634
635&spi1 {
636	pinctrl-names = "default";
637	pinctrl-0 = <&spi1_pins_default>;
638	status = "okay";
639
640	mcp23s18: gpio@0 {
641		compatible = "microchip,mcp23s18";
642		reg = <0>;
643		spi-max-frequency = <10000000>;
644		gpio-controller;
645		#gpio-cells = <2>;
646		reset-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
647		pinctrl-names = "default";
648		pinctrl-0 = <&mcp23s18_reset_pins_default>;
649		microchip,spi-present-mask = /bits/ 8 <0x01>;
650	};
651};
652
653&spi3 {
654	pinctrl-names = "default";
655	pinctrl-0 = <&spi3_pins_default>;
656	status = "okay";
657};
658