omap3-igep0020-rev-f.dts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Device Tree Source for IGEPv2 Rev. F (TI OMAP AM/DM37x)
  4. *
  5. * Copyright (C) Javier Martinez Canillas <[email protected]>
  6. * Copyright (C) 2012 Enric Balletbo i Serra <[email protected]>
  7. */
  8. #include "omap3-igep0020-common.dtsi"
  9. / {
  10. model = "IGEPv2 Rev. F (TI OMAP AM/DM37x)";
  11. compatible = "isee,omap3-igep0020-rev-f", "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(0x21d4, PIN_INPUT | MUX_MODE4) /* mcspi1_cs3.gpio_177 - 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. };
  31. &mmc2 {
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&mmc2_pins &lbep5clwmc_pins>;
  34. vmmc-supply = <&lbep5clwmc_wlen>;
  35. bus-width = <4>;
  36. non-removable;
  37. #address-cells = <1>;
  38. #size-cells = <0>;
  39. wlcore: wlcore@2 {
  40. compatible = "ti,wl1835";
  41. reg = <2>;
  42. interrupt-parent = <&gpio6>;
  43. interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* gpio 177 */
  44. };
  45. };
  46. &uart2 {
  47. bluetooth {
  48. compatible = "ti,wl1835-st";
  49. enable-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; /* gpio 137 */
  50. max-speed = <300000>;
  51. };
  52. };