0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Device Tree Source for IGEP COM MODULE Rev. E (TI OMAP AM/DM37x)
0004 *
0005 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
0006 * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
0007 */
0008
0009 #include "omap3-igep0030-common.dtsi"
0010
0011 / {
0012 model = "IGEP COM MODULE Rev. E (TI OMAP AM/DM37x)";
0013 compatible = "isee,omap3-igep0030", "ti,omap3630", "ti,omap36xx", "ti,omap3";
0014
0015 vmmcsdio_fixed: fixedregulator-mmcsdio {
0016 compatible = "regulator-fixed";
0017 regulator-name = "vmmcsdio_fixed";
0018 regulator-min-microvolt = <3300000>;
0019 regulator-max-microvolt = <3300000>;
0020 };
0021
0022 mmc2_pwrseq: mmc2_pwrseq {
0023 compatible = "mmc-pwrseq-simple";
0024 reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>, /* gpio_139 - RESET_N_W */
0025 <&gpio5 10 GPIO_ACTIVE_LOW>; /* gpio_138 - WIFI_PDN */
0026 };
0027 };
0028
0029 &omap3_pmx_core {
0030 lbee1usjyc_pins: pinmux_lbee1usjyc_pins {
0031 pinctrl-single,pins = <
0032 OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat5.gpio_137 - RESET_N_W */
0033 OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat6.gpio_138 - WIFI_PDN */
0034 OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 - RST_N_B */
0035 >;
0036 };
0037 };
0038
0039 &leds {
0040 pinctrl-names = "default";
0041 pinctrl-0 = <&leds_core2_pins>;
0042
0043 boot {
0044 label = "omap3:green:boot";
0045 gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>; /* LEDSYNC */
0046 default-state = "on";
0047 };
0048 };
0049
0050 /* On board Wifi module */
0051 &mmc2 {
0052 pinctrl-names = "default";
0053 pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>;
0054 vmmc-supply = <&vmmcsdio_fixed>;
0055 mmc-pwrseq = <&mmc2_pwrseq>;
0056 bus-width = <4>;
0057 non-removable;
0058 };
0059