omap3-beagle-xm.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. heartbeat {
  20. label = "beagleboard::usr0";
  21. gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
  22. linux,default-trigger = "heartbeat";
  23. };
  24. mmc {
  25. label = "beagleboard::usr1";
  26. gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
  27. linux,default-trigger = "mmc0";
  28. };
  29. };
  30. pwmleds {
  31. compatible = "pwm-leds";
  32. pmu_stat {
  33. label = "beagleboard::pmu_stat";
  34. pwms = <&twl_pwmled 1 7812500>;
  35. max-brightness = <127>;
  36. };
  37. };
  38. sound {
  39. compatible = "ti,omap-twl4030";
  40. ti,model = "omap3beagle";
  41. ti,mcbsp = <&mcbsp2>;
  42. ti,codec = <&twl_audio>;
  43. };
  44. };
  45. &i2c1 {
  46. clock-frequency = <2600000>;
  47. twl: twl@48 {
  48. reg = <0x48>;
  49. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  50. interrupt-parent = <&intc>;
  51. twl_audio: audio {
  52. compatible = "ti,twl4030-audio";
  53. codec {
  54. };
  55. };
  56. };
  57. };
  58. /include/ "twl4030.dtsi"
  59. &i2c2 {
  60. clock-frequency = <400000>;
  61. };
  62. &i2c3 {
  63. clock-frequency = <100000>;
  64. /*
  65. * Display monitor features are burnt in the EEPROM
  66. * as EDID data.
  67. */
  68. eeprom@50 {
  69. compatible = "ti,eeprom";
  70. reg = <0x50>;
  71. };
  72. };
  73. &mmc1 {
  74. vmmc-supply = <&vmmc1>;
  75. vmmc_aux-supply = <&vsim>;
  76. bus-width = <8>;
  77. };
  78. &mmc2 {
  79. status = "disabled";
  80. };
  81. &mmc3 {
  82. status = "disabled";
  83. };
  84. &twl_gpio {
  85. ti,use-leds;
  86. /* pullups: BIT(1) */
  87. ti,pullups = <0x000002>;
  88. /*
  89. * pulldowns:
  90. * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
  91. * BIT(15), BIT(16), BIT(17)
  92. */
  93. ti,pulldowns = <0x03a1c4>;
  94. };