arm-realview-pbx-a9.dts 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. /*
  2. * Copyright 2016 Linaro Ltd
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a copy
  5. * of this software and associated documentation files (the "Software"), to deal
  6. * in the Software without restriction, including without limitation the rights
  7. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8. * copies of the Software, and to permit persons to whom the Software is
  9. * furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included in
  12. * all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20. * THE SOFTWARE.
  21. */
  22. /dts-v1/;
  23. #include "arm-realview-pbx.dtsi"
  24. / {
  25. /*
  26. * This is the RealView Platform Baseboard Explore for Cortex-A9
  27. * (HBI0182 + HBI0183) as described in ARM DUI 0440B
  28. */
  29. model = "ARM RealView Platform Baseboard Explore for Cortex-A9";
  30. arm,hbi = <0x182>;
  31. cpus {
  32. #address-cells = <1>;
  33. #size-cells = <0>;
  34. enable-method = "arm,realview-smp";
  35. cpu-map {
  36. cluster0 {
  37. core0 {
  38. cpu = <&CPU0>;
  39. };
  40. core1 {
  41. cpu = <&CPU1>;
  42. };
  43. };
  44. };
  45. CPU0: cpu@0 {
  46. device_type = "cpu";
  47. compatible = "arm,cortex-a9";
  48. reg = <0x0>;
  49. next-level-cache = <&L2>;
  50. };
  51. CPU1: cpu@1 {
  52. device_type = "cpu";
  53. compatible = "arm,cortex-a9";
  54. reg = <0x1>;
  55. next-level-cache = <&L2>;
  56. };
  57. };
  58. L2: cache-controller {
  59. compatible = "arm,pl310-cache";
  60. reg = <0x1f002000 0x1000>;
  61. cache-unified;
  62. cache-level = <2>;
  63. /*
  64. * Override default cache size, sets and
  65. * associativity as these may be erroneously set
  66. * up by boot loader(s).
  67. */
  68. cache-size = <131072>; // 128KB
  69. cache-sets = <512>;
  70. cache-line-size = <32>;
  71. arm,parity-disable;
  72. arm,tag-latency = <1 1 1>;
  73. arm,data-latency = <1 1 1>;
  74. };
  75. scu: scu@1f000000 {
  76. compatible = "arm,cortex-a9-scu";
  77. reg = <0x1f000000 0x100>;
  78. };
  79. twd_timer: timer@1f000600 {
  80. compatible = "arm,cortex-a9-twd-timer";
  81. reg = <0x1f000600 0x20>;
  82. interrupt-parent = <&intc>;
  83. interrupts = <1 13 0xf04>;
  84. };
  85. twd_wdog: watchdog@1f000620 {
  86. compatible = "arm,cortex-a9-twd-wdt";
  87. reg = <0x1f000620 0x20>;
  88. interrupt-parent = <&intc>;
  89. interrupts = <1 14 0xf04>;
  90. };
  91. pmu: pmu@0 {
  92. compatible = "arm,cortex-a9-pmu";
  93. interrupt-parent = <&intc>;
  94. interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>,
  95. <0 45 IRQ_TYPE_LEVEL_HIGH>;
  96. interrupt-affinity = <&CPU0>, <&CPU1>;
  97. };
  98. /* Primary GIC PL390 interrupt controller in the test chip */
  99. intc: interrupt-controller@1f000000 {
  100. compatible = "arm,cortex-a9-gic";
  101. #interrupt-cells = <3>;
  102. #address-cells = <1>;
  103. interrupt-controller;
  104. reg = <0x1f001000 0x1000>,
  105. <0x1f000100 0x100>;
  106. };
  107. };
  108. &ethernet {
  109. interrupt-parent = <&intc>;
  110. interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
  111. };
  112. &usb {
  113. interrupt-parent = <&intc>;
  114. interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
  115. };
  116. &serial0 {
  117. interrupt-parent = <&intc>;
  118. interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>;
  119. };
  120. &serial1 {
  121. interrupt-parent = <&intc>;
  122. interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
  123. };
  124. &serial2 {
  125. interrupt-parent = <&intc>;
  126. interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
  127. };
  128. &serial3 {
  129. interrupt-parent = <&intc>;
  130. interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
  131. };
  132. &ssp {
  133. interrupt-parent = <&intc>;
  134. interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
  135. };
  136. &wdog0 {
  137. interrupt-parent = <&intc>;
  138. interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
  139. };
  140. &wdog1 {
  141. interrupt-parent = <&intc>;
  142. interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
  143. };
  144. &timer01 {
  145. interrupt-parent = <&intc>;
  146. interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
  147. };
  148. &timer23 {
  149. interrupt-parent = <&intc>;
  150. interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
  151. };
  152. &gpio0 {
  153. interrupt-parent = <&intc>;
  154. interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
  155. };
  156. &gpio1 {
  157. interrupt-parent = <&intc>;
  158. interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
  159. };
  160. &gpio2 {
  161. interrupt-parent = <&intc>;
  162. interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
  163. };
  164. &rtc {
  165. interrupt-parent = <&intc>;
  166. interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
  167. };
  168. &timer45 {
  169. interrupt-parent = <&intc>;
  170. interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
  171. };
  172. &timer67 {
  173. interrupt-parent = <&intc>;
  174. interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
  175. };
  176. &aaci {
  177. interrupt-parent = <&intc>;
  178. interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
  179. };
  180. &mmc {
  181. interrupt-parent = <&intc>;
  182. interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH>,
  183. <0 18 IRQ_TYPE_LEVEL_HIGH>;
  184. };
  185. &kmi0 {
  186. interrupt-parent = <&intc>;
  187. interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
  188. };
  189. &kmi1 {
  190. interrupt-parent = <&intc>;
  191. interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
  192. };
  193. &clcd {
  194. interrupt-parent = <&intc>;
  195. interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
  196. };