alpine-v3.dtsi 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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. cache-unified;
  231. };
  232. cluster1_l2: cache-100 {
  233. compatible = "cache";
  234. cache-size = <0x200000>;
  235. cache-line-size = <64>;
  236. cache-sets = <2048>;
  237. cache-level = <2>;
  238. cache-unified;
  239. };
  240. cluster2_l2: cache-200 {
  241. compatible = "cache";
  242. cache-size = <0x200000>;
  243. cache-line-size = <64>;
  244. cache-sets = <2048>;
  245. cache-level = <2>;
  246. cache-unified;
  247. };
  248. cluster3_l2: cache-300 {
  249. compatible = "cache";
  250. cache-size = <0x200000>;
  251. cache-line-size = <64>;
  252. cache-sets = <2048>;
  253. cache-level = <2>;
  254. cache-unified;
  255. };
  256. };
  257. reserved-memory {
  258. #address-cells = <2>;
  259. #size-cells = <2>;
  260. ranges;
  261. secmon@0 {
  262. reg = <0x0 0x0 0x0 0x100000>;
  263. no-map;
  264. };
  265. };
  266. psci {
  267. compatible = "arm,psci-0.2";
  268. method = "smc";
  269. };
  270. timer {
  271. compatible = "arm,armv8-timer";
  272. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
  273. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
  274. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  275. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  276. };
  277. pmu {
  278. compatible = "arm,cortex-a72-pmu";
  279. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  280. };
  281. soc {
  282. compatible = "simple-bus";
  283. #address-cells = <2>;
  284. #size-cells = <2>;
  285. ranges;
  286. gic: interrupt-controller@f0800000 {
  287. compatible = "arm,gic-v3";
  288. #interrupt-cells = <3>;
  289. interrupt-controller;
  290. reg = <0x0 0xf0800000 0 0x10000>, /* GICD */
  291. <0x0 0xf0a00000 0 0x200000>, /* GICR */
  292. <0x0 0xf0000000 0 0x2000>, /* GICC */
  293. <0x0 0xf0010000 0 0x1000>, /* GICH */
  294. <0x0 0xf0020000 0 0x2000>; /* GICV */
  295. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  296. };
  297. pcie@fbd00000 {
  298. compatible = "pci-host-ecam-generic";
  299. device_type = "pci";
  300. #size-cells = <2>;
  301. #address-cells = <3>;
  302. #interrupt-cells = <1>;
  303. reg = <0x0 0xfbd00000 0x0 0x100000>;
  304. interrupt-map-mask = <0xf800 0 0 7>;
  305. /* 8 x legacy interrupts for SATA only */
  306. interrupt-map = <0x4000 0 0 1 &gic 0 57 IRQ_TYPE_LEVEL_HIGH>,
  307. <0x4800 0 0 1 &gic 0 58 IRQ_TYPE_LEVEL_HIGH>,
  308. <0x5000 0 0 1 &gic 0 59 IRQ_TYPE_LEVEL_HIGH>,
  309. <0x5800 0 0 1 &gic 0 60 IRQ_TYPE_LEVEL_HIGH>,
  310. <0x6000 0 0 1 &gic 0 61 IRQ_TYPE_LEVEL_HIGH>,
  311. <0x6800 0 0 1 &gic 0 62 IRQ_TYPE_LEVEL_HIGH>,
  312. <0x7000 0 0 1 &gic 0 63 IRQ_TYPE_LEVEL_HIGH>,
  313. <0x7800 0 0 1 &gic 0 64 IRQ_TYPE_LEVEL_HIGH>;
  314. ranges = <0x02000000 0x0 0xfe000000 0x0 0xfe000000 0x0 0x1000000>;
  315. bus-range = <0x00 0x00>;
  316. msi-parent = <&msix>;
  317. };
  318. msix: msix@fbe00000 {
  319. compatible = "al,alpine-msix";
  320. reg = <0x0 0xfbe00000 0x0 0x100000>;
  321. msi-controller;
  322. al,msi-base-spi = <336>;
  323. al,msi-num-spis = <959>;
  324. interrupt-parent = <&gic>;
  325. };
  326. io-fabric@fc000000 {
  327. compatible = "simple-bus";
  328. #address-cells = <1>;
  329. #size-cells = <1>;
  330. ranges = <0x0 0x0 0xfc000000 0x2000000>;
  331. uart0: serial@1883000 {
  332. compatible = "ns16550a";
  333. reg = <0x1883000 0x1000>;
  334. interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
  335. clock-frequency = <0>; /* Filled by firmware */
  336. reg-shift = <2>;
  337. reg-io-width = <4>;
  338. status = "disabled";
  339. };
  340. uart1: serial@1884000 {
  341. compatible = "ns16550a";
  342. reg = <0x1884000 0x1000>;
  343. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
  344. clock-frequency = <0>; /* Filled by firmware */
  345. reg-shift = <2>;
  346. reg-io-width = <4>;
  347. status = "disabled";
  348. };
  349. uart2: serial@1885000 {
  350. compatible = "ns16550a";
  351. reg = <0x1885000 0x1000>;
  352. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  353. clock-frequency = <0>; /* Filled by firmware */
  354. reg-shift = <2>;
  355. reg-io-width = <4>;
  356. status = "disabled";
  357. };
  358. uart3: serial@1886000 {
  359. compatible = "ns16550a";
  360. reg = <0x1886000 0x1000>;
  361. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  362. clock-frequency = <0>; /* Filled by firmware */
  363. reg-shift = <2>;
  364. reg-io-width = <4>;
  365. status = "disabled";
  366. };
  367. };
  368. };
  369. };