omap3-evm-37xx.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /*
  2. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  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. /dts-v1/;
  9. #include "omap36xx.dtsi"
  10. #include "omap3-evm-common.dtsi"
  11. / {
  12. model = "TI OMAP37XX EVM (TMDSEVM3730)";
  13. compatible = "ti,omap3-evm-37xx", "ti,omap36xx";
  14. memory {
  15. device_type = "memory";
  16. reg = <0x80000000 0x10000000>; /* 256 MB */
  17. };
  18. wl12xx_vmmc: wl12xx_vmmc {
  19. pinctrl-names = "default";
  20. pinctrl-0 = <&wl12xx_gpio>;
  21. };
  22. };
  23. &omap3_pmx_core {
  24. mmc1_pins: pinmux_mmc1_pins {
  25. pinctrl-single,pins = <
  26. 0x114 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
  27. 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
  28. 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
  29. 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
  30. 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
  31. 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
  32. 0x120 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat4.sdmmc1_dat4 */
  33. 0x122 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat5.sdmmc1_dat5 */
  34. 0x124 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat6.sdmmc1_dat6 */
  35. 0x126 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat7.sdmmc1_dat7 */
  36. >;
  37. };
  38. /* NOTE: Clocked externally, needs INPUT also for sdmmc2_clk.sdmmc2_clk */
  39. mmc2_pins: pinmux_mmc2_pins {
  40. pinctrl-single,pins = <
  41. 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
  42. 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
  43. 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
  44. 0x12e (WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
  45. 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
  46. 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
  47. >;
  48. };
  49. uart3_pins: pinmux_uart3_pins {
  50. pinctrl-single,pins = <
  51. 0x16e (WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
  52. 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
  53. >;
  54. };
  55. wl12xx_gpio: pinmux_wl12xx_gpio {
  56. pinctrl-single,pins = <
  57. 0x150 (PIN_OUTPUT | MUX_MODE4) /* uart1_cts.gpio_150 */
  58. 0x14e (PIN_INPUT | MUX_MODE4) /* uart1_rts.gpio_149 */
  59. >;
  60. };
  61. smsc911x_pins: pinmux_smsc911x_pins {
  62. pinctrl-single,pins = <
  63. 0x1a2 (PIN_INPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */
  64. >;
  65. };
  66. };
  67. &mmc1 {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&mmc1_pins>;
  70. };
  71. &mmc2 {
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&mmc2_pins>;
  74. };
  75. &mmc3 {
  76. status = "disabled";
  77. };
  78. &uart3 {
  79. pinctrl-names = "default";
  80. pinctrl-0 = <&uart3_pins>;
  81. };
  82. &gpmc {
  83. ranges = <0 0 0x00000000 0x20000000>,
  84. <5 0 0x2c000000 0x01000000>;
  85. nand@0,0 {
  86. linux,mtd-name= "hynix,h8kds0un0mer-4em";
  87. reg = <0 0 0>;
  88. nand-bus-width = <16>;
  89. ti,nand-ecc-opt = "bch8";
  90. gpmc,sync-clk-ps = <0>;
  91. gpmc,cs-on-ns = <0>;
  92. gpmc,cs-rd-off-ns = <44>;
  93. gpmc,cs-wr-off-ns = <44>;
  94. gpmc,adv-on-ns = <6>;
  95. gpmc,adv-rd-off-ns = <34>;
  96. gpmc,adv-wr-off-ns = <44>;
  97. gpmc,we-off-ns = <40>;
  98. gpmc,oe-off-ns = <54>;
  99. gpmc,access-ns = <64>;
  100. gpmc,rd-cycle-ns = <82>;
  101. gpmc,wr-cycle-ns = <82>;
  102. gpmc,wr-access-ns = <40>;
  103. gpmc,wr-data-mux-bus-ns = <0>;
  104. #address-cells = <1>;
  105. #size-cells = <1>;
  106. partition@0 {
  107. label = "X-Loader";
  108. reg = <0 0x80000>;
  109. };
  110. partition@0x80000 {
  111. label = "U-Boot";
  112. reg = <0x80000 0x1c0000>;
  113. };
  114. partition@0x1c0000 {
  115. label = "Environment";
  116. reg = <0x240000 0x40000>;
  117. };
  118. partition@0x280000 {
  119. label = "Kernel";
  120. reg = <0x280000 0x500000>;
  121. };
  122. partition@0x780000 {
  123. label = "Filesystem";
  124. reg = <0x780000 0x1f880000>;
  125. };
  126. };
  127. ethernet@gpmc {
  128. pinctrl-names = "default";
  129. pinctrl-0 = <&smsc911x_pins>;
  130. };
  131. };