omap3-igep0030-rev-g.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Device Tree Source for IGEP COM MODULE Rev. G (TI OMAP AM/DM37x)
  4. *
  5. * Copyright (C) 2014 Javier Martinez Canillas <[email protected]>
  6. * Copyright (C) 2014 Enric Balletbo i Serra <[email protected]>
  7. */
  8. #include "omap3-igep0030-common.dtsi"
  9. / {
  10. model = "IGEP COM MODULE Rev. G (TI OMAP AM/DM37x)";
  11. compatible = "isee,omap3-igep0030-rev-g", "ti,omap3630", "ti,omap36xx", "ti,omap3";
  12. /* Regulator to trigger the WL_EN signal of the Wifi module */
  13. lbep5clwmc_wlen: regulator-lbep5clwmc-wlen {
  14. compatible = "regulator-fixed";
  15. regulator-name = "regulator-lbep5clwmc-wlen";
  16. regulator-min-microvolt = <3300000>;
  17. regulator-max-microvolt = <3300000>;
  18. gpio = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* gpio_139 - WL_EN */
  19. enable-active-high;
  20. };
  21. };
  22. &omap3_pmx_core {
  23. lbep5clwmc_pins: pinmux_lbep5clwmc_pins {
  24. pinctrl-single,pins = <
  25. OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 - W_IRQ */
  26. OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat5.gpio_137 - BT_EN */
  27. OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 - WL_EN */
  28. >;
  29. };
  30. leds_pins: pinmux_leds_pins {
  31. pinctrl-single,pins = <
  32. OMAP3_CORE1_IOPAD(0x21be, PIN_OUTPUT | MUX_MODE4) /* i2c2_scl.gpio_168 */
  33. >;
  34. };
  35. };
  36. &i2c2 {
  37. status = "disabled";
  38. };
  39. &leds {
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&leds_pins &leds_core2_pins>;
  42. boot {
  43. label = "omap3:green:boot";
  44. gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>;
  45. default-state = "on";
  46. };
  47. };
  48. &mmc2 {
  49. pinctrl-names = "default";
  50. pinctrl-0 = <&mmc2_pins &lbep5clwmc_pins>;
  51. vmmc-supply = <&lbep5clwmc_wlen>;
  52. bus-width = <4>;
  53. non-removable;
  54. #address-cells = <1>;
  55. #size-cells = <0>;
  56. wlcore: wlcore@2 {
  57. compatible = "ti,wl1835";
  58. reg = <2>;
  59. interrupt-parent = <&gpio5>;
  60. interrupts = <8 IRQ_TYPE_EDGE_RISING>; /* gpio 136 */
  61. };
  62. };
  63. &uart2 {
  64. bluetooth {
  65. compatible = "ti,wl1835-st";
  66. enable-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; /* gpio 137 */
  67. max-speed = <300000>;
  68. };
  69. };