omap3-beagle.dts 3.4 KB

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