omap3-overo.dtsi 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. linux,default-trigger = "mmc0";
  21. };
  22. };
  23. sound {
  24. compatible = "ti,omap-twl4030";
  25. ti,model = "overo";
  26. ti,mcbsp = <&mcbsp2>;
  27. ti,codec = <&twl_audio>;
  28. };
  29. };
  30. &i2c1 {
  31. clock-frequency = <2600000>;
  32. twl: twl@48 {
  33. reg = <0x48>;
  34. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  35. interrupt-parent = <&intc>;
  36. twl_audio: audio {
  37. compatible = "ti,twl4030-audio";
  38. codec {
  39. };
  40. };
  41. };
  42. };
  43. #include "twl4030.dtsi"
  44. #include "twl4030_omap3.dtsi"
  45. /* i2c2 pins are used for gpio */
  46. &i2c2 {
  47. status = "disabled";
  48. };
  49. /* on board microSD slot */
  50. &mmc1 {
  51. vmmc-supply = <&vmmc1>;
  52. bus-width = <4>;
  53. };
  54. /* optional on board WiFi */
  55. &mmc2 {
  56. bus-width = <4>;
  57. };
  58. &twl_gpio {
  59. ti,use-leds;
  60. };
  61. &usb_otg_hs {
  62. interface-type = <0>;
  63. usb-phy = <&usb2_phy>;
  64. phys = <&usb2_phy>;
  65. phy-names = "usb2-phy";
  66. mode = <3>;
  67. power = <50>;
  68. };
  69. &omap3_pmx_core {
  70. uart3_pins: pinmux_uart3_pins {
  71. pinctrl-single,pins = <
  72. 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
  73. 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
  74. >;
  75. };
  76. };
  77. &uart3 {
  78. pinctrl-names = "default";
  79. pinctrl-0 = <&uart3_pins>;
  80. };