r8a77980.dtsi 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the r8a77980 SoC
  4. *
  5. * Copyright (C) 2018 Renesas Electronics Corp.
  6. * Copyright (C) 2018 Cogent Embedded, Inc.
  7. */
  8. #include <dt-bindings/clock/r8a77980-cpg-mssr.h>
  9. #include <dt-bindings/interrupt-controller/irq.h>
  10. #include <dt-bindings/interrupt-controller/arm-gic.h>
  11. #include <dt-bindings/power/r8a77980-sysc.h>
  12. / {
  13. compatible = "renesas,r8a77980";
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. aliases {
  17. i2c0 = &i2c0;
  18. i2c1 = &i2c1;
  19. i2c2 = &i2c2;
  20. i2c3 = &i2c3;
  21. i2c4 = &i2c4;
  22. i2c5 = &i2c5;
  23. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. a53_0: cpu@0 {
  28. device_type = "cpu";
  29. compatible = "arm,cortex-a53", "arm,armv8";
  30. reg = <0>;
  31. clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
  32. power-domains = <&sysc R8A77980_PD_CA53_CPU0>;
  33. next-level-cache = <&L2_CA53>;
  34. enable-method = "psci";
  35. };
  36. a53_1: cpu@1 {
  37. device_type = "cpu";
  38. compatible = "arm,cortex-a53", "arm,armv8";
  39. reg = <1>;
  40. clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
  41. power-domains = <&sysc R8A77980_PD_CA53_CPU1>;
  42. next-level-cache = <&L2_CA53>;
  43. enable-method = "psci";
  44. };
  45. a53_2: cpu@2 {
  46. device_type = "cpu";
  47. compatible = "arm,cortex-a53", "arm,armv8";
  48. reg = <2>;
  49. clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
  50. power-domains = <&sysc R8A77980_PD_CA53_CPU2>;
  51. next-level-cache = <&L2_CA53>;
  52. enable-method = "psci";
  53. };
  54. a53_3: cpu@3 {
  55. device_type = "cpu";
  56. compatible = "arm,cortex-a53", "arm,armv8";
  57. reg = <3>;
  58. clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
  59. power-domains = <&sysc R8A77980_PD_CA53_CPU3>;
  60. next-level-cache = <&L2_CA53>;
  61. enable-method = "psci";
  62. };
  63. L2_CA53: cache-controller {
  64. compatible = "cache";
  65. power-domains = <&sysc R8A77980_PD_CA53_SCU>;
  66. cache-unified;
  67. cache-level = <2>;
  68. };
  69. };
  70. /* External CAN clock - to be overridden by boards that provide it */
  71. can_clk: can {
  72. compatible = "fixed-clock";
  73. #clock-cells = <0>;
  74. clock-frequency = <0>;
  75. };
  76. extal_clk: extal {
  77. compatible = "fixed-clock";
  78. #clock-cells = <0>;
  79. /* This value must be overridden by the board */
  80. clock-frequency = <0>;
  81. };
  82. extalr_clk: extalr {
  83. compatible = "fixed-clock";
  84. #clock-cells = <0>;
  85. /* This value must be overridden by the board */
  86. clock-frequency = <0>;
  87. };
  88. psci {
  89. compatible = "arm,psci-1.0", "arm,psci-0.2";
  90. method = "smc";
  91. };
  92. /* External SCIF clock - to be overridden by boards that provide it */
  93. scif_clk: scif {
  94. compatible = "fixed-clock";
  95. #clock-cells = <0>;
  96. clock-frequency = <0>;
  97. };
  98. soc {
  99. compatible = "simple-bus";
  100. interrupt-parent = <&gic>;
  101. #address-cells = <2>;
  102. #size-cells = <2>;
  103. ranges;
  104. gpio0: gpio@e6050000 {
  105. compatible = "renesas,gpio-r8a77980",
  106. "renesas,rcar-gen3-gpio";
  107. reg = <0 0xe6050000 0 0x50>;
  108. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  109. #gpio-cells = <2>;
  110. gpio-controller;
  111. gpio-ranges = <&pfc 0 0 22>;
  112. #interrupt-cells = <2>;
  113. interrupt-controller;
  114. clocks = <&cpg CPG_MOD 912>;
  115. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  116. resets = <&cpg 912>;
  117. };
  118. gpio1: gpio@e6051000 {
  119. compatible = "renesas,gpio-r8a77980",
  120. "renesas,rcar-gen3-gpio";
  121. reg = <0 0xe6051000 0 0x50>;
  122. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  123. #gpio-cells = <2>;
  124. gpio-controller;
  125. gpio-ranges = <&pfc 0 32 28>;
  126. #interrupt-cells = <2>;
  127. interrupt-controller;
  128. clocks = <&cpg CPG_MOD 911>;
  129. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  130. resets = <&cpg 911>;
  131. };
  132. gpio2: gpio@e6052000 {
  133. compatible = "renesas,gpio-r8a77980",
  134. "renesas,rcar-gen3-gpio";
  135. reg = <0 0xe6052000 0 0x50>;
  136. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  137. #gpio-cells = <2>;
  138. gpio-controller;
  139. gpio-ranges = <&pfc 0 64 30>;
  140. #interrupt-cells = <2>;
  141. interrupt-controller;
  142. clocks = <&cpg CPG_MOD 910>;
  143. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  144. resets = <&cpg 910>;
  145. };
  146. gpio3: gpio@e6053000 {
  147. compatible = "renesas,gpio-r8a77980",
  148. "renesas,rcar-gen3-gpio";
  149. reg = <0 0xe6053000 0 0x50>;
  150. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  151. #gpio-cells = <2>;
  152. gpio-controller;
  153. gpio-ranges = <&pfc 0 96 17>;
  154. #interrupt-cells = <2>;
  155. interrupt-controller;
  156. clocks = <&cpg CPG_MOD 909>;
  157. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  158. resets = <&cpg 909>;
  159. };
  160. gpio4: gpio@e6054000 {
  161. compatible = "renesas,gpio-r8a77980",
  162. "renesas,rcar-gen3-gpio";
  163. reg = <0 0xe6054000 0 0x50>;
  164. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  165. #gpio-cells = <2>;
  166. gpio-controller;
  167. gpio-ranges = <&pfc 0 128 25>;
  168. #interrupt-cells = <2>;
  169. interrupt-controller;
  170. clocks = <&cpg CPG_MOD 908>;
  171. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  172. resets = <&cpg 908>;
  173. };
  174. gpio5: gpio@e6055000 {
  175. compatible = "renesas,gpio-r8a77980",
  176. "renesas,rcar-gen3-gpio";
  177. reg = <0 0xe6055000 0 0x50>;
  178. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  179. #gpio-cells = <2>;
  180. gpio-controller;
  181. gpio-ranges = <&pfc 0 160 15>;
  182. #interrupt-cells = <2>;
  183. interrupt-controller;
  184. clocks = <&cpg CPG_MOD 907>;
  185. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  186. resets = <&cpg 907>;
  187. };
  188. pfc: pin-controller@e6060000 {
  189. compatible = "renesas,pfc-r8a77980";
  190. reg = <0 0xe6060000 0 0x50c>;
  191. };
  192. cpg: clock-controller@e6150000 {
  193. compatible = "renesas,r8a77980-cpg-mssr";
  194. reg = <0 0xe6150000 0 0x1000>;
  195. clocks = <&extal_clk>, <&extalr_clk>;
  196. clock-names = "extal", "extalr";
  197. #clock-cells = <2>;
  198. #power-domain-cells = <0>;
  199. #reset-cells = <1>;
  200. };
  201. rst: reset-controller@e6160000 {
  202. compatible = "renesas,r8a77980-rst";
  203. reg = <0 0xe6160000 0 0x200>;
  204. };
  205. sysc: system-controller@e6180000 {
  206. compatible = "renesas,r8a77980-sysc";
  207. reg = <0 0xe6180000 0 0x440>;
  208. #power-domain-cells = <1>;
  209. };
  210. intc_ex: interrupt-controller@e61c0000 {
  211. compatible = "renesas,intc-ex-r8a77980", "renesas,irqc";
  212. #interrupt-cells = <2>;
  213. interrupt-controller;
  214. reg = <0 0xe61c0000 0 0x200>;
  215. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
  216. GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
  217. GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
  218. GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
  219. GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
  220. GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
  221. clocks = <&cpg CPG_MOD 407>;
  222. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  223. resets = <&cpg 407>;
  224. };
  225. i2c0: i2c@e6500000 {
  226. compatible = "renesas,i2c-r8a77980",
  227. "renesas,rcar-gen3-i2c";
  228. reg = <0 0xe6500000 0 0x40>;
  229. interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
  230. clocks = <&cpg CPG_MOD 931>;
  231. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  232. resets = <&cpg 931>;
  233. dmas = <&dmac1 0x91>, <&dmac1 0x90>,
  234. <&dmac2 0x91>, <&dmac2 0x90>;
  235. dma-names = "tx", "rx", "tx", "rx";
  236. i2c-scl-internal-delay-ns = <6>;
  237. #address-cells = <1>;
  238. #size-cells = <0>;
  239. status = "disabled";
  240. };
  241. i2c1: i2c@e6508000 {
  242. compatible = "renesas,i2c-r8a77980",
  243. "renesas,rcar-gen3-i2c";
  244. reg = <0 0xe6508000 0 0x40>;
  245. interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
  246. clocks = <&cpg CPG_MOD 930>;
  247. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  248. resets = <&cpg 930>;
  249. dmas = <&dmac1 0x93>, <&dmac1 0x92>,
  250. <&dmac2 0x93>, <&dmac2 0x92>;
  251. dma-names = "tx", "rx", "tx", "rx";
  252. i2c-scl-internal-delay-ns = <6>;
  253. #address-cells = <1>;
  254. #size-cells = <0>;
  255. status = "disabled";
  256. };
  257. i2c2: i2c@e6510000 {
  258. compatible = "renesas,i2c-r8a77980",
  259. "renesas,rcar-gen3-i2c";
  260. reg = <0 0xe6510000 0 0x40>;
  261. interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
  262. clocks = <&cpg CPG_MOD 929>;
  263. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  264. resets = <&cpg 929>;
  265. dmas = <&dmac1 0x95>, <&dmac1 0x94>,
  266. <&dmac2 0x95>, <&dmac2 0x94>;
  267. dma-names = "tx", "rx", "tx", "rx";
  268. i2c-scl-internal-delay-ns = <6>;
  269. #address-cells = <1>;
  270. #size-cells = <0>;
  271. status = "disabled";
  272. };
  273. i2c3: i2c@e66d0000 {
  274. compatible = "renesas,i2c-r8a77980",
  275. "renesas,rcar-gen3-i2c";
  276. reg = <0 0xe66d0000 0 0x40>;
  277. interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
  278. clocks = <&cpg CPG_MOD 928>;
  279. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  280. resets = <&cpg 928>;
  281. i2c-scl-internal-delay-ns = <6>;
  282. #address-cells = <1>;
  283. #size-cells = <0>;
  284. status = "disabled";
  285. };
  286. i2c4: i2c@e66d8000 {
  287. compatible = "renesas,i2c-r8a77980",
  288. "renesas,rcar-gen3-i2c";
  289. reg = <0 0xe66d8000 0 0x40>;
  290. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  291. clocks = <&cpg CPG_MOD 927>;
  292. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  293. resets = <&cpg 927>;
  294. i2c-scl-internal-delay-ns = <6>;
  295. #address-cells = <1>;
  296. #size-cells = <0>;
  297. status = "disabled";
  298. };
  299. i2c5: i2c@e66e0000 {
  300. compatible = "renesas,i2c-r8a77980",
  301. "renesas,rcar-gen3-i2c";
  302. reg = <0 0xe66e0000 0 0x40>;
  303. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  304. clocks = <&cpg CPG_MOD 919>;
  305. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  306. resets = <&cpg 919>;
  307. dmas = <&dmac1 0x9b>, <&dmac1 0x9a>,
  308. <&dmac2 0x9b>, <&dmac2 0x9a>;
  309. dma-names = "tx", "rx", "tx", "rx";
  310. i2c-scl-internal-delay-ns = <6>;
  311. #address-cells = <1>;
  312. #size-cells = <0>;
  313. status = "disabled";
  314. };
  315. hscif0: serial@e6540000 {
  316. compatible = "renesas,hscif-r8a77980",
  317. "renesas,rcar-gen3-hscif",
  318. "renesas,hscif";
  319. reg = <0 0xe6540000 0 0x60>;
  320. interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  321. clocks = <&cpg CPG_MOD 520>,
  322. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  323. <&scif_clk>;
  324. clock-names = "fck", "brg_int", "scif_clk";
  325. dmas = <&dmac1 0x31>, <&dmac1 0x30>,
  326. <&dmac2 0x31>, <&dmac2 0x30>;
  327. dma-names = "tx", "rx", "tx", "rx";
  328. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  329. resets = <&cpg 520>;
  330. status = "disabled";
  331. };
  332. hscif1: serial@e6550000 {
  333. compatible = "renesas,hscif-r8a77980",
  334. "renesas,rcar-gen3-hscif",
  335. "renesas,hscif";
  336. reg = <0 0xe6550000 0 0x60>;
  337. interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
  338. clocks = <&cpg CPG_MOD 519>,
  339. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  340. <&scif_clk>;
  341. clock-names = "fck", "brg_int", "scif_clk";
  342. dmas = <&dmac1 0x33>, <&dmac1 0x32>,
  343. <&dmac2 0x33>, <&dmac2 0x32>;
  344. dma-names = "tx", "rx", "tx", "rx";
  345. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  346. resets = <&cpg 519>;
  347. status = "disabled";
  348. };
  349. hscif2: serial@e6560000 {
  350. compatible = "renesas,hscif-r8a77980",
  351. "renesas,rcar-gen3-hscif",
  352. "renesas,hscif";
  353. reg = <0 0xe6560000 0 0x60>;
  354. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  355. clocks = <&cpg CPG_MOD 518>,
  356. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  357. <&scif_clk>;
  358. clock-names = "fck", "brg_int", "scif_clk";
  359. dmas = <&dmac1 0x35>, <&dmac1 0x34>,
  360. <&dmac2 0x35>, <&dmac2 0x34>;
  361. dma-names = "tx", "rx", "tx", "rx";
  362. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  363. resets = <&cpg 518>;
  364. status = "disabled";
  365. };
  366. hscif3: serial@e66a0000 {
  367. compatible = "renesas,hscif-r8a77980",
  368. "renesas,rcar-gen3-hscif",
  369. "renesas,hscif";
  370. reg = <0 0xe66a0000 0 0x60>;
  371. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
  372. clocks = <&cpg CPG_MOD 517>,
  373. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  374. <&scif_clk>;
  375. clock-names = "fck", "brg_int", "scif_clk";
  376. dmas = <&dmac1 0x37>, <&dmac1 0x36>,
  377. <&dmac2 0x37>, <&dmac2 0x36>;
  378. dma-names = "tx", "rx", "tx", "rx";
  379. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  380. resets = <&cpg 517>;
  381. status = "disabled";
  382. };
  383. canfd: can@e66c0000 {
  384. compatible = "renesas,r8a77980-canfd",
  385. "renesas,rcar-gen3-canfd";
  386. reg = <0 0xe66c0000 0 0x8000>;
  387. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
  388. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  389. clocks = <&cpg CPG_MOD 914>,
  390. <&cpg CPG_CORE R8A77980_CLK_CANFD>,
  391. <&can_clk>;
  392. clock-names = "fck", "canfd", "can_clk";
  393. assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>;
  394. assigned-clock-rates = <40000000>;
  395. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  396. resets = <&cpg 914>;
  397. status = "disabled";
  398. channel0 {
  399. status = "disabled";
  400. };
  401. channel1 {
  402. status = "disabled";
  403. };
  404. };
  405. ipmmu_ds1: mmu@e7740000 {
  406. compatible = "renesas,ipmmu-r8a77980";
  407. reg = <0 0xe7740000 0 0x1000>;
  408. renesas,ipmmu-main = <&ipmmu_mm 0>;
  409. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  410. #iommu-cells = <1>;
  411. };
  412. ipmmu_vip0: mmu@e7b00000 {
  413. compatible = "renesas,ipmmu-r8a77980";
  414. reg = <0 0xe7b00000 0 0x1000>;
  415. renesas,ipmmu-main = <&ipmmu_mm 4>;
  416. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  417. #iommu-cells = <1>;
  418. };
  419. ipmmu_vip1: mmu@e7960000 {
  420. compatible = "renesas,ipmmu-r8a77980";
  421. reg = <0 0xe7960000 0 0x1000>;
  422. renesas,ipmmu-main = <&ipmmu_mm 11>;
  423. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  424. #iommu-cells = <1>;
  425. };
  426. ipmmu_ir: mmu@ff8b0000 {
  427. compatible = "renesas,ipmmu-r8a77980";
  428. reg = <0 0xff8b0000 0 0x1000>;
  429. renesas,ipmmu-main = <&ipmmu_mm 3>;
  430. power-domains = <&sysc R8A77980_PD_A3IR>;
  431. #iommu-cells = <1>;
  432. };
  433. ipmmu_mm: mmu@e67b0000 {
  434. compatible = "renesas,ipmmu-r8a77980";
  435. reg = <0 0xe67b0000 0 0x1000>;
  436. interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
  437. <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
  438. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  439. #iommu-cells = <1>;
  440. };
  441. ipmmu_rt: mmu@ffc80000 {
  442. compatible = "renesas,ipmmu-r8a77980";
  443. reg = <0 0xffc80000 0 0x1000>;
  444. renesas,ipmmu-main = <&ipmmu_mm 10>;
  445. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  446. #iommu-cells = <1>;
  447. };
  448. ipmmu_vc0: mmu@fe6b0000 {
  449. compatible = "renesas,ipmmu-r8a77980";
  450. reg = <0 0xfe6b0000 0 0x1000>;
  451. renesas,ipmmu-main = <&ipmmu_mm 12>;
  452. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  453. #iommu-cells = <1>;
  454. };
  455. ipmmu_vi0: mmu@febd0000 {
  456. compatible = "renesas,ipmmu-r8a77980";
  457. reg = <0 0xfebd0000 0 0x1000>;
  458. renesas,ipmmu-main = <&ipmmu_mm 14>;
  459. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  460. #iommu-cells = <1>;
  461. };
  462. avb: ethernet@e6800000 {
  463. compatible = "renesas,etheravb-r8a77980",
  464. "renesas,etheravb-rcar-gen3";
  465. reg = <0 0xe6800000 0 0x800>;
  466. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
  467. <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
  468. <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
  469. <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
  470. <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
  471. <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
  472. <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
  473. <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
  474. <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
  475. <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
  476. <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
  477. <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
  478. <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
  479. <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
  480. <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
  481. <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
  482. <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
  483. <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
  484. <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
  485. <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
  486. <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
  487. <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
  488. <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
  489. <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
  490. <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  491. interrupt-names = "ch0", "ch1", "ch2", "ch3",
  492. "ch4", "ch5", "ch6", "ch7",
  493. "ch8", "ch9", "ch10", "ch11",
  494. "ch12", "ch13", "ch14", "ch15",
  495. "ch16", "ch17", "ch18", "ch19",
  496. "ch20", "ch21", "ch22", "ch23",
  497. "ch24";
  498. clocks = <&cpg CPG_MOD 812>;
  499. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  500. resets = <&cpg 812>;
  501. phy-mode = "rgmii";
  502. #address-cells = <1>;
  503. #size-cells = <0>;
  504. status = "disabled";
  505. };
  506. scif0: serial@e6e60000 {
  507. compatible = "renesas,scif-r8a77980",
  508. "renesas,rcar-gen3-scif",
  509. "renesas,scif";
  510. reg = <0 0xe6e60000 0 0x40>;
  511. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
  512. clocks = <&cpg CPG_MOD 207>,
  513. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  514. <&scif_clk>;
  515. clock-names = "fck", "brg_int", "scif_clk";
  516. dmas = <&dmac1 0x51>, <&dmac1 0x50>,
  517. <&dmac2 0x51>, <&dmac2 0x50>;
  518. dma-names = "tx", "rx", "tx", "rx";
  519. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  520. resets = <&cpg 207>;
  521. status = "disabled";
  522. };
  523. scif1: serial@e6e68000 {
  524. compatible = "renesas,scif-r8a77980",
  525. "renesas,rcar-gen3-scif",
  526. "renesas,scif";
  527. reg = <0 0xe6e68000 0 0x40>;
  528. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  529. clocks = <&cpg CPG_MOD 206>,
  530. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  531. <&scif_clk>;
  532. clock-names = "fck", "brg_int", "scif_clk";
  533. dmas = <&dmac1 0x53>, <&dmac1 0x52>,
  534. <&dmac2 0x53>, <&dmac2 0x52>;
  535. dma-names = "tx", "rx", "tx", "rx";
  536. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  537. resets = <&cpg 206>;
  538. status = "disabled";
  539. };
  540. scif3: serial@e6c50000 {
  541. compatible = "renesas,scif-r8a77980",
  542. "renesas,rcar-gen3-scif",
  543. "renesas,scif";
  544. reg = <0 0xe6c50000 0 0x40>;
  545. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  546. clocks = <&cpg CPG_MOD 204>,
  547. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  548. <&scif_clk>;
  549. clock-names = "fck", "brg_int", "scif_clk";
  550. dmas = <&dmac1 0x57>, <&dmac1 0x56>,
  551. <&dmac2 0x57>, <&dmac2 0x56>;
  552. dma-names = "tx", "rx", "tx", "rx";
  553. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  554. resets = <&cpg 204>;
  555. status = "disabled";
  556. };
  557. scif4: serial@e6c40000 {
  558. compatible = "renesas,scif-r8a77980",
  559. "renesas,rcar-gen3-scif",
  560. "renesas,scif";
  561. reg = <0 0xe6c40000 0 0x40>;
  562. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  563. clocks = <&cpg CPG_MOD 203>,
  564. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  565. <&scif_clk>;
  566. clock-names = "fck", "brg_int", "scif_clk";
  567. dmas = <&dmac1 0x59>, <&dmac1 0x58>,
  568. <&dmac2 0x59>, <&dmac2 0x58>;
  569. dma-names = "tx", "rx", "tx", "rx";
  570. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  571. resets = <&cpg 203>;
  572. status = "disabled";
  573. };
  574. dmac1: dma-controller@e7300000 {
  575. compatible = "renesas,dmac-r8a77980",
  576. "renesas,rcar-dmac";
  577. reg = <0 0xe7300000 0 0x10000>;
  578. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
  579. GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
  580. GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
  581. GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
  582. GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
  583. GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
  584. GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
  585. GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
  586. GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
  587. GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
  588. GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
  589. GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
  590. GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
  591. GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
  592. GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
  593. GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
  594. GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  595. interrupt-names = "error",
  596. "ch0", "ch1", "ch2", "ch3",
  597. "ch4", "ch5", "ch6", "ch7",
  598. "ch8", "ch9", "ch10", "ch11",
  599. "ch12", "ch13", "ch14", "ch15";
  600. clocks = <&cpg CPG_MOD 218>;
  601. clock-names = "fck";
  602. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  603. resets = <&cpg 218>;
  604. #dma-cells = <1>;
  605. dma-channels = <16>;
  606. };
  607. dmac2: dma-controller@e7310000 {
  608. compatible = "renesas,dmac-r8a77980",
  609. "renesas,rcar-dmac";
  610. reg = <0 0xe7310000 0 0x10000>;
  611. interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
  612. GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
  613. GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
  614. GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
  615. GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
  616. GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
  617. GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
  618. GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
  619. GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
  620. GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
  621. GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
  622. GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
  623. GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
  624. GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
  625. GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
  626. GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
  627. GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
  628. interrupt-names = "error",
  629. "ch0", "ch1", "ch2", "ch3",
  630. "ch4", "ch5", "ch6", "ch7",
  631. "ch8", "ch9", "ch10", "ch11",
  632. "ch12", "ch13", "ch14", "ch15";
  633. clocks = <&cpg CPG_MOD 217>;
  634. clock-names = "fck";
  635. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  636. resets = <&cpg 217>;
  637. #dma-cells = <1>;
  638. dma-channels = <16>;
  639. };
  640. gether: ethernet@e7400000 {
  641. compatible = "renesas,gether-r8a77980";
  642. reg = <0 0xe7400000 0 0x1000>;
  643. interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
  644. clocks = <&cpg CPG_MOD 813>;
  645. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  646. resets = <&cpg 813>;
  647. #address-cells = <1>;
  648. #size-cells = <0>;
  649. status = "disabled";
  650. };
  651. mmc0: mmc@ee140000 {
  652. compatible = "renesas,sdhi-r8a77980",
  653. "renesas,rcar-gen3-sdhi";
  654. reg = <0 0xee140000 0 0x2000>;
  655. interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
  656. clocks = <&cpg CPG_MOD 314>;
  657. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  658. resets = <&cpg 314>;
  659. max-frequency = <200000000>;
  660. status = "disabled";
  661. };
  662. gic: interrupt-controller@f1010000 {
  663. compatible = "arm,gic-400";
  664. #interrupt-cells = <3>;
  665. #address-cells = <0>;
  666. interrupt-controller;
  667. reg = <0x0 0xf1010000 0 0x1000>,
  668. <0x0 0xf1020000 0 0x20000>,
  669. <0x0 0xf1040000 0 0x20000>,
  670. <0x0 0xf1060000 0 0x20000>;
  671. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
  672. IRQ_TYPE_LEVEL_HIGH)>;
  673. clocks = <&cpg CPG_MOD 408>;
  674. clock-names = "clk";
  675. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  676. resets = <&cpg 408>;
  677. };
  678. vspd0: vsp@fea20000 {
  679. compatible = "renesas,vsp2";
  680. reg = <0 0xfea20000 0 0x5000>;
  681. interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
  682. clocks = <&cpg CPG_MOD 623>;
  683. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  684. resets = <&cpg 623>;
  685. renesas,fcp = <&fcpvd0>;
  686. };
  687. fcpvd0: fcp@fea27000 {
  688. compatible = "renesas,fcpv";
  689. reg = <0 0xfea27000 0 0x200>;
  690. clocks = <&cpg CPG_MOD 603>;
  691. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  692. resets = <&cpg 603>;
  693. };
  694. du: display@feb00000 {
  695. compatible = "renesas,du-r8a77980",
  696. "renesas,du-r8a77970";
  697. reg = <0 0xfeb00000 0 0x80000>;
  698. interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
  699. clocks = <&cpg CPG_MOD 724>;
  700. clock-names = "du.0";
  701. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  702. resets = <&cpg 724>;
  703. vsps = <&vspd0>;
  704. status = "disabled";
  705. ports {
  706. #address-cells = <1>;
  707. #size-cells = <0>;
  708. port@0 {
  709. reg = <0>;
  710. du_out_rgb: endpoint {
  711. };
  712. };
  713. port@1 {
  714. reg = <1>;
  715. du_out_lvds0: endpoint {
  716. remote-endpoint = <&lvds0_in>;
  717. };
  718. };
  719. };
  720. };
  721. lvds0: lvds-encoder@feb90000 {
  722. compatible = "renesas,r8a77980-lvds";
  723. reg = <0 0xfeb90000 0 0x14>;
  724. clocks = <&cpg CPG_MOD 727>;
  725. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  726. resets = <&cpg 727>;
  727. status = "disabled";
  728. ports {
  729. #address-cells = <1>;
  730. #size-cells = <0>;
  731. port@0 {
  732. reg = <0>;
  733. lvds0_in: endpoint {
  734. remote-endpoint =
  735. <&du_out_lvds0>;
  736. };
  737. };
  738. port@1 {
  739. reg = <1>;
  740. lvds0_out: endpoint {
  741. };
  742. };
  743. };
  744. };
  745. prr: chipid@fff00044 {
  746. compatible = "renesas,prr";
  747. reg = <0 0xfff00044 0 4>;
  748. };
  749. };
  750. timer {
  751. compatible = "arm,armv8-timer";
  752. interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
  753. IRQ_TYPE_LEVEL_LOW)>,
  754. <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
  755. IRQ_TYPE_LEVEL_LOW)>,
  756. <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
  757. IRQ_TYPE_LEVEL_LOW)>,
  758. <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
  759. IRQ_TYPE_LEVEL_LOW)>;
  760. };
  761. };