omap2420-n8x0-common.dtsi 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #include "omap2420.dtsi"
  2. / {
  3. memory {
  4. device_type = "memory";
  5. reg = <0x80000000 0x8000000>; /* 128 MB */
  6. };
  7. ocp {
  8. i2c@0 {
  9. compatible = "i2c-cbus-gpio";
  10. gpios = <&gpio3 2 0 /* gpio66 clk */
  11. &gpio3 1 0 /* gpio65 dat */
  12. &gpio3 0 0 /* gpio64 sel */
  13. >;
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. retu_mfd: retu@1 {
  17. compatible = "retu-mfd";
  18. interrupt-parent = <&gpio4>;
  19. interrupts = <12 IRQ_TYPE_EDGE_RISING>;
  20. reg = <0x1>;
  21. };
  22. };
  23. };
  24. };
  25. &i2c1 {
  26. clock-frequency = <400000>;
  27. pmic@72 {
  28. compatible = "menelaus";
  29. reg = <0x72>;
  30. interrupts = <7 IRQ_TYPE_EDGE_RISING>;
  31. };
  32. };
  33. &i2c2 {
  34. clock-frequency = <400000>;
  35. };
  36. &gpmc {
  37. ranges = <0 0 0x04000000 0x10000000>;
  38. /* gpio-irq for dma: 26 */
  39. onenand@0,0 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. reg = <0 0 0x10000000>;
  43. gpmc,sync-read;
  44. gpmc,burst-length = <16>;
  45. gpmc,burst-read;
  46. gpmc,burst-wrap;
  47. gpmc,device-width = <2>;
  48. gpmc,mux-add-data = <2>;
  49. gpmc,cs-on-ns = <0>;
  50. gpmc,cs-rd-off-ns = <127>;
  51. gpmc,cs-wr-off-ns = <109>;
  52. gpmc,adv-on-ns = <0>;
  53. gpmc,adv-rd-off-ns = <18>;
  54. gpmc,adv-wr-off-ns = <18>;
  55. gpmc,oe-on-ns = <27>;
  56. gpmc,oe-off-ns = <127>;
  57. gpmc,we-on-ns = <27>;
  58. gpmc,we-off-ns = <72>;
  59. gpmc,rd-cycle-ns = <145>;
  60. gpmc,wr-cycle-ns = <136>;
  61. gpmc,access-ns = <118>;
  62. gpmc,page-burst-access-ns = <27>;
  63. gpmc,bus-turnaround-ns = <0>;
  64. gpmc,cycle2cycle-delay-ns = <0>;
  65. gpmc,wait-monitoring-ns = <0>;
  66. gpmc,clk-activation-ns = <9>;
  67. gpmc,sync-clk-ps = <27000>;
  68. /* MTD partition table corresponding to old board-n8x0 file. */
  69. partition@0 {
  70. label = "bootloader";
  71. reg = <0x00000000 0x00020000>;
  72. read-only;
  73. };
  74. partition@1 {
  75. label = "config";
  76. reg = <0x00020000 0x00060000>;
  77. };
  78. partition@2 {
  79. label = "kernel";
  80. reg = <0x00080000 0x00200000>;
  81. };
  82. partition@3 {
  83. label = "initfs";
  84. reg = <0x00280000 0x00400000>;
  85. };
  86. partition@4 {
  87. label = "rootfs";
  88. reg = <0x00680000 0x0f980000>;
  89. };
  90. partition@5 {
  91. label = "omap2-onenand";
  92. reg = <0x00000000 0x10000000>;
  93. };
  94. };
  95. };