omap3-evm-common.dtsi 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*
  2. * Common support for omap3 EVM boards
  3. */
  4. #include "omap-gpmc-smsc911x.dtsi"
  5. / {
  6. cpus {
  7. cpu@0 {
  8. cpu0-supply = <&vcc>;
  9. };
  10. };
  11. leds {
  12. compatible = "gpio-leds";
  13. ledb {
  14. label = "omap3evm::ledb";
  15. gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
  16. linux,default-trigger = "default-on";
  17. };
  18. };
  19. wl12xx_vmmc: wl12xx_vmmc {
  20. compatible = "regulator-fixed";
  21. regulator-name = "vwl1271";
  22. regulator-min-microvolt = <1800000>;
  23. regulator-max-microvolt = <1800000>;
  24. gpio = <&gpio5 22 0>; /* gpio150 */
  25. startup-delay-us = <70000>;
  26. enable-active-high;
  27. vin-supply = <&vmmc2>;
  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. };
  37. };
  38. #include "twl4030.dtsi"
  39. #include "twl4030_omap3.dtsi"
  40. #include "omap3-panel-sharp-ls037v7dw01.dtsi"
  41. &backlight0 {
  42. gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
  43. };
  44. &twl {
  45. twl_power: power {
  46. compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
  47. ti,use_poweroff;
  48. };
  49. };
  50. &i2c2 {
  51. clock-frequency = <400000>;
  52. };
  53. &i2c3 {
  54. clock-frequency = <400000>;
  55. /*
  56. * TVP5146 Video decoder-in for analog input support.
  57. */
  58. tvp5146@5c {
  59. compatible = "ti,tvp5146m2";
  60. reg = <0x5c>;
  61. };
  62. };
  63. &lcd_3v3 {
  64. gpio = <&gpio5 25 GPIO_ACTIVE_LOW>; /* gpio153 */
  65. enable-active-low;
  66. };
  67. &lcd0 {
  68. enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */
  69. reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */
  70. mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */
  71. &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */
  72. &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */
  73. };
  74. &mcspi1 {
  75. tsc2046@0 {
  76. interrupt-parent = <&gpio6>;
  77. interrupts = <15 0>; /* gpio175 */
  78. pendown-gpio = <&gpio6 15 0>;
  79. };
  80. };
  81. &mmc1 {
  82. vmmc-supply = <&vmmc1>;
  83. vmmc_aux-supply = <&vsim>;
  84. bus-width = <8>;
  85. };
  86. &mmc2 {
  87. vmmc-supply = <&wl12xx_vmmc>;
  88. non-removable;
  89. bus-width = <4>;
  90. cap-power-off-card;
  91. };
  92. &twl_gpio {
  93. ti,use-leds;
  94. };
  95. &usb_otg_hs {
  96. interface-type = <0>;
  97. usb-phy = <&usb2_phy>;
  98. phys = <&usb2_phy>;
  99. phy-names = "usb2-phy";
  100. mode = <3>;
  101. power = <50>;
  102. };
  103. &gpmc {
  104. ethernet@gpmc {
  105. interrupt-parent = <&gpio6>;
  106. interrupts = <16 8>;
  107. reg = <5 0 0xff>;
  108. };
  109. };