omap3-igep0030-rev-g.dts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * Device Tree Source for IGEP COM MODULE Rev. G (TI OMAP AM/DM37x)
  3. *
  4. * Copyright (C) 2014 Javier Martinez Canillas <javier@osg.samsung.com>
  5. * Copyright (C) 2014 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-igep0030-common.dtsi"
  12. / {
  13. model = "IGEP COM MODULE Rev. G (TI OMAP AM/DM37x)";
  14. compatible = "isee,omap3-igep0030-rev-g", "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(0x2164, PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 - 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. leds_pins: pinmux_leds_pins {
  34. pinctrl-single,pins = <
  35. OMAP3_CORE1_IOPAD(0x21be, PIN_OUTPUT | MUX_MODE4) /* i2c2_scl.gpio_168 */
  36. >;
  37. };
  38. };
  39. &i2c2 {
  40. status = "disabled";
  41. };
  42. &leds {
  43. pinctrl-names = "default";
  44. pinctrl-0 = <&leds_pins &leds_core2_pins>;
  45. boot {
  46. label = "omap3:green:boot";
  47. gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>;
  48. default-state = "on";
  49. };
  50. };
  51. &mmc2 {
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&mmc2_pins &lbep5clwmc_pins>;
  54. vmmc-supply = <&lbep5clwmc_wlen>;
  55. bus-width = <4>;
  56. non-removable;
  57. #address-cells = <1>;
  58. #size-cells = <0>;
  59. wlcore: wlcore@2 {
  60. compatible = "ti,wl1835";
  61. reg = <2>;
  62. interrupt-parent = <&gpio5>;
  63. interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; /* gpio 136 */
  64. };
  65. };