omap3-beagle-xm.dts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /*
  2. * Copyright (C) 2011 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 "omap36xx.dtsi"
  10. / {
  11. model = "TI OMAP3 BeagleBoard xM";
  12. compatible = "ti,omap3-beagle-xm, 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 0x20000000>; /* 512 MB */
  21. };
  22. leds {
  23. compatible = "gpio-leds";
  24. heartbeat {
  25. label = "beagleboard::usr0";
  26. gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
  27. linux,default-trigger = "heartbeat";
  28. };
  29. mmc {
  30. label = "beagleboard::usr1";
  31. gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
  32. linux,default-trigger = "mmc0";
  33. };
  34. };
  35. pwmleds {
  36. compatible = "pwm-leds";
  37. pmu_stat {
  38. label = "beagleboard::pmu_stat";
  39. pwms = <&twl_pwmled 1 7812500>;
  40. max-brightness = <127>;
  41. };
  42. };
  43. sound {
  44. compatible = "ti,omap-twl4030";
  45. ti,model = "omap3beagle";
  46. ti,mcbsp = <&mcbsp2>;
  47. ti,codec = <&twl_audio>;
  48. };
  49. gpio_keys {
  50. compatible = "gpio-keys";
  51. user {
  52. label = "user";
  53. gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
  54. linux,code = <0x114>;
  55. gpio-key,wakeup;
  56. };
  57. };
  58. };
  59. &omap3_pmx_wkup {
  60. gpio1_pins: pinmux_gpio1_pins {
  61. pinctrl-single,pins = <
  62. 0x0e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot2.gpio_4 */
  63. >;
  64. };
  65. };
  66. &i2c1 {
  67. clock-frequency = <2600000>;
  68. twl: twl@48 {
  69. reg = <0x48>;
  70. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  71. interrupt-parent = <&intc>;
  72. twl_audio: audio {
  73. compatible = "ti,twl4030-audio";
  74. codec {
  75. };
  76. };
  77. };
  78. };
  79. #include "twl4030.dtsi"
  80. #include "twl4030_omap3.dtsi"
  81. &i2c2 {
  82. clock-frequency = <400000>;
  83. };
  84. &i2c3 {
  85. clock-frequency = <100000>;
  86. /*
  87. * Display monitor features are burnt in the EEPROM
  88. * as EDID data.
  89. */
  90. eeprom@50 {
  91. compatible = "ti,eeprom";
  92. reg = <0x50>;
  93. };
  94. };
  95. &mmc1 {
  96. vmmc-supply = <&vmmc1>;
  97. vmmc_aux-supply = <&vsim>;
  98. bus-width = <8>;
  99. };
  100. &mmc2 {
  101. status = "disabled";
  102. };
  103. &mmc3 {
  104. status = "disabled";
  105. };
  106. &twl_gpio {
  107. ti,use-leds;
  108. /* pullups: BIT(1) */
  109. ti,pullups = <0x000002>;
  110. /*
  111. * pulldowns:
  112. * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
  113. * BIT(15), BIT(16), BIT(17)
  114. */
  115. ti,pulldowns = <0x03a1c4>;
  116. };
  117. &usb_otg_hs {
  118. interface-type = <0>;
  119. usb-phy = <&usb2_phy>;
  120. mode = <3>;
  121. power = <50>;
  122. };
  123. &omap3_pmx_core {
  124. uart3_pins: pinmux_uart3_pins {
  125. pinctrl-single,pins = <
  126. 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
  127. 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx OUTPUT | MODE0 */
  128. >;
  129. };
  130. };
  131. &uart3 {
  132. pinctrl-names = "default";
  133. pinctrl-0 = <&uart3_pins>;
  134. };
  135. &gpio1 {
  136. pinctrl-names = "default";
  137. pinctrl-0 = <&gpio1_pins>;
  138. };