Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Device Tree Source for IGEPv2 Rev. C (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-igep0020-common.dtsi"
0010 
0011 / {
0012         model = "IGEPv2 Rev. C (TI OMAP AM/DM37x)";
0013         compatible = "isee,omap3-igep0020", "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 /* On board Wifi module */
0040 &mmc2 {
0041         pinctrl-names = "default";
0042         pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>;
0043         vmmc-supply = <&vmmcsdio_fixed>;
0044         mmc-pwrseq = <&mmc2_pwrseq>;
0045         bus-width = <4>;
0046         non-removable;
0047 };