fsl-ls1046a.dtsi 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree Include file for NXP Layerscape-1046A family SoC.
  4. *
  5. * Copyright 2016 Freescale Semiconductor, Inc.
  6. * Copyright 2018, 2020 NXP
  7. *
  8. * Mingkai Hu <[email protected]>
  9. */
  10. #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
  11. #include <dt-bindings/interrupt-controller/arm-gic.h>
  12. #include <dt-bindings/thermal/thermal.h>
  13. #include <dt-bindings/gpio/gpio.h>
  14. / {
  15. compatible = "fsl,ls1046a";
  16. interrupt-parent = <&gic>;
  17. #address-cells = <2>;
  18. #size-cells = <2>;
  19. aliases {
  20. crypto = &crypto;
  21. fman0 = &fman0;
  22. ethernet0 = &enet0;
  23. ethernet1 = &enet1;
  24. ethernet2 = &enet2;
  25. ethernet3 = &enet3;
  26. ethernet4 = &enet4;
  27. ethernet5 = &enet5;
  28. ethernet6 = &enet6;
  29. ethernet7 = &enet7;
  30. rtc1 = &ftm_alarm0;
  31. };
  32. cpus {
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. cpu0: cpu@0 {
  36. device_type = "cpu";
  37. compatible = "arm,cortex-a72";
  38. reg = <0x0>;
  39. clocks = <&clockgen QORIQ_CLK_CMUX 0>;
  40. next-level-cache = <&l2>;
  41. cpu-idle-states = <&CPU_PH20>;
  42. #cooling-cells = <2>;
  43. };
  44. cpu1: cpu@1 {
  45. device_type = "cpu";
  46. compatible = "arm,cortex-a72";
  47. reg = <0x1>;
  48. clocks = <&clockgen QORIQ_CLK_CMUX 0>;
  49. next-level-cache = <&l2>;
  50. cpu-idle-states = <&CPU_PH20>;
  51. #cooling-cells = <2>;
  52. };
  53. cpu2: cpu@2 {
  54. device_type = "cpu";
  55. compatible = "arm,cortex-a72";
  56. reg = <0x2>;
  57. clocks = <&clockgen QORIQ_CLK_CMUX 0>;
  58. next-level-cache = <&l2>;
  59. cpu-idle-states = <&CPU_PH20>;
  60. #cooling-cells = <2>;
  61. };
  62. cpu3: cpu@3 {
  63. device_type = "cpu";
  64. compatible = "arm,cortex-a72";
  65. reg = <0x3>;
  66. clocks = <&clockgen QORIQ_CLK_CMUX 0>;
  67. next-level-cache = <&l2>;
  68. cpu-idle-states = <&CPU_PH20>;
  69. #cooling-cells = <2>;
  70. };
  71. l2: l2-cache {
  72. compatible = "cache";
  73. };
  74. };
  75. idle-states {
  76. /*
  77. * PSCI node is not added default, U-boot will add missing
  78. * parts if it determines to use PSCI.
  79. */
  80. entry-method = "psci";
  81. CPU_PH20: cpu-ph20 {
  82. compatible = "arm,idle-state";
  83. idle-state-name = "PH20";
  84. arm,psci-suspend-param = <0x0>;
  85. entry-latency-us = <1000>;
  86. exit-latency-us = <1000>;
  87. min-residency-us = <3000>;
  88. };
  89. };
  90. memory@80000000 {
  91. device_type = "memory";
  92. /* Real size will be filled by bootloader */
  93. reg = <0x0 0x80000000 0x0 0x0>;
  94. };
  95. sysclk: sysclk {
  96. compatible = "fixed-clock";
  97. #clock-cells = <0>;
  98. clock-frequency = <100000000>;
  99. clock-output-names = "sysclk";
  100. };
  101. reboot {
  102. compatible = "syscon-reboot";
  103. regmap = <&dcfg>;
  104. offset = <0xb0>;
  105. mask = <0x02>;
  106. };
  107. thermal-zones {
  108. ddr-controller {
  109. polling-delay-passive = <1000>;
  110. polling-delay = <5000>;
  111. thermal-sensors = <&tmu 0>;
  112. trips {
  113. ddr-ctrler-alert {
  114. temperature = <85000>;
  115. hysteresis = <2000>;
  116. type = "passive";
  117. };
  118. ddr-ctrler-crit {
  119. temperature = <95000>;
  120. hysteresis = <2000>;
  121. type = "critical";
  122. };
  123. };
  124. };
  125. serdes {
  126. polling-delay-passive = <1000>;
  127. polling-delay = <5000>;
  128. thermal-sensors = <&tmu 1>;
  129. trips {
  130. serdes-alert {
  131. temperature = <85000>;
  132. hysteresis = <2000>;
  133. type = "passive";
  134. };
  135. serdes-crit {
  136. temperature = <95000>;
  137. hysteresis = <2000>;
  138. type = "critical";
  139. };
  140. };
  141. };
  142. fman {
  143. polling-delay-passive = <1000>;
  144. polling-delay = <5000>;
  145. thermal-sensors = <&tmu 2>;
  146. trips {
  147. fman-alert {
  148. temperature = <85000>;
  149. hysteresis = <2000>;
  150. type = "passive";
  151. };
  152. fman-crit {
  153. temperature = <95000>;
  154. hysteresis = <2000>;
  155. type = "critical";
  156. };
  157. };
  158. };
  159. core-cluster {
  160. polling-delay-passive = <1000>;
  161. polling-delay = <5000>;
  162. thermal-sensors = <&tmu 3>;
  163. trips {
  164. core_cluster_alert: core-cluster-alert {
  165. temperature = <85000>;
  166. hysteresis = <2000>;
  167. type = "passive";
  168. };
  169. core_cluster_crit: core-cluster-crit {
  170. temperature = <95000>;
  171. hysteresis = <2000>;
  172. type = "critical";
  173. };
  174. };
  175. cooling-maps {
  176. map0 {
  177. trip = <&core_cluster_alert>;
  178. cooling-device =
  179. <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  180. <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  181. <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  182. <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  183. };
  184. };
  185. };
  186. sec {
  187. polling-delay-passive = <1000>;
  188. polling-delay = <5000>;
  189. thermal-sensors = <&tmu 4>;
  190. trips {
  191. sec-alert {
  192. temperature = <85000>;
  193. hysteresis = <2000>;
  194. type = "passive";
  195. };
  196. sec-crit {
  197. temperature = <95000>;
  198. hysteresis = <2000>;
  199. type = "critical";
  200. };
  201. };
  202. };
  203. };
  204. timer {
  205. compatible = "arm,armv8-timer";
  206. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(0xf) |
  207. IRQ_TYPE_LEVEL_LOW)>,
  208. <GIC_PPI 14 (GIC_CPU_MASK_RAW(0xf) |
  209. IRQ_TYPE_LEVEL_LOW)>,
  210. <GIC_PPI 11 (GIC_CPU_MASK_RAW(0xf) |
  211. IRQ_TYPE_LEVEL_LOW)>,
  212. <GIC_PPI 10 (GIC_CPU_MASK_RAW(0xf) |
  213. IRQ_TYPE_LEVEL_LOW)>;
  214. };
  215. pmu {
  216. compatible = "arm,cortex-a72-pmu";
  217. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  218. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  219. <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
  220. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
  221. interrupt-affinity = <&cpu0>,
  222. <&cpu1>,
  223. <&cpu2>,
  224. <&cpu3>;
  225. };
  226. gic: interrupt-controller@1400000 {
  227. compatible = "arm,gic-400";
  228. #interrupt-cells = <3>;
  229. interrupt-controller;
  230. reg = <0x0 0x1410000 0 0x10000>, /* GICD */
  231. <0x0 0x1420000 0 0x20000>, /* GICC */
  232. <0x0 0x1440000 0 0x20000>, /* GICH */
  233. <0x0 0x1460000 0 0x20000>; /* GICV */
  234. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_RAW(0xf) |
  235. IRQ_TYPE_LEVEL_LOW)>;
  236. };
  237. soc: soc {
  238. compatible = "simple-bus";
  239. #address-cells = <2>;
  240. #size-cells = <2>;
  241. ranges;
  242. dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
  243. dma-coherent;
  244. ddr: memory-controller@1080000 {
  245. compatible = "fsl,qoriq-memory-controller";
  246. reg = <0x0 0x1080000 0x0 0x1000>;
  247. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  248. big-endian;
  249. };
  250. ifc: memory-controller@1530000 {
  251. compatible = "fsl,ifc";
  252. reg = <0x0 0x1530000 0x0 0x10000>;
  253. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  254. status = "disabled";
  255. };
  256. qspi: spi@1550000 {
  257. compatible = "fsl,ls1021a-qspi";
  258. #address-cells = <1>;
  259. #size-cells = <0>;
  260. reg = <0x0 0x1550000 0x0 0x10000>,
  261. <0x0 0x40000000 0x0 0x10000000>;
  262. reg-names = "QuadSPI", "QuadSPI-memory";
  263. interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
  264. clock-names = "qspi_en", "qspi";
  265. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  266. QORIQ_CLK_PLL_DIV(2)>,
  267. <&clockgen QORIQ_CLK_PLATFORM_PLL
  268. QORIQ_CLK_PLL_DIV(2)>;
  269. status = "disabled";
  270. };
  271. esdhc: esdhc@1560000 {
  272. compatible = "fsl,ls1046a-esdhc", "fsl,esdhc";
  273. reg = <0x0 0x1560000 0x0 0x10000>;
  274. interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
  275. clocks = <&clockgen QORIQ_CLK_HWACCEL 1>;
  276. voltage-ranges = <1800 1800 3300 3300>;
  277. sdhci,auto-cmd12;
  278. big-endian;
  279. bus-width = <4>;
  280. };
  281. scfg: scfg@1570000 {
  282. compatible = "fsl,ls1046a-scfg", "syscon";
  283. reg = <0x0 0x1570000 0x0 0x10000>;
  284. big-endian;
  285. #address-cells = <1>;
  286. #size-cells = <1>;
  287. ranges = <0x0 0x0 0x1570000 0x10000>;
  288. extirq: interrupt-controller@1ac {
  289. compatible = "fsl,ls1046a-extirq", "fsl,ls1043a-extirq";
  290. #interrupt-cells = <2>;
  291. #address-cells = <0>;
  292. interrupt-controller;
  293. reg = <0x1ac 4>;
  294. interrupt-map =
  295. <0 0 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  296. <1 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
  297. <2 0 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
  298. <3 0 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
  299. <4 0 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
  300. <5 0 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
  301. <6 0 &gic GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
  302. <7 0 &gic GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
  303. <8 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
  304. <9 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
  305. <10 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
  306. <11 0 &gic GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
  307. interrupt-map-mask = <0xf 0x0>;
  308. };
  309. };
  310. crypto: crypto@1700000 {
  311. compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
  312. "fsl,sec-v4.0";
  313. fsl,sec-era = <8>;
  314. #address-cells = <1>;
  315. #size-cells = <1>;
  316. ranges = <0x0 0x00 0x1700000 0x100000>;
  317. reg = <0x00 0x1700000 0x0 0x100000>;
  318. interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  319. sec_jr0: jr@10000 {
  320. compatible = "fsl,sec-v5.4-job-ring",
  321. "fsl,sec-v5.0-job-ring",
  322. "fsl,sec-v4.0-job-ring";
  323. reg = <0x10000 0x10000>;
  324. interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  325. };
  326. sec_jr1: jr@20000 {
  327. compatible = "fsl,sec-v5.4-job-ring",
  328. "fsl,sec-v5.0-job-ring",
  329. "fsl,sec-v4.0-job-ring";
  330. reg = <0x20000 0x10000>;
  331. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
  332. };
  333. sec_jr2: jr@30000 {
  334. compatible = "fsl,sec-v5.4-job-ring",
  335. "fsl,sec-v5.0-job-ring",
  336. "fsl,sec-v4.0-job-ring";
  337. reg = <0x30000 0x10000>;
  338. interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  339. };
  340. sec_jr3: jr@40000 {
  341. compatible = "fsl,sec-v5.4-job-ring",
  342. "fsl,sec-v5.0-job-ring",
  343. "fsl,sec-v4.0-job-ring";
  344. reg = <0x40000 0x10000>;
  345. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  346. };
  347. };
  348. qman: qman@1880000 {
  349. compatible = "fsl,qman";
  350. reg = <0x0 0x1880000 0x0 0x10000>;
  351. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  352. memory-region = <&qman_fqd &qman_pfdr>;
  353. };
  354. bman: bman@1890000 {
  355. compatible = "fsl,bman";
  356. reg = <0x0 0x1890000 0x0 0x10000>;
  357. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  358. memory-region = <&bman_fbpr>;
  359. };
  360. qportals: qman-portals@500000000 {
  361. ranges = <0x0 0x5 0x00000000 0x8000000>;
  362. };
  363. bportals: bman-portals@508000000 {
  364. ranges = <0x0 0x5 0x08000000 0x8000000>;
  365. };
  366. sfp: efuse@1e80000 {
  367. compatible = "fsl,ls1021a-sfp";
  368. reg = <0x0 0x1e80000 0x0 0x10000>;
  369. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  370. QORIQ_CLK_PLL_DIV(4)>;
  371. clock-names = "sfp";
  372. };
  373. dcfg: dcfg@1ee0000 {
  374. compatible = "fsl,ls1046a-dcfg", "syscon";
  375. reg = <0x0 0x1ee0000 0x0 0x1000>;
  376. big-endian;
  377. };
  378. clockgen: clocking@1ee1000 {
  379. compatible = "fsl,ls1046a-clockgen";
  380. reg = <0x0 0x1ee1000 0x0 0x1000>;
  381. #clock-cells = <2>;
  382. clocks = <&sysclk>;
  383. };
  384. tmu: tmu@1f00000 {
  385. compatible = "fsl,qoriq-tmu";
  386. reg = <0x0 0x1f00000 0x0 0x10000>;
  387. interrupts = <0 33 0x4>;
  388. fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x70062>;
  389. fsl,tmu-calibration =
  390. /* Calibration data group 1 */
  391. <0x00000000 0x00000023
  392. 0x00000001 0x00000029
  393. 0x00000002 0x0000002f
  394. 0x00000003 0x00000036
  395. 0x00000004 0x0000003c
  396. 0x00000005 0x00000042
  397. 0x00000006 0x00000049
  398. 0x00000007 0x0000004f
  399. 0x00000008 0x00000055
  400. 0x00000009 0x0000005c
  401. 0x0000000a 0x00000062
  402. 0x0000000b 0x00000068
  403. /* Calibration data group 2 */
  404. 0x00010000 0x00000022
  405. 0x00010001 0x0000002a
  406. 0x00010002 0x00000032
  407. 0x00010003 0x0000003a
  408. 0x00010004 0x00000042
  409. 0x00010005 0x0000004a
  410. 0x00010006 0x00000052
  411. 0x00010007 0x0000005a
  412. 0x00010008 0x00000062
  413. 0x00010009 0x0000006a
  414. /* Calibration data group 3 */
  415. 0x00020000 0x00000021
  416. 0x00020001 0x0000002b
  417. 0x00020002 0x00000035
  418. 0x00020003 0x0000003e
  419. 0x00020004 0x00000048
  420. 0x00020005 0x00000052
  421. 0x00020006 0x0000005c
  422. /* Calibration data group 4 */
  423. 0x00030000 0x00000011
  424. 0x00030001 0x0000001a
  425. 0x00030002 0x00000024
  426. 0x00030003 0x0000002e
  427. 0x00030004 0x00000038
  428. 0x00030005 0x00000042
  429. 0x00030006 0x0000004c
  430. 0x00030007 0x00000056>;
  431. big-endian;
  432. #thermal-sensor-cells = <1>;
  433. };
  434. dspi: spi@2100000 {
  435. compatible = "fsl,ls1021a-v1.0-dspi";
  436. #address-cells = <1>;
  437. #size-cells = <0>;
  438. reg = <0x0 0x2100000 0x0 0x10000>;
  439. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  440. clock-names = "dspi";
  441. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  442. QORIQ_CLK_PLL_DIV(2)>;
  443. spi-num-chipselects = <5>;
  444. big-endian;
  445. status = "disabled";
  446. };
  447. i2c0: i2c@2180000 {
  448. compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c";
  449. #address-cells = <1>;
  450. #size-cells = <0>;
  451. reg = <0x0 0x2180000 0x0 0x10000>;
  452. interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
  453. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  454. QORIQ_CLK_PLL_DIV(2)>;
  455. dmas = <&edma0 1 38>,
  456. <&edma0 1 39>;
  457. dma-names = "rx", "tx";
  458. status = "disabled";
  459. };
  460. i2c1: i2c@2190000 {
  461. compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c";
  462. #address-cells = <1>;
  463. #size-cells = <0>;
  464. reg = <0x0 0x2190000 0x0 0x10000>;
  465. interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
  466. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  467. QORIQ_CLK_PLL_DIV(2)>;
  468. scl-gpios = <&gpio3 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  469. status = "disabled";
  470. };
  471. i2c2: i2c@21a0000 {
  472. compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c";
  473. #address-cells = <1>;
  474. #size-cells = <0>;
  475. reg = <0x0 0x21a0000 0x0 0x10000>;
  476. interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
  477. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  478. QORIQ_CLK_PLL_DIV(2)>;
  479. scl-gpios = <&gpio3 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  480. status = "disabled";
  481. };
  482. i2c3: i2c@21b0000 {
  483. compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c";
  484. #address-cells = <1>;
  485. #size-cells = <0>;
  486. reg = <0x0 0x21b0000 0x0 0x10000>;
  487. interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
  488. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  489. QORIQ_CLK_PLL_DIV(2)>;
  490. scl-gpios = <&gpio3 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  491. status = "disabled";
  492. };
  493. duart0: serial@21c0500 {
  494. compatible = "fsl,ns16550", "ns16550a";
  495. reg = <0x00 0x21c0500 0x0 0x100>;
  496. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
  497. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  498. QORIQ_CLK_PLL_DIV(2)>;
  499. status = "disabled";
  500. };
  501. duart1: serial@21c0600 {
  502. compatible = "fsl,ns16550", "ns16550a";
  503. reg = <0x00 0x21c0600 0x0 0x100>;
  504. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
  505. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  506. QORIQ_CLK_PLL_DIV(2)>;
  507. status = "disabled";
  508. };
  509. duart2: serial@21d0500 {
  510. compatible = "fsl,ns16550", "ns16550a";
  511. reg = <0x0 0x21d0500 0x0 0x100>;
  512. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  513. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  514. QORIQ_CLK_PLL_DIV(2)>;
  515. status = "disabled";
  516. };
  517. duart3: serial@21d0600 {
  518. compatible = "fsl,ns16550", "ns16550a";
  519. reg = <0x0 0x21d0600 0x0 0x100>;
  520. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  521. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  522. QORIQ_CLK_PLL_DIV(2)>;
  523. status = "disabled";
  524. };
  525. gpio0: gpio@2300000 {
  526. compatible = "fsl,qoriq-gpio";
  527. reg = <0x0 0x2300000 0x0 0x10000>;
  528. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  529. gpio-controller;
  530. #gpio-cells = <2>;
  531. interrupt-controller;
  532. #interrupt-cells = <2>;
  533. };
  534. gpio1: gpio@2310000 {
  535. compatible = "fsl,qoriq-gpio";
  536. reg = <0x0 0x2310000 0x0 0x10000>;
  537. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  538. gpio-controller;
  539. #gpio-cells = <2>;
  540. interrupt-controller;
  541. #interrupt-cells = <2>;
  542. };
  543. gpio2: gpio@2320000 {
  544. compatible = "fsl,qoriq-gpio";
  545. reg = <0x0 0x2320000 0x0 0x10000>;
  546. interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
  547. gpio-controller;
  548. #gpio-cells = <2>;
  549. interrupt-controller;
  550. #interrupt-cells = <2>;
  551. };
  552. gpio3: gpio@2330000 {
  553. compatible = "fsl,qoriq-gpio";
  554. reg = <0x0 0x2330000 0x0 0x10000>;
  555. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
  556. gpio-controller;
  557. #gpio-cells = <2>;
  558. interrupt-controller;
  559. #interrupt-cells = <2>;
  560. };
  561. lpuart0: serial@2950000 {
  562. compatible = "fsl,ls1021a-lpuart";
  563. reg = <0x0 0x2950000 0x0 0x1000>;
  564. interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  565. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  566. QORIQ_CLK_PLL_DIV(1)>;
  567. clock-names = "ipg";
  568. status = "disabled";
  569. };
  570. lpuart1: serial@2960000 {
  571. compatible = "fsl,ls1021a-lpuart";
  572. reg = <0x0 0x2960000 0x0 0x1000>;
  573. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
  574. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  575. QORIQ_CLK_PLL_DIV(2)>;
  576. clock-names = "ipg";
  577. status = "disabled";
  578. };
  579. lpuart2: serial@2970000 {
  580. compatible = "fsl,ls1021a-lpuart";
  581. reg = <0x0 0x2970000 0x0 0x1000>;
  582. interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
  583. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  584. QORIQ_CLK_PLL_DIV(2)>;
  585. clock-names = "ipg";
  586. status = "disabled";
  587. };
  588. lpuart3: serial@2980000 {
  589. compatible = "fsl,ls1021a-lpuart";
  590. reg = <0x0 0x2980000 0x0 0x1000>;
  591. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
  592. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  593. QORIQ_CLK_PLL_DIV(2)>;
  594. clock-names = "ipg";
  595. status = "disabled";
  596. };
  597. lpuart4: serial@2990000 {
  598. compatible = "fsl,ls1021a-lpuart";
  599. reg = <0x0 0x2990000 0x0 0x1000>;
  600. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  601. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  602. QORIQ_CLK_PLL_DIV(2)>;
  603. clock-names = "ipg";
  604. status = "disabled";
  605. };
  606. lpuart5: serial@29a0000 {
  607. compatible = "fsl,ls1021a-lpuart";
  608. reg = <0x0 0x29a0000 0x0 0x1000>;
  609. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
  610. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  611. QORIQ_CLK_PLL_DIV(2)>;
  612. clock-names = "ipg";
  613. status = "disabled";
  614. };
  615. wdog0: watchdog@2ad0000 {
  616. compatible = "fsl,imx21-wdt";
  617. reg = <0x0 0x2ad0000 0x0 0x10000>;
  618. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  619. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  620. QORIQ_CLK_PLL_DIV(2)>;
  621. big-endian;
  622. };
  623. edma0: dma-controller@2c00000 {
  624. #dma-cells = <2>;
  625. compatible = "fsl,vf610-edma";
  626. reg = <0x0 0x2c00000 0x0 0x10000>,
  627. <0x0 0x2c10000 0x0 0x10000>,
  628. <0x0 0x2c20000 0x0 0x10000>;
  629. interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  630. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
  631. interrupt-names = "edma-tx", "edma-err";
  632. dma-channels = <32>;
  633. big-endian;
  634. clock-names = "dmamux0", "dmamux1";
  635. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  636. QORIQ_CLK_PLL_DIV(2)>,
  637. <&clockgen QORIQ_CLK_PLATFORM_PLL
  638. QORIQ_CLK_PLL_DIV(2)>;
  639. };
  640. aux_bus: aux_bus {
  641. #address-cells = <2>;
  642. #size-cells = <2>;
  643. compatible = "simple-bus";
  644. ranges;
  645. dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x00000000>;
  646. usb0: usb@2f00000 {
  647. compatible = "snps,dwc3";
  648. reg = <0x0 0x2f00000 0x0 0x10000>;
  649. interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
  650. dr_mode = "host";
  651. snps,quirk-frame-length-adjustment = <0x20>;
  652. snps,dis_rxdet_inp3_quirk;
  653. snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
  654. usb3-lpm-capable;
  655. };
  656. usb1: usb@3000000 {
  657. compatible = "snps,dwc3";
  658. reg = <0x0 0x3000000 0x0 0x10000>;
  659. interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
  660. dr_mode = "host";
  661. snps,quirk-frame-length-adjustment = <0x20>;
  662. snps,dis_rxdet_inp3_quirk;
  663. snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
  664. usb3-lpm-capable;
  665. };
  666. usb2: usb@3100000 {
  667. compatible = "snps,dwc3";
  668. reg = <0x0 0x3100000 0x0 0x10000>;
  669. interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  670. dr_mode = "host";
  671. snps,quirk-frame-length-adjustment = <0x20>;
  672. snps,dis_rxdet_inp3_quirk;
  673. snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
  674. usb3-lpm-capable;
  675. };
  676. sata: sata@3200000 {
  677. compatible = "fsl,ls1046a-ahci";
  678. reg = <0x0 0x3200000 0x0 0x10000>,
  679. <0x0 0x20140520 0x0 0x4>;
  680. reg-names = "ahci", "sata-ecc";
  681. interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  682. clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
  683. QORIQ_CLK_PLL_DIV(2)>;
  684. };
  685. };
  686. msi1: msi-controller@1580000 {
  687. compatible = "fsl,ls1046a-msi";
  688. msi-controller;
  689. reg = <0x0 0x1580000 0x0 0x10000>;
  690. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  691. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  692. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  693. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
  694. };
  695. msi2: msi-controller@1590000 {
  696. compatible = "fsl,ls1046a-msi";
  697. msi-controller;
  698. reg = <0x0 0x1590000 0x0 0x10000>;
  699. interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
  700. <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
  701. <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
  702. <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
  703. };
  704. msi3: msi-controller@15a0000 {
  705. compatible = "fsl,ls1046a-msi";
  706. msi-controller;
  707. reg = <0x0 0x15a0000 0x0 0x10000>;
  708. interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
  709. <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
  710. <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
  711. <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
  712. };
  713. pcie1: pcie@3400000 {
  714. compatible = "fsl,ls1046a-pcie";
  715. reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
  716. <0x40 0x00000000 0x0 0x00002000>; /* configuration space */
  717. reg-names = "regs", "config";
  718. interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
  719. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
  720. interrupt-names = "aer", "pme";
  721. #address-cells = <3>;
  722. #size-cells = <2>;
  723. device_type = "pci";
  724. num-viewport = <8>;
  725. bus-range = <0x0 0xff>;
  726. ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
  727. 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
  728. msi-parent = <&msi1>, <&msi2>, <&msi3>;
  729. #interrupt-cells = <1>;
  730. interrupt-map-mask = <0 0 0 7>;
  731. interrupt-map = <0000 0 0 1 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  732. <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  733. <0000 0 0 3 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  734. <0000 0 0 4 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
  735. big-endian;
  736. status = "disabled";
  737. };
  738. pcie_ep1: pcie_ep@3400000 {
  739. compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep";
  740. reg = <0x00 0x03400000 0x0 0x00100000>,
  741. <0x40 0x00000000 0x8 0x00000000>;
  742. reg-names = "regs", "addr_space";
  743. interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
  744. interrupt-names = "pme";
  745. num-ib-windows = <6>;
  746. num-ob-windows = <8>;
  747. big-endian;
  748. status = "disabled";
  749. };
  750. pcie2: pcie@3500000 {
  751. compatible = "fsl,ls1046a-pcie";
  752. reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
  753. <0x48 0x00000000 0x0 0x00002000>; /* configuration space */
  754. reg-names = "regs", "config";
  755. interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
  756. <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
  757. interrupt-names = "aer", "pme";
  758. #address-cells = <3>;
  759. #size-cells = <2>;
  760. device_type = "pci";
  761. num-viewport = <8>;
  762. bus-range = <0x0 0xff>;
  763. ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
  764. 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
  765. msi-parent = <&msi2>, <&msi3>, <&msi1>;
  766. #interrupt-cells = <1>;
  767. interrupt-map-mask = <0 0 0 7>;
  768. interrupt-map = <0000 0 0 1 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  769. <0000 0 0 2 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  770. <0000 0 0 3 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  771. <0000 0 0 4 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
  772. big-endian;
  773. status = "disabled";
  774. };
  775. pcie_ep2: pcie_ep@3500000 {
  776. compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep";
  777. reg = <0x00 0x03500000 0x0 0x00100000>,
  778. <0x48 0x00000000 0x8 0x00000000>;
  779. reg-names = "regs", "addr_space";
  780. interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
  781. interrupt-names = "pme";
  782. num-ib-windows = <6>;
  783. num-ob-windows = <8>;
  784. big-endian;
  785. status = "disabled";
  786. };
  787. pcie3: pcie@3600000 {
  788. compatible = "fsl,ls1046a-pcie";
  789. reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
  790. <0x50 0x00000000 0x0 0x00002000>; /* configuration space */
  791. reg-names = "regs", "config";
  792. interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
  793. <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
  794. interrupt-names = "aer", "pme";
  795. #address-cells = <3>;
  796. #size-cells = <2>;
  797. device_type = "pci";
  798. num-viewport = <8>;
  799. bus-range = <0x0 0xff>;
  800. ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
  801. 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
  802. msi-parent = <&msi3>, <&msi1>, <&msi2>;
  803. #interrupt-cells = <1>;
  804. interrupt-map-mask = <0 0 0 7>;
  805. interrupt-map = <0000 0 0 1 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
  806. <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
  807. <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
  808. <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  809. big-endian;
  810. status = "disabled";
  811. };
  812. pcie_ep3: pcie_ep@3600000 {
  813. compatible = "fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep";
  814. reg = <0x00 0x03600000 0x0 0x00100000>,
  815. <0x50 0x00000000 0x8 0x00000000>;
  816. reg-names = "regs", "addr_space";
  817. interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
  818. interrupt-names = "pme";
  819. num-ib-windows = <6>;
  820. num-ob-windows = <8>;
  821. big-endian;
  822. status = "disabled";
  823. };
  824. qdma: dma-controller@8380000 {
  825. compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
  826. reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
  827. <0x0 0x8390000 0x0 0x10000>, /* Status regs */
  828. <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
  829. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
  830. <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
  831. <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
  832. <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
  833. <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  834. interrupt-names = "qdma-error", "qdma-queue0",
  835. "qdma-queue1", "qdma-queue2", "qdma-queue3";
  836. dma-channels = <8>;
  837. block-number = <1>;
  838. block-offset = <0x10000>;
  839. fsl,dma-queues = <2>;
  840. status-sizes = <64>;
  841. queue-sizes = <64 64>;
  842. big-endian;
  843. };
  844. rcpm: power-controller@1ee2140 {
  845. compatible = "fsl,ls1046a-rcpm", "fsl,qoriq-rcpm-2.1+";
  846. reg = <0x0 0x1ee2140 0x0 0x4>;
  847. #fsl,rcpm-wakeup-cells = <1>;
  848. };
  849. ftm_alarm0: timer@29d0000 {
  850. compatible = "fsl,ls1046a-ftm-alarm";
  851. reg = <0x0 0x29d0000 0x0 0x10000>;
  852. fsl,rcpm-wakeup = <&rcpm 0x20000>;
  853. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  854. big-endian;
  855. };
  856. };
  857. reserved-memory {
  858. #address-cells = <2>;
  859. #size-cells = <2>;
  860. ranges;
  861. bman_fbpr: bman-fbpr {
  862. compatible = "shared-dma-pool";
  863. size = <0 0x1000000>;
  864. alignment = <0 0x1000000>;
  865. no-map;
  866. };
  867. qman_fqd: qman-fqd {
  868. compatible = "shared-dma-pool";
  869. size = <0 0x800000>;
  870. alignment = <0 0x800000>;
  871. no-map;
  872. };
  873. qman_pfdr: qman-pfdr {
  874. compatible = "shared-dma-pool";
  875. size = <0 0x2000000>;
  876. alignment = <0 0x2000000>;
  877. no-map;
  878. };
  879. };
  880. firmware {
  881. optee {
  882. compatible = "linaro,optee-tz";
  883. method = "smc";
  884. };
  885. };
  886. };
  887. #include "qoriq-qman-portals.dtsi"
  888. #include "qoriq-bman-portals.dtsi"