1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group
7 * The Gumstix Overo must be combined with an expansion board.
13 device_type = "memory";
18 compatible = "pwm-leds";
21 label = "overo:blue:COM";
22 pwms = <&twl_pwmled 1 7812500>;
23 max-brightness = <127>;
24 linux,default-trigger = "mmc0";
29 compatible = "ti,omap-twl4030";
35 /* HS USB Port 2 Power */
36 hsusb2_power: hsusb2_power_reg {
37 compatible = "regulator-fixed";
38 regulator-name = "hsusb2_vbus";
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
41 gpio = <&gpio6 8 GPIO_ACTIVE_HIGH>; /* gpio_168: vbus enable */
42 startup-delay-us = <70000>;
46 /* HS USB Host PHY on PORT 2 */
47 hsusb2_phy: hsusb2_phy {
48 compatible = "usb-nop-xceiv";
49 reset-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>; /* gpio_183 */
50 vcc-supply = <&hsusb2_power>;
54 /* Regulator to trigger the nPoweron signal of the Wifi module */
55 w3cbw003c_npoweron: regulator-w3cbw003c-npoweron {
56 compatible = "regulator-fixed";
57 regulator-name = "regulator-w3cbw003c-npoweron";
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
60 gpio = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* gpio_54: nPoweron */
64 /* Regulator to trigger the nReset signal of the Wifi module */
65 w3cbw003c_wifi_nreset: regulator-w3cbw003c-wifi-nreset {
66 pinctrl-names = "default";
67 pinctrl-0 = <&w3cbw003c_pins &w3cbw003c_2_pins>;
68 compatible = "regulator-fixed";
69 regulator-name = "regulator-w3cbw003c-wifi-nreset";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>; /* gpio_16: WiFi nReset */
73 startup-delay-us = <10000>;
78 pinctrl-names = "default";
83 uart2_pins: pinmux_uart2_pins {
84 pinctrl-single,pins = <
85 OMAP3_CORE1_IOPAD(0x216c, PIN_INPUT | MUX_MODE1) /* mcbsp3_dx.uart2_cts */
86 OMAP3_CORE1_IOPAD(0x216e, PIN_OUTPUT | MUX_MODE1) /* mcbsp3_dr.uart2_rts */
87 OMAP3_CORE1_IOPAD(0x2170, PIN_OUTPUT | MUX_MODE1) /* mcbsp3_clk.uart2_tx */
88 OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE1) /* mcbsp3_fsx.uart2_rx */
92 i2c1_pins: pinmux_i2c1_pins {
93 pinctrl-single,pins = <
94 OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */
95 OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */
99 mmc1_pins: pinmux_mmc1_pins {
100 pinctrl-single,pins = <
101 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
102 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
103 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
104 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
105 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
106 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
110 mmc2_pins: pinmux_mmc2_pins {
111 pinctrl-single,pins = <
112 OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
113 OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
114 OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
115 OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
116 OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
117 OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
122 w3cbw003c_pins: pinmux_w3cbw003c_pins {
123 pinctrl-single,pins = <
124 OMAP3_CORE1_IOPAD(0x20b4, PIN_OUTPUT | MUX_MODE4) /* gpmc_ncs3.gpio_54 */
125 OMAP3_CORE1_IOPAD(0x219c, PIN_OUTPUT | MUX_MODE4) /* uart3_rts_sd.gpio_164 */
129 hsusb2_pins: pinmux_hsusb2_pins {
130 pinctrl-single,pins = <
131 OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
132 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
133 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
134 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
135 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
136 OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
137 OMAP3_CORE1_IOPAD(0x21be, PIN_OUTPUT | MUX_MODE4) /* i2c2_scl.gpio_168 */
138 OMAP3_CORE1_IOPAD(0x21c0, PIN_OUTPUT | MUX_MODE4) /* i2c2_sda.gpio_183 */
144 pinctrl-names = "default";
145 pinctrl-0 = <&i2c1_pins>;
146 clock-frequency = <2600000>;
150 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
151 interrupt-parent = <&intc>;
154 compatible = "ti,twl4030-audio";
161 #include "twl4030.dtsi"
162 #include "twl4030_omap3.dtsi"
164 /* i2c2 pins are used for gpio */
169 /* on board microSD slot */
171 pinctrl-names = "default";
172 pinctrl-0 = <&mmc1_pins>;
173 vmmc-supply = <&vmmc1>;
177 /* optional on board WiFi */
179 pinctrl-names = "default";
180 pinctrl-0 = <&mmc2_pins>;
181 vmmc-supply = <&w3cbw003c_npoweron>;
182 vqmmc-supply = <&w3cbw003c_wifi_nreset>;
193 interface-type = <0>;
194 usb-phy = <&usb2_phy>;
196 phy-names = "usb2-phy";
202 port2-mode = "ehci-phy";
206 phys = <0 &hsusb2_phy>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&uart2_pins>;
219 ranges = <0 0 0x30000000 0x1000000>, /* CS0 */
220 <4 0 0x2b000000 0x1000000>, /* CS4 */
221 <5 0 0x2c000000 0x1000000>; /* CS5 */
224 compatible = "ti,omap2-nand";
225 linux,mtd-name= "micron,mt29c4g96maz";
226 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
227 interrupt-parent = <&gpmc>;
228 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
229 <1 IRQ_TYPE_NONE>; /* termcount */
230 nand-bus-width = <16>;
231 gpmc,device-width = <2>;
232 ti,nand-ecc-opt = "bch8";
234 gpmc,sync-clk-ps = <0>;
236 gpmc,cs-rd-off-ns = <44>;
237 gpmc,cs-wr-off-ns = <44>;
238 gpmc,adv-on-ns = <6>;
239 gpmc,adv-rd-off-ns = <34>;
240 gpmc,adv-wr-off-ns = <44>;
241 gpmc,we-off-ns = <40>;
242 gpmc,oe-off-ns = <54>;
243 gpmc,access-ns = <64>;
244 gpmc,rd-cycle-ns = <82>;
245 gpmc,wr-cycle-ns = <82>;
246 gpmc,wr-access-ns = <40>;
247 gpmc,wr-data-mux-bus-ns = <0>;
249 #address-cells = <1>;
254 reg = <0 0x80000>; /* 512KiB */
258 reg = <0x80000 0x1C0000>; /* 1792KiB */
261 label = "Environment";
262 reg = <0x240000 0x40000>; /* 256KiB */
266 reg = <0x280000 0x800000>; /* 8192KiB */
269 label = "Filesystem";
271 /* HACK: MTDPART_SIZ_FULL=0 so fill to end */