dm8148-t410.dts 2.5 KB

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