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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /dts-v1/;
  3. #include "omap36xx.dtsi"
  4. #include "logicpd-torpedo-som.dtsi"
  5. #include "omap-gpmc-smsc9221.dtsi"
  6. #include "logicpd-torpedo-baseboard.dtsi"
  7. / {
  8. model = "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit";
  9. compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3";
  10. wl12xx_vmmc: wl12xx_vmmc {
  11. compatible = "regulator-fixed";
  12. regulator-name = "vwl1271";
  13. regulator-min-microvolt = <1800000>;
  14. regulator-max-microvolt = <1800000>;
  15. gpio = <&gpio5 29 0>; /* gpio157 */
  16. startup-delay-us = <70000>;
  17. enable-active-high;
  18. vin-supply = <&vmmc2>;
  19. };
  20. };
  21. /*
  22. * Only found on the wireless SOM. For the SOM without wireless, the pins for
  23. * MMC3 can be routed with jumpers to the second MMC slot on the devkit and
  24. * gpio157 is not connected. So this should be OK to keep common for now,
  25. * probably device tree overlays is the way to go with the various SOM and
  26. * jumpering combinations for the long run.
  27. */
  28. &mmc3 {
  29. interrupts-extended = <&intc 94 &omap3_pmx_core 0x136>;
  30. pinctrl-0 = <&mmc3_pins &mmc3_core2_pins>;
  31. pinctrl-names = "default";
  32. vmmc-supply = <&wl12xx_vmmc>;
  33. non-removable;
  34. bus-width = <4>;
  35. cap-power-off-card;
  36. #address-cells = <1>;
  37. #size-cells = <0>;
  38. wlcore: wlcore@2 {
  39. compatible = "ti,wl1283";
  40. reg = <2>;
  41. interrupt-parent = <&gpio5>;
  42. interrupts = <24 IRQ_TYPE_EDGE_RISING>; /* gpio 152 */
  43. ref-clock-frequency = <26000000>;
  44. tcxo-clock-frequency = <26000000>;
  45. };
  46. };
  47. &uart2 {
  48. /delete-property/dma-names;
  49. bluetooth {
  50. compatible = "ti,wl1283-st";
  51. enable-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; /* gpio 162 */
  52. max-speed = <3000000>;
  53. };
  54. };
  55. /* The DM3730 has a faster L3 than OMAP35, so increase pixel clock */
  56. &mt9p031_out {
  57. pixel-clock-frequency = <90000000>;
  58. };
  59. &omap3_pmx_core {
  60. mmc3_pins: pinmux_mm3_pins {
  61. pinctrl-single,pins = <
  62. OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat4.sdmmc3_dat0 */
  63. OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */
  64. OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */
  65. OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */
  66. OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */
  67. OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_fsr.gpio_157 */
  68. >;
  69. };
  70. };
  71. &omap3_pmx_core2 {
  72. mmc3_core2_pins: pinmux_mmc3_core2_pins {
  73. pinctrl-single,pins = <
  74. OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */
  75. OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_ctl.sdmmc3_cmd */
  76. >;
  77. };
  78. };
  79. /* The gpio muxing between omap3530 and dm3730 is different for GPIO_128 */
  80. &omap3_pmx_wkup {
  81. isp1763_pins: pinmux_isp1763_pins {
  82. pinctrl-single,pins = <
  83. OMAP3_WKUP_IOPAD(0x2a58, PIN_INPUT_PULLUP | MUX_MODE4) /* reserved.gpio_128 */
  84. >;
  85. };
  86. };