xref: /linux/arch/arm/boot/dts/ti/omap/am335x-baltos-ir2110.dts (revision 151ebcf0797b1a3ba53c8843dc21748c80e098c7)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6/*
7 * VScom OnRISC
8 * https://www.vscom.de
9 */
10
11/dts-v1/;
12
13#include "am335x-baltos.dtsi"
14#include "am335x-baltos-leds.dtsi"
15
16/ {
17	model = "OnRISC Baltos iR 2110";
18};
19
20&am33xx_pinmux {
21	uart1_pins: uart1-pins {
22		pinctrl-single,pins = <
23			AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT, MUX_MODE0)
24			AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE0)
25			AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE0)
26			AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
27			AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7)      /* lcd_vsync.gpio2[22] DTR */
28			AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7)      /* lcd_hsync.gpio2[23] DSR */
29			AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7)      /* lcd_pclk.gpio2[24] DCD */
30			AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7)      /* lcd_ac_bias_en.gpio2[25] RI */
31		>;
32	};
33
34	mmc1_pins: mmc1-pins {
35		pinctrl-single,pins = <
36			AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT, MUX_MODE7)     /* MMC1 CD */
37		>;
38	};
39};
40
41&uart1 {
42	pinctrl-names = "default";
43	pinctrl-0 = <&uart1_pins>;
44	dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
45	dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
46	dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
47	rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
48
49	status = "okay";
50};
51
52&usb0_phy {
53	status = "okay";
54};
55
56&usb0 {
57	status = "okay";
58	dr_mode = "host";
59};
60
61&davinci_mdio_sw {
62	phy0: ethernet-phy@0 {
63		reg = <1>;
64	};
65};
66
67&cpsw_port1 {
68	phy-mode = "rmii";
69	ti,dual-emac-pvid = <1>;
70	phy-handle = <&phy0>;
71};
72
73&cpsw_port2 {
74	phy-mode = "rgmii-id";
75	ti,dual-emac-pvid = <2>;
76	phy-handle = <&phy1>;
77};
78
79&mmc1 {
80	pinctrl-names = "default";
81	pinctrl-0 = <&mmc1_pins>;
82	cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
83};
84
85&gpio0 {
86	gpio-line-names =
87		"MDIO",
88		"MDC",
89		"NC",
90		"NC",
91		"I2C1_SDA",
92		"I2C1_SCL",
93		"NC",
94		"NC",
95		"NC",
96		"NC",
97		"NC",
98		"NC",
99		"UART1_CTSN",
100		"UART1_RTSN",
101		"UART1_RX",
102		"UART1_TX",
103		"onrisc:blue:wlan",
104		"onrisc:green:app",
105		"USB0_DRVVBUS",
106		"ETH2_INT",
107		"NC",
108		"RMII1_TXD1",
109		"MMC1_DAT0",
110		"MMC1_DAT1",
111		"NC",
112		"NC",
113		"MMC1_DAT2",
114		"MMC1_DAT3",
115		"RMII1_TXD0",
116		"NC",
117		"GPMC_WAIT0",
118		"GPMC_WP_N";
119};
120
121&gpio1 {
122	gpio-line-names =
123		"GPMC_AD0",
124		"GPMC_AD1",
125		"GPMC_AD2",
126		"GPMC_AD3",
127		"GPMC_AD4",
128		"GPMC_AD5",
129		"GPMC_AD6",
130		"GPMC_AD7",
131		"NC",
132		"NC",
133		"CONSOLE_RX",
134		"CONSOLE_TX",
135		"NC",
136		"NC",
137		"NC",
138		"SD_CD",
139		"RGMII2_TCTL",
140		"RGMII2_RCTL",
141		"RGMII2_TD3",
142		"RGMII2_TD2",
143		"RGMII2_TD1",
144		"RGMII2_TD0",
145		"RGMII2_TCLK",
146		"RGMII2_RCLK",
147		"RGMII2_RD3",
148		"RGMII2_RD2",
149		"RGMII2_RD1",
150		"RGMII2_RD0",
151		"PMIC_INT1",
152		"GPMC_CSN0_Flash",
153		"MMC1_CLK",
154		"MMC1_CMD";
155};
156
157&gpio2 {
158	gpio-line-names =
159		"GPMC_CSN3_BUS",
160		"GPMC_CLK",
161		"GPMC_ADVN_ALE",
162		"GPMC_OEN_RE_N",
163		"GPMC_WE_N",
164		"GPMC_BEN0_CLE",
165		"NC",
166		"NC",
167		"NC",
168		"NC",
169		"NC",
170		"NC",
171		"NC",
172		"NC",
173		"NC",
174		"NC",
175		"NC",
176		"NC",
177		"SW2_0",
178		"SW2_1",
179		"RMII1_RXD1",
180		"RMII1_RXD0",
181		"UART1_DTR",
182		"UART1_DSR",
183		"UART1_DCD",
184		"UART1_RI",
185		"MMC0_DAT3",
186		"MMC0_DAT2",
187		"MMC0_DAT1",
188		"MMC0_DAT0",
189		"MMC0_CLK",
190		"MMC0_CMD";
191};
192
193&gpio3 {
194	gpio-line-names =
195		"onrisc:red:power",
196		"RMII1_CRS_DV",
197		"RMII1_RXER",
198		"RMII1_TXEN",
199		"NC",
200		"NC",
201		"NC",
202		"WLAN_IRQ",
203		"WLAN_EN",
204		"SW2_2",
205		"SW2_3",
206		"NC",
207		"NC",
208		"NC",
209		"ModeA0",
210		"ModeA1",
211		"ModeA2",
212		"ModeA3",
213		"NC",
214		"NC",
215		"NC",
216		"NC",
217		"NC",
218		"NC",
219		"NC",
220		"NC",
221		"NC",
222		"NC",
223		"NC",
224		"NC",
225		"NC",
226		"NC";
227};
228