logicpd-torpedo-37xx-devkit.dts 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License version 2 as
  4. * published by the Free Software Foundation.
  5. */
  6. /dts-v1/;
  7. #include "omap36xx.dtsi"
  8. #include "logicpd-torpedo-som.dtsi"
  9. #include "omap-gpmc-smsc9221.dtsi"
  10. #include "logicpd-torpedo-baseboard.dtsi"
  11. / {
  12. model = "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit";
  13. compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3";
  14. wl12xx_vmmc: wl12xx_vmmc {
  15. compatible = "regulator-fixed";
  16. regulator-name = "vwl1271";
  17. regulator-min-microvolt = <1800000>;
  18. regulator-max-microvolt = <1800000>;
  19. gpio = <&gpio5 29 0>; /* gpio157 */
  20. startup-delay-us = <70000>;
  21. enable-active-high;
  22. vin-supply = <&vmmc2>;
  23. };
  24. };
  25. /*
  26. * Only found on the wireless SOM. For the SOM without wireless, the pins for
  27. * MMC3 can be routed with jumpers to the second MMC slot on the devkit and
  28. * gpio157 is not connected. So this should be OK to keep common for now,
  29. * probably device tree overlays is the way to go with the various SOM and
  30. * jumpering combinations for the long run.
  31. */
  32. &mmc3 {
  33. interrupts-extended = <&intc 94 &omap3_pmx_core 0x136>;
  34. pinctrl-0 = <&mmc3_pins &mmc3_core2_pins>;
  35. pinctrl-names = "default";
  36. vmmc-supply = <&wl12xx_vmmc>;
  37. non-removable;
  38. bus-width = <4>;
  39. cap-power-off-card;
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. wlcore: wlcore@2 {
  43. compatible = "ti,wl1283";
  44. reg = <2>;
  45. interrupt-parent = <&gpio5>;
  46. interrupts = <24 IRQ_TYPE_EDGE_RISING>; /* gpio 152 */
  47. ref-clock-frequency = <26000000>;
  48. tcxo-clock-frequency = <26000000>;
  49. };
  50. };
  51. &omap3_pmx_core {
  52. mmc3_pins: pinmux_mm3_pins {
  53. pinctrl-single,pins = <
  54. OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat4.sdmmc3_dat0 */
  55. OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */
  56. OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */
  57. OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */
  58. OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */
  59. OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_fsr.gpio_157 */
  60. >;
  61. };
  62. };
  63. &omap3_pmx_core2 {
  64. mmc3_core2_pins: pinmux_mmc3_core2_pins {
  65. pinctrl-single,pins = <
  66. OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */
  67. OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_ctl.sdmmc3_cmd */
  68. >;
  69. };
  70. };