r8a7792.dtsi 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the R-Car V2H (R8A77920) SoC
  4. *
  5. * Copyright (C) 2016 Cogent Embedded Inc.
  6. */
  7. #include <dt-bindings/clock/r8a7792-cpg-mssr.h>
  8. #include <dt-bindings/interrupt-controller/irq.h>
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/power/r8a7792-sysc.h>
  11. / {
  12. compatible = "renesas,r8a7792";
  13. #address-cells = <2>;
  14. #size-cells = <2>;
  15. aliases {
  16. i2c0 = &i2c0;
  17. i2c1 = &i2c1;
  18. i2c2 = &i2c2;
  19. i2c3 = &i2c3;
  20. i2c4 = &i2c4;
  21. i2c5 = &i2c5;
  22. i2c6 = &iic3;
  23. spi0 = &qspi;
  24. spi1 = &msiof0;
  25. spi2 = &msiof1;
  26. vin0 = &vin0;
  27. vin1 = &vin1;
  28. vin2 = &vin2;
  29. vin3 = &vin3;
  30. vin4 = &vin4;
  31. vin5 = &vin5;
  32. };
  33. /* External CAN clock */
  34. can_clk: can {
  35. compatible = "fixed-clock";
  36. #clock-cells = <0>;
  37. /* This value must be overridden by the board. */
  38. clock-frequency = <0>;
  39. };
  40. cpus {
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. cpu0: cpu@0 {
  44. device_type = "cpu";
  45. compatible = "arm,cortex-a15";
  46. reg = <0>;
  47. clock-frequency = <1000000000>;
  48. clocks = <&cpg CPG_CORE R8A7792_CLK_Z>;
  49. power-domains = <&sysc R8A7792_PD_CA15_CPU0>;
  50. enable-method = "renesas,apmu";
  51. next-level-cache = <&L2_CA15>;
  52. };
  53. cpu1: cpu@1 {
  54. device_type = "cpu";
  55. compatible = "arm,cortex-a15";
  56. reg = <1>;
  57. clock-frequency = <1000000000>;
  58. clocks = <&cpg CPG_CORE R8A7792_CLK_Z>;
  59. power-domains = <&sysc R8A7792_PD_CA15_CPU1>;
  60. enable-method = "renesas,apmu";
  61. next-level-cache = <&L2_CA15>;
  62. };
  63. L2_CA15: cache-controller-0 {
  64. compatible = "cache";
  65. cache-unified;
  66. cache-level = <2>;
  67. power-domains = <&sysc R8A7792_PD_CA15_SCU>;
  68. };
  69. };
  70. /* External root clock */
  71. extal_clk: extal {
  72. compatible = "fixed-clock";
  73. #clock-cells = <0>;
  74. /* This value must be overridden by the board. */
  75. clock-frequency = <0>;
  76. };
  77. pmu {
  78. compatible = "arm,cortex-a15-pmu";
  79. interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
  80. <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  81. interrupt-affinity = <&cpu0>, <&cpu1>;
  82. };
  83. /* External SCIF clock */
  84. scif_clk: scif {
  85. compatible = "fixed-clock";
  86. #clock-cells = <0>;
  87. /* This value must be overridden by the board. */
  88. clock-frequency = <0>;
  89. };
  90. soc {
  91. compatible = "simple-bus";
  92. interrupt-parent = <&gic>;
  93. #address-cells = <2>;
  94. #size-cells = <2>;
  95. ranges;
  96. rwdt: watchdog@e6020000 {
  97. compatible = "renesas,r8a7792-wdt",
  98. "renesas,rcar-gen2-wdt";
  99. reg = <0 0xe6020000 0 0x0c>;
  100. interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
  101. clocks = <&cpg CPG_MOD 402>;
  102. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  103. resets = <&cpg 402>;
  104. status = "disabled";
  105. };
  106. gpio0: gpio@e6050000 {
  107. compatible = "renesas,gpio-r8a7792",
  108. "renesas,rcar-gen2-gpio";
  109. reg = <0 0xe6050000 0 0x50>;
  110. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  111. #gpio-cells = <2>;
  112. gpio-controller;
  113. gpio-ranges = <&pfc 0 0 29>;
  114. #interrupt-cells = <2>;
  115. interrupt-controller;
  116. clocks = <&cpg CPG_MOD 912>;
  117. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  118. resets = <&cpg 912>;
  119. };
  120. gpio1: gpio@e6051000 {
  121. compatible = "renesas,gpio-r8a7792",
  122. "renesas,rcar-gen2-gpio";
  123. reg = <0 0xe6051000 0 0x50>;
  124. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  125. #gpio-cells = <2>;
  126. gpio-controller;
  127. gpio-ranges = <&pfc 0 32 23>;
  128. #interrupt-cells = <2>;
  129. interrupt-controller;
  130. clocks = <&cpg CPG_MOD 911>;
  131. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  132. resets = <&cpg 911>;
  133. };
  134. gpio2: gpio@e6052000 {
  135. compatible = "renesas,gpio-r8a7792",
  136. "renesas,rcar-gen2-gpio";
  137. reg = <0 0xe6052000 0 0x50>;
  138. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  139. #gpio-cells = <2>;
  140. gpio-controller;
  141. gpio-ranges = <&pfc 0 64 32>;
  142. #interrupt-cells = <2>;
  143. interrupt-controller;
  144. clocks = <&cpg CPG_MOD 910>;
  145. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  146. resets = <&cpg 910>;
  147. };
  148. gpio3: gpio@e6053000 {
  149. compatible = "renesas,gpio-r8a7792",
  150. "renesas,rcar-gen2-gpio";
  151. reg = <0 0xe6053000 0 0x50>;
  152. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  153. #gpio-cells = <2>;
  154. gpio-controller;
  155. gpio-ranges = <&pfc 0 96 28>;
  156. #interrupt-cells = <2>;
  157. interrupt-controller;
  158. clocks = <&cpg CPG_MOD 909>;
  159. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  160. resets = <&cpg 909>;
  161. };
  162. gpio4: gpio@e6054000 {
  163. compatible = "renesas,gpio-r8a7792",
  164. "renesas,rcar-gen2-gpio";
  165. reg = <0 0xe6054000 0 0x50>;
  166. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  167. #gpio-cells = <2>;
  168. gpio-controller;
  169. gpio-ranges = <&pfc 0 128 17>;
  170. #interrupt-cells = <2>;
  171. interrupt-controller;
  172. clocks = <&cpg CPG_MOD 908>;
  173. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  174. resets = <&cpg 908>;
  175. };
  176. gpio5: gpio@e6055000 {
  177. compatible = "renesas,gpio-r8a7792",
  178. "renesas,rcar-gen2-gpio";
  179. reg = <0 0xe6055000 0 0x50>;
  180. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  181. #gpio-cells = <2>;
  182. gpio-controller;
  183. gpio-ranges = <&pfc 0 160 17>;
  184. #interrupt-cells = <2>;
  185. interrupt-controller;
  186. clocks = <&cpg CPG_MOD 907>;
  187. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  188. resets = <&cpg 907>;
  189. };
  190. gpio6: gpio@e6055100 {
  191. compatible = "renesas,gpio-r8a7792",
  192. "renesas,rcar-gen2-gpio";
  193. reg = <0 0xe6055100 0 0x50>;
  194. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  195. #gpio-cells = <2>;
  196. gpio-controller;
  197. gpio-ranges = <&pfc 0 192 17>;
  198. #interrupt-cells = <2>;
  199. interrupt-controller;
  200. clocks = <&cpg CPG_MOD 905>;
  201. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  202. resets = <&cpg 905>;
  203. };
  204. gpio7: gpio@e6055200 {
  205. compatible = "renesas,gpio-r8a7792",
  206. "renesas,rcar-gen2-gpio";
  207. reg = <0 0xe6055200 0 0x50>;
  208. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  209. #gpio-cells = <2>;
  210. gpio-controller;
  211. gpio-ranges = <&pfc 0 224 17>;
  212. #interrupt-cells = <2>;
  213. interrupt-controller;
  214. clocks = <&cpg CPG_MOD 904>;
  215. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  216. resets = <&cpg 904>;
  217. };
  218. gpio8: gpio@e6055300 {
  219. compatible = "renesas,gpio-r8a7792",
  220. "renesas,rcar-gen2-gpio";
  221. reg = <0 0xe6055300 0 0x50>;
  222. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  223. #gpio-cells = <2>;
  224. gpio-controller;
  225. gpio-ranges = <&pfc 0 256 17>;
  226. #interrupt-cells = <2>;
  227. interrupt-controller;
  228. clocks = <&cpg CPG_MOD 921>;
  229. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  230. resets = <&cpg 921>;
  231. };
  232. gpio9: gpio@e6055400 {
  233. compatible = "renesas,gpio-r8a7792",
  234. "renesas,rcar-gen2-gpio";
  235. reg = <0 0xe6055400 0 0x50>;
  236. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  237. #gpio-cells = <2>;
  238. gpio-controller;
  239. gpio-ranges = <&pfc 0 288 17>;
  240. #interrupt-cells = <2>;
  241. interrupt-controller;
  242. clocks = <&cpg CPG_MOD 919>;
  243. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  244. resets = <&cpg 919>;
  245. };
  246. gpio10: gpio@e6055500 {
  247. compatible = "renesas,gpio-r8a7792",
  248. "renesas,rcar-gen2-gpio";
  249. reg = <0 0xe6055500 0 0x50>;
  250. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  251. #gpio-cells = <2>;
  252. gpio-controller;
  253. gpio-ranges = <&pfc 0 320 32>;
  254. #interrupt-cells = <2>;
  255. interrupt-controller;
  256. clocks = <&cpg CPG_MOD 914>;
  257. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  258. resets = <&cpg 914>;
  259. };
  260. gpio11: gpio@e6055600 {
  261. compatible = "renesas,gpio-r8a7792",
  262. "renesas,rcar-gen2-gpio";
  263. reg = <0 0xe6055600 0 0x50>;
  264. interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  265. #gpio-cells = <2>;
  266. gpio-controller;
  267. gpio-ranges = <&pfc 0 352 30>;
  268. #interrupt-cells = <2>;
  269. interrupt-controller;
  270. clocks = <&cpg CPG_MOD 913>;
  271. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  272. resets = <&cpg 913>;
  273. };
  274. pfc: pinctrl@e6060000 {
  275. compatible = "renesas,pfc-r8a7792";
  276. reg = <0 0xe6060000 0 0x144>;
  277. };
  278. cpg: clock-controller@e6150000 {
  279. compatible = "renesas,r8a7792-cpg-mssr";
  280. reg = <0 0xe6150000 0 0x1000>;
  281. clocks = <&extal_clk>;
  282. clock-names = "extal";
  283. #clock-cells = <2>;
  284. #power-domain-cells = <0>;
  285. #reset-cells = <1>;
  286. };
  287. apmu@e6152000 {
  288. compatible = "renesas,r8a7792-apmu", "renesas,apmu";
  289. reg = <0 0xe6152000 0 0x188>;
  290. cpus = <&cpu0>, <&cpu1>;
  291. };
  292. rst: reset-controller@e6160000 {
  293. compatible = "renesas,r8a7792-rst";
  294. reg = <0 0xe6160000 0 0x0100>;
  295. };
  296. sysc: system-controller@e6180000 {
  297. compatible = "renesas,r8a7792-sysc";
  298. reg = <0 0xe6180000 0 0x0200>;
  299. #power-domain-cells = <1>;
  300. };
  301. irqc: interrupt-controller@e61c0000 {
  302. compatible = "renesas,irqc-r8a7792", "renesas,irqc";
  303. #interrupt-cells = <2>;
  304. interrupt-controller;
  305. reg = <0 0xe61c0000 0 0x200>;
  306. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
  307. <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
  308. <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
  309. <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  310. clocks = <&cpg CPG_MOD 407>;
  311. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  312. resets = <&cpg 407>;
  313. };
  314. icram0: sram@e63a0000 {
  315. compatible = "mmio-sram";
  316. reg = <0 0xe63a0000 0 0x12000>;
  317. #address-cells = <1>;
  318. #size-cells = <1>;
  319. ranges = <0 0 0xe63a0000 0x12000>;
  320. };
  321. icram1: sram@e63c0000 {
  322. compatible = "mmio-sram";
  323. reg = <0 0xe63c0000 0 0x1000>;
  324. #address-cells = <1>;
  325. #size-cells = <1>;
  326. ranges = <0 0 0xe63c0000 0x1000>;
  327. smp-sram@0 {
  328. compatible = "renesas,smp-sram";
  329. reg = <0 0x100>;
  330. };
  331. };
  332. /* I2C doesn't need pinmux */
  333. i2c0: i2c@e6508000 {
  334. compatible = "renesas,i2c-r8a7792",
  335. "renesas,rcar-gen2-i2c";
  336. reg = <0 0xe6508000 0 0x40>;
  337. interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
  338. clocks = <&cpg CPG_MOD 931>;
  339. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  340. resets = <&cpg 931>;
  341. i2c-scl-internal-delay-ns = <6>;
  342. #address-cells = <1>;
  343. #size-cells = <0>;
  344. status = "disabled";
  345. };
  346. i2c1: i2c@e6518000 {
  347. compatible = "renesas,i2c-r8a7792",
  348. "renesas,rcar-gen2-i2c";
  349. reg = <0 0xe6518000 0 0x40>;
  350. interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
  351. clocks = <&cpg CPG_MOD 930>;
  352. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  353. resets = <&cpg 930>;
  354. i2c-scl-internal-delay-ns = <6>;
  355. #address-cells = <1>;
  356. #size-cells = <0>;
  357. status = "disabled";
  358. };
  359. i2c2: i2c@e6530000 {
  360. compatible = "renesas,i2c-r8a7792",
  361. "renesas,rcar-gen2-i2c";
  362. reg = <0 0xe6530000 0 0x40>;
  363. interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
  364. clocks = <&cpg CPG_MOD 929>;
  365. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  366. resets = <&cpg 929>;
  367. i2c-scl-internal-delay-ns = <6>;
  368. #address-cells = <1>;
  369. #size-cells = <0>;
  370. status = "disabled";
  371. };
  372. i2c3: i2c@e6540000 {
  373. compatible = "renesas,i2c-r8a7792",
  374. "renesas,rcar-gen2-i2c";
  375. reg = <0 0xe6540000 0 0x40>;
  376. interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
  377. clocks = <&cpg CPG_MOD 928>;
  378. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  379. resets = <&cpg 928>;
  380. i2c-scl-internal-delay-ns = <6>;
  381. #address-cells = <1>;
  382. #size-cells = <0>;
  383. status = "disabled";
  384. };
  385. i2c4: i2c@e6520000 {
  386. compatible = "renesas,i2c-r8a7792",
  387. "renesas,rcar-gen2-i2c";
  388. reg = <0 0xe6520000 0 0x40>;
  389. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  390. clocks = <&cpg CPG_MOD 927>;
  391. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  392. resets = <&cpg 927>;
  393. i2c-scl-internal-delay-ns = <6>;
  394. #address-cells = <1>;
  395. #size-cells = <0>;
  396. status = "disabled";
  397. };
  398. i2c5: i2c@e6528000 {
  399. compatible = "renesas,i2c-r8a7792",
  400. "renesas,rcar-gen2-i2c";
  401. reg = <0 0xe6528000 0 0x40>;
  402. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  403. clocks = <&cpg CPG_MOD 925>;
  404. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  405. resets = <&cpg 925>;
  406. i2c-scl-internal-delay-ns = <110>;
  407. #address-cells = <1>;
  408. #size-cells = <0>;
  409. status = "disabled";
  410. };
  411. iic3: i2c@e60b0000 {
  412. #address-cells = <1>;
  413. #size-cells = <0>;
  414. compatible = "renesas,iic-r8a7792",
  415. "renesas,rcar-gen2-iic",
  416. "renesas,rmobile-iic";
  417. reg = <0 0xe60b0000 0 0x425>;
  418. interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
  419. clocks = <&cpg CPG_MOD 926>;
  420. dmas = <&dmac0 0x77>, <&dmac0 0x78>,
  421. <&dmac1 0x77>, <&dmac1 0x78>;
  422. dma-names = "tx", "rx", "tx", "rx";
  423. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  424. resets = <&cpg 926>;
  425. status = "disabled";
  426. };
  427. dmac0: dma-controller@e6700000 {
  428. compatible = "renesas,dmac-r8a7792",
  429. "renesas,rcar-dmac";
  430. reg = <0 0xe6700000 0 0x20000>;
  431. interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
  432. <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
  433. <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
  434. <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
  435. <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
  436. <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
  437. <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
  438. <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
  439. <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
  440. <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
  441. <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
  442. <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
  443. <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
  444. <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
  445. <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
  446. <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
  447. interrupt-names = "error",
  448. "ch0", "ch1", "ch2", "ch3",
  449. "ch4", "ch5", "ch6", "ch7",
  450. "ch8", "ch9", "ch10", "ch11",
  451. "ch12", "ch13", "ch14";
  452. clocks = <&cpg CPG_MOD 219>;
  453. clock-names = "fck";
  454. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  455. resets = <&cpg 219>;
  456. #dma-cells = <1>;
  457. dma-channels = <15>;
  458. };
  459. dmac1: dma-controller@e6720000 {
  460. compatible = "renesas,dmac-r8a7792",
  461. "renesas,rcar-dmac";
  462. reg = <0 0xe6720000 0 0x20000>;
  463. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
  464. <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
  465. <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
  466. <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
  467. <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
  468. <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
  469. <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
  470. <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
  471. <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
  472. <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
  473. <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
  474. <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
  475. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  476. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  477. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  478. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
  479. interrupt-names = "error",
  480. "ch0", "ch1", "ch2", "ch3",
  481. "ch4", "ch5", "ch6", "ch7",
  482. "ch8", "ch9", "ch10", "ch11",
  483. "ch12", "ch13", "ch14";
  484. clocks = <&cpg CPG_MOD 218>;
  485. clock-names = "fck";
  486. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  487. resets = <&cpg 218>;
  488. #dma-cells = <1>;
  489. dma-channels = <15>;
  490. };
  491. avb: ethernet@e6800000 {
  492. compatible = "renesas,etheravb-r8a7792",
  493. "renesas,etheravb-rcar-gen2";
  494. reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
  495. interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
  496. clocks = <&cpg CPG_MOD 812>;
  497. clock-names = "fck";
  498. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  499. resets = <&cpg 812>;
  500. #address-cells = <1>;
  501. #size-cells = <0>;
  502. status = "disabled";
  503. };
  504. qspi: spi@e6b10000 {
  505. compatible = "renesas,qspi-r8a7792", "renesas,qspi";
  506. reg = <0 0xe6b10000 0 0x2c>;
  507. interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
  508. clocks = <&cpg CPG_MOD 917>;
  509. dmas = <&dmac0 0x17>, <&dmac0 0x18>,
  510. <&dmac1 0x17>, <&dmac1 0x18>;
  511. dma-names = "tx", "rx", "tx", "rx";
  512. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  513. resets = <&cpg 917>;
  514. num-cs = <1>;
  515. #address-cells = <1>;
  516. #size-cells = <0>;
  517. status = "disabled";
  518. };
  519. scif0: serial@e6e60000 {
  520. compatible = "renesas,scif-r8a7792",
  521. "renesas,rcar-gen2-scif", "renesas,scif";
  522. reg = <0 0xe6e60000 0 64>;
  523. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
  524. clocks = <&cpg CPG_MOD 721>,
  525. <&cpg CPG_CORE R8A7792_CLK_ZS>, <&scif_clk>;
  526. clock-names = "fck", "brg_int", "scif_clk";
  527. dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
  528. <&dmac1 0x29>, <&dmac1 0x2a>;
  529. dma-names = "tx", "rx", "tx", "rx";
  530. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  531. resets = <&cpg 721>;
  532. status = "disabled";
  533. };
  534. scif1: serial@e6e68000 {
  535. compatible = "renesas,scif-r8a7792",
  536. "renesas,rcar-gen2-scif", "renesas,scif";
  537. reg = <0 0xe6e68000 0 64>;
  538. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  539. clocks = <&cpg CPG_MOD 720>,
  540. <&cpg CPG_CORE R8A7792_CLK_ZS>, <&scif_clk>;
  541. clock-names = "fck", "brg_int", "scif_clk";
  542. dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
  543. <&dmac1 0x2d>, <&dmac1 0x2e>;
  544. dma-names = "tx", "rx", "tx", "rx";
  545. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  546. resets = <&cpg 720>;
  547. status = "disabled";
  548. };
  549. scif2: serial@e6e58000 {
  550. compatible = "renesas,scif-r8a7792",
  551. "renesas,rcar-gen2-scif", "renesas,scif";
  552. reg = <0 0xe6e58000 0 64>;
  553. interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
  554. clocks = <&cpg CPG_MOD 719>,
  555. <&cpg CPG_CORE R8A7792_CLK_ZS>, <&scif_clk>;
  556. clock-names = "fck", "brg_int", "scif_clk";
  557. dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
  558. <&dmac1 0x2b>, <&dmac1 0x2c>;
  559. dma-names = "tx", "rx", "tx", "rx";
  560. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  561. resets = <&cpg 719>;
  562. status = "disabled";
  563. };
  564. scif3: serial@e6ea8000 {
  565. compatible = "renesas,scif-r8a7792",
  566. "renesas,rcar-gen2-scif", "renesas,scif";
  567. reg = <0 0xe6ea8000 0 64>;
  568. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  569. clocks = <&cpg CPG_MOD 718>,
  570. <&cpg CPG_CORE R8A7792_CLK_ZS>, <&scif_clk>;
  571. clock-names = "fck", "brg_int", "scif_clk";
  572. dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
  573. <&dmac1 0x2f>, <&dmac1 0x30>;
  574. dma-names = "tx", "rx", "tx", "rx";
  575. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  576. resets = <&cpg 718>;
  577. status = "disabled";
  578. };
  579. hscif0: serial@e62c0000 {
  580. compatible = "renesas,hscif-r8a7792",
  581. "renesas,rcar-gen2-hscif", "renesas,hscif";
  582. reg = <0 0xe62c0000 0 96>;
  583. interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  584. clocks = <&cpg CPG_MOD 717>,
  585. <&cpg CPG_CORE R8A7792_CLK_ZS>, <&scif_clk>;
  586. clock-names = "fck", "brg_int", "scif_clk";
  587. dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
  588. <&dmac1 0x39>, <&dmac1 0x3a>;
  589. dma-names = "tx", "rx", "tx", "rx";
  590. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  591. resets = <&cpg 717>;
  592. status = "disabled";
  593. };
  594. hscif1: serial@e62c8000 {
  595. compatible = "renesas,hscif-r8a7792",
  596. "renesas,rcar-gen2-hscif", "renesas,hscif";
  597. reg = <0 0xe62c8000 0 96>;
  598. interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
  599. clocks = <&cpg CPG_MOD 716>,
  600. <&cpg CPG_CORE R8A7792_CLK_ZS>, <&scif_clk>;
  601. clock-names = "fck", "brg_int", "scif_clk";
  602. dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
  603. <&dmac1 0x4d>, <&dmac1 0x4e>;
  604. dma-names = "tx", "rx", "tx", "rx";
  605. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  606. resets = <&cpg 716>;
  607. status = "disabled";
  608. };
  609. msiof0: spi@e6e20000 {
  610. compatible = "renesas,msiof-r8a7792",
  611. "renesas,rcar-gen2-msiof";
  612. reg = <0 0xe6e20000 0 0x0064>;
  613. interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
  614. clocks = <&cpg CPG_MOD 000>;
  615. dmas = <&dmac0 0x51>, <&dmac0 0x52>,
  616. <&dmac1 0x51>, <&dmac1 0x52>;
  617. dma-names = "tx", "rx", "tx", "rx";
  618. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  619. resets = <&cpg 000>;
  620. #address-cells = <1>;
  621. #size-cells = <0>;
  622. status = "disabled";
  623. };
  624. msiof1: spi@e6e10000 {
  625. compatible = "renesas,msiof-r8a7792",
  626. "renesas,rcar-gen2-msiof";
  627. reg = <0 0xe6e10000 0 0x0064>;
  628. interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
  629. clocks = <&cpg CPG_MOD 208>;
  630. dmas = <&dmac0 0x55>, <&dmac0 0x56>,
  631. <&dmac1 0x55>, <&dmac1 0x56>;
  632. dma-names = "tx", "rx", "tx", "rx";
  633. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  634. resets = <&cpg 208>;
  635. #address-cells = <1>;
  636. #size-cells = <0>;
  637. status = "disabled";
  638. };
  639. can0: can@e6e80000 {
  640. compatible = "renesas,can-r8a7792",
  641. "renesas,rcar-gen2-can";
  642. reg = <0 0xe6e80000 0 0x1000>;
  643. interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
  644. clocks = <&cpg CPG_MOD 916>,
  645. <&cpg CPG_CORE R8A7792_CLK_RCAN>, <&can_clk>;
  646. clock-names = "clkp1", "clkp2", "can_clk";
  647. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  648. resets = <&cpg 916>;
  649. status = "disabled";
  650. };
  651. can1: can@e6e88000 {
  652. compatible = "renesas,can-r8a7792",
  653. "renesas,rcar-gen2-can";
  654. reg = <0 0xe6e88000 0 0x1000>;
  655. interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
  656. clocks = <&cpg CPG_MOD 915>,
  657. <&cpg CPG_CORE R8A7792_CLK_RCAN>, <&can_clk>;
  658. clock-names = "clkp1", "clkp2", "can_clk";
  659. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  660. resets = <&cpg 915>;
  661. status = "disabled";
  662. };
  663. vin0: video@e6ef0000 {
  664. compatible = "renesas,vin-r8a7792",
  665. "renesas,rcar-gen2-vin";
  666. reg = <0 0xe6ef0000 0 0x1000>;
  667. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  668. clocks = <&cpg CPG_MOD 811>;
  669. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  670. resets = <&cpg 811>;
  671. status = "disabled";
  672. };
  673. vin1: video@e6ef1000 {
  674. compatible = "renesas,vin-r8a7792",
  675. "renesas,rcar-gen2-vin";
  676. reg = <0 0xe6ef1000 0 0x1000>;
  677. interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
  678. clocks = <&cpg CPG_MOD 810>;
  679. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  680. resets = <&cpg 810>;
  681. status = "disabled";
  682. };
  683. vin2: video@e6ef2000 {
  684. compatible = "renesas,vin-r8a7792",
  685. "renesas,rcar-gen2-vin";
  686. reg = <0 0xe6ef2000 0 0x1000>;
  687. interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
  688. clocks = <&cpg CPG_MOD 809>;
  689. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  690. resets = <&cpg 809>;
  691. status = "disabled";
  692. };
  693. vin3: video@e6ef3000 {
  694. compatible = "renesas,vin-r8a7792",
  695. "renesas,rcar-gen2-vin";
  696. reg = <0 0xe6ef3000 0 0x1000>;
  697. interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
  698. clocks = <&cpg CPG_MOD 808>;
  699. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  700. resets = <&cpg 808>;
  701. status = "disabled";
  702. };
  703. vin4: video@e6ef4000 {
  704. compatible = "renesas,vin-r8a7792",
  705. "renesas,rcar-gen2-vin";
  706. reg = <0 0xe6ef4000 0 0x1000>;
  707. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  708. clocks = <&cpg CPG_MOD 805>;
  709. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  710. resets = <&cpg 805>;
  711. status = "disabled";
  712. };
  713. vin5: video@e6ef5000 {
  714. compatible = "renesas,vin-r8a7792",
  715. "renesas,rcar-gen2-vin";
  716. reg = <0 0xe6ef5000 0 0x1000>;
  717. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
  718. clocks = <&cpg CPG_MOD 804>;
  719. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  720. resets = <&cpg 804>;
  721. status = "disabled";
  722. };
  723. sdhi0: mmc@ee100000 {
  724. compatible = "renesas,sdhi-r8a7792",
  725. "renesas,rcar-gen2-sdhi";
  726. reg = <0 0xee100000 0 0x328>;
  727. interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
  728. dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
  729. <&dmac1 0xcd>, <&dmac1 0xce>;
  730. dma-names = "tx", "rx", "tx", "rx";
  731. clocks = <&cpg CPG_MOD 314>;
  732. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  733. resets = <&cpg 314>;
  734. status = "disabled";
  735. };
  736. gic: interrupt-controller@f1001000 {
  737. compatible = "arm,gic-400";
  738. #interrupt-cells = <3>;
  739. interrupt-controller;
  740. reg = <0 0xf1001000 0 0x1000>,
  741. <0 0xf1002000 0 0x2000>,
  742. <0 0xf1004000 0 0x2000>,
  743. <0 0xf1006000 0 0x2000>;
  744. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
  745. IRQ_TYPE_LEVEL_HIGH)>;
  746. clocks = <&cpg CPG_MOD 408>;
  747. clock-names = "clk";
  748. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  749. resets = <&cpg 408>;
  750. };
  751. vsp@fe928000 {
  752. compatible = "renesas,vsp1";
  753. reg = <0 0xfe928000 0 0x8000>;
  754. interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
  755. clocks = <&cpg CPG_MOD 131>;
  756. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  757. resets = <&cpg 131>;
  758. };
  759. vsp@fe930000 {
  760. compatible = "renesas,vsp1";
  761. reg = <0 0xfe930000 0 0x8000>;
  762. interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
  763. clocks = <&cpg CPG_MOD 128>;
  764. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  765. resets = <&cpg 128>;
  766. };
  767. vsp@fe938000 {
  768. compatible = "renesas,vsp1";
  769. reg = <0 0xfe938000 0 0x8000>;
  770. interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
  771. clocks = <&cpg CPG_MOD 127>;
  772. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  773. resets = <&cpg 127>;
  774. };
  775. jpu: jpeg-codec@fe980000 {
  776. compatible = "renesas,jpu-r8a7792",
  777. "renesas,rcar-gen2-jpu";
  778. reg = <0 0xfe980000 0 0x10300>;
  779. interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
  780. clocks = <&cpg CPG_MOD 106>;
  781. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  782. resets = <&cpg 106>;
  783. };
  784. du: display@feb00000 {
  785. compatible = "renesas,du-r8a7792";
  786. reg = <0 0xfeb00000 0 0x40000>;
  787. interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
  788. <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
  789. clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>;
  790. clock-names = "du.0", "du.1";
  791. resets = <&cpg 724>;
  792. reset-names = "du.0";
  793. status = "disabled";
  794. ports {
  795. #address-cells = <1>;
  796. #size-cells = <0>;
  797. port@0 {
  798. reg = <0>;
  799. du_out_rgb0: endpoint {
  800. };
  801. };
  802. port@1 {
  803. reg = <1>;
  804. du_out_rgb1: endpoint {
  805. };
  806. };
  807. };
  808. };
  809. prr: chipid@ff000044 {
  810. compatible = "renesas,prr";
  811. reg = <0 0xff000044 0 4>;
  812. };
  813. cmt0: timer@ffca0000 {
  814. compatible = "renesas,r8a7792-cmt0",
  815. "renesas,rcar-gen2-cmt0";
  816. reg = <0 0xffca0000 0 0x1004>;
  817. interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
  818. <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
  819. clocks = <&cpg CPG_MOD 124>;
  820. clock-names = "fck";
  821. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  822. resets = <&cpg 124>;
  823. status = "disabled";
  824. };
  825. cmt1: timer@e6130000 {
  826. compatible = "renesas,r8a7792-cmt1",
  827. "renesas,rcar-gen2-cmt1";
  828. reg = <0 0xe6130000 0 0x1004>;
  829. interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  830. <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
  831. <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
  832. <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
  833. <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
  834. <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
  835. <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
  836. <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
  837. clocks = <&cpg CPG_MOD 329>;
  838. clock-names = "fck";
  839. power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
  840. resets = <&cpg 329>;
  841. status = "disabled";
  842. };
  843. };
  844. timer {
  845. compatible = "arm,armv7-timer";
  846. interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  847. <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  848. <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  849. <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
  850. };
  851. };