omap3-igep0030.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. * Device Tree Source for IGEP COM Module
  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";
  14. compatible = "isee,omap3-igep0030", "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. &leds_pins {
  42. pinctrl-single,pins = <
  43. 0x5b0 (PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */
  44. >;
  45. };
  46. &gpmc {
  47. ranges = <0 0 0x00000000 0x20000000>;
  48. nand@0,0 {
  49. linux,mtd-name= "micron,mt29c4g96maz";
  50. reg = <0 0 0>;
  51. nand-bus-width = <16>;
  52. ti,nand-ecc-opt = "bch8";
  53. gpmc,sync-clk-ps = <0>;
  54. gpmc,cs-on-ns = <0>;
  55. gpmc,cs-rd-off-ns = <44>;
  56. gpmc,cs-wr-off-ns = <44>;
  57. gpmc,adv-on-ns = <6>;
  58. gpmc,adv-rd-off-ns = <34>;
  59. gpmc,adv-wr-off-ns = <44>;
  60. gpmc,we-off-ns = <40>;
  61. gpmc,oe-off-ns = <54>;
  62. gpmc,access-ns = <64>;
  63. gpmc,rd-cycle-ns = <82>;
  64. gpmc,wr-cycle-ns = <82>;
  65. gpmc,wr-access-ns = <40>;
  66. gpmc,wr-data-mux-bus-ns = <0>;
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. partition@0 {
  70. label = "SPL";
  71. reg = <0 0x100000>;
  72. };
  73. partition@80000 {
  74. label = "U-Boot";
  75. reg = <0x100000 0x180000>;
  76. };
  77. partition@1c0000 {
  78. label = "Environment";
  79. reg = <0x280000 0x100000>;
  80. };
  81. partition@280000 {
  82. label = "Kernel";
  83. reg = <0x380000 0x300000>;
  84. };
  85. partition@780000 {
  86. label = "Filesystem";
  87. reg = <0x680000 0x1f980000>;
  88. };
  89. };
  90. };