omap3-sbc-t3517.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Suppport for CompuLab SBC-T3517 with CM-T3517
  4. */
  5. #include "omap3-cm-t3517.dts"
  6. #include "omap3-sb-t35.dtsi"
  7. / {
  8. model = "CompuLab SBC-T3517 with CM-T3517";
  9. compatible = "compulab,omap3-sbc-t3517", "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
  10. aliases {
  11. display0 = &dvi0;
  12. display1 = &tv0;
  13. };
  14. /* Only one GPMC smsc9220 on SBC-T3517, CM-T3517 uses am35x Ethernet */
  15. vddvario: regulator-vddvario-sb-t35 {
  16. compatible = "regulator-fixed";
  17. regulator-name = "vddvario";
  18. regulator-always-on;
  19. };
  20. vdd33a: regulator-vdd33a-sb-t35 {
  21. compatible = "regulator-fixed";
  22. regulator-name = "vdd33a";
  23. regulator-always-on;
  24. };
  25. };
  26. &omap3_pmx_core {
  27. pinctrl-names = "default";
  28. pinctrl-0 = <
  29. &sb_t35_usb_hub_pins
  30. &usb_hub_pins
  31. >;
  32. mmc1_aux_pins: pinmux_mmc1_aux_pins {
  33. pinctrl-single,pins = <
  34. OMAP3_CORE1_IOPAD(0x20c0, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_clk.gpio_59 */
  35. OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE4) /* uart2_cts.gpio_144 */
  36. >;
  37. };
  38. sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
  39. pinctrl-single,pins = <
  40. OMAP3_CORE1_IOPAD(0x21ec, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_98 - SB-T35 USB HUB RST */
  41. >;
  42. };
  43. };
  44. &mmc1 {
  45. pinctrl-names = "default";
  46. pinctrl-0 = <
  47. &mmc1_pins
  48. &mmc1_aux_pins
  49. >;
  50. wp-gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; /* gpio_59 */
  51. cd-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio_144 */
  52. };
  53. &dss {
  54. port {
  55. dpi_out: endpoint {
  56. remote-endpoint = <&tfp410_in>;
  57. data-lines = <24>;
  58. };
  59. };
  60. };
  61. &gpmc {
  62. ranges = <4 0 0x2d000000 0x01000000>, /* SB-T35 SMSC9x Eth */
  63. <0 0 0x00000000 0x01000000>; /* CM-T3x NAND */
  64. };