omap3-igep0020.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Device Tree Source for IGEPv2 Rev. C (TI OMAP AM/DM37x)
  4. *
  5. * Copyright (C) 2012 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. C (TI OMAP AM/DM37x)";
  11. compatible = "isee,omap3-igep0020", "ti,omap3630", "ti,omap36xx", "ti,omap3";
  12. vmmcsdio_fixed: fixedregulator-mmcsdio {
  13. compatible = "regulator-fixed";
  14. regulator-name = "vmmcsdio_fixed";
  15. regulator-min-microvolt = <3300000>;
  16. regulator-max-microvolt = <3300000>;
  17. };
  18. mmc2_pwrseq: mmc2_pwrseq {
  19. compatible = "mmc-pwrseq-simple";
  20. reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>, /* gpio_139 - RESET_N_W */
  21. <&gpio5 10 GPIO_ACTIVE_LOW>; /* gpio_138 - WIFI_PDN */
  22. };
  23. };
  24. &omap3_pmx_core {
  25. lbee1usjyc_pins: pinmux_lbee1usjyc_pins {
  26. pinctrl-single,pins = <
  27. OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat5.gpio_137 - RESET_N_W */
  28. OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat6.gpio_138 - WIFI_PDN */
  29. OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 - RST_N_B */
  30. >;
  31. };
  32. };
  33. /* On board Wifi module */
  34. &mmc2 {
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>;
  37. vmmc-supply = <&vmmcsdio_fixed>;
  38. mmc-pwrseq = <&mmc2_pwrseq>;
  39. bus-width = <4>;
  40. non-removable;
  41. };