juno-base.dtsi 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "juno-clocks.dtsi"
  3. #include "juno-motherboard.dtsi"
  4. / {
  5. /*
  6. * Devices shared by all Juno boards
  7. */
  8. memtimer: timer@2a810000 {
  9. compatible = "arm,armv7-timer-mem";
  10. reg = <0x0 0x2a810000 0x0 0x10000>;
  11. clock-frequency = <50000000>;
  12. #address-cells = <2>;
  13. #size-cells = <2>;
  14. ranges;
  15. status = "disabled";
  16. frame@2a830000 {
  17. frame-number = <1>;
  18. interrupts = <0 60 4>;
  19. reg = <0x0 0x2a830000 0x0 0x10000>;
  20. };
  21. };
  22. mailbox: mhu@2b1f0000 {
  23. compatible = "arm,mhu", "arm,primecell";
  24. reg = <0x0 0x2b1f0000 0x0 0x1000>;
  25. interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
  26. <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  27. interrupt-names = "mhu_lpri_rx",
  28. "mhu_hpri_rx";
  29. #mbox-cells = <1>;
  30. clocks = <&soc_refclk100mhz>;
  31. clock-names = "apb_pclk";
  32. };
  33. smmu_pcie: iommu@2b500000 {
  34. compatible = "arm,mmu-401", "arm,smmu-v1";
  35. reg = <0x0 0x2b500000 0x0 0x10000>;
  36. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
  37. <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
  38. #iommu-cells = <1>;
  39. #global-interrupts = <1>;
  40. dma-coherent;
  41. status = "disabled";
  42. };
  43. smmu_etr: iommu@2b600000 {
  44. compatible = "arm,mmu-401", "arm,smmu-v1";
  45. reg = <0x0 0x2b600000 0x0 0x10000>;
  46. interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
  47. <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  48. #iommu-cells = <1>;
  49. #global-interrupts = <1>;
  50. dma-coherent;
  51. power-domains = <&scpi_devpd 0>;
  52. };
  53. gic: interrupt-controller@2c010000 {
  54. compatible = "arm,gic-400", "arm,cortex-a15-gic";
  55. reg = <0x0 0x2c010000 0 0x1000>,
  56. <0x0 0x2c02f000 0 0x2000>,
  57. <0x0 0x2c04f000 0 0x2000>,
  58. <0x0 0x2c06f000 0 0x2000>;
  59. #address-cells = <2>;
  60. #interrupt-cells = <3>;
  61. #size-cells = <2>;
  62. interrupt-controller;
  63. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>;
  64. ranges = <0 0 0 0x2c1c0000 0 0x40000>;
  65. v2m_0: v2m@0 {
  66. compatible = "arm,gic-v2m-frame";
  67. msi-controller;
  68. reg = <0 0 0 0x10000>;
  69. };
  70. v2m@10000 {
  71. compatible = "arm,gic-v2m-frame";
  72. msi-controller;
  73. reg = <0 0x10000 0 0x10000>;
  74. };
  75. v2m@20000 {
  76. compatible = "arm,gic-v2m-frame";
  77. msi-controller;
  78. reg = <0 0x20000 0 0x10000>;
  79. };
  80. v2m@30000 {
  81. compatible = "arm,gic-v2m-frame";
  82. msi-controller;
  83. reg = <0 0x30000 0 0x10000>;
  84. };
  85. };
  86. timer {
  87. compatible = "arm,armv8-timer";
  88. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
  89. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
  90. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
  91. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>;
  92. };
  93. /*
  94. * Juno TRMs specify the size for these coresight components as 64K.
  95. * The actual size is just 4K though 64K is reserved. Access to the
  96. * unmapped reserved region results in a DECERR response.
  97. */
  98. etf@20010000 { /* etf0 */
  99. compatible = "arm,coresight-tmc", "arm,primecell";
  100. reg = <0 0x20010000 0 0x1000>;
  101. clocks = <&soc_smc50mhz>;
  102. clock-names = "apb_pclk";
  103. power-domains = <&scpi_devpd 0>;
  104. ports {
  105. #address-cells = <1>;
  106. #size-cells = <0>;
  107. /* input port */
  108. port@0 {
  109. reg = <0>;
  110. etf0_in_port: endpoint {
  111. slave-mode;
  112. remote-endpoint = <&main_funnel_out_port>;
  113. };
  114. };
  115. /* output port */
  116. port@1 {
  117. reg = <0>;
  118. etf0_out_port: endpoint {
  119. };
  120. };
  121. };
  122. };
  123. tpiu@20030000 {
  124. compatible = "arm,coresight-tpiu", "arm,primecell";
  125. reg = <0 0x20030000 0 0x1000>;
  126. clocks = <&soc_smc50mhz>;
  127. clock-names = "apb_pclk";
  128. power-domains = <&scpi_devpd 0>;
  129. port {
  130. tpiu_in_port: endpoint {
  131. slave-mode;
  132. remote-endpoint = <&replicator_out_port0>;
  133. };
  134. };
  135. };
  136. /* main funnel on Juno r0, cssys0 funnel on Juno r1/r2 as per TRM*/
  137. main_funnel: funnel@20040000 {
  138. compatible = "arm,coresight-funnel", "arm,primecell";
  139. reg = <0 0x20040000 0 0x1000>;
  140. clocks = <&soc_smc50mhz>;
  141. clock-names = "apb_pclk";
  142. power-domains = <&scpi_devpd 0>;
  143. ports {
  144. #address-cells = <1>;
  145. #size-cells = <0>;
  146. /* output port */
  147. port@0 {
  148. reg = <0>;
  149. main_funnel_out_port: endpoint {
  150. remote-endpoint = <&etf0_in_port>;
  151. };
  152. };
  153. /* input ports */
  154. port@1 {
  155. reg = <0>;
  156. main_funnel_in_port0: endpoint {
  157. slave-mode;
  158. remote-endpoint = <&cluster0_funnel_out_port>;
  159. };
  160. };
  161. port@2 {
  162. reg = <1>;
  163. main_funnel_in_port1: endpoint {
  164. slave-mode;
  165. remote-endpoint = <&cluster1_funnel_out_port>;
  166. };
  167. };
  168. };
  169. };
  170. etr@20070000 {
  171. compatible = "arm,coresight-tmc", "arm,primecell";
  172. reg = <0 0x20070000 0 0x1000>;
  173. iommus = <&smmu_etr 0>;
  174. clocks = <&soc_smc50mhz>;
  175. clock-names = "apb_pclk";
  176. power-domains = <&scpi_devpd 0>;
  177. port {
  178. etr_in_port: endpoint {
  179. slave-mode;
  180. remote-endpoint = <&replicator_out_port1>;
  181. };
  182. };
  183. };
  184. stm@20100000 {
  185. compatible = "arm,coresight-stm", "arm,primecell";
  186. reg = <0 0x20100000 0 0x1000>,
  187. <0 0x28000000 0 0x1000000>;
  188. reg-names = "stm-base", "stm-stimulus-base";
  189. clocks = <&soc_smc50mhz>;
  190. clock-names = "apb_pclk";
  191. power-domains = <&scpi_devpd 0>;
  192. port {
  193. stm_out_port: endpoint {
  194. };
  195. };
  196. };
  197. cpu_debug0: cpu-debug@22010000 {
  198. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  199. reg = <0x0 0x22010000 0x0 0x1000>;
  200. clocks = <&soc_smc50mhz>;
  201. clock-names = "apb_pclk";
  202. power-domains = <&scpi_devpd 0>;
  203. };
  204. etm0: etm@22040000 {
  205. compatible = "arm,coresight-etm4x", "arm,primecell";
  206. reg = <0 0x22040000 0 0x1000>;
  207. clocks = <&soc_smc50mhz>;
  208. clock-names = "apb_pclk";
  209. power-domains = <&scpi_devpd 0>;
  210. port {
  211. cluster0_etm0_out_port: endpoint {
  212. remote-endpoint = <&cluster0_funnel_in_port0>;
  213. };
  214. };
  215. };
  216. funnel@220c0000 { /* cluster0 funnel */
  217. compatible = "arm,coresight-funnel", "arm,primecell";
  218. reg = <0 0x220c0000 0 0x1000>;
  219. clocks = <&soc_smc50mhz>;
  220. clock-names = "apb_pclk";
  221. power-domains = <&scpi_devpd 0>;
  222. ports {
  223. #address-cells = <1>;
  224. #size-cells = <0>;
  225. port@0 {
  226. reg = <0>;
  227. cluster0_funnel_out_port: endpoint {
  228. remote-endpoint = <&main_funnel_in_port0>;
  229. };
  230. };
  231. port@1 {
  232. reg = <0>;
  233. cluster0_funnel_in_port0: endpoint {
  234. slave-mode;
  235. remote-endpoint = <&cluster0_etm0_out_port>;
  236. };
  237. };
  238. port@2 {
  239. reg = <1>;
  240. cluster0_funnel_in_port1: endpoint {
  241. slave-mode;
  242. remote-endpoint = <&cluster0_etm1_out_port>;
  243. };
  244. };
  245. };
  246. };
  247. cpu_debug1: cpu-debug@22110000 {
  248. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  249. reg = <0x0 0x22110000 0x0 0x1000>;
  250. clocks = <&soc_smc50mhz>;
  251. clock-names = "apb_pclk";
  252. power-domains = <&scpi_devpd 0>;
  253. };
  254. etm1: etm@22140000 {
  255. compatible = "arm,coresight-etm4x", "arm,primecell";
  256. reg = <0 0x22140000 0 0x1000>;
  257. clocks = <&soc_smc50mhz>;
  258. clock-names = "apb_pclk";
  259. power-domains = <&scpi_devpd 0>;
  260. port {
  261. cluster0_etm1_out_port: endpoint {
  262. remote-endpoint = <&cluster0_funnel_in_port1>;
  263. };
  264. };
  265. };
  266. cpu_debug2: cpu-debug@23010000 {
  267. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  268. reg = <0x0 0x23010000 0x0 0x1000>;
  269. clocks = <&soc_smc50mhz>;
  270. clock-names = "apb_pclk";
  271. power-domains = <&scpi_devpd 0>;
  272. };
  273. etm2: etm@23040000 {
  274. compatible = "arm,coresight-etm4x", "arm,primecell";
  275. reg = <0 0x23040000 0 0x1000>;
  276. clocks = <&soc_smc50mhz>;
  277. clock-names = "apb_pclk";
  278. power-domains = <&scpi_devpd 0>;
  279. port {
  280. cluster1_etm0_out_port: endpoint {
  281. remote-endpoint = <&cluster1_funnel_in_port0>;
  282. };
  283. };
  284. };
  285. funnel@230c0000 { /* cluster1 funnel */
  286. compatible = "arm,coresight-funnel", "arm,primecell";
  287. reg = <0 0x230c0000 0 0x1000>;
  288. clocks = <&soc_smc50mhz>;
  289. clock-names = "apb_pclk";
  290. power-domains = <&scpi_devpd 0>;
  291. ports {
  292. #address-cells = <1>;
  293. #size-cells = <0>;
  294. port@0 {
  295. reg = <0>;
  296. cluster1_funnel_out_port: endpoint {
  297. remote-endpoint = <&main_funnel_in_port1>;
  298. };
  299. };
  300. port@1 {
  301. reg = <0>;
  302. cluster1_funnel_in_port0: endpoint {
  303. slave-mode;
  304. remote-endpoint = <&cluster1_etm0_out_port>;
  305. };
  306. };
  307. port@2 {
  308. reg = <1>;
  309. cluster1_funnel_in_port1: endpoint {
  310. slave-mode;
  311. remote-endpoint = <&cluster1_etm1_out_port>;
  312. };
  313. };
  314. port@3 {
  315. reg = <2>;
  316. cluster1_funnel_in_port2: endpoint {
  317. slave-mode;
  318. remote-endpoint = <&cluster1_etm2_out_port>;
  319. };
  320. };
  321. port@4 {
  322. reg = <3>;
  323. cluster1_funnel_in_port3: endpoint {
  324. slave-mode;
  325. remote-endpoint = <&cluster1_etm3_out_port>;
  326. };
  327. };
  328. };
  329. };
  330. cpu_debug3: cpu-debug@23110000 {
  331. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  332. reg = <0x0 0x23110000 0x0 0x1000>;
  333. clocks = <&soc_smc50mhz>;
  334. clock-names = "apb_pclk";
  335. power-domains = <&scpi_devpd 0>;
  336. };
  337. etm3: etm@23140000 {
  338. compatible = "arm,coresight-etm4x", "arm,primecell";
  339. reg = <0 0x23140000 0 0x1000>;
  340. clocks = <&soc_smc50mhz>;
  341. clock-names = "apb_pclk";
  342. power-domains = <&scpi_devpd 0>;
  343. port {
  344. cluster1_etm1_out_port: endpoint {
  345. remote-endpoint = <&cluster1_funnel_in_port1>;
  346. };
  347. };
  348. };
  349. cpu_debug4: cpu-debug@23210000 {
  350. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  351. reg = <0x0 0x23210000 0x0 0x1000>;
  352. clocks = <&soc_smc50mhz>;
  353. clock-names = "apb_pclk";
  354. power-domains = <&scpi_devpd 0>;
  355. };
  356. etm4: etm@23240000 {
  357. compatible = "arm,coresight-etm4x", "arm,primecell";
  358. reg = <0 0x23240000 0 0x1000>;
  359. clocks = <&soc_smc50mhz>;
  360. clock-names = "apb_pclk";
  361. power-domains = <&scpi_devpd 0>;
  362. port {
  363. cluster1_etm2_out_port: endpoint {
  364. remote-endpoint = <&cluster1_funnel_in_port2>;
  365. };
  366. };
  367. };
  368. cpu_debug5: cpu-debug@23310000 {
  369. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  370. reg = <0x0 0x23310000 0x0 0x1000>;
  371. clocks = <&soc_smc50mhz>;
  372. clock-names = "apb_pclk";
  373. power-domains = <&scpi_devpd 0>;
  374. };
  375. etm5: etm@23340000 {
  376. compatible = "arm,coresight-etm4x", "arm,primecell";
  377. reg = <0 0x23340000 0 0x1000>;
  378. clocks = <&soc_smc50mhz>;
  379. clock-names = "apb_pclk";
  380. power-domains = <&scpi_devpd 0>;
  381. port {
  382. cluster1_etm3_out_port: endpoint {
  383. remote-endpoint = <&cluster1_funnel_in_port3>;
  384. };
  385. };
  386. };
  387. replicator@20120000 {
  388. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  389. reg = <0 0x20120000 0 0x1000>;
  390. clocks = <&soc_smc50mhz>;
  391. clock-names = "apb_pclk";
  392. power-domains = <&scpi_devpd 0>;
  393. ports {
  394. #address-cells = <1>;
  395. #size-cells = <0>;
  396. /* replicator output ports */
  397. port@0 {
  398. reg = <0>;
  399. replicator_out_port0: endpoint {
  400. remote-endpoint = <&tpiu_in_port>;
  401. };
  402. };
  403. port@1 {
  404. reg = <1>;
  405. replicator_out_port1: endpoint {
  406. remote-endpoint = <&etr_in_port>;
  407. };
  408. };
  409. /* replicator input port */
  410. port@2 {
  411. reg = <0>;
  412. replicator_in_port0: endpoint {
  413. slave-mode;
  414. };
  415. };
  416. };
  417. };
  418. sram: sram@2e000000 {
  419. compatible = "arm,juno-sram-ns", "mmio-sram";
  420. reg = <0x0 0x2e000000 0x0 0x8000>;
  421. #address-cells = <1>;
  422. #size-cells = <1>;
  423. ranges = <0 0x0 0x2e000000 0x8000>;
  424. cpu_scp_lpri: scp-shmem@0 {
  425. compatible = "arm,juno-scp-shmem";
  426. reg = <0x0 0x200>;
  427. };
  428. cpu_scp_hpri: scp-shmem@200 {
  429. compatible = "arm,juno-scp-shmem";
  430. reg = <0x200 0x200>;
  431. };
  432. };
  433. pcie_ctlr: pcie@40000000 {
  434. compatible = "arm,juno-r1-pcie", "plda,xpressrich3-axi", "pci-host-ecam-generic";
  435. device_type = "pci";
  436. reg = <0 0x40000000 0 0x10000000>; /* ECAM config space */
  437. bus-range = <0 255>;
  438. linux,pci-domain = <0>;
  439. #address-cells = <3>;
  440. #size-cells = <2>;
  441. dma-coherent;
  442. ranges = <0x01000000 0x00 0x00000000 0x00 0x5f800000 0x0 0x00800000>,
  443. <0x02000000 0x00 0x50000000 0x00 0x50000000 0x0 0x08000000>,
  444. <0x42000000 0x40 0x00000000 0x40 0x00000000 0x1 0x00000000>;
  445. #interrupt-cells = <1>;
  446. interrupt-map-mask = <0 0 0 7>;
  447. interrupt-map = <0 0 0 1 &gic 0 0 0 136 4>,
  448. <0 0 0 2 &gic 0 0 0 137 4>,
  449. <0 0 0 3 &gic 0 0 0 138 4>,
  450. <0 0 0 4 &gic 0 0 0 139 4>;
  451. msi-parent = <&v2m_0>;
  452. status = "disabled";
  453. iommu-map-mask = <0x0>; /* RC has no means to output PCI RID */
  454. iommu-map = <0x0 &smmu_pcie 0x0 0x1>;
  455. };
  456. scpi {
  457. compatible = "arm,scpi";
  458. mboxes = <&mailbox 1>;
  459. shmem = <&cpu_scp_hpri>;
  460. clocks {
  461. compatible = "arm,scpi-clocks";
  462. scpi_dvfs: scpi-dvfs {
  463. compatible = "arm,scpi-dvfs-clocks";
  464. #clock-cells = <1>;
  465. clock-indices = <0>, <1>, <2>;
  466. clock-output-names = "atlclk", "aplclk","gpuclk";
  467. };
  468. scpi_clk: scpi-clk {
  469. compatible = "arm,scpi-variable-clocks";
  470. #clock-cells = <1>;
  471. clock-indices = <3>;
  472. clock-output-names = "pxlclk";
  473. };
  474. };
  475. scpi_devpd: scpi-power-domains {
  476. compatible = "arm,scpi-power-domains";
  477. num-domains = <2>;
  478. #power-domain-cells = <1>;
  479. };
  480. scpi_sensors0: sensors {
  481. compatible = "arm,scpi-sensors";
  482. #thermal-sensor-cells = <1>;
  483. };
  484. };
  485. thermal-zones {
  486. pmic {
  487. polling-delay = <1000>;
  488. polling-delay-passive = <100>;
  489. thermal-sensors = <&scpi_sensors0 0>;
  490. };
  491. soc {
  492. polling-delay = <1000>;
  493. polling-delay-passive = <100>;
  494. thermal-sensors = <&scpi_sensors0 3>;
  495. };
  496. big_cluster_thermal_zone: big-cluster {
  497. polling-delay = <1000>;
  498. polling-delay-passive = <100>;
  499. thermal-sensors = <&scpi_sensors0 21>;
  500. status = "disabled";
  501. };
  502. little_cluster_thermal_zone: little-cluster {
  503. polling-delay = <1000>;
  504. polling-delay-passive = <100>;
  505. thermal-sensors = <&scpi_sensors0 22>;
  506. status = "disabled";
  507. };
  508. gpu0_thermal_zone: gpu0 {
  509. polling-delay = <1000>;
  510. polling-delay-passive = <100>;
  511. thermal-sensors = <&scpi_sensors0 23>;
  512. status = "disabled";
  513. };
  514. gpu1_thermal_zone: gpu1 {
  515. polling-delay = <1000>;
  516. polling-delay-passive = <100>;
  517. thermal-sensors = <&scpi_sensors0 24>;
  518. status = "disabled";
  519. };
  520. };
  521. smmu_dma: iommu@7fb00000 {
  522. compatible = "arm,mmu-401", "arm,smmu-v1";
  523. reg = <0x0 0x7fb00000 0x0 0x10000>;
  524. interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
  525. <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
  526. #iommu-cells = <1>;
  527. #global-interrupts = <1>;
  528. dma-coherent;
  529. status = "disabled";
  530. };
  531. smmu_hdlcd1: iommu@7fb10000 {
  532. compatible = "arm,mmu-401", "arm,smmu-v1";
  533. reg = <0x0 0x7fb10000 0x0 0x10000>;
  534. interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
  535. <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
  536. #iommu-cells = <1>;
  537. #global-interrupts = <1>;
  538. };
  539. smmu_hdlcd0: iommu@7fb20000 {
  540. compatible = "arm,mmu-401", "arm,smmu-v1";
  541. reg = <0x0 0x7fb20000 0x0 0x10000>;
  542. interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
  543. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
  544. #iommu-cells = <1>;
  545. #global-interrupts = <1>;
  546. };
  547. smmu_usb: iommu@7fb30000 {
  548. compatible = "arm,mmu-401", "arm,smmu-v1";
  549. reg = <0x0 0x7fb30000 0x0 0x10000>;
  550. interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
  551. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
  552. #iommu-cells = <1>;
  553. #global-interrupts = <1>;
  554. dma-coherent;
  555. };
  556. dma@7ff00000 {
  557. compatible = "arm,pl330", "arm,primecell";
  558. reg = <0x0 0x7ff00000 0 0x1000>;
  559. #dma-cells = <1>;
  560. #dma-channels = <8>;
  561. #dma-requests = <32>;
  562. interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
  563. <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
  564. <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
  565. <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
  566. <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
  567. <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  568. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  569. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  570. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
  571. iommus = <&smmu_dma 0>,
  572. <&smmu_dma 1>,
  573. <&smmu_dma 2>,
  574. <&smmu_dma 3>,
  575. <&smmu_dma 4>,
  576. <&smmu_dma 5>,
  577. <&smmu_dma 6>,
  578. <&smmu_dma 7>,
  579. <&smmu_dma 8>;
  580. clocks = <&soc_faxiclk>;
  581. clock-names = "apb_pclk";
  582. };
  583. hdlcd@7ff50000 {
  584. compatible = "arm,hdlcd";
  585. reg = <0 0x7ff50000 0 0x1000>;
  586. interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
  587. iommus = <&smmu_hdlcd1 0>;
  588. clocks = <&scpi_clk 3>;
  589. clock-names = "pxlclk";
  590. port {
  591. hdlcd1_output: endpoint {
  592. remote-endpoint = <&tda998x_1_input>;
  593. };
  594. };
  595. };
  596. hdlcd@7ff60000 {
  597. compatible = "arm,hdlcd";
  598. reg = <0 0x7ff60000 0 0x1000>;
  599. interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
  600. iommus = <&smmu_hdlcd0 0>;
  601. clocks = <&scpi_clk 3>;
  602. clock-names = "pxlclk";
  603. port {
  604. hdlcd0_output: endpoint {
  605. remote-endpoint = <&tda998x_0_input>;
  606. };
  607. };
  608. };
  609. soc_uart0: uart@7ff80000 {
  610. compatible = "arm,pl011", "arm,primecell";
  611. reg = <0x0 0x7ff80000 0x0 0x1000>;
  612. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  613. clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
  614. clock-names = "uartclk", "apb_pclk";
  615. };
  616. i2c@7ffa0000 {
  617. compatible = "snps,designware-i2c";
  618. reg = <0x0 0x7ffa0000 0x0 0x1000>;
  619. #address-cells = <1>;
  620. #size-cells = <0>;
  621. interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
  622. clock-frequency = <400000>;
  623. i2c-sda-hold-time-ns = <500>;
  624. clocks = <&soc_smc50mhz>;
  625. hdmi-transmitter@70 {
  626. compatible = "nxp,tda998x";
  627. reg = <0x70>;
  628. port {
  629. tda998x_0_input: endpoint {
  630. remote-endpoint = <&hdlcd0_output>;
  631. };
  632. };
  633. };
  634. hdmi-transmitter@71 {
  635. compatible = "nxp,tda998x";
  636. reg = <0x71>;
  637. port {
  638. tda998x_1_input: endpoint {
  639. remote-endpoint = <&hdlcd1_output>;
  640. };
  641. };
  642. };
  643. };
  644. ohci@7ffb0000 {
  645. compatible = "generic-ohci";
  646. reg = <0x0 0x7ffb0000 0x0 0x10000>;
  647. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
  648. iommus = <&smmu_usb 0>;
  649. clocks = <&soc_usb48mhz>;
  650. };
  651. ehci@7ffc0000 {
  652. compatible = "generic-ehci";
  653. reg = <0x0 0x7ffc0000 0x0 0x10000>;
  654. interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
  655. iommus = <&smmu_usb 0>;
  656. clocks = <&soc_usb48mhz>;
  657. };
  658. memory-controller@7ffd0000 {
  659. compatible = "arm,pl354", "arm,primecell";
  660. reg = <0 0x7ffd0000 0 0x1000>;
  661. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
  662. <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
  663. clocks = <&soc_smc50mhz>;
  664. clock-names = "apb_pclk";
  665. };
  666. memory@80000000 {
  667. device_type = "memory";
  668. /* last 16MB of the first memory area is reserved for secure world use by firmware */
  669. reg = <0x00000000 0x80000000 0x0 0x7f000000>,
  670. <0x00000008 0x80000000 0x1 0x80000000>;
  671. };
  672. smb@8000000 {
  673. compatible = "simple-bus";
  674. #address-cells = <2>;
  675. #size-cells = <1>;
  676. ranges = <0 0 0 0x08000000 0x04000000>,
  677. <1 0 0 0x14000000 0x04000000>,
  678. <2 0 0 0x18000000 0x04000000>,
  679. <3 0 0 0x1c000000 0x04000000>,
  680. <4 0 0 0x0c000000 0x04000000>,
  681. <5 0 0 0x10000000 0x04000000>;
  682. #interrupt-cells = <1>;
  683. interrupt-map-mask = <0 0 15>;
  684. interrupt-map = <0 0 0 &gic 0 0 0 68 IRQ_TYPE_LEVEL_HIGH>,
  685. <0 0 1 &gic 0 0 0 69 IRQ_TYPE_LEVEL_HIGH>,
  686. <0 0 2 &gic 0 0 0 70 IRQ_TYPE_LEVEL_HIGH>,
  687. <0 0 3 &gic 0 0 0 160 IRQ_TYPE_LEVEL_HIGH>,
  688. <0 0 4 &gic 0 0 0 161 IRQ_TYPE_LEVEL_HIGH>,
  689. <0 0 5 &gic 0 0 0 162 IRQ_TYPE_LEVEL_HIGH>,
  690. <0 0 6 &gic 0 0 0 163 IRQ_TYPE_LEVEL_HIGH>,
  691. <0 0 7 &gic 0 0 0 164 IRQ_TYPE_LEVEL_HIGH>,
  692. <0 0 8 &gic 0 0 0 165 IRQ_TYPE_LEVEL_HIGH>,
  693. <0 0 9 &gic 0 0 0 166 IRQ_TYPE_LEVEL_HIGH>,
  694. <0 0 10 &gic 0 0 0 167 IRQ_TYPE_LEVEL_HIGH>,
  695. <0 0 11 &gic 0 0 0 168 IRQ_TYPE_LEVEL_HIGH>,
  696. <0 0 12 &gic 0 0 0 169 IRQ_TYPE_LEVEL_HIGH>;
  697. };
  698. site2: tlx@60000000 {
  699. compatible = "simple-bus";
  700. #address-cells = <1>;
  701. #size-cells = <1>;
  702. ranges = <0 0 0x60000000 0x10000000>;
  703. #interrupt-cells = <1>;
  704. interrupt-map-mask = <0 0>;
  705. interrupt-map = <0 0 &gic 0 0 0 168 IRQ_TYPE_LEVEL_HIGH>;
  706. };
  707. };