omap3-overo.dtsi 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group
  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. /*
  9. * The Gumstix Overo must be combined with an expansion board.
  10. */
  11. /dts-v1/;
  12. /include/ "omap34xx.dtsi"
  13. / {
  14. pwmleds {
  15. compatible = "pwm-leds";
  16. overo {
  17. label = "overo:blue:COM";
  18. pwms = <&twl_pwmled 1 7812500>;
  19. max-brightness = <127>;
  20. };
  21. };
  22. sound {
  23. compatible = "ti,omap-twl4030";
  24. ti,model = "overo";
  25. ti,mcbsp = <&mcbsp2>;
  26. ti,codec = <&twl_audio>;
  27. };
  28. };
  29. &i2c1 {
  30. clock-frequency = <2600000>;
  31. twl: twl@48 {
  32. reg = <0x48>;
  33. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  34. interrupt-parent = <&intc>;
  35. twl_audio: audio {
  36. compatible = "ti,twl4030-audio";
  37. codec {
  38. };
  39. };
  40. };
  41. };
  42. /include/ "twl4030.dtsi"
  43. /* i2c2 pins are used for gpio */
  44. &i2c2 {
  45. status = "disabled";
  46. };
  47. /* on board microSD slot */
  48. &mmc1 {
  49. vmmc-supply = <&vmmc1>;
  50. bus-width = <4>;
  51. };
  52. /* optional on board WiFi */
  53. &mmc2 {
  54. bus-width = <4>;
  55. };
  56. &twl_gpio {
  57. ti,use-leds;
  58. };
  59. &usb_otg_hs {
  60. interface-type = <0>;
  61. usb-phy = <&usb2_phy>;
  62. mode = <3>;
  63. power = <50>;
  64. };