Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Device Tree Source for IGEP COM MODULE Rev. G (TI OMAP AM/DM37x)
0004  *
0005  * Copyright (C) 2014 Javier Martinez Canillas <javier@dowhile0.org>
0006  * Copyright (C) 2014 Enric Balletbo i Serra <eballetbo@gmail.com>
0007  */
0008 
0009 #include "omap3-igep0030-common.dtsi"
0010 
0011 / {
0012         model = "IGEP COM MODULE Rev. G (TI OMAP AM/DM37x)";
0013         compatible = "isee,omap3-igep0030-rev-g", "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(0x2164, PIN_INPUT | MUX_MODE4)        /* sdmmc2_dat4.gpio_136 - 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         leds_pins: pinmux_leds_pins {
0036                 pinctrl-single,pins = <
0037                         OMAP3_CORE1_IOPAD(0x21be, PIN_OUTPUT | MUX_MODE4)       /* i2c2_scl.gpio_168 */
0038                 >;
0039         };
0040 
0041 };
0042 
0043 &i2c2 {
0044         status = "disabled";
0045 };
0046 
0047 &leds {
0048         pinctrl-names = "default";
0049         pinctrl-0 = <&leds_pins &leds_core2_pins>;
0050 
0051         boot {
0052                 label = "omap3:green:boot";
0053                 gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>;
0054                 default-state = "on";
0055         };
0056 };
0057 
0058 &mmc2 {
0059         pinctrl-names = "default";
0060         pinctrl-0 = <&mmc2_pins &lbep5clwmc_pins>;
0061         vmmc-supply = <&lbep5clwmc_wlen>;
0062         bus-width = <4>;
0063         non-removable;
0064 
0065         #address-cells = <1>;
0066         #size-cells = <0>;
0067         wlcore: wlcore@2 {
0068                 compatible = "ti,wl1835";
0069                 reg = <2>;
0070                 interrupt-parent = <&gpio5>;
0071                 interrupts = <8 IRQ_TYPE_EDGE_RISING>; /* gpio 136 */
0072         };
0073 };
0074 
0075 &uart2 {
0076         bluetooth {
0077                 compatible = "ti,wl1835-st";
0078                 enable-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; /* gpio 137 */
0079                 max-speed = <300000>;
0080         };
0081 };