xref: /linux/arch/arm/boot/dts/ti/omap/omap3-igep0030.dts (revision 0e2b2a76278153d1ac312b0691cb65dabb9aef3e)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Device Tree Source for IGEP COM MODULE Rev. E (TI OMAP AM/DM37x)
4 *
5 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
6 * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
7 */
8
9#include "omap3-igep0030-common.dtsi"
10
11/ {
12	model = "IGEP COM MODULE Rev. E (TI OMAP AM/DM37x)";
13	compatible = "isee,omap3-igep0030", "ti,omap3630", "ti,omap3";
14
15	vmmcsdio_fixed: fixedregulator-mmcsdio {
16		compatible = "regulator-fixed";
17		regulator-name = "vmmcsdio_fixed";
18		regulator-min-microvolt = <3300000>;
19		regulator-max-microvolt = <3300000>;
20	};
21
22	mmc2_pwrseq: mmc2_pwrseq {
23		compatible = "mmc-pwrseq-simple";
24		reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>,	/* gpio_139 - RESET_N_W */
25			      <&gpio5 10 GPIO_ACTIVE_LOW>;	/* gpio_138 - WIFI_PDN */
26	};
27};
28
29&omap3_pmx_core {
30	lbee1usjyc_pins: lbee1usjyc-pins {
31		pinctrl-single,pins = <
32			OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4)	/* sdmmc2_dat5.gpio_137 - RESET_N_W */
33			OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4)	/* sdmmc2_dat6.gpio_138 - WIFI_PDN */
34			OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4)	/* sdmmc2_dat7.gpio_139 - RST_N_B */
35		>;
36	};
37};
38
39&leds {
40	pinctrl-names = "default";
41	pinctrl-0 = <&leds_core2_pins>;
42
43	boot {
44		label = "omap3:green:boot";
45		gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>;	/* LEDSYNC */
46		default-state = "on";
47	};
48};
49
50/* On board Wifi module */
51&mmc2 {
52	pinctrl-names = "default";
53	pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>;
54	vmmc-supply = <&vmmcsdio_fixed>;
55	mmc-pwrseq = <&mmc2_pwrseq>;
56	bus-width = <4>;
57	non-removable;
58};
59
60