omap3-igep0030.dts 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. compatible = "gpio-leds";
  17. boot {
  18. label = "omap3:green:boot";
  19. gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>;
  20. default-state = "on";
  21. };
  22. user0 {
  23. label = "omap3:red:user0";
  24. gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
  25. default-state = "off";
  26. };
  27. user1 {
  28. label = "omap3:green:user1";
  29. gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */
  30. default-state = "off";
  31. };
  32. user2 {
  33. label = "omap3:red:user1";
  34. gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
  35. default-state = "off";
  36. };
  37. };
  38. };
  39. &gpmc {
  40. ranges = <0 0 0x00000000 0x20000000>;
  41. nand@0,0 {
  42. linux,mtd-name= "micron,mt29c4g96maz";
  43. reg = <0 0 0>;
  44. nand-bus-width = <16>;
  45. ti,nand-ecc-opt = "bch8";
  46. gpmc,sync-clk-ps = <0>;
  47. gpmc,cs-on-ns = <0>;
  48. gpmc,cs-rd-off-ns = <44>;
  49. gpmc,cs-wr-off-ns = <44>;
  50. gpmc,adv-on-ns = <6>;
  51. gpmc,adv-rd-off-ns = <34>;
  52. gpmc,adv-wr-off-ns = <44>;
  53. gpmc,we-off-ns = <40>;
  54. gpmc,oe-off-ns = <54>;
  55. gpmc,access-ns = <64>;
  56. gpmc,rd-cycle-ns = <82>;
  57. gpmc,wr-cycle-ns = <82>;
  58. gpmc,wr-access-ns = <40>;
  59. gpmc,wr-data-mux-bus-ns = <0>;
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. partition@0 {
  63. label = "SPL";
  64. reg = <0 0x100000>;
  65. };
  66. partition@0x80000 {
  67. label = "U-Boot";
  68. reg = <0x100000 0x180000>;
  69. };
  70. partition@0x1c0000 {
  71. label = "Environment";
  72. reg = <0x280000 0x100000>;
  73. };
  74. partition@0x280000 {
  75. label = "Kernel";
  76. reg = <0x380000 0x300000>;
  77. };
  78. partition@0x780000 {
  79. label = "Filesystem";
  80. reg = <0x680000 0x1f980000>;
  81. };
  82. };
  83. };