omap3-igep0020-rev-f.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * Device Tree Source for IGEPv2 Rev. F (TI OMAP AM/DM37x)
  3. *
  4. * Copyright (C) 2012 Javier Martinez Canillas <javier@osg.samsung.com>
  5. * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #include "omap3-igep0020-common.dtsi"
  12. / {
  13. model = "IGEPv2 Rev. F (TI OMAP AM/DM37x)";
  14. compatible = "isee,omap3-igep0020-rev-f", "ti,omap36xx", "ti,omap3";
  15. /* Regulator to trigger the WL_EN signal of the Wifi module */
  16. lbep5clwmc_wlen: regulator-lbep5clwmc-wlen {
  17. compatible = "regulator-fixed";
  18. regulator-name = "regulator-lbep5clwmc-wlen";
  19. regulator-min-microvolt = <3300000>;
  20. regulator-max-microvolt = <3300000>;
  21. gpio = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* gpio_139 - WL_EN */
  22. enable-active-high;
  23. };
  24. };
  25. &omap3_pmx_core {
  26. lbep5clwmc_pins: pinmux_lbep5clwmc_pins {
  27. pinctrl-single,pins = <
  28. OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT | MUX_MODE4) /* mcspi1_cs3.gpio_177 - W_IRQ */
  29. OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat5.gpio_137 - BT_EN */
  30. OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 - WL_EN */
  31. >;
  32. };
  33. };
  34. &mmc2 {
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&mmc2_pins &lbep5clwmc_pins>;
  37. vmmc-supply = <&lbep5clwmc_wlen>;
  38. bus-width = <4>;
  39. non-removable;
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. wlcore: wlcore@2 {
  43. compatible = "ti,wl1835";
  44. reg = <2>;
  45. interrupt-parent = <&gpio6>;
  46. interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; /* gpio 177 */
  47. };
  48. };