omap2420-n8x0-common.dtsi 2.2 KB

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