omap3-igep.dtsi 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /*
  2. * Device Tree Source for IGEP Technology devices
  3. *
  4. * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk>
  5. * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. /dts-v1/;
  12. #include "omap34xx.dtsi"
  13. / {
  14. memory {
  15. device_type = "memory";
  16. reg = <0x80000000 0x20000000>; /* 512 MB */
  17. };
  18. sound {
  19. compatible = "ti,omap-twl4030";
  20. ti,model = "igep2";
  21. ti,mcbsp = <&mcbsp2>;
  22. ti,codec = <&twl_audio>;
  23. };
  24. };
  25. &omap3_pmx_core {
  26. uart1_pins: pinmux_uart1_pins {
  27. pinctrl-single,pins = <
  28. 0x152 (PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
  29. 0x14c (PIN_OUTPUT |MUX_MODE0) /* uart1_tx.uart1_tx */
  30. >;
  31. };
  32. uart2_pins: pinmux_uart2_pins {
  33. pinctrl-single,pins = <
  34. 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
  35. 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
  36. >;
  37. };
  38. uart3_pins: pinmux_uart3_pins {
  39. pinctrl-single,pins = <
  40. 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
  41. 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
  42. >;
  43. };
  44. mcbsp2_pins: pinmux_mcbsp2_pins {
  45. pinctrl-single,pins = <
  46. 0x10c (PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */
  47. 0x10e (PIN_INPUT | MUX_MODE0) /* mcbsp2_clkx.mcbsp2_clkx */
  48. 0x110 (PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2.dr */
  49. 0x112 (PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dx.mcbsp2_dx */
  50. >;
  51. };
  52. mmc1_pins: pinmux_mmc1_pins {
  53. pinctrl-single,pins = <
  54. 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
  55. 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
  56. 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
  57. 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
  58. 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
  59. 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
  60. >;
  61. };
  62. smsc911x_pins: pinmux_smsc911x_pins {
  63. pinctrl-single,pins = <
  64. 0x1a2 (PIN_INPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */
  65. >;
  66. };
  67. leds_pins: pinmux_leds_pins { };
  68. };
  69. &i2c1 {
  70. clock-frequency = <2600000>;
  71. twl: twl@48 {
  72. reg = <0x48>;
  73. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  74. interrupt-parent = <&intc>;
  75. twl_audio: audio {
  76. compatible = "ti,twl4030-audio";
  77. codec {
  78. };
  79. };
  80. };
  81. };
  82. #include "twl4030.dtsi"
  83. #include "twl4030_omap3.dtsi"
  84. &i2c2 {
  85. clock-frequency = <400000>;
  86. };
  87. &mcbsp2 {
  88. pinctrl-names = "default";
  89. pinctrl-0 = <&mcbsp2_pins>;
  90. };
  91. &mmc1 {
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&mmc1_pins>;
  94. vmmc-supply = <&vmmc1>;
  95. vmmc_aux-supply = <&vsim>;
  96. bus-width = <4>;
  97. };
  98. &mmc2 {
  99. status = "disabled";
  100. };
  101. &mmc3 {
  102. status = "disabled";
  103. };
  104. &uart1 {
  105. pinctrl-names = "default";
  106. pinctrl-0 = <&uart1_pins>;
  107. };
  108. &uart2 {
  109. pinctrl-names = "default";
  110. pinctrl-0 = <&uart2_pins>;
  111. };
  112. &uart3 {
  113. pinctrl-names = "default";
  114. pinctrl-0 = <&uart3_pins>;
  115. };
  116. &twl_gpio {
  117. ti,use-leds;
  118. };
  119. &usb_otg_hs {
  120. interface-type = <0>;
  121. usb-phy = <&usb2_phy>;
  122. phys = <&usb2_phy>;
  123. phy-names = "usb2-phy";
  124. mode = <3>;
  125. power = <50>;
  126. };