omap3-overo.dtsi 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. 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. };