omap3-igep0020.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /*
  2. * Device Tree Source for IGEPv2 board
  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. #include "omap3-igep.dtsi"
  12. / {
  13. model = "IGEPv2";
  14. compatible = "isee,omap3-igep0020", "ti,omap3";
  15. leds {
  16. pinctrl-names = "default";
  17. pinctrl-0 = <&leds_pins>;
  18. compatible = "gpio-leds";
  19. boot {
  20. label = "omap3:green:boot";
  21. gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
  22. default-state = "on";
  23. };
  24. user0 {
  25. label = "omap3:red:user0";
  26. gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
  27. default-state = "off";
  28. };
  29. user1 {
  30. label = "omap3:red:user1";
  31. gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
  32. default-state = "off";
  33. };
  34. user2 {
  35. label = "omap3:green:user1";
  36. gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>;
  37. };
  38. };
  39. vddvario: regulator-vddvario {
  40. compatible = "regulator-fixed";
  41. regulator-name = "vddvario";
  42. regulator-always-on;
  43. };
  44. vdd33a: regulator-vdd33a {
  45. compatible = "regulator-fixed";
  46. regulator-name = "vdd33a";
  47. regulator-always-on;
  48. };
  49. };
  50. &leds_pins {
  51. pinctrl-single,pins = <
  52. 0x5c4 (PIN_OUTPUT | MUX_MODE4) /* etk_d12.gpio_26 */
  53. 0x5c6 (PIN_OUTPUT | MUX_MODE4) /* etk_d13.gpio_27 */
  54. 0x5c8 (PIN_OUTPUT | MUX_MODE4) /* etk_d14.gpio_28 */
  55. >;
  56. };
  57. &i2c3 {
  58. clock-frequency = <100000>;
  59. /*
  60. * Display monitor features are burnt in the EEPROM
  61. * as EDID data.
  62. */
  63. eeprom@50 {
  64. compatible = "ti,eeprom";
  65. reg = <0x50>;
  66. };
  67. };
  68. &gpmc {
  69. ranges = <0 0 0x00000000 0x20000000>,
  70. <5 0 0x2c000000 0x01000000>;
  71. nand@0,0 {
  72. linux,mtd-name= "micron,mt29c4g96maz";
  73. reg = <0 0 0>;
  74. nand-bus-width = <16>;
  75. ti,nand-ecc-opt = "bch8";
  76. gpmc,sync-clk-ps = <0>;
  77. gpmc,cs-on-ns = <0>;
  78. gpmc,cs-rd-off-ns = <44>;
  79. gpmc,cs-wr-off-ns = <44>;
  80. gpmc,adv-on-ns = <6>;
  81. gpmc,adv-rd-off-ns = <34>;
  82. gpmc,adv-wr-off-ns = <44>;
  83. gpmc,we-off-ns = <40>;
  84. gpmc,oe-off-ns = <54>;
  85. gpmc,access-ns = <64>;
  86. gpmc,rd-cycle-ns = <82>;
  87. gpmc,wr-cycle-ns = <82>;
  88. gpmc,wr-access-ns = <40>;
  89. gpmc,wr-data-mux-bus-ns = <0>;
  90. #address-cells = <1>;
  91. #size-cells = <1>;
  92. partition@0 {
  93. label = "SPL";
  94. reg = <0 0x100000>;
  95. };
  96. partition@0x80000 {
  97. label = "U-Boot";
  98. reg = <0x100000 0x180000>;
  99. };
  100. partition@0x1c0000 {
  101. label = "Environment";
  102. reg = <0x280000 0x100000>;
  103. };
  104. partition@0x280000 {
  105. label = "Kernel";
  106. reg = <0x380000 0x300000>;
  107. };
  108. partition@0x780000 {
  109. label = "Filesystem";
  110. reg = <0x680000 0x1f980000>;
  111. };
  112. };
  113. ethernet@5,0 {
  114. pinctrl-names = "default";
  115. pinctrl-0 = <&smsc911x_pins>;
  116. compatible = "smsc,lan9221", "smsc,lan9115";
  117. reg = <5 0 0xff>;
  118. bank-width = <2>;
  119. gpmc,mux-add-data;
  120. gpmc,cs-on-ns = <0>;
  121. gpmc,cs-rd-off-ns = <186>;
  122. gpmc,cs-wr-off-ns = <186>;
  123. gpmc,adv-on-ns = <12>;
  124. gpmc,adv-rd-off-ns = <48>;
  125. gpmc,adv-wr-off-ns = <48>;
  126. gpmc,oe-on-ns = <54>;
  127. gpmc,oe-off-ns = <168>;
  128. gpmc,we-on-ns = <54>;
  129. gpmc,we-off-ns = <168>;
  130. gpmc,rd-cycle-ns = <186>;
  131. gpmc,wr-cycle-ns = <186>;
  132. gpmc,access-ns = <114>;
  133. gpmc,page-burst-access-ns = <6>;
  134. gpmc,bus-turnaround-ns = <12>;
  135. gpmc,cycle2cycle-delay-ns = <18>;
  136. gpmc,wr-data-mux-bus-ns = <90>;
  137. gpmc,wr-access-ns = <186>;
  138. gpmc,cycle2cycle-samecsen;
  139. gpmc,cycle2cycle-diffcsen;
  140. interrupt-parent = <&gpio6>;
  141. interrupts = <16 8>;
  142. vmmc-supply = <&vddvario>;
  143. vmmc_aux-supply = <&vdd33a>;
  144. reg-io-width = <4>;
  145. smsc,save-mac-address;
  146. };
  147. };