r8a77980.dtsi 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  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. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  416. #iommu-cells = <1>;
  417. };
  418. ipmmu_vip1: mmu@e7960000 {
  419. compatible = "renesas,ipmmu-r8a77980";
  420. reg = <0 0xe7960000 0 0x1000>;
  421. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  422. #iommu-cells = <1>;
  423. };
  424. ipmmu_ir: mmu@ff8b0000 {
  425. compatible = "renesas,ipmmu-r8a77980";
  426. reg = <0 0xff8b0000 0 0x1000>;
  427. renesas,ipmmu-main = <&ipmmu_mm 3>;
  428. power-domains = <&sysc R8A77980_PD_A3IR>;
  429. #iommu-cells = <1>;
  430. };
  431. ipmmu_mm: mmu@e67b0000 {
  432. compatible = "renesas,ipmmu-r8a77980";
  433. reg = <0 0xe67b0000 0 0x1000>;
  434. interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
  435. <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
  436. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  437. #iommu-cells = <1>;
  438. };
  439. ipmmu_rt: mmu@ffc80000 {
  440. compatible = "renesas,ipmmu-r8a77980";
  441. reg = <0 0xffc80000 0 0x1000>;
  442. renesas,ipmmu-main = <&ipmmu_mm 10>;
  443. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  444. #iommu-cells = <1>;
  445. };
  446. ipmmu_vc0: mmu@fe6b0000 {
  447. compatible = "renesas,ipmmu-r8a77980";
  448. reg = <0 0xfe6b0000 0 0x1000>;
  449. renesas,ipmmu-main = <&ipmmu_mm 12>;
  450. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  451. #iommu-cells = <1>;
  452. };
  453. ipmmu_vi0: mmu@febd0000 {
  454. compatible = "renesas,ipmmu-r8a77980";
  455. reg = <0 0xfebd0000 0 0x1000>;
  456. renesas,ipmmu-main = <&ipmmu_mm 14>;
  457. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  458. #iommu-cells = <1>;
  459. };
  460. avb: ethernet@e6800000 {
  461. compatible = "renesas,etheravb-r8a77980",
  462. "renesas,etheravb-rcar-gen3";
  463. reg = <0 0xe6800000 0 0x800>;
  464. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
  465. <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
  466. <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
  467. <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
  468. <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
  469. <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
  470. <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
  471. <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
  472. <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
  473. <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
  474. <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
  475. <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
  476. <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
  477. <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
  478. <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
  479. <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
  480. <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
  481. <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
  482. <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
  483. <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
  484. <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
  485. <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
  486. <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
  487. <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
  488. <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  489. interrupt-names = "ch0", "ch1", "ch2", "ch3",
  490. "ch4", "ch5", "ch6", "ch7",
  491. "ch8", "ch9", "ch10", "ch11",
  492. "ch12", "ch13", "ch14", "ch15",
  493. "ch16", "ch17", "ch18", "ch19",
  494. "ch20", "ch21", "ch22", "ch23",
  495. "ch24";
  496. clocks = <&cpg CPG_MOD 812>;
  497. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  498. resets = <&cpg 812>;
  499. phy-mode = "rgmii";
  500. #address-cells = <1>;
  501. #size-cells = <0>;
  502. status = "disabled";
  503. };
  504. scif0: serial@e6e60000 {
  505. compatible = "renesas,scif-r8a77980",
  506. "renesas,rcar-gen3-scif",
  507. "renesas,scif";
  508. reg = <0 0xe6e60000 0 0x40>;
  509. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
  510. clocks = <&cpg CPG_MOD 207>,
  511. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  512. <&scif_clk>;
  513. clock-names = "fck", "brg_int", "scif_clk";
  514. dmas = <&dmac1 0x51>, <&dmac1 0x50>,
  515. <&dmac2 0x51>, <&dmac2 0x50>;
  516. dma-names = "tx", "rx", "tx", "rx";
  517. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  518. resets = <&cpg 207>;
  519. status = "disabled";
  520. };
  521. scif1: serial@e6e68000 {
  522. compatible = "renesas,scif-r8a77980",
  523. "renesas,rcar-gen3-scif",
  524. "renesas,scif";
  525. reg = <0 0xe6e68000 0 0x40>;
  526. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  527. clocks = <&cpg CPG_MOD 206>,
  528. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  529. <&scif_clk>;
  530. clock-names = "fck", "brg_int", "scif_clk";
  531. dmas = <&dmac1 0x53>, <&dmac1 0x52>,
  532. <&dmac2 0x53>, <&dmac2 0x52>;
  533. dma-names = "tx", "rx", "tx", "rx";
  534. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  535. resets = <&cpg 206>;
  536. status = "disabled";
  537. };
  538. scif3: serial@e6c50000 {
  539. compatible = "renesas,scif-r8a77980",
  540. "renesas,rcar-gen3-scif",
  541. "renesas,scif";
  542. reg = <0 0xe6c50000 0 0x40>;
  543. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  544. clocks = <&cpg CPG_MOD 204>,
  545. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  546. <&scif_clk>;
  547. clock-names = "fck", "brg_int", "scif_clk";
  548. dmas = <&dmac1 0x57>, <&dmac1 0x56>,
  549. <&dmac2 0x57>, <&dmac2 0x56>;
  550. dma-names = "tx", "rx", "tx", "rx";
  551. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  552. resets = <&cpg 204>;
  553. status = "disabled";
  554. };
  555. scif4: serial@e6c40000 {
  556. compatible = "renesas,scif-r8a77980",
  557. "renesas,rcar-gen3-scif",
  558. "renesas,scif";
  559. reg = <0 0xe6c40000 0 0x40>;
  560. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  561. clocks = <&cpg CPG_MOD 203>,
  562. <&cpg CPG_CORE R8A77980_CLK_S3D1>,
  563. <&scif_clk>;
  564. clock-names = "fck", "brg_int", "scif_clk";
  565. dmas = <&dmac1 0x59>, <&dmac1 0x58>,
  566. <&dmac2 0x59>, <&dmac2 0x58>;
  567. dma-names = "tx", "rx", "tx", "rx";
  568. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  569. resets = <&cpg 203>;
  570. status = "disabled";
  571. };
  572. dmac1: dma-controller@e7300000 {
  573. compatible = "renesas,dmac-r8a77980",
  574. "renesas,rcar-dmac";
  575. reg = <0 0xe7300000 0 0x10000>;
  576. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
  577. GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
  578. GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
  579. GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
  580. GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
  581. GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
  582. GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
  583. GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
  584. GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
  585. GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
  586. GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
  587. GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
  588. GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
  589. GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
  590. GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
  591. GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
  592. GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  593. interrupt-names = "error",
  594. "ch0", "ch1", "ch2", "ch3",
  595. "ch4", "ch5", "ch6", "ch7",
  596. "ch8", "ch9", "ch10", "ch11",
  597. "ch12", "ch13", "ch14", "ch15";
  598. clocks = <&cpg CPG_MOD 218>;
  599. clock-names = "fck";
  600. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  601. resets = <&cpg 218>;
  602. #dma-cells = <1>;
  603. dma-channels = <16>;
  604. };
  605. dmac2: dma-controller@e7310000 {
  606. compatible = "renesas,dmac-r8a77980",
  607. "renesas,rcar-dmac";
  608. reg = <0 0xe7310000 0 0x10000>;
  609. interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
  610. GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
  611. GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
  612. GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
  613. GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
  614. GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
  615. GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
  616. GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
  617. GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
  618. GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
  619. GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
  620. GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
  621. GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
  622. GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
  623. GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
  624. GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
  625. GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
  626. interrupt-names = "error",
  627. "ch0", "ch1", "ch2", "ch3",
  628. "ch4", "ch5", "ch6", "ch7",
  629. "ch8", "ch9", "ch10", "ch11",
  630. "ch12", "ch13", "ch14", "ch15";
  631. clocks = <&cpg CPG_MOD 217>;
  632. clock-names = "fck";
  633. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  634. resets = <&cpg 217>;
  635. #dma-cells = <1>;
  636. dma-channels = <16>;
  637. };
  638. gether: ethernet@e7400000 {
  639. compatible = "renesas,gether-r8a77980";
  640. reg = <0 0xe7400000 0 0x1000>;
  641. interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
  642. clocks = <&cpg CPG_MOD 813>;
  643. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  644. resets = <&cpg 813>;
  645. #address-cells = <1>;
  646. #size-cells = <0>;
  647. status = "disabled";
  648. };
  649. mmc0: mmc@ee140000 {
  650. compatible = "renesas,sdhi-r8a77980",
  651. "renesas,rcar-gen3-sdhi";
  652. reg = <0 0xee140000 0 0x2000>;
  653. interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
  654. clocks = <&cpg CPG_MOD 314>;
  655. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  656. resets = <&cpg 314>;
  657. max-frequency = <200000000>;
  658. status = "disabled";
  659. };
  660. gic: interrupt-controller@f1010000 {
  661. compatible = "arm,gic-400";
  662. #interrupt-cells = <3>;
  663. #address-cells = <0>;
  664. interrupt-controller;
  665. reg = <0x0 0xf1010000 0 0x1000>,
  666. <0x0 0xf1020000 0 0x20000>,
  667. <0x0 0xf1040000 0 0x20000>,
  668. <0x0 0xf1060000 0 0x20000>;
  669. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
  670. IRQ_TYPE_LEVEL_HIGH)>;
  671. clocks = <&cpg CPG_MOD 408>;
  672. clock-names = "clk";
  673. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  674. resets = <&cpg 408>;
  675. };
  676. vspd0: vsp@fea20000 {
  677. compatible = "renesas,vsp2";
  678. reg = <0 0xfea20000 0 0x5000>;
  679. interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
  680. clocks = <&cpg CPG_MOD 623>;
  681. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  682. resets = <&cpg 623>;
  683. renesas,fcp = <&fcpvd0>;
  684. };
  685. fcpvd0: fcp@fea27000 {
  686. compatible = "renesas,fcpv";
  687. reg = <0 0xfea27000 0 0x200>;
  688. clocks = <&cpg CPG_MOD 603>;
  689. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  690. resets = <&cpg 603>;
  691. };
  692. du: display@feb00000 {
  693. compatible = "renesas,du-r8a77980",
  694. "renesas,du-r8a77970";
  695. reg = <0 0xfeb00000 0 0x80000>;
  696. interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
  697. clocks = <&cpg CPG_MOD 724>;
  698. clock-names = "du.0";
  699. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  700. resets = <&cpg 724>;
  701. vsps = <&vspd0>;
  702. status = "disabled";
  703. ports {
  704. #address-cells = <1>;
  705. #size-cells = <0>;
  706. port@0 {
  707. reg = <0>;
  708. du_out_rgb: endpoint {
  709. };
  710. };
  711. port@1 {
  712. reg = <1>;
  713. du_out_lvds0: endpoint {
  714. remote-endpoint = <&lvds0_in>;
  715. };
  716. };
  717. };
  718. };
  719. lvds0: lvds-encoder@feb90000 {
  720. compatible = "renesas,r8a77980-lvds";
  721. reg = <0 0xfeb90000 0 0x14>;
  722. clocks = <&cpg CPG_MOD 727>;
  723. power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
  724. resets = <&cpg 727>;
  725. status = "disabled";
  726. ports {
  727. #address-cells = <1>;
  728. #size-cells = <0>;
  729. port@0 {
  730. reg = <0>;
  731. lvds0_in: endpoint {
  732. remote-endpoint =
  733. <&du_out_lvds0>;
  734. };
  735. };
  736. port@1 {
  737. reg = <1>;
  738. lvds0_out: endpoint {
  739. };
  740. };
  741. };
  742. };
  743. prr: chipid@fff00044 {
  744. compatible = "renesas,prr";
  745. reg = <0 0xfff00044 0 4>;
  746. };
  747. };
  748. timer {
  749. compatible = "arm,armv8-timer";
  750. interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
  751. IRQ_TYPE_LEVEL_LOW)>,
  752. <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
  753. IRQ_TYPE_LEVEL_LOW)>,
  754. <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
  755. IRQ_TYPE_LEVEL_LOW)>,
  756. <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
  757. IRQ_TYPE_LEVEL_LOW)>;
  758. };
  759. };