omap3-beagle-xm.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. memory {
  14. device_type = "memory";
  15. reg = <0x80000000 0x20000000>; /* 512 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. sound {
  35. compatible = "ti,omap-twl4030";
  36. ti,model = "omap3beagle";
  37. ti,mcbsp = <&mcbsp2>;
  38. ti,codec = <&twl_audio>;
  39. };
  40. };
  41. &i2c1 {
  42. clock-frequency = <2600000>;
  43. twl: twl@48 {
  44. reg = <0x48>;
  45. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  46. interrupt-parent = <&intc>;
  47. twl_audio: audio {
  48. compatible = "ti,twl4030-audio";
  49. codec {
  50. };
  51. };
  52. };
  53. };
  54. /include/ "twl4030.dtsi"
  55. &i2c2 {
  56. clock-frequency = <400000>;
  57. };
  58. &i2c3 {
  59. clock-frequency = <100000>;
  60. /*
  61. * Display monitor features are burnt in the EEPROM
  62. * as EDID data.
  63. */
  64. eeprom@50 {
  65. compatible = "ti,eeprom";
  66. reg = <0x50>;
  67. };
  68. };
  69. &mmc1 {
  70. vmmc-supply = <&vmmc1>;
  71. vmmc_aux-supply = <&vsim>;
  72. bus-width = <8>;
  73. };
  74. &mmc2 {
  75. status = "disabled";
  76. };
  77. &mmc3 {
  78. status = "disabled";
  79. };
  80. &twl_gpio {
  81. ti,use-leds;
  82. /* pullups: BIT(1) */
  83. ti,pullups = <0x000002>;
  84. /*
  85. * pulldowns:
  86. * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
  87. * BIT(15), BIT(16), BIT(17)
  88. */
  89. ti,pulldowns = <0x03a1c4>;
  90. };