omap3-cm-t3730.dts 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Support for CompuLab CM-T3730
  4. */
  5. /dts-v1/;
  6. #include "omap36xx.dtsi"
  7. #include "omap3-cm-t3x30.dtsi"
  8. / {
  9. model = "CompuLab CM-T3730";
  10. compatible = "compulab,omap3-cm-t3730", "ti,omap3630", "ti,omap36xx", "ti,omap3";
  11. wl12xx_vmmc2: wl12xx_vmmc2 {
  12. compatible = "regulator-fixed";
  13. regulator-name = "vw1271";
  14. pinctrl-names = "default";
  15. pinctrl-0 = <&wl12xx_gpio>;
  16. regulator-min-microvolt = <1800000>;
  17. regulator-max-microvolt = <1800000>;
  18. gpio = <&gpio3 9 GPIO_ACTIVE_HIGH>; /* gpio73 */
  19. startup-delay-us = <20000>;
  20. enable-active-high;
  21. };
  22. wl12xx_vaux2: wl12xx_vaux2 {
  23. compatible = "regulator-fixed";
  24. regulator-name = "vwl1271_vaux2";
  25. regulator-min-microvolt = <1800000>;
  26. regulator-max-microvolt = <1800000>;
  27. vin-supply = <&vaux2>;
  28. };
  29. };
  30. &omap3_pmx_wkup {
  31. dss_dpi_pins_cm_t3730: pinmux_dss_dpi_pins_cm_t3730 {
  32. pinctrl-single,pins = <
  33. OMAP3_WKUP_IOPAD(0x2a08, PIN_OUTPUT | MUX_MODE3) /* sys_boot0.dss_data18 */
  34. OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE3) /* sys_boot1.dss_data19 */
  35. OMAP3_WKUP_IOPAD(0x2a10, PIN_OUTPUT | MUX_MODE3) /* sys_boot3.dss_data20 */
  36. OMAP3_WKUP_IOPAD(0x2a12, PIN_OUTPUT | MUX_MODE3) /* sys_boot4.dss_data21 */
  37. OMAP3_WKUP_IOPAD(0x2a14, PIN_OUTPUT | MUX_MODE3) /* sys_boot5.dss_data22 */
  38. OMAP3_WKUP_IOPAD(0x2a16, PIN_OUTPUT | MUX_MODE3) /* sys_boot6.dss_data23 */
  39. >;
  40. };
  41. };
  42. &omap3_pmx_core {
  43. mmc2_pins: pinmux_mmc2_pins {
  44. pinctrl-single,pins = <
  45. OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
  46. OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
  47. OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
  48. OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
  49. OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
  50. OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
  51. >;
  52. };
  53. wl12xx_gpio: pinmux_wl12xx_gpio {
  54. pinctrl-single,pins = <
  55. OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4) /* dss_data3.gpio_73 */
  56. OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 */
  57. >;
  58. };
  59. };
  60. &mmc2 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&mmc2_pins>;
  63. vmmc-supply = <&wl12xx_vmmc2>;
  64. vqmmc-supply = <&wl12xx_vaux2>;
  65. non-removable;
  66. bus-width = <4>;
  67. cap-power-off-card;
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. wlcore: wlcore@2 {
  71. compatible = "ti,wl1271";
  72. reg = <2>;
  73. interrupt-parent = <&gpio5>;
  74. interrupts = <8 IRQ_TYPE_EDGE_RISING>; /* gpio 136 */
  75. ref-clock-frequency = <38400000>;
  76. };
  77. };
  78. &dss {
  79. status = "okay";
  80. pinctrl-names = "default";
  81. pinctrl-0 = <
  82. &dss_dpi_pins_common
  83. &dss_dpi_pins_cm_t3730
  84. >;
  85. };