omap3-igep0020.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. #include "omap-gpmc-smsc911x.dtsi"
  13. / {
  14. model = "IGEPv2";
  15. compatible = "isee,omap3-igep0020", "ti,omap3";
  16. leds {
  17. pinctrl-names = "default";
  18. pinctrl-0 = <&leds_pins>;
  19. compatible = "gpio-leds";
  20. boot {
  21. label = "omap3:green:boot";
  22. gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
  23. default-state = "on";
  24. };
  25. user0 {
  26. label = "omap3:red:user0";
  27. gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
  28. default-state = "off";
  29. };
  30. user1 {
  31. label = "omap3:red:user1";
  32. gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
  33. default-state = "off";
  34. };
  35. user2 {
  36. label = "omap3:green:user1";
  37. gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>;
  38. };
  39. };
  40. /* HS USB Port 1 Power */
  41. hsusb1_power: hsusb1_power_reg {
  42. compatible = "regulator-fixed";
  43. regulator-name = "hsusb1_vbus";
  44. regulator-min-microvolt = <3300000>;
  45. regulator-max-microvolt = <3300000>;
  46. gpio = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* GPIO LEDA */
  47. startup-delay-us = <70000>;
  48. };
  49. /* HS USB Host PHY on PORT 1 */
  50. hsusb1_phy: hsusb1_phy {
  51. compatible = "usb-nop-xceiv";
  52. reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; /* gpio_24 */
  53. vcc-supply = <&hsusb1_power>;
  54. };
  55. };
  56. &omap3_pmx_core {
  57. pinctrl-names = "default";
  58. pinctrl-0 = <
  59. &hsusbb1_pins
  60. >;
  61. hsusbb1_pins: pinmux_hsusbb1_pins {
  62. pinctrl-single,pins = <
  63. 0x5aa (PIN_OUTPUT | MUX_MODE3) /* etk_ctl.hsusb1_clk */
  64. 0x5a8 (PIN_OUTPUT | MUX_MODE3) /* etk_clk.hsusb1_stp */
  65. 0x5bc (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d8.hsusb1_dir */
  66. 0x5be (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d9.hsusb1_nxt */
  67. 0x5ac (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d0.hsusb1_data0 */
  68. 0x5ae (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d1.hsusb1_data1 */
  69. 0x5b0 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d2.hsusb1_data2 */
  70. 0x5b2 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d3.hsusb1_data7 */
  71. 0x5b4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d4.hsusb1_data4 */
  72. 0x5b6 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d5.hsusb1_data5 */
  73. 0x5b8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d6.hsusb1_data6 */
  74. 0x5ba (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d7.hsusb1_data3 */
  75. >;
  76. };
  77. };
  78. &leds_pins {
  79. pinctrl-single,pins = <
  80. 0x5c4 (PIN_OUTPUT | MUX_MODE4) /* etk_d12.gpio_26 */
  81. 0x5c6 (PIN_OUTPUT | MUX_MODE4) /* etk_d13.gpio_27 */
  82. 0x5c8 (PIN_OUTPUT | MUX_MODE4) /* etk_d14.gpio_28 */
  83. >;
  84. };
  85. &i2c3 {
  86. clock-frequency = <100000>;
  87. /*
  88. * Display monitor features are burnt in the EEPROM
  89. * as EDID data.
  90. */
  91. eeprom@50 {
  92. compatible = "ti,eeprom";
  93. reg = <0x50>;
  94. };
  95. };
  96. &gpmc {
  97. ranges = <0 0 0x00000000 0x20000000>,
  98. <5 0 0x2c000000 0x01000000>;
  99. nand@0,0 {
  100. linux,mtd-name= "micron,mt29c4g96maz";
  101. reg = <0 0 0>;
  102. nand-bus-width = <16>;
  103. ti,nand-ecc-opt = "bch8";
  104. gpmc,sync-clk-ps = <0>;
  105. gpmc,cs-on-ns = <0>;
  106. gpmc,cs-rd-off-ns = <44>;
  107. gpmc,cs-wr-off-ns = <44>;
  108. gpmc,adv-on-ns = <6>;
  109. gpmc,adv-rd-off-ns = <34>;
  110. gpmc,adv-wr-off-ns = <44>;
  111. gpmc,we-off-ns = <40>;
  112. gpmc,oe-off-ns = <54>;
  113. gpmc,access-ns = <64>;
  114. gpmc,rd-cycle-ns = <82>;
  115. gpmc,wr-cycle-ns = <82>;
  116. gpmc,wr-access-ns = <40>;
  117. gpmc,wr-data-mux-bus-ns = <0>;
  118. #address-cells = <1>;
  119. #size-cells = <1>;
  120. partition@0 {
  121. label = "SPL";
  122. reg = <0 0x100000>;
  123. };
  124. partition@80000 {
  125. label = "U-Boot";
  126. reg = <0x100000 0x180000>;
  127. };
  128. partition@1c0000 {
  129. label = "Environment";
  130. reg = <0x280000 0x100000>;
  131. };
  132. partition@280000 {
  133. label = "Kernel";
  134. reg = <0x380000 0x300000>;
  135. };
  136. partition@780000 {
  137. label = "Filesystem";
  138. reg = <0x680000 0x1f980000>;
  139. };
  140. };
  141. ethernet@gpmc {
  142. pinctrl-names = "default";
  143. pinctrl-0 = <&smsc911x_pins>;
  144. reg = <5 0 0xff>;
  145. interrupt-parent = <&gpio6>;
  146. interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
  147. };
  148. };
  149. &usbhshost {
  150. port1-mode = "ehci-phy";
  151. };
  152. &usbhsehci {
  153. phys = <&hsusb1_phy>;
  154. };