alpine-v3.dtsi 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright 2020, Amazon.com, Inc. or its affiliates. All Rights Reserved
  4. */
  5. /dts-v1/;
  6. #include <dt-bindings/interrupt-controller/arm-gic.h>
  7. / {
  8. model = "Amazon's Annapurna Labs Alpine v3";
  9. compatible = "amazon,al-alpine-v3";
  10. interrupt-parent = <&gic>;
  11. #address-cells = <2>;
  12. #size-cells = <2>;
  13. cpus {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. cpu@0 {
  17. device_type = "cpu";
  18. compatible = "arm,cortex-a72";
  19. reg = <0x0>;
  20. enable-method = "psci";
  21. d-cache-size = <0x8000>;
  22. d-cache-line-size = <64>;
  23. d-cache-sets = <256>;
  24. i-cache-size = <0xc000>;
  25. i-cache-line-size = <64>;
  26. i-cache-sets = <256>;
  27. next-level-cache = <&cluster0_l2>;
  28. };
  29. cpu@1 {
  30. device_type = "cpu";
  31. compatible = "arm,cortex-a72";
  32. reg = <0x1>;
  33. enable-method = "psci";
  34. d-cache-size = <0x8000>;
  35. d-cache-line-size = <64>;
  36. d-cache-sets = <256>;
  37. i-cache-size = <0xc000>;
  38. i-cache-line-size = <64>;
  39. i-cache-sets = <256>;
  40. next-level-cache = <&cluster0_l2>;
  41. };
  42. cpu@2 {
  43. device_type = "cpu";
  44. compatible = "arm,cortex-a72";
  45. reg = <0x2>;
  46. enable-method = "psci";
  47. d-cache-size = <0x8000>;
  48. d-cache-line-size = <64>;
  49. d-cache-sets = <256>;
  50. i-cache-size = <0xc000>;
  51. i-cache-line-size = <64>;
  52. i-cache-sets = <256>;
  53. next-level-cache = <&cluster0_l2>;
  54. };
  55. cpu@3 {
  56. device_type = "cpu";
  57. compatible = "arm,cortex-a72";
  58. reg = <0x3>;
  59. enable-method = "psci";
  60. d-cache-size = <0x8000>;
  61. d-cache-line-size = <64>;
  62. d-cache-sets = <256>;
  63. i-cache-size = <0xc000>;
  64. i-cache-line-size = <64>;
  65. i-cache-sets = <256>;
  66. next-level-cache = <&cluster0_l2>;
  67. };
  68. cpu@100 {
  69. device_type = "cpu";
  70. compatible = "arm,cortex-a72";
  71. reg = <0x100>;
  72. enable-method = "psci";
  73. d-cache-size = <0x8000>;
  74. d-cache-line-size = <64>;
  75. d-cache-sets = <256>;
  76. i-cache-size = <0xc000>;
  77. i-cache-line-size = <64>;
  78. i-cache-sets = <256>;
  79. next-level-cache = <&cluster1_l2>;
  80. };
  81. cpu@101 {
  82. device_type = "cpu";
  83. compatible = "arm,cortex-a72";
  84. reg = <0x101>;
  85. enable-method = "psci";
  86. d-cache-size = <0x8000>;
  87. d-cache-line-size = <64>;
  88. d-cache-sets = <256>;
  89. i-cache-size = <0xc000>;
  90. i-cache-line-size = <64>;
  91. i-cache-sets = <256>;
  92. next-level-cache = <&cluster1_l2>;
  93. };
  94. cpu@102 {
  95. device_type = "cpu";
  96. compatible = "arm,cortex-a72";
  97. reg = <0x102>;
  98. enable-method = "psci";
  99. d-cache-size = <0x8000>;
  100. d-cache-line-size = <64>;
  101. d-cache-sets = <256>;
  102. i-cache-size = <0xc000>;
  103. i-cache-line-size = <64>;
  104. i-cache-sets = <256>;
  105. next-level-cache = <&cluster1_l2>;
  106. };
  107. cpu@103 {
  108. device_type = "cpu";
  109. compatible = "arm,cortex-a72";
  110. reg = <0x103>;
  111. enable-method = "psci";
  112. d-cache-size = <0x8000>;
  113. d-cache-line-size = <64>;
  114. d-cache-sets = <256>;
  115. i-cache-size = <0xc000>;
  116. i-cache-line-size = <64>;
  117. i-cache-sets = <256>;
  118. next-level-cache = <&cluster1_l2>;
  119. };
  120. cpu@200 {
  121. device_type = "cpu";
  122. compatible = "arm,cortex-a72";
  123. reg = <0x200>;
  124. enable-method = "psci";
  125. d-cache-size = <0x8000>;
  126. d-cache-line-size = <64>;
  127. d-cache-sets = <256>;
  128. i-cache-size = <0xc000>;
  129. i-cache-line-size = <64>;
  130. i-cache-sets = <256>;
  131. next-level-cache = <&cluster2_l2>;
  132. };
  133. cpu@201 {
  134. device_type = "cpu";
  135. compatible = "arm,cortex-a72";
  136. reg = <0x201>;
  137. enable-method = "psci";
  138. d-cache-size = <0x8000>;
  139. d-cache-line-size = <64>;
  140. d-cache-sets = <256>;
  141. i-cache-size = <0xc000>;
  142. i-cache-line-size = <64>;
  143. i-cache-sets = <256>;
  144. next-level-cache = <&cluster2_l2>;
  145. };
  146. cpu@202 {
  147. device_type = "cpu";
  148. compatible = "arm,cortex-a72";
  149. reg = <0x202>;
  150. enable-method = "psci";
  151. d-cache-size = <0x8000>;
  152. d-cache-line-size = <64>;
  153. d-cache-sets = <256>;
  154. i-cache-size = <0xc000>;
  155. i-cache-line-size = <64>;
  156. i-cache-sets = <256>;
  157. next-level-cache = <&cluster2_l2>;
  158. };
  159. cpu@203 {
  160. device_type = "cpu";
  161. compatible = "arm,cortex-a72";
  162. reg = <0x203>;
  163. enable-method = "psci";
  164. d-cache-size = <0x8000>;
  165. d-cache-line-size = <64>;
  166. d-cache-sets = <256>;
  167. i-cache-size = <0xc000>;
  168. i-cache-line-size = <64>;
  169. i-cache-sets = <256>;
  170. next-level-cache = <&cluster2_l2>;
  171. };
  172. cpu@300 {
  173. device_type = "cpu";
  174. compatible = "arm,cortex-a72";
  175. reg = <0x300>;
  176. enable-method = "psci";
  177. d-cache-size = <0x8000>;
  178. d-cache-line-size = <64>;
  179. d-cache-sets = <256>;
  180. i-cache-size = <0xc000>;
  181. i-cache-line-size = <64>;
  182. i-cache-sets = <256>;
  183. next-level-cache = <&cluster3_l2>;
  184. };
  185. cpu@301 {
  186. device_type = "cpu";
  187. compatible = "arm,cortex-a72";
  188. reg = <0x301>;
  189. enable-method = "psci";
  190. d-cache-size = <0x8000>;
  191. d-cache-line-size = <64>;
  192. d-cache-sets = <256>;
  193. i-cache-size = <0xc000>;
  194. i-cache-line-size = <64>;
  195. i-cache-sets = <256>;
  196. next-level-cache = <&cluster3_l2>;
  197. };
  198. cpu@302 {
  199. device_type = "cpu";
  200. compatible = "arm,cortex-a72";
  201. reg = <0x302>;
  202. enable-method = "psci";
  203. d-cache-size = <0x8000>;
  204. d-cache-line-size = <64>;
  205. d-cache-sets = <256>;
  206. i-cache-size = <0xc000>;
  207. i-cache-line-size = <64>;
  208. i-cache-sets = <256>;
  209. next-level-cache = <&cluster3_l2>;
  210. };
  211. cpu@303 {
  212. device_type = "cpu";
  213. compatible = "arm,cortex-a72";
  214. reg = <0x303>;
  215. enable-method = "psci";
  216. d-cache-size = <0x8000>;
  217. d-cache-line-size = <64>;
  218. d-cache-sets = <256>;
  219. i-cache-size = <0xc000>;
  220. i-cache-line-size = <64>;
  221. i-cache-sets = <256>;
  222. next-level-cache = <&cluster3_l2>;
  223. };
  224. cluster0_l2: cache@0 {
  225. compatible = "cache";
  226. cache-size = <0x200000>;
  227. cache-line-size = <64>;
  228. cache-sets = <2048>;
  229. cache-level = <2>;
  230. };
  231. cluster1_l2: cache@100 {
  232. compatible = "cache";
  233. cache-size = <0x200000>;
  234. cache-line-size = <64>;
  235. cache-sets = <2048>;
  236. cache-level = <2>;
  237. };
  238. cluster2_l2: cache@200 {
  239. compatible = "cache";
  240. cache-size = <0x200000>;
  241. cache-line-size = <64>;
  242. cache-sets = <2048>;
  243. cache-level = <2>;
  244. };
  245. cluster3_l2: cache@300 {
  246. compatible = "cache";
  247. cache-size = <0x200000>;
  248. cache-line-size = <64>;
  249. cache-sets = <2048>;
  250. cache-level = <2>;
  251. };
  252. };
  253. reserved-memory {
  254. #address-cells = <2>;
  255. #size-cells = <2>;
  256. ranges;
  257. secmon@0 {
  258. reg = <0x0 0x0 0x0 0x100000>;
  259. no-map;
  260. };
  261. };
  262. psci {
  263. compatible = "arm,psci-0.2";
  264. method = "smc";
  265. };
  266. timer {
  267. compatible = "arm,armv8-timer";
  268. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
  269. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
  270. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  271. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  272. };
  273. pmu {
  274. compatible = "arm,cortex-a72-pmu";
  275. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  276. };
  277. soc {
  278. compatible = "simple-bus";
  279. #address-cells = <2>;
  280. #size-cells = <2>;
  281. ranges;
  282. gic: interrupt-controller@f0000000 {
  283. compatible = "arm,gic-v3";
  284. #interrupt-cells = <3>;
  285. interrupt-controller;
  286. reg = <0x0 0xf0800000 0 0x10000>, /* GICD */
  287. <0x0 0xf0a00000 0 0x200000>, /* GICR */
  288. <0x0 0xf0000000 0 0x2000>, /* GICC */
  289. <0x0 0xf0010000 0 0x1000>, /* GICH */
  290. <0x0 0xf0020000 0 0x2000>; /* GICV */
  291. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  292. };
  293. pcie@fbd00000 {
  294. compatible = "pci-host-ecam-generic";
  295. device_type = "pci";
  296. #size-cells = <2>;
  297. #address-cells = <3>;
  298. #interrupt-cells = <1>;
  299. reg = <0x0 0xfbd00000 0x0 0x100000>;
  300. interrupt-map-mask = <0xf800 0 0 7>;
  301. /* 8 x legacy interrupts for SATA only */
  302. interrupt-map = <0x4000 0 0 1 &gic 0 57 IRQ_TYPE_LEVEL_HIGH>,
  303. <0x4800 0 0 1 &gic 0 58 IRQ_TYPE_LEVEL_HIGH>,
  304. <0x5000 0 0 1 &gic 0 59 IRQ_TYPE_LEVEL_HIGH>,
  305. <0x5800 0 0 1 &gic 0 60 IRQ_TYPE_LEVEL_HIGH>,
  306. <0x6000 0 0 1 &gic 0 61 IRQ_TYPE_LEVEL_HIGH>,
  307. <0x6800 0 0 1 &gic 0 62 IRQ_TYPE_LEVEL_HIGH>,
  308. <0x7000 0 0 1 &gic 0 63 IRQ_TYPE_LEVEL_HIGH>,
  309. <0x7800 0 0 1 &gic 0 64 IRQ_TYPE_LEVEL_HIGH>;
  310. ranges = <0x02000000 0x0 0xfe000000 0x0 0xfe000000 0x0 0x1000000>;
  311. bus-range = <0x00 0x00>;
  312. msi-parent = <&msix>;
  313. };
  314. msix: msix@fbe00000 {
  315. compatible = "al,alpine-msix";
  316. reg = <0x0 0xfbe00000 0x0 0x100000>;
  317. interrupt-controller;
  318. msi-controller;
  319. al,msi-base-spi = <336>;
  320. al,msi-num-spis = <959>;
  321. interrupt-parent = <&gic>;
  322. };
  323. io-fabric {
  324. compatible = "simple-bus";
  325. #address-cells = <1>;
  326. #size-cells = <1>;
  327. ranges = <0x0 0x0 0xfc000000 0x2000000>;
  328. uart0: serial@1883000 {
  329. compatible = "ns16550a";
  330. reg = <0x1883000 0x1000>;
  331. interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
  332. clock-frequency = <0>; /* Filled by firmware */
  333. reg-shift = <2>;
  334. reg-io-width = <4>;
  335. status = "disabled";
  336. };
  337. uart1: serial@1884000 {
  338. compatible = "ns16550a";
  339. reg = <0x1884000 0x1000>;
  340. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
  341. clock-frequency = <0>; /* Filled by firmware */
  342. reg-shift = <2>;
  343. reg-io-width = <4>;
  344. status = "disabled";
  345. };
  346. uart2: serial@1885000 {
  347. compatible = "ns16550a";
  348. reg = <0x1885000 0x1000>;
  349. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  350. clock-frequency = <0>; /* Filled by firmware */
  351. reg-shift = <2>;
  352. reg-io-width = <4>;
  353. status = "disabled";
  354. };
  355. uart3: serial@1886000 {
  356. compatible = "ns16550a";
  357. reg = <0x1886000 0x1000>;
  358. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  359. clock-frequency = <0>; /* Filled by firmware */
  360. reg-shift = <2>;
  361. reg-io-width = <4>;
  362. status = "disabled";
  363. };
  364. };
  365. };
  366. };