fsl-ls1043a.dtsi 26 KB

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