1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2014 Christoph Fritz <chf.fritzc@googlemail.com>
6 #include "omap36xx.dtsi"
9 model = "INCOstartec LILLY-A83X module (DM3730)";
10 compatible = "incostartec,omap3-lilly-a83x", "ti,omap3630", "ti,omap36xx", "ti,omap3";
13 bootargs = "console=ttyO0,115200n8 vt.global_cursor_default=0 consoleblank=0";
17 device_type = "memory";
18 reg = <0x80000000 0x8000000>; /* 128 MB */
22 compatible = "gpio-leds";
25 label = "lilly-a83x::led1";
26 gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "default-on";
33 compatible = "ti,omap-twl4030";
34 ti,model = "lilly-a83x";
40 compatible = "regulator-fixed";
41 regulator-name = "VCC3";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
47 hsusb1_phy: hsusb1_phy {
48 compatible = "usb-nop-xceiv";
49 vcc-supply = <®_vcc3>;
55 pinctrl-names = "default";
57 lan9221_pins: pinmux_lan9221_pins {
58 pinctrl-single,pins = <
59 OMAP3_WKUP_IOPAD(0x2a5a, PIN_INPUT | MUX_MODE4) /* reserved.gpio_129 */
63 tsc2048_pins: pinmux_tsc2048_pins {
64 pinctrl-single,pins = <
65 OMAP3_WKUP_IOPAD(0x2a16, PIN_INPUT_PULLUP | MUX_MODE4) /* sys_boot6.gpio_8 */
69 mmc1cd_pins: pinmux_mmc1cd_pins {
70 pinctrl-single,pins = <
71 OMAP3_WKUP_IOPAD(0x2a56, PIN_INPUT | MUX_MODE4) /* reserved.gpio_126 */
77 pinctrl-names = "default";
79 uart1_pins: pinmux_uart1_pins {
80 pinctrl-single,pins = <
81 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
82 OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE0) /* uart1_rts.uart1_rts */
83 OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT | MUX_MODE0) /* uart1_cts.uart1_cts */
84 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
88 uart2_pins: pinmux_uart2_pins {
89 pinctrl-single,pins = <
90 OMAP3_CORE1_IOPAD(0x2170, PIN_OUTPUT | MUX_MODE1) /* mcbsp3_clkx.uart2_tx */
91 OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE1) /* mcbsp3_fsx.uart2_rx */
95 uart3_pins: pinmux_uart3_pins {
96 pinctrl-single,pins = <
97 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
98 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
102 i2c1_pins: pinmux_i2c1_pins {
103 pinctrl-single,pins = <
104 OMAP3_CORE1_IOPAD(0x21ba ,PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl.i2c1_scl */
105 OMAP3_CORE1_IOPAD(0x21bc ,PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda.i2c1_sda */
109 i2c2_pins: pinmux_i2c2_pins {
110 pinctrl-single,pins = <
111 OMAP3_CORE1_IOPAD(0x21be, PIN_INPUT | MUX_MODE0) /* i2c2_scl.i2c2_scl */
112 OMAP3_CORE1_IOPAD(0x21c0, PIN_INPUT | MUX_MODE0) /* i2c2_sda.i2c2_sda */
116 i2c3_pins: pinmux_i2c3_pins {
117 pinctrl-single,pins = <
118 OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */
119 OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */
123 hsusb1_pins: pinmux_hsusb1_pins {
124 pinctrl-single,pins = <
126 /* GPIO 182 controls USB-Hub reset. But USB-Phy its
127 * reset can't be controlled. So we clamp this GPIO to
128 * high (PIN_OFF_OUTPUT_HIGH) to always enable USB-Hub.
131 OMAP3_CORE1_IOPAD(0x21de, PIN_OUTPUT_PULLUP | PIN_OFF_OUTPUT_HIGH | MUX_MODE4) /* mcspi2_cs1.gpio_182 */
135 hsusb_otg_pins: pinmux_hsusb_otg_pins {
136 pinctrl-single,pins = <
137 OMAP3_CORE1_IOPAD(0x21a2, PIN_INPUT | MUX_MODE0) /* hsusb0_clk.hsusb0_clk */
138 OMAP3_CORE1_IOPAD(0x21a4, PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */
139 OMAP3_CORE1_IOPAD(0x21a6, PIN_INPUT | MUX_MODE0) /* hsusb0_dir.hsusb0_dir */
140 OMAP3_CORE1_IOPAD(0x21a8, PIN_INPUT | MUX_MODE0) /* hsusb0_nxt.hsusb0_nxt */
141 OMAP3_CORE1_IOPAD(0x21aa, PIN_INPUT | MUX_MODE0) /* hsusb0_data0.hsusb0_data0 */
142 OMAP3_CORE1_IOPAD(0x21ac, PIN_INPUT | MUX_MODE0) /* hsusb0_data1.hsusb0_data1 */
143 OMAP3_CORE1_IOPAD(0x21ae, PIN_INPUT | MUX_MODE0) /* hsusb0_data2.hsusb0_data2 */
144 OMAP3_CORE1_IOPAD(0x21b0, PIN_INPUT | MUX_MODE0) /* hsusb0_data3.hsusb0_data3 */
145 OMAP3_CORE1_IOPAD(0x21b2, PIN_INPUT | MUX_MODE0) /* hsusb0_data4.hsusb0_data4 */
146 OMAP3_CORE1_IOPAD(0x21b4, PIN_INPUT | MUX_MODE0) /* hsusb0_data5.hsusb0_data5 */
147 OMAP3_CORE1_IOPAD(0x21b6, PIN_INPUT | MUX_MODE0) /* hsusb0_data6.hsusb0_data6 */
148 OMAP3_CORE1_IOPAD(0x21b8, PIN_INPUT | MUX_MODE0) /* hsusb0_data7.hsusb0_data7 */
152 mmc1_pins: pinmux_mmc1_pins {
153 pinctrl-single,pins = <
154 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
155 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
156 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
157 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
158 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
159 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
163 spi2_pins: pinmux_spi2_pins {
164 pinctrl-single,pins = <
165 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcspi2_clk.mcspi2_clk */
166 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcspi2_simo.mcspi2_simo */
167 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcspi2_somi.mcspi2_somi */
168 OMAP3_CORE1_IOPAD(0x21dc, PIN_OUTPUT | MUX_MODE0) /* mcspi2_cs0.mcspi2_cs0 */
174 pinctrl-names = "default";
176 hsusb1_2_pins: pinmux_hsusb1_2_pins {
177 pinctrl-single,pins = <
178 OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE3) /* etk_clk.hsusb1_stp */
179 OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT | MUX_MODE3) /* etk_ctl.hsusb1_clk */
180 OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE3) /* etk_d0.hsusb1_data0 */
181 OMAP3630_CORE2_IOPAD(0x25de, PIN_INPUT | MUX_MODE3) /* etk_d1.hsusb1_data1 */
182 OMAP3630_CORE2_IOPAD(0x25e0, PIN_INPUT | MUX_MODE3) /* etk_d2.hsusb1_data2 */
183 OMAP3630_CORE2_IOPAD(0x25e2, PIN_INPUT | MUX_MODE3) /* etk_d3.hsusb1_data7 */
184 OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE3) /* etk_d4.hsusb1_data4 */
185 OMAP3630_CORE2_IOPAD(0x25e6, PIN_INPUT | MUX_MODE3) /* etk_d5.hsusb1_data5 */
186 OMAP3630_CORE2_IOPAD(0x25e8, PIN_INPUT | MUX_MODE3) /* etk_d6.hsusb1_data6 */
187 OMAP3630_CORE2_IOPAD(0x25ea, PIN_INPUT | MUX_MODE3) /* etk_d7.hsusb1_data3 */
188 OMAP3630_CORE2_IOPAD(0x25ec, PIN_INPUT | MUX_MODE3) /* etk_d8.hsusb1_dir */
189 OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE3) /* etk_d9.hsusb1_nxt */
193 gpio1_pins: pinmux_gpio1_pins {
194 pinctrl-single,pins = <
195 OMAP3630_CORE2_IOPAD(0x25fa, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* etk_d15.gpio_29 */
202 pinctrl-names = "default";
203 pinctrl-0 = <&gpio1_pins>;
207 pinctrl-names = "default";
208 pinctrl-0 = <&hsusb1_pins>;
212 clock-frequency = <2600000>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&i2c1_pins>;
218 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
219 interrupt-parent = <&intc>;
222 compatible = "ti,twl4030-audio";
229 #include "twl4030.dtsi"
230 #include "twl4030_omap3.dtsi"
233 vmmc1: regulator-vmmc1 {
237 vdd1: regulator-vdd1 {
241 vdd2: regulator-vdd2 {
247 clock-frequency = <2600000>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&i2c2_pins>;
253 clock-frequency = <2600000>;
254 pinctrl-names = "default";
255 pinctrl-0 = <&i2c3_pins>;
257 compatible = "microchip,mcp23017";
265 pinctrl-names = "default";
266 pinctrl-0 = <&uart1_pins>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&uart2_pins>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&uart3_pins>;
284 cd-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
286 vmmc-supply = <&vmmc1>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&mmc1_pins &mmc1cd_pins>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&spi2_pins>;
310 compatible = "ti,tsc2046";
311 interrupt-parent = <&gpio1>;
312 interrupts = <8 0>; /* boot6 / gpio_8 */
313 spi-max-frequency = <1000000>;
314 pendown-gpio = <&gpio1 8 GPIO_ACTIVE_HIGH>;
315 vcc-supply = <®_vcc3>;
316 pinctrl-names = "default";
317 pinctrl-0 = <&tsc2048_pins>;
319 ti,x-min = /bits/ 16 <300>;
320 ti,x-max = /bits/ 16 <3000>;
321 ti,y-min = /bits/ 16 <600>;
322 ti,y-max = /bits/ 16 <3600>;
323 ti,x-plate-ohms = /bits/ 16 <80>;
324 ti,pressure-max = /bits/ 16 <255>;
332 phys = <&hsusb1_phy>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&hsusb1_2_pins>;
339 port1-mode = "ehci-phy";
343 pinctrl-names = "default";
344 pinctrl-0 = <&hsusb_otg_pins>;
345 interface-type = <0>;
346 usb-phy = <&usb2_phy>;
348 phy-names = "usb2-phy";
358 ranges = <0 0 0x30000000 0x1000000>,
359 <7 0 0x15000000 0x01000000>;
362 compatible = "ti,omap2-nand";
363 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
364 interrupt-parent = <&gpmc>;
365 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
366 <1 IRQ_TYPE_NONE>; /* termcount */
367 nand-bus-width = <16>;
368 ti,nand-ecc-opt = "bch8";
369 /* no elm on omap3 */
371 gpmc,mux-add-data = <0>;
372 gpmc,device-width = <2>;
374 gpmc,wait-monitoring-ns = <0>;
375 gpmc,burst-length= <4>;
377 gpmc,cs-rd-off-ns = <100>;
378 gpmc,cs-wr-off-ns = <100>;
379 gpmc,adv-on-ns = <0>;
380 gpmc,adv-rd-off-ns = <100>;
381 gpmc,adv-wr-off-ns = <100>;
383 gpmc,oe-off-ns = <75>;
385 gpmc,we-off-ns = <75>;
386 gpmc,rd-cycle-ns = <100>;
387 gpmc,wr-cycle-ns = <100>;
388 gpmc,access-ns = <60>;
389 gpmc,page-burst-access-ns = <5>;
390 gpmc,bus-turnaround-ns = <0>;
391 gpmc,cycle2cycle-samecsen;
392 gpmc,cycle2cycle-delay-ns = <50>;
393 gpmc,wr-data-mux-bus-ns = <75>;
394 gpmc,wr-access-ns = <155>;
396 #address-cells = <1>;
406 reg = <0x80000 0x1e0000>;
410 label = "u-boot-environment";
411 reg = <0x260000 0x20000>;
416 reg = <0x280000 0x500000>;
420 label = "filesystem";
421 reg = <0x780000 0xf880000>;
426 compatible = "smsc,lan9221", "smsc,lan9115";
428 gpmc,mux-add-data = <2>;
429 gpmc,cs-on-ns = <10>;
430 gpmc,cs-rd-off-ns = <60>;
431 gpmc,cs-wr-off-ns = <60>;
432 gpmc,adv-on-ns = <0>;
433 gpmc,adv-rd-off-ns = <10>;
434 gpmc,adv-wr-off-ns = <10>;
435 gpmc,oe-on-ns = <10>;
436 gpmc,oe-off-ns = <60>;
437 gpmc,we-on-ns = <10>;
438 gpmc,we-off-ns = <60>;
439 gpmc,rd-cycle-ns = <100>;
440 gpmc,wr-cycle-ns = <100>;
441 gpmc,access-ns = <50>;
442 gpmc,page-burst-access-ns = <5>;
443 gpmc,bus-turnaround-ns = <0>;
444 gpmc,cycle2cycle-delay-ns = <75>;
445 gpmc,wr-data-mux-bus-ns = <15>;
446 gpmc,wr-access-ns = <75>;
447 gpmc,cycle2cycle-samecsen;
448 gpmc,cycle2cycle-diffcsen;
449 vddvario-supply = <®_vcc3>;
450 vdd33a-supply = <®_vcc3>;
452 interrupt-parent = <&gpio5>;
453 interrupts = <1 0x2>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&lan9221_pins>;