armada-cp11x.dtsi 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (C) 2016 Marvell Technology Group Ltd.
  4. *
  5. * Device Tree file for Marvell Armada CP11x.
  6. */
  7. #include <dt-bindings/interrupt-controller/mvebu-icu.h>
  8. #include <dt-bindings/thermal/thermal.h>
  9. #include "armada-common.dtsi"
  10. #define CP11X_PCIEx_CONF_BASE(iface) (CP11X_PCIEx_MEM_BASE(iface) + CP11X_PCIEx_MEM_SIZE(iface))
  11. / {
  12. /*
  13. * The contents of the node are defined below, in order to
  14. * save one indentation level
  15. */
  16. CP11X_NAME: CP11X_NAME { };
  17. /*
  18. * CPs only have one sensor in the thermal IC.
  19. *
  20. * The cooling maps are empty as there are no cooling devices.
  21. */
  22. thermal-zones {
  23. CP11X_LABEL(thermal_ic): CP11X_NODE_NAME(thermal-ic) {
  24. polling-delay-passive = <0>; /* Interrupt driven */
  25. polling-delay = <0>; /* Interrupt driven */
  26. thermal-sensors = <&CP11X_LABEL(thermal) 0>;
  27. trips {
  28. CP11X_LABEL(crit): crit {
  29. temperature = <100000>; /* mC degrees */
  30. hysteresis = <2000>; /* mC degrees */
  31. type = "critical";
  32. };
  33. };
  34. cooling-maps { };
  35. };
  36. };
  37. };
  38. &CP11X_NAME {
  39. #address-cells = <2>;
  40. #size-cells = <2>;
  41. compatible = "simple-bus";
  42. interrupt-parent = <&CP11X_LABEL(icu_nsr)>;
  43. ranges;
  44. config-space@CP11X_BASE {
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. compatible = "simple-bus";
  48. ranges = <0x0 0x0 ADDRESSIFY(CP11X_BASE) 0x2000000>;
  49. CP11X_LABEL(ethernet): ethernet@0 {
  50. compatible = "marvell,armada-7k-pp22";
  51. reg = <0x0 0x100000>, <0x129000 0xb000>, <0x220000 0x800>;
  52. clocks = <&CP11X_LABEL(clk) 1 3>, <&CP11X_LABEL(clk) 1 9>,
  53. <&CP11X_LABEL(clk) 1 5>, <&CP11X_LABEL(clk) 1 6>,
  54. <&CP11X_LABEL(clk) 1 18>;
  55. clock-names = "pp_clk", "gop_clk",
  56. "mg_clk", "mg_core_clk", "axi_clk";
  57. marvell,system-controller = <&CP11X_LABEL(syscon0)>;
  58. status = "disabled";
  59. dma-coherent;
  60. CP11X_LABEL(eth0): eth0 {
  61. interrupts = <39 IRQ_TYPE_LEVEL_HIGH>,
  62. <43 IRQ_TYPE_LEVEL_HIGH>,
  63. <47 IRQ_TYPE_LEVEL_HIGH>,
  64. <51 IRQ_TYPE_LEVEL_HIGH>,
  65. <55 IRQ_TYPE_LEVEL_HIGH>,
  66. <59 IRQ_TYPE_LEVEL_HIGH>,
  67. <63 IRQ_TYPE_LEVEL_HIGH>,
  68. <67 IRQ_TYPE_LEVEL_HIGH>,
  69. <71 IRQ_TYPE_LEVEL_HIGH>,
  70. <129 IRQ_TYPE_LEVEL_HIGH>;
  71. interrupt-names = "hif0", "hif1", "hif2",
  72. "hif3", "hif4", "hif5", "hif6", "hif7",
  73. "hif8", "link";
  74. port-id = <0>;
  75. gop-port-id = <0>;
  76. status = "disabled";
  77. };
  78. CP11X_LABEL(eth1): eth1 {
  79. interrupts = <40 IRQ_TYPE_LEVEL_HIGH>,
  80. <44 IRQ_TYPE_LEVEL_HIGH>,
  81. <48 IRQ_TYPE_LEVEL_HIGH>,
  82. <52 IRQ_TYPE_LEVEL_HIGH>,
  83. <56 IRQ_TYPE_LEVEL_HIGH>,
  84. <60 IRQ_TYPE_LEVEL_HIGH>,
  85. <64 IRQ_TYPE_LEVEL_HIGH>,
  86. <68 IRQ_TYPE_LEVEL_HIGH>,
  87. <72 IRQ_TYPE_LEVEL_HIGH>,
  88. <128 IRQ_TYPE_LEVEL_HIGH>;
  89. interrupt-names = "hif0", "hif1", "hif2",
  90. "hif3", "hif4", "hif5", "hif6", "hif7",
  91. "hif8", "link";
  92. port-id = <1>;
  93. gop-port-id = <2>;
  94. status = "disabled";
  95. };
  96. CP11X_LABEL(eth2): eth2 {
  97. interrupts = <41 IRQ_TYPE_LEVEL_HIGH>,
  98. <45 IRQ_TYPE_LEVEL_HIGH>,
  99. <49 IRQ_TYPE_LEVEL_HIGH>,
  100. <53 IRQ_TYPE_LEVEL_HIGH>,
  101. <57 IRQ_TYPE_LEVEL_HIGH>,
  102. <61 IRQ_TYPE_LEVEL_HIGH>,
  103. <65 IRQ_TYPE_LEVEL_HIGH>,
  104. <69 IRQ_TYPE_LEVEL_HIGH>,
  105. <73 IRQ_TYPE_LEVEL_HIGH>,
  106. <127 IRQ_TYPE_LEVEL_HIGH>;
  107. interrupt-names = "hif0", "hif1", "hif2",
  108. "hif3", "hif4", "hif5", "hif6", "hif7",
  109. "hif8", "link";
  110. port-id = <2>;
  111. gop-port-id = <3>;
  112. status = "disabled";
  113. };
  114. };
  115. CP11X_LABEL(comphy): phy@120000 {
  116. compatible = "marvell,comphy-cp110";
  117. reg = <0x120000 0x6000>;
  118. marvell,system-controller = <&CP11X_LABEL(syscon0)>;
  119. clocks = <&CP11X_LABEL(clk) 1 5>, <&CP11X_LABEL(clk) 1 6>,
  120. <&CP11X_LABEL(clk) 1 18>;
  121. clock-names = "mg_clk", "mg_core_clk", "axi_clk";
  122. #address-cells = <1>;
  123. #size-cells = <0>;
  124. CP11X_LABEL(comphy0): phy@0 {
  125. reg = <0>;
  126. #phy-cells = <1>;
  127. };
  128. CP11X_LABEL(comphy1): phy@1 {
  129. reg = <1>;
  130. #phy-cells = <1>;
  131. };
  132. CP11X_LABEL(comphy2): phy@2 {
  133. reg = <2>;
  134. #phy-cells = <1>;
  135. };
  136. CP11X_LABEL(comphy3): phy@3 {
  137. reg = <3>;
  138. #phy-cells = <1>;
  139. };
  140. CP11X_LABEL(comphy4): phy@4 {
  141. reg = <4>;
  142. #phy-cells = <1>;
  143. };
  144. CP11X_LABEL(comphy5): phy@5 {
  145. reg = <5>;
  146. #phy-cells = <1>;
  147. };
  148. };
  149. CP11X_LABEL(mdio): mdio@12a200 {
  150. #address-cells = <1>;
  151. #size-cells = <0>;
  152. compatible = "marvell,orion-mdio";
  153. reg = <0x12a200 0x10>;
  154. clocks = <&CP11X_LABEL(clk) 1 9>, <&CP11X_LABEL(clk) 1 5>,
  155. <&CP11X_LABEL(clk) 1 6>, <&CP11X_LABEL(clk) 1 18>;
  156. status = "disabled";
  157. };
  158. CP11X_LABEL(xmdio): mdio@12a600 {
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. compatible = "marvell,xmdio";
  162. reg = <0x12a600 0x10>;
  163. clocks = <&CP11X_LABEL(clk) 1 5>,
  164. <&CP11X_LABEL(clk) 1 6>, <&CP11X_LABEL(clk) 1 18>;
  165. status = "disabled";
  166. };
  167. CP11X_LABEL(icu): interrupt-controller@1e0000 {
  168. compatible = "marvell,cp110-icu";
  169. reg = <0x1e0000 0x440>;
  170. #address-cells = <1>;
  171. #size-cells = <1>;
  172. CP11X_LABEL(icu_nsr): interrupt-controller@10 {
  173. compatible = "marvell,cp110-icu-nsr";
  174. reg = <0x10 0x20>;
  175. #interrupt-cells = <2>;
  176. interrupt-controller;
  177. msi-parent = <&gicp>;
  178. };
  179. CP11X_LABEL(icu_sei): interrupt-controller@50 {
  180. compatible = "marvell,cp110-icu-sei";
  181. reg = <0x50 0x10>;
  182. #interrupt-cells = <2>;
  183. interrupt-controller;
  184. msi-parent = <&sei>;
  185. };
  186. };
  187. CP11X_LABEL(rtc): rtc@284000 {
  188. compatible = "marvell,armada-8k-rtc";
  189. reg = <0x284000 0x20>, <0x284080 0x24>;
  190. reg-names = "rtc", "rtc-soc";
  191. interrupts = <77 IRQ_TYPE_LEVEL_HIGH>;
  192. };
  193. CP11X_LABEL(syscon0): system-controller@440000 {
  194. compatible = "syscon", "simple-mfd";
  195. reg = <0x440000 0x2000>;
  196. CP11X_LABEL(clk): clock {
  197. compatible = "marvell,cp110-clock";
  198. #clock-cells = <2>;
  199. };
  200. CP11X_LABEL(gpio1): gpio@100 {
  201. compatible = "marvell,armada-8k-gpio";
  202. offset = <0x100>;
  203. ngpios = <32>;
  204. gpio-controller;
  205. #gpio-cells = <2>;
  206. gpio-ranges = <&CP11X_LABEL(pinctrl) 0 0 32>;
  207. marvell,pwm-offset = <0x1f0>;
  208. #pwm-cells = <2>;
  209. interrupt-controller;
  210. interrupts = <86 IRQ_TYPE_LEVEL_HIGH>,
  211. <85 IRQ_TYPE_LEVEL_HIGH>,
  212. <84 IRQ_TYPE_LEVEL_HIGH>,
  213. <83 IRQ_TYPE_LEVEL_HIGH>;
  214. #interrupt-cells = <2>;
  215. clock-names = "core", "axi";
  216. clocks = <&CP11X_LABEL(clk) 1 21>,
  217. <&CP11X_LABEL(clk) 1 17>;
  218. status = "disabled";
  219. };
  220. CP11X_LABEL(gpio2): gpio@140 {
  221. compatible = "marvell,armada-8k-gpio";
  222. offset = <0x140>;
  223. ngpios = <31>;
  224. gpio-controller;
  225. #gpio-cells = <2>;
  226. gpio-ranges = <&CP11X_LABEL(pinctrl) 0 32 31>;
  227. marvell,pwm-offset = <0x1f0>;
  228. #pwm-cells = <2>;
  229. interrupt-controller;
  230. interrupts = <82 IRQ_TYPE_LEVEL_HIGH>,
  231. <81 IRQ_TYPE_LEVEL_HIGH>,
  232. <80 IRQ_TYPE_LEVEL_HIGH>,
  233. <79 IRQ_TYPE_LEVEL_HIGH>;
  234. #interrupt-cells = <2>;
  235. clock-names = "core", "axi";
  236. clocks = <&CP11X_LABEL(clk) 1 21>,
  237. <&CP11X_LABEL(clk) 1 17>;
  238. status = "disabled";
  239. };
  240. };
  241. CP11X_LABEL(syscon1): system-controller@400000 {
  242. compatible = "syscon", "simple-mfd";
  243. reg = <0x400000 0x1000>;
  244. #address-cells = <1>;
  245. #size-cells = <1>;
  246. CP11X_LABEL(thermal): thermal-sensor@70 {
  247. compatible = "marvell,armada-cp110-thermal";
  248. reg = <0x70 0x10>;
  249. interrupts-extended =
  250. <&CP11X_LABEL(icu_sei) 116 IRQ_TYPE_LEVEL_HIGH>;
  251. #thermal-sensor-cells = <1>;
  252. };
  253. };
  254. CP11X_LABEL(utmi): utmi@580000 {
  255. compatible = "marvell,cp110-utmi-phy";
  256. reg = <0x580000 0x2000>;
  257. marvell,system-controller = <&CP11X_LABEL(syscon0)>;
  258. #address-cells = <1>;
  259. #size-cells = <0>;
  260. status = "disabled";
  261. CP11X_LABEL(utmi0): usb-phy@0 {
  262. reg = <0>;
  263. #phy-cells = <0>;
  264. };
  265. CP11X_LABEL(utmi1): usb-phy@1 {
  266. reg = <1>;
  267. #phy-cells = <0>;
  268. };
  269. };
  270. CP11X_LABEL(usb3_0): usb@500000 {
  271. compatible = "marvell,armada-8k-xhci",
  272. "generic-xhci";
  273. reg = <0x500000 0x4000>;
  274. dma-coherent;
  275. interrupts = <106 IRQ_TYPE_LEVEL_HIGH>;
  276. clock-names = "core", "reg";
  277. clocks = <&CP11X_LABEL(clk) 1 22>,
  278. <&CP11X_LABEL(clk) 1 16>;
  279. status = "disabled";
  280. };
  281. CP11X_LABEL(usb3_1): usb@510000 {
  282. compatible = "marvell,armada-8k-xhci",
  283. "generic-xhci";
  284. reg = <0x510000 0x4000>;
  285. dma-coherent;
  286. interrupts = <105 IRQ_TYPE_LEVEL_HIGH>;
  287. clock-names = "core", "reg";
  288. clocks = <&CP11X_LABEL(clk) 1 23>,
  289. <&CP11X_LABEL(clk) 1 16>;
  290. status = "disabled";
  291. };
  292. CP11X_LABEL(sata0): sata@540000 {
  293. compatible = "marvell,armada-8k-ahci",
  294. "generic-ahci";
  295. reg = <0x540000 0x30000>;
  296. dma-coherent;
  297. interrupts = <107 IRQ_TYPE_LEVEL_HIGH>;
  298. clocks = <&CP11X_LABEL(clk) 1 15>,
  299. <&CP11X_LABEL(clk) 1 16>;
  300. #address-cells = <1>;
  301. #size-cells = <0>;
  302. status = "disabled";
  303. sata-port@0 {
  304. reg = <0>;
  305. };
  306. sata-port@1 {
  307. reg = <1>;
  308. };
  309. };
  310. CP11X_LABEL(xor0): xor@6a0000 {
  311. compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
  312. reg = <0x6a0000 0x1000>, <0x6b0000 0x1000>;
  313. dma-coherent;
  314. msi-parent = <&gic_v2m0>;
  315. clock-names = "core", "reg";
  316. clocks = <&CP11X_LABEL(clk) 1 8>,
  317. <&CP11X_LABEL(clk) 1 14>;
  318. };
  319. CP11X_LABEL(xor1): xor@6c0000 {
  320. compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
  321. reg = <0x6c0000 0x1000>, <0x6d0000 0x1000>;
  322. dma-coherent;
  323. msi-parent = <&gic_v2m0>;
  324. clock-names = "core", "reg";
  325. clocks = <&CP11X_LABEL(clk) 1 7>,
  326. <&CP11X_LABEL(clk) 1 14>;
  327. };
  328. CP11X_LABEL(spi0): spi@700600 {
  329. compatible = "marvell,armada-380-spi";
  330. reg = <0x700600 0x50>;
  331. #address-cells = <0x1>;
  332. #size-cells = <0x0>;
  333. clock-names = "core", "axi";
  334. clocks = <&CP11X_LABEL(clk) 1 21>,
  335. <&CP11X_LABEL(clk) 1 17>;
  336. status = "disabled";
  337. };
  338. CP11X_LABEL(spi1): spi@700680 {
  339. compatible = "marvell,armada-380-spi";
  340. reg = <0x700680 0x50>;
  341. #address-cells = <1>;
  342. #size-cells = <0>;
  343. clock-names = "core", "axi";
  344. clocks = <&CP11X_LABEL(clk) 1 21>,
  345. <&CP11X_LABEL(clk) 1 17>;
  346. status = "disabled";
  347. };
  348. CP11X_LABEL(i2c0): i2c@701000 {
  349. compatible = "marvell,mv78230-i2c";
  350. reg = <0x701000 0x20>;
  351. #address-cells = <1>;
  352. #size-cells = <0>;
  353. interrupts = <120 IRQ_TYPE_LEVEL_HIGH>;
  354. clock-names = "core", "reg";
  355. clocks = <&CP11X_LABEL(clk) 1 21>,
  356. <&CP11X_LABEL(clk) 1 17>;
  357. status = "disabled";
  358. };
  359. CP11X_LABEL(i2c1): i2c@701100 {
  360. compatible = "marvell,mv78230-i2c";
  361. reg = <0x701100 0x20>;
  362. #address-cells = <1>;
  363. #size-cells = <0>;
  364. interrupts = <121 IRQ_TYPE_LEVEL_HIGH>;
  365. clock-names = "core", "reg";
  366. clocks = <&CP11X_LABEL(clk) 1 21>,
  367. <&CP11X_LABEL(clk) 1 17>;
  368. status = "disabled";
  369. };
  370. CP11X_LABEL(uart0): serial@702000 {
  371. compatible = "snps,dw-apb-uart";
  372. reg = <0x702000 0x100>;
  373. reg-shift = <2>;
  374. interrupts = <122 IRQ_TYPE_LEVEL_HIGH>;
  375. reg-io-width = <1>;
  376. clock-names = "baudclk", "apb_pclk";
  377. clocks = <&CP11X_LABEL(clk) 1 21>,
  378. <&CP11X_LABEL(clk) 1 17>;
  379. status = "disabled";
  380. };
  381. CP11X_LABEL(uart1): serial@702100 {
  382. compatible = "snps,dw-apb-uart";
  383. reg = <0x702100 0x100>;
  384. reg-shift = <2>;
  385. interrupts = <123 IRQ_TYPE_LEVEL_HIGH>;
  386. reg-io-width = <1>;
  387. clock-names = "baudclk", "apb_pclk";
  388. clocks = <&CP11X_LABEL(clk) 1 21>,
  389. <&CP11X_LABEL(clk) 1 17>;
  390. status = "disabled";
  391. };
  392. CP11X_LABEL(uart2): serial@702200 {
  393. compatible = "snps,dw-apb-uart";
  394. reg = <0x702200 0x100>;
  395. reg-shift = <2>;
  396. interrupts = <124 IRQ_TYPE_LEVEL_HIGH>;
  397. reg-io-width = <1>;
  398. clock-names = "baudclk", "apb_pclk";
  399. clocks = <&CP11X_LABEL(clk) 1 21>,
  400. <&CP11X_LABEL(clk) 1 17>;
  401. status = "disabled";
  402. };
  403. CP11X_LABEL(uart3): serial@702300 {
  404. compatible = "snps,dw-apb-uart";
  405. reg = <0x702300 0x100>;
  406. reg-shift = <2>;
  407. interrupts = <125 IRQ_TYPE_LEVEL_HIGH>;
  408. reg-io-width = <1>;
  409. clock-names = "baudclk", "apb_pclk";
  410. clocks = <&CP11X_LABEL(clk) 1 21>,
  411. <&CP11X_LABEL(clk) 1 17>;
  412. status = "disabled";
  413. };
  414. CP11X_LABEL(nand_controller): nand@720000 {
  415. /*
  416. * Due to the limitation of the pins available
  417. * this controller is only usable on the CPM
  418. * for A7K and on the CPS for A8K.
  419. */
  420. compatible = "marvell,armada-8k-nand-controller",
  421. "marvell,armada370-nand-controller";
  422. reg = <0x720000 0x54>;
  423. #address-cells = <1>;
  424. #size-cells = <0>;
  425. interrupts = <115 IRQ_TYPE_LEVEL_HIGH>;
  426. clock-names = "core", "reg";
  427. clocks = <&CP11X_LABEL(clk) 1 2>,
  428. <&CP11X_LABEL(clk) 1 17>;
  429. marvell,system-controller = <&CP11X_LABEL(syscon0)>;
  430. status = "disabled";
  431. };
  432. CP11X_LABEL(trng): trng@760000 {
  433. compatible = "marvell,armada-8k-rng",
  434. "inside-secure,safexcel-eip76";
  435. reg = <0x760000 0x7d>;
  436. interrupts = <95 IRQ_TYPE_LEVEL_HIGH>;
  437. clock-names = "core", "reg";
  438. clocks = <&CP11X_LABEL(clk) 1 25>,
  439. <&CP11X_LABEL(clk) 1 17>;
  440. status = "okay";
  441. };
  442. CP11X_LABEL(sdhci0): mmc@780000 {
  443. compatible = "marvell,armada-cp110-sdhci";
  444. reg = <0x780000 0x300>;
  445. interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
  446. clock-names = "core", "axi";
  447. clocks = <&CP11X_LABEL(clk) 1 4>, <&CP11X_LABEL(clk) 1 18>;
  448. dma-coherent;
  449. status = "disabled";
  450. };
  451. CP11X_LABEL(crypto): crypto@800000 {
  452. compatible = "inside-secure,safexcel-eip197b";
  453. reg = <0x800000 0x200000>;
  454. interrupts = <87 IRQ_TYPE_LEVEL_HIGH>,
  455. <88 IRQ_TYPE_LEVEL_HIGH>,
  456. <89 IRQ_TYPE_LEVEL_HIGH>,
  457. <90 IRQ_TYPE_LEVEL_HIGH>,
  458. <91 IRQ_TYPE_LEVEL_HIGH>,
  459. <92 IRQ_TYPE_LEVEL_HIGH>;
  460. interrupt-names = "mem", "ring0", "ring1",
  461. "ring2", "ring3", "eip";
  462. clock-names = "core", "reg";
  463. clocks = <&CP11X_LABEL(clk) 1 26>,
  464. <&CP11X_LABEL(clk) 1 17>;
  465. dma-coherent;
  466. };
  467. };
  468. CP11X_LABEL(pcie0): pcie@CP11X_PCIE0_BASE {
  469. compatible = "marvell,armada8k-pcie", "snps,dw-pcie";
  470. reg = <0 ADDRESSIFY(CP11X_PCIE0_BASE) 0 0x10000>,
  471. <0 CP11X_PCIEx_CONF_BASE(0) 0 0x80000>;
  472. reg-names = "ctrl", "config";
  473. #address-cells = <3>;
  474. #size-cells = <2>;
  475. #interrupt-cells = <1>;
  476. device_type = "pci";
  477. dma-coherent;
  478. msi-parent = <&gic_v2m0>;
  479. bus-range = <0 0xff>;
  480. /* non-prefetchable memory */
  481. ranges = <0x82000000 0 CP11X_PCIEx_MEM_BASE(0) 0 CP11X_PCIEx_MEM_BASE(0) 0 CP11X_PCIEx_MEM_SIZE(0)>;
  482. interrupt-map-mask = <0 0 0 0>;
  483. interrupt-map = <0 0 0 0 &CP11X_LABEL(icu_nsr) 22 IRQ_TYPE_LEVEL_HIGH>;
  484. interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
  485. num-lanes = <1>;
  486. clock-names = "core", "reg";
  487. clocks = <&CP11X_LABEL(clk) 1 13>, <&CP11X_LABEL(clk) 1 14>;
  488. status = "disabled";
  489. };
  490. CP11X_LABEL(pcie1): pcie@CP11X_PCIE1_BASE {
  491. compatible = "marvell,armada8k-pcie", "snps,dw-pcie";
  492. reg = <0 ADDRESSIFY(CP11X_PCIE1_BASE) 0 0x10000>,
  493. <0 CP11X_PCIEx_CONF_BASE(1) 0 0x80000>;
  494. reg-names = "ctrl", "config";
  495. #address-cells = <3>;
  496. #size-cells = <2>;
  497. #interrupt-cells = <1>;
  498. device_type = "pci";
  499. dma-coherent;
  500. msi-parent = <&gic_v2m0>;
  501. bus-range = <0 0xff>;
  502. /* non-prefetchable memory */
  503. ranges = <0x82000000 0 CP11X_PCIEx_MEM_BASE(1) 0 CP11X_PCIEx_MEM_BASE(1) 0 CP11X_PCIEx_MEM_SIZE(1)>;
  504. interrupt-map-mask = <0 0 0 0>;
  505. interrupt-map = <0 0 0 0 &CP11X_LABEL(icu_nsr) 24 IRQ_TYPE_LEVEL_HIGH>;
  506. interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
  507. num-lanes = <1>;
  508. clock-names = "core", "reg";
  509. clocks = <&CP11X_LABEL(clk) 1 11>, <&CP11X_LABEL(clk) 1 14>;
  510. status = "disabled";
  511. };
  512. CP11X_LABEL(pcie2): pcie@CP11X_PCIE2_BASE {
  513. compatible = "marvell,armada8k-pcie", "snps,dw-pcie";
  514. reg = <0 ADDRESSIFY(CP11X_PCIE2_BASE) 0 0x10000>,
  515. <0 CP11X_PCIEx_CONF_BASE(2) 0 0x80000>;
  516. reg-names = "ctrl", "config";
  517. #address-cells = <3>;
  518. #size-cells = <2>;
  519. #interrupt-cells = <1>;
  520. device_type = "pci";
  521. dma-coherent;
  522. msi-parent = <&gic_v2m0>;
  523. bus-range = <0 0xff>;
  524. /* non-prefetchable memory */
  525. ranges = <0x82000000 0 CP11X_PCIEx_MEM_BASE(2) 0 CP11X_PCIEx_MEM_BASE(2) 0 CP11X_PCIEx_MEM_SIZE(2)>;
  526. interrupt-map-mask = <0 0 0 0>;
  527. interrupt-map = <0 0 0 0 &CP11X_LABEL(icu_nsr) 23 IRQ_TYPE_LEVEL_HIGH>;
  528. interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
  529. num-lanes = <1>;
  530. clock-names = "core", "reg";
  531. clocks = <&CP11X_LABEL(clk) 1 12>, <&CP11X_LABEL(clk) 1 14>;
  532. status = "disabled";
  533. };
  534. };