spear600.dtsi 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /*
  2. * Copyright 2012 Stefan Roese <sr@denx.de>
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /include/ "skeleton.dtsi"
  12. / {
  13. compatible = "st,spear600";
  14. cpus {
  15. cpu@0 {
  16. compatible = "arm,arm926ejs";
  17. };
  18. };
  19. memory {
  20. device_type = "memory";
  21. reg = <0 0x40000000>;
  22. };
  23. ahb {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. compatible = "simple-bus";
  27. ranges = <0xd0000000 0xd0000000 0x30000000>;
  28. vic0: interrupt-controller@f1100000 {
  29. compatible = "arm,pl190-vic";
  30. interrupt-controller;
  31. reg = <0xf1100000 0x1000>;
  32. #interrupt-cells = <1>;
  33. };
  34. vic1: interrupt-controller@f1000000 {
  35. compatible = "arm,pl190-vic";
  36. interrupt-controller;
  37. reg = <0xf1000000 0x1000>;
  38. #interrupt-cells = <1>;
  39. };
  40. gmac: ethernet@e0800000 {
  41. compatible = "st,spear600-gmac";
  42. reg = <0xe0800000 0x8000>;
  43. interrupt-parent = <&vic1>;
  44. interrupts = <24 23>;
  45. interrupt-names = "macirq", "eth_wake_irq";
  46. status = "disabled";
  47. };
  48. fsmc: flash@d1800000 {
  49. compatible = "st,spear600-fsmc-nand";
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. reg = <0xd1800000 0x1000 /* FSMC Register */
  53. 0xd2000000 0x4000>; /* NAND Base */
  54. reg-names = "fsmc_regs", "nand_data";
  55. st,ale-off = <0x20000>;
  56. st,cle-off = <0x10000>;
  57. status = "disabled";
  58. };
  59. smi: flash@fc000000 {
  60. compatible = "st,spear600-smi";
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. reg = <0xfc000000 0x1000>;
  64. interrupt-parent = <&vic1>;
  65. interrupts = <12>;
  66. status = "disabled";
  67. };
  68. ehci@e1800000 {
  69. compatible = "st,spear600-ehci", "usb-ehci";
  70. reg = <0xe1800000 0x1000>;
  71. interrupt-parent = <&vic1>;
  72. interrupts = <27>;
  73. status = "disabled";
  74. };
  75. ehci@e2000000 {
  76. compatible = "st,spear600-ehci", "usb-ehci";
  77. reg = <0xe2000000 0x1000>;
  78. interrupt-parent = <&vic1>;
  79. interrupts = <29>;
  80. status = "disabled";
  81. };
  82. ohci@e1900000 {
  83. compatible = "st,spear600-ohci", "usb-ohci";
  84. reg = <0xe1900000 0x1000>;
  85. interrupt-parent = <&vic1>;
  86. interrupts = <26>;
  87. status = "disabled";
  88. };
  89. ohci@e2100000 {
  90. compatible = "st,spear600-ohci", "usb-ohci";
  91. reg = <0xe2100000 0x1000>;
  92. interrupt-parent = <&vic1>;
  93. interrupts = <28>;
  94. status = "disabled";
  95. };
  96. apb {
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. compatible = "simple-bus";
  100. ranges = <0xd0000000 0xd0000000 0x30000000>;
  101. serial@d0000000 {
  102. compatible = "arm,pl011", "arm,primecell";
  103. reg = <0xd0000000 0x1000>;
  104. interrupt-parent = <&vic0>;
  105. interrupts = <24>;
  106. status = "disabled";
  107. };
  108. serial@d0080000 {
  109. compatible = "arm,pl011", "arm,primecell";
  110. reg = <0xd0080000 0x1000>;
  111. interrupt-parent = <&vic0>;
  112. interrupts = <25>;
  113. status = "disabled";
  114. };
  115. /* local/cpu GPIO */
  116. gpio0: gpio@f0100000 {
  117. #gpio-cells = <2>;
  118. compatible = "arm,pl061", "arm,primecell";
  119. gpio-controller;
  120. reg = <0xf0100000 0x1000>;
  121. interrupt-parent = <&vic0>;
  122. interrupts = <18>;
  123. };
  124. /* basic GPIO */
  125. gpio1: gpio@fc980000 {
  126. #gpio-cells = <2>;
  127. compatible = "arm,pl061", "arm,primecell";
  128. gpio-controller;
  129. reg = <0xfc980000 0x1000>;
  130. interrupt-parent = <&vic1>;
  131. interrupts = <19>;
  132. };
  133. /* appl GPIO */
  134. gpio2: gpio@d8100000 {
  135. #gpio-cells = <2>;
  136. compatible = "arm,pl061", "arm,primecell";
  137. gpio-controller;
  138. reg = <0xd8100000 0x1000>;
  139. interrupt-parent = <&vic1>;
  140. interrupts = <4>;
  141. };
  142. i2c@d0200000 {
  143. #address-cells = <1>;
  144. #size-cells = <0>;
  145. compatible = "snps,designware-i2c";
  146. reg = <0xd0200000 0x1000>;
  147. interrupt-parent = <&vic0>;
  148. interrupts = <28>;
  149. status = "disabled";
  150. };
  151. };
  152. };
  153. };