omap3-overo.dtsi 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. / {
  12. pwmleds {
  13. compatible = "pwm-leds";
  14. overo {
  15. label = "overo:blue:COM";
  16. pwms = <&twl_pwmled 1 7812500>;
  17. max-brightness = <127>;
  18. linux,default-trigger = "mmc0";
  19. };
  20. };
  21. sound {
  22. compatible = "ti,omap-twl4030";
  23. ti,model = "overo";
  24. ti,mcbsp = <&mcbsp2>;
  25. ti,codec = <&twl_audio>;
  26. };
  27. };
  28. &i2c1 {
  29. clock-frequency = <2600000>;
  30. twl: twl@48 {
  31. reg = <0x48>;
  32. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  33. interrupt-parent = <&intc>;
  34. twl_audio: audio {
  35. compatible = "ti,twl4030-audio";
  36. codec {
  37. };
  38. };
  39. };
  40. };
  41. #include "twl4030.dtsi"
  42. #include "twl4030_omap3.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. phys = <&usb2_phy>;
  63. phy-names = "usb2-phy";
  64. mode = <3>;
  65. power = <50>;
  66. };
  67. &omap3_pmx_core {
  68. uart3_pins: pinmux_uart3_pins {
  69. pinctrl-single,pins = <
  70. 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
  71. 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
  72. >;
  73. };
  74. };
  75. &uart3 {
  76. pinctrl-names = "default";
  77. pinctrl-0 = <&uart3_pins>;
  78. };