omap3-igep0030.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. * Device Tree Source for IGEP COM MODULE (TI OMAP AM/DM37x)
  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 = "IGEP COM MODULE (TI OMAP AM/DM37x)";
  14. compatible = "isee,omap3-igep0030", "ti,omap36xx", "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 = <&twl_gpio 13 GPIO_ACTIVE_LOW>;
  22. default-state = "on";
  23. };
  24. user0 {
  25. label = "omap3:red:user0";
  26. gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
  27. default-state = "off";
  28. };
  29. user1 {
  30. label = "omap3:green:user1";
  31. gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */
  32. default-state = "off";
  33. };
  34. user2 {
  35. label = "omap3:red:user1";
  36. gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
  37. default-state = "off";
  38. };
  39. };
  40. };
  41. &omap3_pmx_core2 {
  42. leds_pins: pinmux_leds_pins {
  43. pinctrl-single,pins = <
  44. OMAP3630_CORE2_IOPAD(0x25e0, PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */
  45. >;
  46. };
  47. };
  48. &gpmc {
  49. ranges = <0 0 0x00000000 0x20000000>;
  50. nand@0,0 {
  51. linux,mtd-name= "micron,mt29c4g96maz";
  52. reg = <0 0 0>;
  53. nand-bus-width = <16>;
  54. ti,nand-ecc-opt = "bch8";
  55. gpmc,sync-clk-ps = <0>;
  56. gpmc,cs-on-ns = <0>;
  57. gpmc,cs-rd-off-ns = <44>;
  58. gpmc,cs-wr-off-ns = <44>;
  59. gpmc,adv-on-ns = <6>;
  60. gpmc,adv-rd-off-ns = <34>;
  61. gpmc,adv-wr-off-ns = <44>;
  62. gpmc,we-off-ns = <40>;
  63. gpmc,oe-off-ns = <54>;
  64. gpmc,access-ns = <64>;
  65. gpmc,rd-cycle-ns = <82>;
  66. gpmc,wr-cycle-ns = <82>;
  67. gpmc,wr-access-ns = <40>;
  68. gpmc,wr-data-mux-bus-ns = <0>;
  69. #address-cells = <1>;
  70. #size-cells = <1>;
  71. partition@0 {
  72. label = "SPL";
  73. reg = <0 0x100000>;
  74. };
  75. partition@80000 {
  76. label = "U-Boot";
  77. reg = <0x100000 0x180000>;
  78. };
  79. partition@1c0000 {
  80. label = "Environment";
  81. reg = <0x280000 0x100000>;
  82. };
  83. partition@280000 {
  84. label = "Kernel";
  85. reg = <0x380000 0x300000>;
  86. };
  87. partition@780000 {
  88. label = "Filesystem";
  89. reg = <0x680000 0x1f980000>;
  90. };
  91. };
  92. };