r8a77970.dtsi 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the R-Car V3M (R8A77970) SoC
  4. *
  5. * Copyright (C) 2016-2017 Renesas Electronics Corp.
  6. * Copyright (C) 2017 Cogent Embedded, Inc.
  7. */
  8. #include <dt-bindings/clock/r8a77970-cpg-mssr.h>
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/interrupt-controller/irq.h>
  11. #include <dt-bindings/power/r8a77970-sysc.h>
  12. / {
  13. compatible = "renesas,r8a77970";
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. /* External CAN clock - to be overridden by boards that provide it */
  17. can_clk: can {
  18. compatible = "fixed-clock";
  19. #clock-cells = <0>;
  20. clock-frequency = <0>;
  21. };
  22. cpus {
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. a53_0: cpu@0 {
  26. device_type = "cpu";
  27. compatible = "arm,cortex-a53";
  28. reg = <0>;
  29. clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
  30. power-domains = <&sysc R8A77970_PD_CA53_CPU0>;
  31. next-level-cache = <&L2_CA53>;
  32. enable-method = "psci";
  33. };
  34. a53_1: cpu@1 {
  35. device_type = "cpu";
  36. compatible = "arm,cortex-a53";
  37. reg = <1>;
  38. clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
  39. power-domains = <&sysc R8A77970_PD_CA53_CPU1>;
  40. next-level-cache = <&L2_CA53>;
  41. enable-method = "psci";
  42. };
  43. L2_CA53: cache-controller {
  44. compatible = "cache";
  45. power-domains = <&sysc R8A77970_PD_CA53_SCU>;
  46. cache-unified;
  47. cache-level = <2>;
  48. };
  49. };
  50. extal_clk: extal {
  51. compatible = "fixed-clock";
  52. #clock-cells = <0>;
  53. /* This value must be overridden by the board */
  54. clock-frequency = <0>;
  55. };
  56. extalr_clk: extalr {
  57. compatible = "fixed-clock";
  58. #clock-cells = <0>;
  59. /* This value must be overridden by the board */
  60. clock-frequency = <0>;
  61. };
  62. pmu_a53 {
  63. compatible = "arm,cortex-a53-pmu";
  64. interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
  65. <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
  66. interrupt-affinity = <&a53_0>, <&a53_1>;
  67. };
  68. psci {
  69. compatible = "arm,psci-1.0", "arm,psci-0.2";
  70. method = "smc";
  71. };
  72. /* External SCIF clock - to be overridden by boards that provide it */
  73. scif_clk: scif {
  74. compatible = "fixed-clock";
  75. #clock-cells = <0>;
  76. clock-frequency = <0>;
  77. };
  78. soc {
  79. compatible = "simple-bus";
  80. interrupt-parent = <&gic>;
  81. #address-cells = <2>;
  82. #size-cells = <2>;
  83. ranges;
  84. rwdt: watchdog@e6020000 {
  85. compatible = "renesas,r8a77970-wdt",
  86. "renesas,rcar-gen3-wdt";
  87. reg = <0 0xe6020000 0 0x0c>;
  88. interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
  89. clocks = <&cpg CPG_MOD 402>;
  90. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  91. resets = <&cpg 402>;
  92. status = "disabled";
  93. };
  94. gpio0: gpio@e6050000 {
  95. compatible = "renesas,gpio-r8a77970",
  96. "renesas,rcar-gen3-gpio";
  97. reg = <0 0xe6050000 0 0x50>;
  98. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  99. #gpio-cells = <2>;
  100. gpio-controller;
  101. gpio-ranges = <&pfc 0 0 22>;
  102. #interrupt-cells = <2>;
  103. interrupt-controller;
  104. clocks = <&cpg CPG_MOD 912>;
  105. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  106. resets = <&cpg 912>;
  107. };
  108. gpio1: gpio@e6051000 {
  109. compatible = "renesas,gpio-r8a77970",
  110. "renesas,rcar-gen3-gpio";
  111. reg = <0 0xe6051000 0 0x50>;
  112. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  113. #gpio-cells = <2>;
  114. gpio-controller;
  115. gpio-ranges = <&pfc 0 32 28>;
  116. #interrupt-cells = <2>;
  117. interrupt-controller;
  118. clocks = <&cpg CPG_MOD 911>;
  119. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  120. resets = <&cpg 911>;
  121. };
  122. gpio2: gpio@e6052000 {
  123. compatible = "renesas,gpio-r8a77970",
  124. "renesas,rcar-gen3-gpio";
  125. reg = <0 0xe6052000 0 0x50>;
  126. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  127. #gpio-cells = <2>;
  128. gpio-controller;
  129. gpio-ranges = <&pfc 0 64 17>;
  130. #interrupt-cells = <2>;
  131. interrupt-controller;
  132. clocks = <&cpg CPG_MOD 910>;
  133. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  134. resets = <&cpg 910>;
  135. };
  136. gpio3: gpio@e6053000 {
  137. compatible = "renesas,gpio-r8a77970",
  138. "renesas,rcar-gen3-gpio";
  139. reg = <0 0xe6053000 0 0x50>;
  140. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  141. #gpio-cells = <2>;
  142. gpio-controller;
  143. gpio-ranges = <&pfc 0 96 17>;
  144. #interrupt-cells = <2>;
  145. interrupt-controller;
  146. clocks = <&cpg CPG_MOD 909>;
  147. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  148. resets = <&cpg 909>;
  149. };
  150. gpio4: gpio@e6054000 {
  151. compatible = "renesas,gpio-r8a77970",
  152. "renesas,rcar-gen3-gpio";
  153. reg = <0 0xe6054000 0 0x50>;
  154. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  155. #gpio-cells = <2>;
  156. gpio-controller;
  157. gpio-ranges = <&pfc 0 128 6>;
  158. #interrupt-cells = <2>;
  159. interrupt-controller;
  160. clocks = <&cpg CPG_MOD 908>;
  161. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  162. resets = <&cpg 908>;
  163. };
  164. gpio5: gpio@e6055000 {
  165. compatible = "renesas,gpio-r8a77970",
  166. "renesas,rcar-gen3-gpio";
  167. reg = <0 0xe6055000 0 0x50>;
  168. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  169. #gpio-cells = <2>;
  170. gpio-controller;
  171. gpio-ranges = <&pfc 0 160 15>;
  172. #interrupt-cells = <2>;
  173. interrupt-controller;
  174. clocks = <&cpg CPG_MOD 907>;
  175. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  176. resets = <&cpg 907>;
  177. };
  178. pfc: pinctrl@e6060000 {
  179. compatible = "renesas,pfc-r8a77970";
  180. reg = <0 0xe6060000 0 0x504>;
  181. };
  182. cmt0: timer@e60f0000 {
  183. compatible = "renesas,r8a77970-cmt0",
  184. "renesas,rcar-gen3-cmt0";
  185. reg = <0 0xe60f0000 0 0x1004>;
  186. interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
  187. <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
  188. clocks = <&cpg CPG_MOD 303>;
  189. clock-names = "fck";
  190. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  191. resets = <&cpg 303>;
  192. status = "disabled";
  193. };
  194. cmt1: timer@e6130000 {
  195. compatible = "renesas,r8a77970-cmt1",
  196. "renesas,rcar-gen3-cmt1";
  197. reg = <0 0xe6130000 0 0x1004>;
  198. interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  199. <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
  200. <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
  201. <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
  202. <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
  203. <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
  204. <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
  205. <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
  206. clocks = <&cpg CPG_MOD 302>;
  207. clock-names = "fck";
  208. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  209. resets = <&cpg 302>;
  210. status = "disabled";
  211. };
  212. cmt2: timer@e6140000 {
  213. compatible = "renesas,r8a77970-cmt1",
  214. "renesas,rcar-gen3-cmt1";
  215. reg = <0 0xe6140000 0 0x1004>;
  216. interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
  217. <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
  218. <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
  219. <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
  220. <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
  221. <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
  222. <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
  223. <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
  224. clocks = <&cpg CPG_MOD 301>;
  225. clock-names = "fck";
  226. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  227. resets = <&cpg 301>;
  228. status = "disabled";
  229. };
  230. cmt3: timer@e6148000 {
  231. compatible = "renesas,r8a77970-cmt1",
  232. "renesas,rcar-gen3-cmt1";
  233. reg = <0 0xe6148000 0 0x1004>;
  234. interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
  235. <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
  236. <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
  237. <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
  238. <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
  239. <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
  240. <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
  241. <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
  242. clocks = <&cpg CPG_MOD 300>;
  243. clock-names = "fck";
  244. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  245. resets = <&cpg 300>;
  246. status = "disabled";
  247. };
  248. cpg: clock-controller@e6150000 {
  249. compatible = "renesas,r8a77970-cpg-mssr";
  250. reg = <0 0xe6150000 0 0x1000>;
  251. clocks = <&extal_clk>, <&extalr_clk>;
  252. clock-names = "extal", "extalr";
  253. #clock-cells = <2>;
  254. #power-domain-cells = <0>;
  255. #reset-cells = <1>;
  256. };
  257. rst: reset-controller@e6160000 {
  258. compatible = "renesas,r8a77970-rst";
  259. reg = <0 0xe6160000 0 0x200>;
  260. };
  261. sysc: system-controller@e6180000 {
  262. compatible = "renesas,r8a77970-sysc";
  263. reg = <0 0xe6180000 0 0x440>;
  264. #power-domain-cells = <1>;
  265. };
  266. thermal: thermal@e6190000 {
  267. compatible = "renesas,thermal-r8a77970";
  268. reg = <0 0xe6190000 0 0x10>,
  269. <0 0xe6190100 0 0x120>;
  270. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
  271. <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  272. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  273. clocks = <&cpg CPG_MOD 522>;
  274. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  275. resets = <&cpg 522>;
  276. #thermal-sensor-cells = <0>;
  277. };
  278. intc_ex: interrupt-controller@e61c0000 {
  279. compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
  280. #interrupt-cells = <2>;
  281. interrupt-controller;
  282. reg = <0 0xe61c0000 0 0x200>;
  283. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
  284. <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
  285. <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
  286. <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  287. <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
  288. <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
  289. clocks = <&cpg CPG_MOD 407>;
  290. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  291. resets = <&cpg 407>;
  292. };
  293. tmu0: timer@e61e0000 {
  294. compatible = "renesas,tmu-r8a77970", "renesas,tmu";
  295. reg = <0 0xe61e0000 0 0x30>;
  296. interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
  297. <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
  298. <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  299. clocks = <&cpg CPG_MOD 125>;
  300. clock-names = "fck";
  301. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  302. resets = <&cpg 125>;
  303. status = "disabled";
  304. };
  305. tmu1: timer@e6fc0000 {
  306. compatible = "renesas,tmu-r8a77970", "renesas,tmu";
  307. reg = <0 0xe6fc0000 0 0x30>;
  308. interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
  309. <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
  310. <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
  311. clocks = <&cpg CPG_MOD 124>;
  312. clock-names = "fck";
  313. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  314. resets = <&cpg 124>;
  315. status = "disabled";
  316. };
  317. tmu2: timer@e6fd0000 {
  318. compatible = "renesas,tmu-r8a77970", "renesas,tmu";
  319. reg = <0 0xe6fd0000 0 0x30>;
  320. interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
  321. <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
  322. <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
  323. clocks = <&cpg CPG_MOD 123>;
  324. clock-names = "fck";
  325. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  326. resets = <&cpg 123>;
  327. status = "disabled";
  328. };
  329. tmu3: timer@e6fe0000 {
  330. compatible = "renesas,tmu-r8a77970", "renesas,tmu";
  331. reg = <0 0xe6fe0000 0 0x30>;
  332. interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  333. <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
  334. <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  335. clocks = <&cpg CPG_MOD 122>;
  336. clock-names = "fck";
  337. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  338. resets = <&cpg 122>;
  339. status = "disabled";
  340. };
  341. tmu4: timer@ffc00000 {
  342. compatible = "renesas,tmu-r8a77970", "renesas,tmu";
  343. reg = <0 0xffc00000 0 0x30>;
  344. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  345. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  346. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
  347. clocks = <&cpg CPG_MOD 121>;
  348. clock-names = "fck";
  349. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  350. resets = <&cpg 121>;
  351. status = "disabled";
  352. };
  353. i2c0: i2c@e6500000 {
  354. compatible = "renesas,i2c-r8a77970",
  355. "renesas,rcar-gen3-i2c";
  356. reg = <0 0xe6500000 0 0x40>;
  357. interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
  358. clocks = <&cpg CPG_MOD 931>;
  359. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  360. resets = <&cpg 931>;
  361. dmas = <&dmac1 0x91>, <&dmac1 0x90>,
  362. <&dmac2 0x91>, <&dmac2 0x90>;
  363. dma-names = "tx", "rx", "tx", "rx";
  364. i2c-scl-internal-delay-ns = <6>;
  365. #address-cells = <1>;
  366. #size-cells = <0>;
  367. status = "disabled";
  368. };
  369. i2c1: i2c@e6508000 {
  370. compatible = "renesas,i2c-r8a77970",
  371. "renesas,rcar-gen3-i2c";
  372. reg = <0 0xe6508000 0 0x40>;
  373. interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
  374. clocks = <&cpg CPG_MOD 930>;
  375. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  376. resets = <&cpg 930>;
  377. dmas = <&dmac1 0x93>, <&dmac1 0x92>,
  378. <&dmac2 0x93>, <&dmac2 0x92>;
  379. dma-names = "tx", "rx", "tx", "rx";
  380. i2c-scl-internal-delay-ns = <6>;
  381. #address-cells = <1>;
  382. #size-cells = <0>;
  383. status = "disabled";
  384. };
  385. i2c2: i2c@e6510000 {
  386. compatible = "renesas,i2c-r8a77970",
  387. "renesas,rcar-gen3-i2c";
  388. reg = <0 0xe6510000 0 0x40>;
  389. interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
  390. clocks = <&cpg CPG_MOD 929>;
  391. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  392. resets = <&cpg 929>;
  393. dmas = <&dmac1 0x95>, <&dmac1 0x94>,
  394. <&dmac2 0x95>, <&dmac2 0x94>;
  395. dma-names = "tx", "rx", "tx", "rx";
  396. i2c-scl-internal-delay-ns = <6>;
  397. #address-cells = <1>;
  398. #size-cells = <0>;
  399. status = "disabled";
  400. };
  401. i2c3: i2c@e66d0000 {
  402. compatible = "renesas,i2c-r8a77970",
  403. "renesas,rcar-gen3-i2c";
  404. reg = <0 0xe66d0000 0 0x40>;
  405. interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
  406. clocks = <&cpg CPG_MOD 928>;
  407. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  408. resets = <&cpg 928>;
  409. dmas = <&dmac1 0x97>, <&dmac1 0x96>,
  410. <&dmac2 0x97>, <&dmac2 0x96>;
  411. dma-names = "tx", "rx", "tx", "rx";
  412. i2c-scl-internal-delay-ns = <6>;
  413. #address-cells = <1>;
  414. #size-cells = <0>;
  415. status = "disabled";
  416. };
  417. i2c4: i2c@e66d8000 {
  418. compatible = "renesas,i2c-r8a77970",
  419. "renesas,rcar-gen3-i2c";
  420. reg = <0 0xe66d8000 0 0x40>;
  421. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  422. clocks = <&cpg CPG_MOD 927>;
  423. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  424. resets = <&cpg 927>;
  425. dmas = <&dmac1 0x99>, <&dmac1 0x98>,
  426. <&dmac2 0x99>, <&dmac2 0x98>;
  427. dma-names = "tx", "rx", "tx", "rx";
  428. i2c-scl-internal-delay-ns = <6>;
  429. #address-cells = <1>;
  430. #size-cells = <0>;
  431. status = "disabled";
  432. };
  433. hscif0: serial@e6540000 {
  434. compatible = "renesas,hscif-r8a77970",
  435. "renesas,rcar-gen3-hscif",
  436. "renesas,hscif";
  437. reg = <0 0xe6540000 0 96>;
  438. interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  439. clocks = <&cpg CPG_MOD 520>,
  440. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  441. <&scif_clk>;
  442. clock-names = "fck", "brg_int", "scif_clk";
  443. dmas = <&dmac1 0x31>, <&dmac1 0x30>,
  444. <&dmac2 0x31>, <&dmac2 0x30>;
  445. dma-names = "tx", "rx", "tx", "rx";
  446. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  447. resets = <&cpg 520>;
  448. status = "disabled";
  449. };
  450. hscif1: serial@e6550000 {
  451. compatible = "renesas,hscif-r8a77970",
  452. "renesas,rcar-gen3-hscif",
  453. "renesas,hscif";
  454. reg = <0 0xe6550000 0 96>;
  455. interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
  456. clocks = <&cpg CPG_MOD 519>,
  457. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  458. <&scif_clk>;
  459. clock-names = "fck", "brg_int", "scif_clk";
  460. dmas = <&dmac1 0x33>, <&dmac1 0x32>,
  461. <&dmac2 0x33>, <&dmac2 0x32>;
  462. dma-names = "tx", "rx", "tx", "rx";
  463. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  464. resets = <&cpg 519>;
  465. status = "disabled";
  466. };
  467. hscif2: serial@e6560000 {
  468. compatible = "renesas,hscif-r8a77970",
  469. "renesas,rcar-gen3-hscif",
  470. "renesas,hscif";
  471. reg = <0 0xe6560000 0 96>;
  472. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  473. clocks = <&cpg CPG_MOD 518>,
  474. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  475. <&scif_clk>;
  476. clock-names = "fck", "brg_int", "scif_clk";
  477. dmas = <&dmac1 0x35>, <&dmac1 0x34>,
  478. <&dmac2 0x35>, <&dmac2 0x34>;
  479. dma-names = "tx", "rx", "tx", "rx";
  480. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  481. resets = <&cpg 518>;
  482. status = "disabled";
  483. };
  484. hscif3: serial@e66a0000 {
  485. compatible = "renesas,hscif-r8a77970",
  486. "renesas,rcar-gen3-hscif", "renesas,hscif";
  487. reg = <0 0xe66a0000 0 96>;
  488. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
  489. clocks = <&cpg CPG_MOD 517>,
  490. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  491. <&scif_clk>;
  492. clock-names = "fck", "brg_int", "scif_clk";
  493. dmas = <&dmac1 0x37>, <&dmac1 0x36>,
  494. <&dmac2 0x37>, <&dmac2 0x36>;
  495. dma-names = "tx", "rx", "tx", "rx";
  496. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  497. resets = <&cpg 517>;
  498. status = "disabled";
  499. };
  500. canfd: can@e66c0000 {
  501. compatible = "renesas,r8a77970-canfd",
  502. "renesas,rcar-gen3-canfd";
  503. reg = <0 0xe66c0000 0 0x8000>;
  504. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
  505. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  506. interrupt-names = "ch_int", "g_int";
  507. clocks = <&cpg CPG_MOD 914>,
  508. <&cpg CPG_CORE R8A77970_CLK_CANFD>,
  509. <&can_clk>;
  510. clock-names = "fck", "canfd", "can_clk";
  511. assigned-clocks = <&cpg CPG_CORE R8A77970_CLK_CANFD>;
  512. assigned-clock-rates = <40000000>;
  513. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  514. resets = <&cpg 914>;
  515. status = "disabled";
  516. channel0 {
  517. status = "disabled";
  518. };
  519. channel1 {
  520. status = "disabled";
  521. };
  522. };
  523. avb: ethernet@e6800000 {
  524. compatible = "renesas,etheravb-r8a77970",
  525. "renesas,etheravb-rcar-gen3";
  526. reg = <0 0xe6800000 0 0x800>;
  527. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
  528. <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
  529. <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
  530. <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
  531. <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
  532. <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
  533. <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
  534. <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
  535. <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
  536. <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
  537. <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
  538. <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
  539. <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
  540. <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
  541. <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
  542. <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
  543. <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
  544. <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
  545. <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
  546. <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
  547. <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
  548. <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
  549. <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
  550. <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
  551. <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  552. interrupt-names = "ch0", "ch1", "ch2", "ch3",
  553. "ch4", "ch5", "ch6", "ch7",
  554. "ch8", "ch9", "ch10", "ch11",
  555. "ch12", "ch13", "ch14", "ch15",
  556. "ch16", "ch17", "ch18", "ch19",
  557. "ch20", "ch21", "ch22", "ch23",
  558. "ch24";
  559. clocks = <&cpg CPG_MOD 812>;
  560. clock-names = "fck";
  561. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  562. resets = <&cpg 812>;
  563. phy-mode = "rgmii";
  564. rx-internal-delay-ps = <0>;
  565. tx-internal-delay-ps = <0>;
  566. iommus = <&ipmmu_rt 3>;
  567. #address-cells = <1>;
  568. #size-cells = <0>;
  569. status = "disabled";
  570. };
  571. pwm0: pwm@e6e30000 {
  572. compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
  573. reg = <0 0xe6e30000 0 8>;
  574. #pwm-cells = <2>;
  575. clocks = <&cpg CPG_MOD 523>;
  576. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  577. resets = <&cpg 523>;
  578. status = "disabled";
  579. };
  580. pwm1: pwm@e6e31000 {
  581. compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
  582. reg = <0 0xe6e31000 0 8>;
  583. #pwm-cells = <2>;
  584. clocks = <&cpg CPG_MOD 523>;
  585. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  586. resets = <&cpg 523>;
  587. status = "disabled";
  588. };
  589. pwm2: pwm@e6e32000 {
  590. compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
  591. reg = <0 0xe6e32000 0 8>;
  592. #pwm-cells = <2>;
  593. clocks = <&cpg CPG_MOD 523>;
  594. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  595. resets = <&cpg 523>;
  596. status = "disabled";
  597. };
  598. pwm3: pwm@e6e33000 {
  599. compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
  600. reg = <0 0xe6e33000 0 8>;
  601. #pwm-cells = <2>;
  602. clocks = <&cpg CPG_MOD 523>;
  603. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  604. resets = <&cpg 523>;
  605. status = "disabled";
  606. };
  607. pwm4: pwm@e6e34000 {
  608. compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
  609. reg = <0 0xe6e34000 0 8>;
  610. #pwm-cells = <2>;
  611. clocks = <&cpg CPG_MOD 523>;
  612. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  613. resets = <&cpg 523>;
  614. status = "disabled";
  615. };
  616. scif0: serial@e6e60000 {
  617. compatible = "renesas,scif-r8a77970",
  618. "renesas,rcar-gen3-scif",
  619. "renesas,scif";
  620. reg = <0 0xe6e60000 0 64>;
  621. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
  622. clocks = <&cpg CPG_MOD 207>,
  623. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  624. <&scif_clk>;
  625. clock-names = "fck", "brg_int", "scif_clk";
  626. dmas = <&dmac1 0x51>, <&dmac1 0x50>,
  627. <&dmac2 0x51>, <&dmac2 0x50>;
  628. dma-names = "tx", "rx", "tx", "rx";
  629. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  630. resets = <&cpg 207>;
  631. status = "disabled";
  632. };
  633. scif1: serial@e6e68000 {
  634. compatible = "renesas,scif-r8a77970",
  635. "renesas,rcar-gen3-scif",
  636. "renesas,scif";
  637. reg = <0 0xe6e68000 0 64>;
  638. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  639. clocks = <&cpg CPG_MOD 206>,
  640. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  641. <&scif_clk>;
  642. clock-names = "fck", "brg_int", "scif_clk";
  643. dmas = <&dmac1 0x53>, <&dmac1 0x52>,
  644. <&dmac2 0x53>, <&dmac2 0x52>;
  645. dma-names = "tx", "rx", "tx", "rx";
  646. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  647. resets = <&cpg 206>;
  648. status = "disabled";
  649. };
  650. scif3: serial@e6c50000 {
  651. compatible = "renesas,scif-r8a77970",
  652. "renesas,rcar-gen3-scif",
  653. "renesas,scif";
  654. reg = <0 0xe6c50000 0 64>;
  655. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  656. clocks = <&cpg CPG_MOD 204>,
  657. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  658. <&scif_clk>;
  659. clock-names = "fck", "brg_int", "scif_clk";
  660. dmas = <&dmac1 0x57>, <&dmac1 0x56>,
  661. <&dmac2 0x57>, <&dmac2 0x56>;
  662. dma-names = "tx", "rx", "tx", "rx";
  663. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  664. resets = <&cpg 204>;
  665. status = "disabled";
  666. };
  667. scif4: serial@e6c40000 {
  668. compatible = "renesas,scif-r8a77970",
  669. "renesas,rcar-gen3-scif", "renesas,scif";
  670. reg = <0 0xe6c40000 0 64>;
  671. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  672. clocks = <&cpg CPG_MOD 203>,
  673. <&cpg CPG_CORE R8A77970_CLK_S2D1>,
  674. <&scif_clk>;
  675. clock-names = "fck", "brg_int", "scif_clk";
  676. dmas = <&dmac1 0x59>, <&dmac1 0x58>,
  677. <&dmac2 0x59>, <&dmac2 0x58>;
  678. dma-names = "tx", "rx", "tx", "rx";
  679. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  680. resets = <&cpg 203>;
  681. status = "disabled";
  682. };
  683. tpu: pwm@e6e80000 {
  684. compatible = "renesas,tpu-r8a77970", "renesas,tpu";
  685. reg = <0 0xe6e80000 0 0x148>;
  686. interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
  687. clocks = <&cpg CPG_MOD 304>;
  688. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  689. resets = <&cpg 304>;
  690. #pwm-cells = <3>;
  691. status = "disabled";
  692. };
  693. msiof0: spi@e6e90000 {
  694. compatible = "renesas,msiof-r8a77970",
  695. "renesas,rcar-gen3-msiof";
  696. reg = <0 0xe6e90000 0 0x64>;
  697. interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
  698. clocks = <&cpg CPG_MOD 211>;
  699. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  700. resets = <&cpg 211>;
  701. dmas = <&dmac1 0x41>, <&dmac1 0x40>,
  702. <&dmac2 0x41>, <&dmac2 0x40>;
  703. dma-names = "tx", "rx", "tx", "rx";
  704. #address-cells = <1>;
  705. #size-cells = <0>;
  706. status = "disabled";
  707. };
  708. msiof1: spi@e6ea0000 {
  709. compatible = "renesas,msiof-r8a77970",
  710. "renesas,rcar-gen3-msiof";
  711. reg = <0 0xe6ea0000 0 0x0064>;
  712. interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
  713. clocks = <&cpg CPG_MOD 210>;
  714. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  715. resets = <&cpg 210>;
  716. dmas = <&dmac1 0x43>, <&dmac1 0x42>,
  717. <&dmac2 0x43>, <&dmac2 0x42>;
  718. dma-names = "tx", "rx", "tx", "rx";
  719. #address-cells = <1>;
  720. #size-cells = <0>;
  721. status = "disabled";
  722. };
  723. msiof2: spi@e6c00000 {
  724. compatible = "renesas,msiof-r8a77970",
  725. "renesas,rcar-gen3-msiof";
  726. reg = <0 0xe6c00000 0 0x0064>;
  727. interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
  728. clocks = <&cpg CPG_MOD 209>;
  729. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  730. resets = <&cpg 209>;
  731. dmas = <&dmac1 0x45>, <&dmac1 0x44>,
  732. <&dmac2 0x45>, <&dmac2 0x44>;
  733. dma-names = "tx", "rx", "tx", "rx";
  734. #address-cells = <1>;
  735. #size-cells = <0>;
  736. status = "disabled";
  737. };
  738. msiof3: spi@e6c10000 {
  739. compatible = "renesas,msiof-r8a77970",
  740. "renesas,rcar-gen3-msiof";
  741. reg = <0 0xe6c10000 0 0x0064>;
  742. interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
  743. clocks = <&cpg CPG_MOD 208>;
  744. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  745. resets = <&cpg 208>;
  746. dmas = <&dmac1 0x47>, <&dmac1 0x46>,
  747. <&dmac2 0x47>, <&dmac2 0x46>;
  748. dma-names = "tx", "rx", "tx", "rx";
  749. #address-cells = <1>;
  750. #size-cells = <0>;
  751. status = "disabled";
  752. };
  753. vin0: video@e6ef0000 {
  754. compatible = "renesas,vin-r8a77970";
  755. reg = <0 0xe6ef0000 0 0x1000>;
  756. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  757. clocks = <&cpg CPG_MOD 811>;
  758. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  759. resets = <&cpg 811>;
  760. renesas,id = <0>;
  761. status = "disabled";
  762. ports {
  763. #address-cells = <1>;
  764. #size-cells = <0>;
  765. port@1 {
  766. #address-cells = <1>;
  767. #size-cells = <0>;
  768. reg = <1>;
  769. vin0csi40: endpoint@2 {
  770. reg = <2>;
  771. remote-endpoint = <&csi40vin0>;
  772. };
  773. };
  774. };
  775. };
  776. vin1: video@e6ef1000 {
  777. compatible = "renesas,vin-r8a77970";
  778. reg = <0 0xe6ef1000 0 0x1000>;
  779. interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
  780. clocks = <&cpg CPG_MOD 810>;
  781. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  782. resets = <&cpg 810>;
  783. renesas,id = <1>;
  784. status = "disabled";
  785. ports {
  786. #address-cells = <1>;
  787. #size-cells = <0>;
  788. port@1 {
  789. #address-cells = <1>;
  790. #size-cells = <0>;
  791. reg = <1>;
  792. vin1csi40: endpoint@2 {
  793. reg = <2>;
  794. remote-endpoint = <&csi40vin1>;
  795. };
  796. };
  797. };
  798. };
  799. vin2: video@e6ef2000 {
  800. compatible = "renesas,vin-r8a77970";
  801. reg = <0 0xe6ef2000 0 0x1000>;
  802. interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
  803. clocks = <&cpg CPG_MOD 809>;
  804. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  805. resets = <&cpg 809>;
  806. renesas,id = <2>;
  807. status = "disabled";
  808. ports {
  809. #address-cells = <1>;
  810. #size-cells = <0>;
  811. port@1 {
  812. #address-cells = <1>;
  813. #size-cells = <0>;
  814. reg = <1>;
  815. vin2csi40: endpoint@2 {
  816. reg = <2>;
  817. remote-endpoint = <&csi40vin2>;
  818. };
  819. };
  820. };
  821. };
  822. vin3: video@e6ef3000 {
  823. compatible = "renesas,vin-r8a77970";
  824. reg = <0 0xe6ef3000 0 0x1000>;
  825. interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
  826. clocks = <&cpg CPG_MOD 808>;
  827. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  828. resets = <&cpg 808>;
  829. renesas,id = <3>;
  830. status = "disabled";
  831. ports {
  832. #address-cells = <1>;
  833. #size-cells = <0>;
  834. port@1 {
  835. #address-cells = <1>;
  836. #size-cells = <0>;
  837. reg = <1>;
  838. vin3csi40: endpoint@2 {
  839. reg = <2>;
  840. remote-endpoint = <&csi40vin3>;
  841. };
  842. };
  843. };
  844. };
  845. dmac1: dma-controller@e7300000 {
  846. compatible = "renesas,dmac-r8a77970",
  847. "renesas,rcar-dmac";
  848. reg = <0 0xe7300000 0 0x10000>;
  849. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
  850. <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
  851. <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
  852. <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
  853. <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
  854. <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
  855. <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
  856. <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
  857. <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
  858. interrupt-names = "error",
  859. "ch0", "ch1", "ch2", "ch3",
  860. "ch4", "ch5", "ch6", "ch7";
  861. clocks = <&cpg CPG_MOD 218>;
  862. clock-names = "fck";
  863. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  864. resets = <&cpg 218>;
  865. #dma-cells = <1>;
  866. dma-channels = <8>;
  867. iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
  868. <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
  869. <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
  870. <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
  871. };
  872. dmac2: dma-controller@e7310000 {
  873. compatible = "renesas,dmac-r8a77970",
  874. "renesas,rcar-dmac";
  875. reg = <0 0xe7310000 0 0x10000>;
  876. interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
  877. <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
  878. <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
  879. <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
  880. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  881. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  882. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  883. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  884. <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
  885. interrupt-names = "error",
  886. "ch0", "ch1", "ch2", "ch3",
  887. "ch4", "ch5", "ch6", "ch7";
  888. clocks = <&cpg CPG_MOD 217>;
  889. clock-names = "fck";
  890. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  891. resets = <&cpg 217>;
  892. #dma-cells = <1>;
  893. dma-channels = <8>;
  894. iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
  895. <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
  896. <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
  897. <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
  898. };
  899. ipmmu_ds1: iommu@e7740000 {
  900. compatible = "renesas,ipmmu-r8a77970";
  901. reg = <0 0xe7740000 0 0x1000>;
  902. renesas,ipmmu-main = <&ipmmu_mm 0>;
  903. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  904. #iommu-cells = <1>;
  905. };
  906. ipmmu_ir: iommu@ff8b0000 {
  907. compatible = "renesas,ipmmu-r8a77970";
  908. reg = <0 0xff8b0000 0 0x1000>;
  909. renesas,ipmmu-main = <&ipmmu_mm 3>;
  910. power-domains = <&sysc R8A77970_PD_A3IR>;
  911. #iommu-cells = <1>;
  912. };
  913. ipmmu_mm: iommu@e67b0000 {
  914. compatible = "renesas,ipmmu-r8a77970";
  915. reg = <0 0xe67b0000 0 0x1000>;
  916. interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
  917. <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
  918. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  919. #iommu-cells = <1>;
  920. };
  921. ipmmu_rt: iommu@ffc80000 {
  922. compatible = "renesas,ipmmu-r8a77970";
  923. reg = <0 0xffc80000 0 0x1000>;
  924. renesas,ipmmu-main = <&ipmmu_mm 7>;
  925. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  926. #iommu-cells = <1>;
  927. };
  928. ipmmu_vi0: iommu@febd0000 {
  929. compatible = "renesas,ipmmu-r8a77970";
  930. reg = <0 0xfebd0000 0 0x1000>;
  931. renesas,ipmmu-main = <&ipmmu_mm 9>;
  932. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  933. #iommu-cells = <1>;
  934. };
  935. mmc0: mmc@ee140000 {
  936. compatible = "renesas,sdhi-r8a77970",
  937. "renesas,rcar-gen3-sdhi";
  938. reg = <0 0xee140000 0 0x2000>;
  939. interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
  940. clocks = <&cpg CPG_MOD 314>;
  941. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  942. resets = <&cpg 314>;
  943. max-frequency = <200000000>;
  944. iommus = <&ipmmu_ds1 32>;
  945. status = "disabled";
  946. };
  947. rpc: spi@ee200000 {
  948. compatible = "renesas,r8a77970-rpc-if",
  949. "renesas,rcar-gen3-rpc-if";
  950. reg = <0 0xee200000 0 0x200>,
  951. <0 0x08000000 0 0x4000000>,
  952. <0 0xee208000 0 0x100>;
  953. reg-names = "regs", "dirmap", "wbuf";
  954. interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
  955. clocks = <&cpg CPG_MOD 917>;
  956. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  957. resets = <&cpg 917>;
  958. #address-cells = <1>;
  959. #size-cells = <0>;
  960. status = "disabled";
  961. };
  962. gic: interrupt-controller@f1010000 {
  963. compatible = "arm,gic-400";
  964. #interrupt-cells = <3>;
  965. #address-cells = <0>;
  966. interrupt-controller;
  967. reg = <0 0xf1010000 0 0x1000>,
  968. <0 0xf1020000 0 0x20000>,
  969. <0 0xf1040000 0 0x20000>,
  970. <0 0xf1060000 0 0x20000>;
  971. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
  972. IRQ_TYPE_LEVEL_HIGH)>;
  973. clocks = <&cpg CPG_MOD 408>;
  974. clock-names = "clk";
  975. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  976. resets = <&cpg 408>;
  977. };
  978. vspd0: vsp@fea20000 {
  979. compatible = "renesas,vsp2";
  980. reg = <0 0xfea20000 0 0x5000>;
  981. interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
  982. clocks = <&cpg CPG_MOD 623>;
  983. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  984. resets = <&cpg 623>;
  985. renesas,fcp = <&fcpvd0>;
  986. };
  987. fcpvd0: fcp@fea27000 {
  988. compatible = "renesas,fcpv";
  989. reg = <0 0xfea27000 0 0x200>;
  990. clocks = <&cpg CPG_MOD 603>;
  991. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  992. resets = <&cpg 603>;
  993. };
  994. csi40: csi2@feaa0000 {
  995. compatible = "renesas,r8a77970-csi2";
  996. reg = <0 0xfeaa0000 0 0x10000>;
  997. interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
  998. clocks = <&cpg CPG_MOD 716>;
  999. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  1000. resets = <&cpg 716>;
  1001. status = "disabled";
  1002. ports {
  1003. #address-cells = <1>;
  1004. #size-cells = <0>;
  1005. port@0 {
  1006. reg = <0>;
  1007. };
  1008. port@1 {
  1009. #address-cells = <1>;
  1010. #size-cells = <0>;
  1011. reg = <1>;
  1012. csi40vin0: endpoint@0 {
  1013. reg = <0>;
  1014. remote-endpoint = <&vin0csi40>;
  1015. };
  1016. csi40vin1: endpoint@1 {
  1017. reg = <1>;
  1018. remote-endpoint = <&vin1csi40>;
  1019. };
  1020. csi40vin2: endpoint@2 {
  1021. reg = <2>;
  1022. remote-endpoint = <&vin2csi40>;
  1023. };
  1024. csi40vin3: endpoint@3 {
  1025. reg = <3>;
  1026. remote-endpoint = <&vin3csi40>;
  1027. };
  1028. };
  1029. };
  1030. };
  1031. du: display@feb00000 {
  1032. compatible = "renesas,du-r8a77970";
  1033. reg = <0 0xfeb00000 0 0x80000>;
  1034. interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
  1035. clocks = <&cpg CPG_MOD 724>;
  1036. clock-names = "du.0";
  1037. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  1038. resets = <&cpg 724>;
  1039. reset-names = "du.0";
  1040. renesas,vsps = <&vspd0 0>;
  1041. status = "disabled";
  1042. ports {
  1043. #address-cells = <1>;
  1044. #size-cells = <0>;
  1045. port@0 {
  1046. reg = <0>;
  1047. };
  1048. port@1 {
  1049. reg = <1>;
  1050. du_out_lvds0: endpoint {
  1051. remote-endpoint = <&lvds0_in>;
  1052. };
  1053. };
  1054. };
  1055. };
  1056. lvds0: lvds-encoder@feb90000 {
  1057. compatible = "renesas,r8a77970-lvds";
  1058. reg = <0 0xfeb90000 0 0x14>;
  1059. clocks = <&cpg CPG_MOD 727>;
  1060. power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
  1061. resets = <&cpg 727>;
  1062. status = "disabled";
  1063. ports {
  1064. #address-cells = <1>;
  1065. #size-cells = <0>;
  1066. port@0 {
  1067. reg = <0>;
  1068. lvds0_in: endpoint {
  1069. remote-endpoint =
  1070. <&du_out_lvds0>;
  1071. };
  1072. };
  1073. port@1 {
  1074. reg = <1>;
  1075. };
  1076. };
  1077. };
  1078. prr: chipid@fff00044 {
  1079. compatible = "renesas,prr";
  1080. reg = <0 0xfff00044 0 4>;
  1081. };
  1082. };
  1083. thermal-zones {
  1084. cpu-thermal {
  1085. polling-delay-passive = <250>;
  1086. polling-delay = <1000>;
  1087. thermal-sensors = <&thermal>;
  1088. cooling-maps {
  1089. };
  1090. trips {
  1091. cpu-crit {
  1092. temperature = <120000>;
  1093. hysteresis = <2000>;
  1094. type = "critical";
  1095. };
  1096. };
  1097. };
  1098. };
  1099. timer {
  1100. compatible = "arm,armv8-timer";
  1101. interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  1102. <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  1103. <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  1104. <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
  1105. };
  1106. };