omap3-beagle.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*
  2. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. /include/ "omap3.dtsi"
  10. / {
  11. model = "TI OMAP3 BeagleBoard";
  12. compatible = "ti,omap3-beagle", "ti,omap3";
  13. memory {
  14. device_type = "memory";
  15. reg = <0x80000000 0x10000000>; /* 256 MB */
  16. };
  17. leds {
  18. compatible = "gpio-leds";
  19. pmu_stat {
  20. label = "beagleboard::pmu_stat";
  21. gpios = <&twl_gpio 19 0>; /* LEDB */
  22. };
  23. heartbeat {
  24. label = "beagleboard::usr0";
  25. gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
  26. linux,default-trigger = "heartbeat";
  27. };
  28. mmc {
  29. label = "beagleboard::usr1";
  30. gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
  31. linux,default-trigger = "mmc0";
  32. };
  33. };
  34. /* HS USB Port 2 RESET */
  35. hsusb2_reset: hsusb2_reset_reg {
  36. compatible = "regulator-fixed";
  37. regulator-name = "hsusb2_reset";
  38. regulator-min-microvolt = <3300000>;
  39. regulator-max-microvolt = <3300000>;
  40. gpio = <&gpio5 19 0>; /* gpio_147 */
  41. startup-delay-us = <70000>;
  42. enable-active-high;
  43. };
  44. /* HS USB Port 2 Power */
  45. hsusb2_power: hsusb2_power_reg {
  46. compatible = "regulator-fixed";
  47. regulator-name = "hsusb2_vbus";
  48. regulator-min-microvolt = <3300000>;
  49. regulator-max-microvolt = <3300000>;
  50. gpio = <&twl_gpio 18 0>; /* GPIO LEDA */
  51. startup-delay-us = <70000>;
  52. };
  53. /* HS USB Host PHY on PORT 2 */
  54. hsusb2_phy: hsusb2_phy {
  55. compatible = "usb-nop-xceiv";
  56. reset-supply = <&hsusb2_reset>;
  57. vcc-supply = <&hsusb2_power>;
  58. };
  59. };
  60. &omap3_pmx_core {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <
  63. &hsusbb2_pins
  64. >;
  65. hsusbb2_pins: pinmux_hsusbb2_pins {
  66. pinctrl-single,pins = <
  67. 0x5c0 0x3 /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_clk OUTPUT */
  68. 0x5c2 0x3 /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_stp OUTPUT */
  69. 0x5c4 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dir INPUT | PULLDOWN */
  70. 0x5c6 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_nxt INPUT | PULLDOWN */
  71. 0x5c8 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat0 INPUT | PULLDOWN */
  72. 0x5cA 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat1 INPUT | PULLDOWN */
  73. 0x1a4 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat2 INPUT | PULLDOWN */
  74. 0x1a6 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat3 INPUT | PULLDOWN */
  75. 0x1a8 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat4 INPUT | PULLDOWN */
  76. 0x1aa 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat5 INPUT | PULLDOWN */
  77. 0x1ac 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat6 INPUT | PULLDOWN */
  78. 0x1ae 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat7 INPUT | PULLDOWN */
  79. >;
  80. };
  81. };
  82. &i2c1 {
  83. clock-frequency = <2600000>;
  84. twl: twl@48 {
  85. reg = <0x48>;
  86. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  87. interrupt-parent = <&intc>;
  88. };
  89. };
  90. /include/ "twl4030.dtsi"
  91. &mmc1 {
  92. vmmc-supply = <&vmmc1>;
  93. vmmc_aux-supply = <&vsim>;
  94. bus-width = <8>;
  95. };
  96. &mmc2 {
  97. status = "disabled";
  98. };
  99. &mmc3 {
  100. status = "disabled";
  101. };
  102. &usbhshost {
  103. port2-mode = "ehci-phy";
  104. };
  105. &usbhsehci {
  106. phys = <0 &hsusb2_phy>;
  107. };
  108. &twl_gpio {
  109. ti,use-leds;
  110. /* pullups: BIT(1) */
  111. ti,pullups = <0x000002>;
  112. /*
  113. * pulldowns:
  114. * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
  115. * BIT(15), BIT(16), BIT(17)
  116. */
  117. ti,pulldowns = <0x03a1c4>;
  118. };