Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Device Tree Source for IGEPv2 Rev. F (TI OMAP AM/DM37x)
0004  *
0005  * Copyright (C) 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. F (TI OMAP AM/DM37x)";
0013         compatible = "isee,omap3-igep0020-rev-f", "ti,omap3630", "ti,omap36xx", "ti,omap3";
0014 
0015         /* Regulator to trigger the WL_EN signal of the Wifi module */
0016         lbep5clwmc_wlen: regulator-lbep5clwmc-wlen {
0017                 compatible = "regulator-fixed";
0018                 regulator-name = "regulator-lbep5clwmc-wlen";
0019                 regulator-min-microvolt = <3300000>;
0020                 regulator-max-microvolt = <3300000>;
0021                 gpio = <&gpio5 11 GPIO_ACTIVE_HIGH>;            /* gpio_139 - WL_EN */
0022                 enable-active-high;
0023         };
0024 };
0025 
0026 &omap3_pmx_core {
0027         lbep5clwmc_pins: pinmux_lbep5clwmc_pins {
0028                 pinctrl-single,pins = <
0029                         OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT | MUX_MODE4)        /* mcspi1_cs3.gpio_177 - W_IRQ */
0030                         OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4)       /* sdmmc2_dat5.gpio_137 - BT_EN */
0031                         OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4)       /* sdmmc2_dat7.gpio_139 - WL_EN */
0032                 >;
0033         };
0034 };
0035 
0036 &mmc2 {
0037         pinctrl-names = "default";
0038         pinctrl-0 = <&mmc2_pins &lbep5clwmc_pins>;
0039         vmmc-supply = <&lbep5clwmc_wlen>;
0040         bus-width = <4>;
0041         non-removable;
0042 
0043         #address-cells = <1>;
0044         #size-cells = <0>;
0045         wlcore: wlcore@2 {
0046                 compatible = "ti,wl1835";
0047                 reg = <2>;
0048                 interrupt-parent = <&gpio6>;
0049                 interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* gpio 177 */
0050         };
0051 };
0052 
0053 &uart2 {
0054         bluetooth {
0055                 compatible = "ti,wl1835-st";
0056                 enable-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; /* gpio 137 */
0057                 max-speed = <300000>;
0058         };
0059 };