fsl-ls1046a.dtsi 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree Include file for Freescale Layerscape-1046A family SoC.
  4. *
  5. * Copyright 2016 Freescale Semiconductor, Inc.
  6. *
  7. * Mingkai Hu <mingkai.hu@nxp.com>
  8. */
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/thermal/thermal.h>
  11. / {
  12. compatible = "fsl,ls1046a";
  13. interrupt-parent = <&gic>;
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. aliases {
  17. crypto = &crypto;
  18. fman0 = &fman0;
  19. ethernet0 = &enet0;
  20. ethernet1 = &enet1;
  21. ethernet2 = &enet2;
  22. ethernet3 = &enet3;
  23. ethernet4 = &enet4;
  24. ethernet5 = &enet5;
  25. ethernet6 = &enet6;
  26. ethernet7 = &enet7;
  27. };
  28. cpus {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. cpu0: cpu@0 {
  32. device_type = "cpu";
  33. compatible = "arm,cortex-a72";
  34. reg = <0x0>;
  35. clocks = <&clockgen 1 0>;
  36. next-level-cache = <&l2>;
  37. cpu-idle-states = <&CPU_PH20>;
  38. #cooling-cells = <2>;
  39. };
  40. cpu1: cpu@1 {
  41. device_type = "cpu";
  42. compatible = "arm,cortex-a72";
  43. reg = <0x1>;
  44. clocks = <&clockgen 1 0>;
  45. next-level-cache = <&l2>;
  46. cpu-idle-states = <&CPU_PH20>;
  47. #cooling-cells = <2>;
  48. };
  49. cpu2: cpu@2 {
  50. device_type = "cpu";
  51. compatible = "arm,cortex-a72";
  52. reg = <0x2>;
  53. clocks = <&clockgen 1 0>;
  54. next-level-cache = <&l2>;
  55. cpu-idle-states = <&CPU_PH20>;
  56. #cooling-cells = <2>;
  57. };
  58. cpu3: cpu@3 {
  59. device_type = "cpu";
  60. compatible = "arm,cortex-a72";
  61. reg = <0x3>;
  62. clocks = <&clockgen 1 0>;
  63. next-level-cache = <&l2>;
  64. cpu-idle-states = <&CPU_PH20>;
  65. #cooling-cells = <2>;
  66. };
  67. l2: l2-cache {
  68. compatible = "cache";
  69. };
  70. };
  71. idle-states {
  72. /*
  73. * PSCI node is not added default, U-boot will add missing
  74. * parts if it determines to use PSCI.
  75. */
  76. entry-method = "psci";
  77. CPU_PH20: cpu-ph20 {
  78. compatible = "arm,idle-state";
  79. idle-state-name = "PH20";
  80. arm,psci-suspend-param = <0x0>;
  81. entry-latency-us = <1000>;
  82. exit-latency-us = <1000>;
  83. min-residency-us = <3000>;
  84. };
  85. };
  86. memory@80000000 {
  87. device_type = "memory";
  88. /* Real size will be filled by bootloader */
  89. reg = <0x0 0x80000000 0x0 0x0>;
  90. };
  91. sysclk: sysclk {
  92. compatible = "fixed-clock";
  93. #clock-cells = <0>;
  94. clock-frequency = <100000000>;
  95. clock-output-names = "sysclk";
  96. };
  97. reboot {
  98. compatible ="syscon-reboot";
  99. regmap = <&dcfg>;
  100. offset = <0xb0>;
  101. mask = <0x02>;
  102. };
  103. thermal-zones {
  104. cpu_thermal: cpu-thermal {
  105. polling-delay-passive = <1000>;
  106. polling-delay = <5000>;
  107. thermal-sensors = <&tmu 3>;
  108. trips {
  109. cpu_alert: cpu-alert {
  110. temperature = <85000>;
  111. hysteresis = <2000>;
  112. type = "passive";
  113. };
  114. cpu_crit: cpu-crit {
  115. temperature = <95000>;
  116. hysteresis = <2000>;
  117. type = "critical";
  118. };
  119. };
  120. cooling-maps {
  121. map0 {
  122. trip = <&cpu_alert>;
  123. cooling-device =
  124. <&cpu0 THERMAL_NO_LIMIT
  125. THERMAL_NO_LIMIT>;
  126. };
  127. };
  128. };
  129. };
  130. timer {
  131. compatible = "arm,armv8-timer";
  132. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(0xf) |
  133. IRQ_TYPE_LEVEL_LOW)>,
  134. <GIC_PPI 14 (GIC_CPU_MASK_RAW(0xf) |
  135. IRQ_TYPE_LEVEL_LOW)>,
  136. <GIC_PPI 11 (GIC_CPU_MASK_RAW(0xf) |
  137. IRQ_TYPE_LEVEL_LOW)>,
  138. <GIC_PPI 10 (GIC_CPU_MASK_RAW(0xf) |
  139. IRQ_TYPE_LEVEL_LOW)>;
  140. };
  141. pmu {
  142. compatible = "arm,cortex-a72-pmu";
  143. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  144. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  145. <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
  146. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
  147. interrupt-affinity = <&cpu0>,
  148. <&cpu1>,
  149. <&cpu2>,
  150. <&cpu3>;
  151. };
  152. gic: interrupt-controller@1400000 {
  153. compatible = "arm,gic-400";
  154. #interrupt-cells = <3>;
  155. interrupt-controller;
  156. reg = <0x0 0x1410000 0 0x10000>, /* GICD */
  157. <0x0 0x1420000 0 0x20000>, /* GICC */
  158. <0x0 0x1440000 0 0x20000>, /* GICH */
  159. <0x0 0x1460000 0 0x20000>; /* GICV */
  160. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_RAW(0xf) |
  161. IRQ_TYPE_LEVEL_LOW)>;
  162. };
  163. soc: soc {
  164. compatible = "simple-bus";
  165. #address-cells = <2>;
  166. #size-cells = <2>;
  167. ranges;
  168. ddr: memory-controller@1080000 {
  169. compatible = "fsl,qoriq-memory-controller";
  170. reg = <0x0 0x1080000 0x0 0x1000>;
  171. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  172. big-endian;
  173. };
  174. ifc: ifc@1530000 {
  175. compatible = "fsl,ifc", "simple-bus";
  176. reg = <0x0 0x1530000 0x0 0x10000>;
  177. big-endian;
  178. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  179. };
  180. qspi: spi@1550000 {
  181. compatible = "fsl,ls1021a-qspi";
  182. #address-cells = <1>;
  183. #size-cells = <0>;
  184. reg = <0x0 0x1550000 0x0 0x10000>,
  185. <0x0 0x40000000 0x0 0x10000000>;
  186. reg-names = "QuadSPI", "QuadSPI-memory";
  187. interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
  188. clock-names = "qspi_en", "qspi";
  189. clocks = <&clockgen 4 1>, <&clockgen 4 1>;
  190. big-endian;
  191. fsl,qspi-has-second-chip;
  192. status = "disabled";
  193. };
  194. esdhc: esdhc@1560000 {
  195. compatible = "fsl,ls1046a-esdhc", "fsl,esdhc";
  196. reg = <0x0 0x1560000 0x0 0x10000>;
  197. interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
  198. clocks = <&clockgen 2 1>;
  199. voltage-ranges = <1800 1800 3300 3300>;
  200. sdhci,auto-cmd12;
  201. big-endian;
  202. bus-width = <4>;
  203. };
  204. scfg: scfg@1570000 {
  205. compatible = "fsl,ls1046a-scfg", "syscon";
  206. reg = <0x0 0x1570000 0x0 0x10000>;
  207. big-endian;
  208. };
  209. crypto: crypto@1700000 {
  210. compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
  211. "fsl,sec-v4.0";
  212. fsl,sec-era = <8>;
  213. #address-cells = <1>;
  214. #size-cells = <1>;
  215. ranges = <0x0 0x00 0x1700000 0x100000>;
  216. reg = <0x00 0x1700000 0x0 0x100000>;
  217. interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  218. sec_jr0: jr@10000 {
  219. compatible = "fsl,sec-v5.4-job-ring",
  220. "fsl,sec-v5.0-job-ring",
  221. "fsl,sec-v4.0-job-ring";
  222. reg = <0x10000 0x10000>;
  223. interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  224. };
  225. sec_jr1: jr@20000 {
  226. compatible = "fsl,sec-v5.4-job-ring",
  227. "fsl,sec-v5.0-job-ring",
  228. "fsl,sec-v4.0-job-ring";
  229. reg = <0x20000 0x10000>;
  230. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
  231. };
  232. sec_jr2: jr@30000 {
  233. compatible = "fsl,sec-v5.4-job-ring",
  234. "fsl,sec-v5.0-job-ring",
  235. "fsl,sec-v4.0-job-ring";
  236. reg = <0x30000 0x10000>;
  237. interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  238. };
  239. sec_jr3: jr@40000 {
  240. compatible = "fsl,sec-v5.4-job-ring",
  241. "fsl,sec-v5.0-job-ring",
  242. "fsl,sec-v4.0-job-ring";
  243. reg = <0x40000 0x10000>;
  244. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  245. };
  246. };
  247. qman: qman@1880000 {
  248. compatible = "fsl,qman";
  249. reg = <0x0 0x1880000 0x0 0x10000>;
  250. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  251. memory-region = <&qman_fqd &qman_pfdr>;
  252. };
  253. bman: bman@1890000 {
  254. compatible = "fsl,bman";
  255. reg = <0x0 0x1890000 0x0 0x10000>;
  256. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  257. memory-region = <&bman_fbpr>;
  258. };
  259. qportals: qman-portals@500000000 {
  260. ranges = <0x0 0x5 0x00000000 0x8000000>;
  261. };
  262. bportals: bman-portals@508000000 {
  263. ranges = <0x0 0x5 0x08000000 0x8000000>;
  264. };
  265. dcfg: dcfg@1ee0000 {
  266. compatible = "fsl,ls1046a-dcfg", "syscon";
  267. reg = <0x0 0x1ee0000 0x0 0x10000>;
  268. big-endian;
  269. };
  270. clockgen: clocking@1ee1000 {
  271. compatible = "fsl,ls1046a-clockgen";
  272. reg = <0x0 0x1ee1000 0x0 0x1000>;
  273. #clock-cells = <2>;
  274. clocks = <&sysclk>;
  275. };
  276. tmu: tmu@1f00000 {
  277. compatible = "fsl,qoriq-tmu";
  278. reg = <0x0 0x1f00000 0x0 0x10000>;
  279. interrupts = <0 33 0x4>;
  280. fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x30062>;
  281. fsl,tmu-calibration =
  282. /* Calibration data group 1 */
  283. <0x00000000 0x00000026
  284. 0x00000001 0x0000002d
  285. 0x00000002 0x00000032
  286. 0x00000003 0x00000039
  287. 0x00000004 0x0000003f
  288. 0x00000005 0x00000046
  289. 0x00000006 0x0000004d
  290. 0x00000007 0x00000054
  291. 0x00000008 0x0000005a
  292. 0x00000009 0x00000061
  293. 0x0000000a 0x0000006a
  294. 0x0000000b 0x00000071
  295. /* Calibration data group 2 */
  296. 0x00010000 0x00000025
  297. 0x00010001 0x0000002c
  298. 0x00010002 0x00000035
  299. 0x00010003 0x0000003d
  300. 0x00010004 0x00000045
  301. 0x00010005 0x0000004e
  302. 0x00010006 0x00000057
  303. 0x00010007 0x00000061
  304. 0x00010008 0x0000006b
  305. 0x00010009 0x00000076
  306. /* Calibration data group 3 */
  307. 0x00020000 0x00000029
  308. 0x00020001 0x00000033
  309. 0x00020002 0x0000003d
  310. 0x00020003 0x00000049
  311. 0x00020004 0x00000056
  312. 0x00020005 0x00000061
  313. 0x00020006 0x0000006d
  314. /* Calibration data group 4 */
  315. 0x00030000 0x00000021
  316. 0x00030001 0x0000002a
  317. 0x00030002 0x0000003c
  318. 0x00030003 0x0000004e>;
  319. big-endian;
  320. #thermal-sensor-cells = <1>;
  321. };
  322. dspi: spi@2100000 {
  323. compatible = "fsl,ls1021a-v1.0-dspi";
  324. #address-cells = <1>;
  325. #size-cells = <0>;
  326. reg = <0x0 0x2100000 0x0 0x10000>;
  327. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  328. clock-names = "dspi";
  329. clocks = <&clockgen 4 1>;
  330. spi-num-chipselects = <5>;
  331. big-endian;
  332. status = "disabled";
  333. };
  334. i2c0: i2c@2180000 {
  335. compatible = "fsl,vf610-i2c";
  336. #address-cells = <1>;
  337. #size-cells = <0>;
  338. reg = <0x0 0x2180000 0x0 0x10000>;
  339. interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
  340. clocks = <&clockgen 4 1>;
  341. dmas = <&edma0 1 39>,
  342. <&edma0 1 38>;
  343. dma-names = "tx", "rx";
  344. status = "disabled";
  345. };
  346. i2c1: i2c@2190000 {
  347. compatible = "fsl,vf610-i2c";
  348. #address-cells = <1>;
  349. #size-cells = <0>;
  350. reg = <0x0 0x2190000 0x0 0x10000>;
  351. interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
  352. clocks = <&clockgen 4 1>;
  353. status = "disabled";
  354. };
  355. i2c2: i2c@21a0000 {
  356. compatible = "fsl,vf610-i2c";
  357. #address-cells = <1>;
  358. #size-cells = <0>;
  359. reg = <0x0 0x21a0000 0x0 0x10000>;
  360. interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
  361. clocks = <&clockgen 4 1>;
  362. status = "disabled";
  363. };
  364. i2c3: i2c@21b0000 {
  365. compatible = "fsl,vf610-i2c";
  366. #address-cells = <1>;
  367. #size-cells = <0>;
  368. reg = <0x0 0x21b0000 0x0 0x10000>;
  369. interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
  370. clocks = <&clockgen 4 1>;
  371. status = "disabled";
  372. };
  373. duart0: serial@21c0500 {
  374. compatible = "fsl,ns16550", "ns16550a";
  375. reg = <0x00 0x21c0500 0x0 0x100>;
  376. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
  377. clocks = <&clockgen 4 1>;
  378. };
  379. duart1: serial@21c0600 {
  380. compatible = "fsl,ns16550", "ns16550a";
  381. reg = <0x00 0x21c0600 0x0 0x100>;
  382. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
  383. clocks = <&clockgen 4 1>;
  384. };
  385. duart2: serial@21d0500 {
  386. compatible = "fsl,ns16550", "ns16550a";
  387. reg = <0x0 0x21d0500 0x0 0x100>;
  388. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  389. clocks = <&clockgen 4 1>;
  390. };
  391. duart3: serial@21d0600 {
  392. compatible = "fsl,ns16550", "ns16550a";
  393. reg = <0x0 0x21d0600 0x0 0x100>;
  394. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  395. clocks = <&clockgen 4 1>;
  396. };
  397. gpio0: gpio@2300000 {
  398. compatible = "fsl,qoriq-gpio";
  399. reg = <0x0 0x2300000 0x0 0x10000>;
  400. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  401. gpio-controller;
  402. #gpio-cells = <2>;
  403. interrupt-controller;
  404. #interrupt-cells = <2>;
  405. };
  406. gpio1: gpio@2310000 {
  407. compatible = "fsl,qoriq-gpio";
  408. reg = <0x0 0x2310000 0x0 0x10000>;
  409. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  410. gpio-controller;
  411. #gpio-cells = <2>;
  412. interrupt-controller;
  413. #interrupt-cells = <2>;
  414. };
  415. gpio2: gpio@2320000 {
  416. compatible = "fsl,qoriq-gpio";
  417. reg = <0x0 0x2320000 0x0 0x10000>;
  418. interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
  419. gpio-controller;
  420. #gpio-cells = <2>;
  421. interrupt-controller;
  422. #interrupt-cells = <2>;
  423. };
  424. gpio3: gpio@2330000 {
  425. compatible = "fsl,qoriq-gpio";
  426. reg = <0x0 0x2330000 0x0 0x10000>;
  427. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
  428. gpio-controller;
  429. #gpio-cells = <2>;
  430. interrupt-controller;
  431. #interrupt-cells = <2>;
  432. };
  433. lpuart0: serial@2950000 {
  434. compatible = "fsl,ls1021a-lpuart";
  435. reg = <0x0 0x2950000 0x0 0x1000>;
  436. interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  437. clocks = <&clockgen 4 0>;
  438. clock-names = "ipg";
  439. status = "disabled";
  440. };
  441. lpuart1: serial@2960000 {
  442. compatible = "fsl,ls1021a-lpuart";
  443. reg = <0x0 0x2960000 0x0 0x1000>;
  444. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
  445. clocks = <&clockgen 4 1>;
  446. clock-names = "ipg";
  447. status = "disabled";
  448. };
  449. lpuart2: serial@2970000 {
  450. compatible = "fsl,ls1021a-lpuart";
  451. reg = <0x0 0x2970000 0x0 0x1000>;
  452. interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
  453. clocks = <&clockgen 4 1>;
  454. clock-names = "ipg";
  455. status = "disabled";
  456. };
  457. lpuart3: serial@2980000 {
  458. compatible = "fsl,ls1021a-lpuart";
  459. reg = <0x0 0x2980000 0x0 0x1000>;
  460. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
  461. clocks = <&clockgen 4 1>;
  462. clock-names = "ipg";
  463. status = "disabled";
  464. };
  465. lpuart4: serial@2990000 {
  466. compatible = "fsl,ls1021a-lpuart";
  467. reg = <0x0 0x2990000 0x0 0x1000>;
  468. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  469. clocks = <&clockgen 4 1>;
  470. clock-names = "ipg";
  471. status = "disabled";
  472. };
  473. lpuart5: serial@29a0000 {
  474. compatible = "fsl,ls1021a-lpuart";
  475. reg = <0x0 0x29a0000 0x0 0x1000>;
  476. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
  477. clocks = <&clockgen 4 1>;
  478. clock-names = "ipg";
  479. status = "disabled";
  480. };
  481. wdog0: watchdog@2ad0000 {
  482. compatible = "fsl,imx21-wdt";
  483. reg = <0x0 0x2ad0000 0x0 0x10000>;
  484. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  485. clocks = <&clockgen 4 1>;
  486. big-endian;
  487. };
  488. edma0: edma@2c00000 {
  489. #dma-cells = <2>;
  490. compatible = "fsl,vf610-edma";
  491. reg = <0x0 0x2c00000 0x0 0x10000>,
  492. <0x0 0x2c10000 0x0 0x10000>,
  493. <0x0 0x2c20000 0x0 0x10000>;
  494. interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  495. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
  496. interrupt-names = "edma-tx", "edma-err";
  497. dma-channels = <32>;
  498. big-endian;
  499. clock-names = "dmamux0", "dmamux1";
  500. clocks = <&clockgen 4 1>,
  501. <&clockgen 4 1>;
  502. };
  503. usb0: usb@2f00000 {
  504. compatible = "snps,dwc3";
  505. reg = <0x0 0x2f00000 0x0 0x10000>;
  506. interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
  507. dr_mode = "host";
  508. snps,quirk-frame-length-adjustment = <0x20>;
  509. snps,dis_rxdet_inp3_quirk;
  510. };
  511. usb1: usb@3000000 {
  512. compatible = "snps,dwc3";
  513. reg = <0x0 0x3000000 0x0 0x10000>;
  514. interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
  515. dr_mode = "host";
  516. snps,quirk-frame-length-adjustment = <0x20>;
  517. snps,dis_rxdet_inp3_quirk;
  518. };
  519. usb2: usb@3100000 {
  520. compatible = "snps,dwc3";
  521. reg = <0x0 0x3100000 0x0 0x10000>;
  522. interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  523. dr_mode = "host";
  524. snps,quirk-frame-length-adjustment = <0x20>;
  525. snps,dis_rxdet_inp3_quirk;
  526. };
  527. sata: sata@3200000 {
  528. compatible = "fsl,ls1046a-ahci";
  529. reg = <0x0 0x3200000 0x0 0x10000>,
  530. <0x0 0x20140520 0x0 0x4>;
  531. reg-names = "ahci", "sata-ecc";
  532. interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  533. clocks = <&clockgen 4 1>;
  534. };
  535. msi1: msi-controller@1580000 {
  536. compatible = "fsl,ls1046a-msi";
  537. msi-controller;
  538. reg = <0x0 0x1580000 0x0 0x10000>;
  539. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  540. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  541. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  542. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
  543. };
  544. msi2: msi-controller@1590000 {
  545. compatible = "fsl,ls1046a-msi";
  546. msi-controller;
  547. reg = <0x0 0x1590000 0x0 0x10000>;
  548. interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
  549. <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
  550. <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
  551. <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
  552. };
  553. msi3: msi-controller@15a0000 {
  554. compatible = "fsl,ls1046a-msi";
  555. msi-controller;
  556. reg = <0x0 0x15a0000 0x0 0x10000>;
  557. interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
  558. <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
  559. <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
  560. <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
  561. };
  562. pcie@3400000 {
  563. compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
  564. reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
  565. 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
  566. reg-names = "regs", "config";
  567. interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
  568. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
  569. interrupt-names = "aer", "pme";
  570. #address-cells = <3>;
  571. #size-cells = <2>;
  572. device_type = "pci";
  573. dma-coherent;
  574. num-lanes = <4>;
  575. bus-range = <0x0 0xff>;
  576. ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
  577. 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
  578. msi-parent = <&msi1>, <&msi2>, <&msi3>;
  579. #interrupt-cells = <1>;
  580. interrupt-map-mask = <0 0 0 7>;
  581. interrupt-map = <0000 0 0 1 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  582. <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  583. <0000 0 0 3 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  584. <0000 0 0 4 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
  585. };
  586. pcie@3500000 {
  587. compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
  588. reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
  589. 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
  590. reg-names = "regs", "config";
  591. interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
  592. <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
  593. interrupt-names = "aer", "pme";
  594. #address-cells = <3>;
  595. #size-cells = <2>;
  596. device_type = "pci";
  597. dma-coherent;
  598. num-lanes = <2>;
  599. bus-range = <0x0 0xff>;
  600. ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
  601. 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
  602. msi-parent = <&msi2>, <&msi3>, <&msi1>;
  603. #interrupt-cells = <1>;
  604. interrupt-map-mask = <0 0 0 7>;
  605. interrupt-map = <0000 0 0 1 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  606. <0000 0 0 2 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  607. <0000 0 0 3 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  608. <0000 0 0 4 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
  609. };
  610. pcie@3600000 {
  611. compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
  612. reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
  613. 0x50 0x00000000 0x0 0x00002000>; /* configuration space */
  614. reg-names = "regs", "config";
  615. interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
  616. <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
  617. interrupt-names = "aer", "pme";
  618. #address-cells = <3>;
  619. #size-cells = <2>;
  620. device_type = "pci";
  621. dma-coherent;
  622. num-lanes = <2>;
  623. bus-range = <0x0 0xff>;
  624. ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
  625. 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
  626. msi-parent = <&msi3>, <&msi1>, <&msi2>;
  627. #interrupt-cells = <1>;
  628. interrupt-map-mask = <0 0 0 7>;
  629. interrupt-map = <0000 0 0 1 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
  630. <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
  631. <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
  632. <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  633. };
  634. };
  635. reserved-memory {
  636. #address-cells = <2>;
  637. #size-cells = <2>;
  638. ranges;
  639. bman_fbpr: bman-fbpr {
  640. compatible = "shared-dma-pool";
  641. size = <0 0x1000000>;
  642. alignment = <0 0x1000000>;
  643. no-map;
  644. };
  645. qman_fqd: qman-fqd {
  646. compatible = "shared-dma-pool";
  647. size = <0 0x800000>;
  648. alignment = <0 0x800000>;
  649. no-map;
  650. };
  651. qman_pfdr: qman-pfdr {
  652. compatible = "shared-dma-pool";
  653. size = <0 0x2000000>;
  654. alignment = <0 0x2000000>;
  655. no-map;
  656. };
  657. };
  658. firmware {
  659. optee {
  660. compatible = "linaro,optee-tz";
  661. method = "smc";
  662. };
  663. };
  664. };
  665. #include "qoriq-qman-portals.dtsi"
  666. #include "qoriq-bman-portals.dtsi"