dm8148-t410.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /dts-v1/;
  3. #include "dm814x.dtsi"
  4. / {
  5. model = "HP t410 Smart Zero Client";
  6. compatible = "hp,t410", "ti,dm8148", "ti,dm814";
  7. memory@80000000 {
  8. device_type = "memory";
  9. reg = <0x80000000 0x40000000>; /* 1 GB */
  10. };
  11. /* gpio9 seems to control USB VBUS regulator and/or hub power */
  12. usb_power: regulator@9 {
  13. compatible = "regulator-fixed";
  14. regulator-name = "usb_power";
  15. regulator-min-microvolt = <5000000>;
  16. regulator-max-microvolt = <5000000>;
  17. gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
  18. enable-active-high;
  19. regulator-always-on;
  20. };
  21. vmmcsd_fixed: fixedregulator0 {
  22. compatible = "regulator-fixed";
  23. regulator-name = "vmmcsd_fixed";
  24. regulator-min-microvolt = <3300000>;
  25. regulator-max-microvolt = <3300000>;
  26. };
  27. };
  28. &cpsw_emac0 {
  29. phy-handle = <&ethphy0>;
  30. phy-mode = "rgmii-id";
  31. };
  32. &cpsw_emac1 {
  33. phy-handle = <&ethphy1>;
  34. phy-mode = "rgmii-id";
  35. };
  36. &davinci_mdio {
  37. ethphy0: ethernet-phy@0 {
  38. reg = <0>;
  39. };
  40. ethphy1: ethernet-phy@1 {
  41. reg = <1>;
  42. };
  43. };
  44. &mmc1 {
  45. status = "disabled";
  46. };
  47. &mmc2 {
  48. status = "disabled";
  49. };
  50. &mmc3 {
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&sd2_pins>;
  53. vmmc-supply = <&vmmcsd_fixed>;
  54. bus-width = <8>;
  55. dmas = <&edma_xbar 8 0 1 /* use SDTXEVT1 instead of MCASP0TX */
  56. &edma_xbar 9 0 2>; /* use SDRXEVT1 instead of MCASP0RX */
  57. dma-names = "tx", "rx";
  58. non-removable;
  59. };
  60. &pincntl {
  61. sd2_pins: pinmux_sd2_pins {
  62. pinctrl-single,pins = <
  63. DM814X_IOPAD(0x09c0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[7] */
  64. DM814X_IOPAD(0x09c4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[6] */
  65. DM814X_IOPAD(0x09c8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[5] */
  66. DM814X_IOPAD(0x09cc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[4] */
  67. DM814X_IOPAD(0x09d0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[3] */
  68. DM814X_IOPAD(0x09d4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[2] */
  69. DM814X_IOPAD(0x09d8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[1] */
  70. DM814X_IOPAD(0x09dc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[0] */
  71. DM814X_IOPAD(0x09e0, PIN_INPUT | 0x1) /* SD2_CLK */
  72. DM814X_IOPAD(0x09f4, PIN_INPUT_PULLUP | 0x2) /* SD2_CMD */
  73. DM814X_IOPAD(0x0920, PIN_INPUT | 0x40) /* SD2_SDCD */
  74. >;
  75. };
  76. usb0_pins: pinmux_usb0_pins {
  77. pinctrl-single,pins = <
  78. DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */
  79. >;
  80. };
  81. usb1_pins: pinmux_usb1_pins {
  82. pinctrl-single,pins = <
  83. DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */
  84. >;
  85. };
  86. };
  87. &usb0 {
  88. pinctrl-names = "default";
  89. pinctrl-0 = <&usb0_pins>;
  90. dr_mode = "host";
  91. };
  92. &usb1 {
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&usb1_pins>;
  95. dr_mode = "host";
  96. };