r8a7796.dtsi 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the r8a7796 SoC
  4. *
  5. * Copyright (C) 2016-2017 Renesas Electronics Corp.
  6. */
  7. #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
  8. #include <dt-bindings/interrupt-controller/arm-gic.h>
  9. #include <dt-bindings/power/r8a7796-sysc.h>
  10. #define CPG_AUDIO_CLK_I R8A7796_CLK_S0D4
  11. / {
  12. compatible = "renesas,r8a7796";
  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 = &i2c6;
  23. i2c7 = &i2c_dvfs;
  24. };
  25. /*
  26. * The external audio clocks are configured as 0 Hz fixed frequency
  27. * clocks by default.
  28. * Boards that provide audio clocks should override them.
  29. */
  30. audio_clk_a: audio_clk_a {
  31. compatible = "fixed-clock";
  32. #clock-cells = <0>;
  33. clock-frequency = <0>;
  34. };
  35. audio_clk_b: audio_clk_b {
  36. compatible = "fixed-clock";
  37. #clock-cells = <0>;
  38. clock-frequency = <0>;
  39. };
  40. audio_clk_c: audio_clk_c {
  41. compatible = "fixed-clock";
  42. #clock-cells = <0>;
  43. clock-frequency = <0>;
  44. };
  45. /* External CAN clock - to be overridden by boards that provide it */
  46. can_clk: can {
  47. compatible = "fixed-clock";
  48. #clock-cells = <0>;
  49. clock-frequency = <0>;
  50. };
  51. cluster0_opp: opp_table0 {
  52. compatible = "operating-points-v2";
  53. opp-shared;
  54. opp-500000000 {
  55. opp-hz = /bits/ 64 <500000000>;
  56. opp-microvolt = <820000>;
  57. clock-latency-ns = <300000>;
  58. };
  59. opp-1000000000 {
  60. opp-hz = /bits/ 64 <1000000000>;
  61. opp-microvolt = <820000>;
  62. clock-latency-ns = <300000>;
  63. };
  64. opp-1500000000 {
  65. opp-hz = /bits/ 64 <1500000000>;
  66. opp-microvolt = <820000>;
  67. clock-latency-ns = <300000>;
  68. };
  69. opp-1600000000 {
  70. opp-hz = /bits/ 64 <1600000000>;
  71. opp-microvolt = <900000>;
  72. clock-latency-ns = <300000>;
  73. turbo-mode;
  74. };
  75. opp-1700000000 {
  76. opp-hz = /bits/ 64 <1700000000>;
  77. opp-microvolt = <900000>;
  78. clock-latency-ns = <300000>;
  79. turbo-mode;
  80. };
  81. opp-1800000000 {
  82. opp-hz = /bits/ 64 <1800000000>;
  83. opp-microvolt = <960000>;
  84. clock-latency-ns = <300000>;
  85. turbo-mode;
  86. };
  87. };
  88. cluster1_opp: opp_table1 {
  89. compatible = "operating-points-v2";
  90. opp-shared;
  91. opp-800000000 {
  92. opp-hz = /bits/ 64 <800000000>;
  93. opp-microvolt = <820000>;
  94. clock-latency-ns = <300000>;
  95. };
  96. opp-1000000000 {
  97. opp-hz = /bits/ 64 <1000000000>;
  98. opp-microvolt = <820000>;
  99. clock-latency-ns = <300000>;
  100. };
  101. opp-1200000000 {
  102. opp-hz = /bits/ 64 <1200000000>;
  103. opp-microvolt = <820000>;
  104. clock-latency-ns = <300000>;
  105. };
  106. opp-1300000000 {
  107. opp-hz = /bits/ 64 <1300000000>;
  108. opp-microvolt = <820000>;
  109. clock-latency-ns = <300000>;
  110. turbo-mode;
  111. };
  112. };
  113. cpus {
  114. #address-cells = <1>;
  115. #size-cells = <0>;
  116. a57_0: cpu@0 {
  117. compatible = "arm,cortex-a57", "arm,armv8";
  118. reg = <0x0>;
  119. device_type = "cpu";
  120. power-domains = <&sysc R8A7796_PD_CA57_CPU0>;
  121. next-level-cache = <&L2_CA57>;
  122. enable-method = "psci";
  123. clocks =<&cpg CPG_CORE R8A7796_CLK_Z>;
  124. operating-points-v2 = <&cluster0_opp>;
  125. #cooling-cells = <2>;
  126. };
  127. a57_1: cpu@1 {
  128. compatible = "arm,cortex-a57", "arm,armv8";
  129. reg = <0x1>;
  130. device_type = "cpu";
  131. power-domains = <&sysc R8A7796_PD_CA57_CPU1>;
  132. next-level-cache = <&L2_CA57>;
  133. enable-method = "psci";
  134. clocks =<&cpg CPG_CORE R8A7796_CLK_Z>;
  135. operating-points-v2 = <&cluster0_opp>;
  136. #cooling-cells = <2>;
  137. };
  138. a53_0: cpu@100 {
  139. compatible = "arm,cortex-a53", "arm,armv8";
  140. reg = <0x100>;
  141. device_type = "cpu";
  142. power-domains = <&sysc R8A7796_PD_CA53_CPU0>;
  143. next-level-cache = <&L2_CA53>;
  144. enable-method = "psci";
  145. clocks =<&cpg CPG_CORE R8A7796_CLK_Z2>;
  146. operating-points-v2 = <&cluster1_opp>;
  147. };
  148. a53_1: cpu@101 {
  149. compatible = "arm,cortex-a53", "arm,armv8";
  150. reg = <0x101>;
  151. device_type = "cpu";
  152. power-domains = <&sysc R8A7796_PD_CA53_CPU1>;
  153. next-level-cache = <&L2_CA53>;
  154. enable-method = "psci";
  155. clocks =<&cpg CPG_CORE R8A7796_CLK_Z2>;
  156. operating-points-v2 = <&cluster1_opp>;
  157. };
  158. a53_2: cpu@102 {
  159. compatible = "arm,cortex-a53", "arm,armv8";
  160. reg = <0x102>;
  161. device_type = "cpu";
  162. power-domains = <&sysc R8A7796_PD_CA53_CPU2>;
  163. next-level-cache = <&L2_CA53>;
  164. enable-method = "psci";
  165. clocks =<&cpg CPG_CORE R8A7796_CLK_Z2>;
  166. operating-points-v2 = <&cluster1_opp>;
  167. };
  168. a53_3: cpu@103 {
  169. compatible = "arm,cortex-a53", "arm,armv8";
  170. reg = <0x103>;
  171. device_type = "cpu";
  172. power-domains = <&sysc R8A7796_PD_CA53_CPU3>;
  173. next-level-cache = <&L2_CA53>;
  174. enable-method = "psci";
  175. clocks =<&cpg CPG_CORE R8A7796_CLK_Z2>;
  176. operating-points-v2 = <&cluster1_opp>;
  177. };
  178. L2_CA57: cache-controller-0 {
  179. compatible = "cache";
  180. power-domains = <&sysc R8A7796_PD_CA57_SCU>;
  181. cache-unified;
  182. cache-level = <2>;
  183. };
  184. L2_CA53: cache-controller-1 {
  185. compatible = "cache";
  186. power-domains = <&sysc R8A7796_PD_CA53_SCU>;
  187. cache-unified;
  188. cache-level = <2>;
  189. };
  190. };
  191. extal_clk: extal {
  192. compatible = "fixed-clock";
  193. #clock-cells = <0>;
  194. /* This value must be overridden by the board */
  195. clock-frequency = <0>;
  196. };
  197. extalr_clk: extalr {
  198. compatible = "fixed-clock";
  199. #clock-cells = <0>;
  200. /* This value must be overridden by the board */
  201. clock-frequency = <0>;
  202. };
  203. /* External PCIe clock - can be overridden by the board */
  204. pcie_bus_clk: pcie_bus {
  205. compatible = "fixed-clock";
  206. #clock-cells = <0>;
  207. clock-frequency = <0>;
  208. };
  209. pmu_a53 {
  210. compatible = "arm,cortex-a53-pmu";
  211. interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
  212. <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
  213. <&gic GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
  214. <&gic GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
  215. interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>;
  216. };
  217. pmu_a57 {
  218. compatible = "arm,cortex-a57-pmu";
  219. interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
  220. <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  221. interrupt-affinity = <&a57_0>, <&a57_1>;
  222. };
  223. psci {
  224. compatible = "arm,psci-1.0", "arm,psci-0.2";
  225. method = "smc";
  226. };
  227. /* External SCIF clock - to be overridden by boards that provide it */
  228. scif_clk: scif {
  229. compatible = "fixed-clock";
  230. #clock-cells = <0>;
  231. clock-frequency = <0>;
  232. };
  233. soc {
  234. compatible = "simple-bus";
  235. interrupt-parent = <&gic>;
  236. #address-cells = <2>;
  237. #size-cells = <2>;
  238. ranges;
  239. rwdt: watchdog@e6020000 {
  240. compatible = "renesas,r8a7796-wdt",
  241. "renesas,rcar-gen3-wdt";
  242. reg = <0 0xe6020000 0 0x0c>;
  243. clocks = <&cpg CPG_MOD 402>;
  244. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  245. resets = <&cpg 402>;
  246. status = "disabled";
  247. };
  248. gpio0: gpio@e6050000 {
  249. compatible = "renesas,gpio-r8a7796",
  250. "renesas,rcar-gen3-gpio";
  251. reg = <0 0xe6050000 0 0x50>;
  252. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  253. #gpio-cells = <2>;
  254. gpio-controller;
  255. gpio-ranges = <&pfc 0 0 16>;
  256. #interrupt-cells = <2>;
  257. interrupt-controller;
  258. clocks = <&cpg CPG_MOD 912>;
  259. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  260. resets = <&cpg 912>;
  261. };
  262. gpio1: gpio@e6051000 {
  263. compatible = "renesas,gpio-r8a7796",
  264. "renesas,rcar-gen3-gpio";
  265. reg = <0 0xe6051000 0 0x50>;
  266. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  267. #gpio-cells = <2>;
  268. gpio-controller;
  269. gpio-ranges = <&pfc 0 32 29>;
  270. #interrupt-cells = <2>;
  271. interrupt-controller;
  272. clocks = <&cpg CPG_MOD 911>;
  273. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  274. resets = <&cpg 911>;
  275. };
  276. gpio2: gpio@e6052000 {
  277. compatible = "renesas,gpio-r8a7796",
  278. "renesas,rcar-gen3-gpio";
  279. reg = <0 0xe6052000 0 0x50>;
  280. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  281. #gpio-cells = <2>;
  282. gpio-controller;
  283. gpio-ranges = <&pfc 0 64 15>;
  284. #interrupt-cells = <2>;
  285. interrupt-controller;
  286. clocks = <&cpg CPG_MOD 910>;
  287. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  288. resets = <&cpg 910>;
  289. };
  290. gpio3: gpio@e6053000 {
  291. compatible = "renesas,gpio-r8a7796",
  292. "renesas,rcar-gen3-gpio";
  293. reg = <0 0xe6053000 0 0x50>;
  294. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  295. #gpio-cells = <2>;
  296. gpio-controller;
  297. gpio-ranges = <&pfc 0 96 16>;
  298. #interrupt-cells = <2>;
  299. interrupt-controller;
  300. clocks = <&cpg CPG_MOD 909>;
  301. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  302. resets = <&cpg 909>;
  303. };
  304. gpio4: gpio@e6054000 {
  305. compatible = "renesas,gpio-r8a7796",
  306. "renesas,rcar-gen3-gpio";
  307. reg = <0 0xe6054000 0 0x50>;
  308. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  309. #gpio-cells = <2>;
  310. gpio-controller;
  311. gpio-ranges = <&pfc 0 128 18>;
  312. #interrupt-cells = <2>;
  313. interrupt-controller;
  314. clocks = <&cpg CPG_MOD 908>;
  315. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  316. resets = <&cpg 908>;
  317. };
  318. gpio5: gpio@e6055000 {
  319. compatible = "renesas,gpio-r8a7796",
  320. "renesas,rcar-gen3-gpio";
  321. reg = <0 0xe6055000 0 0x50>;
  322. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  323. #gpio-cells = <2>;
  324. gpio-controller;
  325. gpio-ranges = <&pfc 0 160 26>;
  326. #interrupt-cells = <2>;
  327. interrupt-controller;
  328. clocks = <&cpg CPG_MOD 907>;
  329. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  330. resets = <&cpg 907>;
  331. };
  332. gpio6: gpio@e6055400 {
  333. compatible = "renesas,gpio-r8a7796",
  334. "renesas,rcar-gen3-gpio";
  335. reg = <0 0xe6055400 0 0x50>;
  336. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  337. #gpio-cells = <2>;
  338. gpio-controller;
  339. gpio-ranges = <&pfc 0 192 32>;
  340. #interrupt-cells = <2>;
  341. interrupt-controller;
  342. clocks = <&cpg CPG_MOD 906>;
  343. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  344. resets = <&cpg 906>;
  345. };
  346. gpio7: gpio@e6055800 {
  347. compatible = "renesas,gpio-r8a7796",
  348. "renesas,rcar-gen3-gpio";
  349. reg = <0 0xe6055800 0 0x50>;
  350. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  351. #gpio-cells = <2>;
  352. gpio-controller;
  353. gpio-ranges = <&pfc 0 224 4>;
  354. #interrupt-cells = <2>;
  355. interrupt-controller;
  356. clocks = <&cpg CPG_MOD 905>;
  357. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  358. resets = <&cpg 905>;
  359. };
  360. pfc: pin-controller@e6060000 {
  361. compatible = "renesas,pfc-r8a7796";
  362. reg = <0 0xe6060000 0 0x50c>;
  363. };
  364. cpg: clock-controller@e6150000 {
  365. compatible = "renesas,r8a7796-cpg-mssr";
  366. reg = <0 0xe6150000 0 0x1000>;
  367. clocks = <&extal_clk>, <&extalr_clk>;
  368. clock-names = "extal", "extalr";
  369. #clock-cells = <2>;
  370. #power-domain-cells = <0>;
  371. #reset-cells = <1>;
  372. };
  373. rst: reset-controller@e6160000 {
  374. compatible = "renesas,r8a7796-rst";
  375. reg = <0 0xe6160000 0 0x0200>;
  376. };
  377. sysc: system-controller@e6180000 {
  378. compatible = "renesas,r8a7796-sysc";
  379. reg = <0 0xe6180000 0 0x0400>;
  380. #power-domain-cells = <1>;
  381. };
  382. tsc: thermal@e6198000 {
  383. compatible = "renesas,r8a7796-thermal";
  384. reg = <0 0xe6198000 0 0x100>,
  385. <0 0xe61a0000 0 0x100>,
  386. <0 0xe61a8000 0 0x100>;
  387. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
  388. <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  389. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  390. clocks = <&cpg CPG_MOD 522>;
  391. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  392. resets = <&cpg 522>;
  393. #thermal-sensor-cells = <1>;
  394. status = "okay";
  395. };
  396. intc_ex: interrupt-controller@e61c0000 {
  397. compatible = "renesas,intc-ex-r8a7796", "renesas,irqc";
  398. #interrupt-cells = <2>;
  399. interrupt-controller;
  400. reg = <0 0xe61c0000 0 0x200>;
  401. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
  402. GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
  403. GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
  404. GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
  405. GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
  406. GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
  407. clocks = <&cpg CPG_MOD 407>;
  408. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  409. resets = <&cpg 407>;
  410. };
  411. i2c0: i2c@e6500000 {
  412. #address-cells = <1>;
  413. #size-cells = <0>;
  414. compatible = "renesas,i2c-r8a7796",
  415. "renesas,rcar-gen3-i2c";
  416. reg = <0 0xe6500000 0 0x40>;
  417. interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
  418. clocks = <&cpg CPG_MOD 931>;
  419. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  420. resets = <&cpg 931>;
  421. dmas = <&dmac1 0x91>, <&dmac1 0x90>,
  422. <&dmac2 0x91>, <&dmac2 0x90>;
  423. dma-names = "tx", "rx", "tx", "rx";
  424. i2c-scl-internal-delay-ns = <110>;
  425. status = "disabled";
  426. };
  427. i2c1: i2c@e6508000 {
  428. #address-cells = <1>;
  429. #size-cells = <0>;
  430. compatible = "renesas,i2c-r8a7796",
  431. "renesas,rcar-gen3-i2c";
  432. reg = <0 0xe6508000 0 0x40>;
  433. interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
  434. clocks = <&cpg CPG_MOD 930>;
  435. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  436. resets = <&cpg 930>;
  437. dmas = <&dmac1 0x93>, <&dmac1 0x92>,
  438. <&dmac2 0x93>, <&dmac2 0x92>;
  439. dma-names = "tx", "rx", "tx", "rx";
  440. i2c-scl-internal-delay-ns = <6>;
  441. status = "disabled";
  442. };
  443. i2c2: i2c@e6510000 {
  444. #address-cells = <1>;
  445. #size-cells = <0>;
  446. compatible = "renesas,i2c-r8a7796",
  447. "renesas,rcar-gen3-i2c";
  448. reg = <0 0xe6510000 0 0x40>;
  449. interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
  450. clocks = <&cpg CPG_MOD 929>;
  451. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  452. resets = <&cpg 929>;
  453. dmas = <&dmac1 0x95>, <&dmac1 0x94>,
  454. <&dmac2 0x95>, <&dmac2 0x94>;
  455. dma-names = "tx", "rx", "tx", "rx";
  456. i2c-scl-internal-delay-ns = <6>;
  457. status = "disabled";
  458. };
  459. i2c3: i2c@e66d0000 {
  460. #address-cells = <1>;
  461. #size-cells = <0>;
  462. compatible = "renesas,i2c-r8a7796",
  463. "renesas,rcar-gen3-i2c";
  464. reg = <0 0xe66d0000 0 0x40>;
  465. interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
  466. clocks = <&cpg CPG_MOD 928>;
  467. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  468. resets = <&cpg 928>;
  469. dmas = <&dmac0 0x97>, <&dmac0 0x96>;
  470. dma-names = "tx", "rx";
  471. i2c-scl-internal-delay-ns = <110>;
  472. status = "disabled";
  473. };
  474. i2c4: i2c@e66d8000 {
  475. #address-cells = <1>;
  476. #size-cells = <0>;
  477. compatible = "renesas,i2c-r8a7796",
  478. "renesas,rcar-gen3-i2c";
  479. reg = <0 0xe66d8000 0 0x40>;
  480. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  481. clocks = <&cpg CPG_MOD 927>;
  482. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  483. resets = <&cpg 927>;
  484. dmas = <&dmac0 0x99>, <&dmac0 0x98>;
  485. dma-names = "tx", "rx";
  486. i2c-scl-internal-delay-ns = <110>;
  487. status = "disabled";
  488. };
  489. i2c5: i2c@e66e0000 {
  490. #address-cells = <1>;
  491. #size-cells = <0>;
  492. compatible = "renesas,i2c-r8a7796",
  493. "renesas,rcar-gen3-i2c";
  494. reg = <0 0xe66e0000 0 0x40>;
  495. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  496. clocks = <&cpg CPG_MOD 919>;
  497. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  498. resets = <&cpg 919>;
  499. dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
  500. dma-names = "tx", "rx";
  501. i2c-scl-internal-delay-ns = <110>;
  502. status = "disabled";
  503. };
  504. i2c6: i2c@e66e8000 {
  505. #address-cells = <1>;
  506. #size-cells = <0>;
  507. compatible = "renesas,i2c-r8a7796",
  508. "renesas,rcar-gen3-i2c";
  509. reg = <0 0xe66e8000 0 0x40>;
  510. interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
  511. clocks = <&cpg CPG_MOD 918>;
  512. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  513. resets = <&cpg 918>;
  514. dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
  515. dma-names = "tx", "rx";
  516. i2c-scl-internal-delay-ns = <6>;
  517. status = "disabled";
  518. };
  519. i2c_dvfs: i2c@e60b0000 {
  520. #address-cells = <1>;
  521. #size-cells = <0>;
  522. compatible = "renesas,iic-r8a7796",
  523. "renesas,rcar-gen3-iic",
  524. "renesas,rmobile-iic";
  525. reg = <0 0xe60b0000 0 0x425>;
  526. interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
  527. clocks = <&cpg CPG_MOD 926>;
  528. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  529. resets = <&cpg 926>;
  530. dmas = <&dmac0 0x11>, <&dmac0 0x10>;
  531. dma-names = "tx", "rx";
  532. status = "disabled";
  533. };
  534. hscif0: serial@e6540000 {
  535. compatible = "renesas,hscif-r8a7796",
  536. "renesas,rcar-gen3-hscif",
  537. "renesas,hscif";
  538. reg = <0 0xe6540000 0 0x60>;
  539. interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  540. clocks = <&cpg CPG_MOD 520>,
  541. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  542. <&scif_clk>;
  543. clock-names = "fck", "brg_int", "scif_clk";
  544. dmas = <&dmac1 0x31>, <&dmac1 0x30>,
  545. <&dmac2 0x31>, <&dmac2 0x30>;
  546. dma-names = "tx", "rx", "tx", "rx";
  547. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  548. resets = <&cpg 520>;
  549. status = "disabled";
  550. };
  551. hscif1: serial@e6550000 {
  552. compatible = "renesas,hscif-r8a7796",
  553. "renesas,rcar-gen3-hscif",
  554. "renesas,hscif";
  555. reg = <0 0xe6550000 0 0x60>;
  556. interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
  557. clocks = <&cpg CPG_MOD 519>,
  558. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  559. <&scif_clk>;
  560. clock-names = "fck", "brg_int", "scif_clk";
  561. dmas = <&dmac1 0x33>, <&dmac1 0x32>,
  562. <&dmac2 0x33>, <&dmac2 0x32>;
  563. dma-names = "tx", "rx", "tx", "rx";
  564. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  565. resets = <&cpg 519>;
  566. status = "disabled";
  567. };
  568. hscif2: serial@e6560000 {
  569. compatible = "renesas,hscif-r8a7796",
  570. "renesas,rcar-gen3-hscif",
  571. "renesas,hscif";
  572. reg = <0 0xe6560000 0 0x60>;
  573. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  574. clocks = <&cpg CPG_MOD 518>,
  575. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  576. <&scif_clk>;
  577. clock-names = "fck", "brg_int", "scif_clk";
  578. dmas = <&dmac1 0x35>, <&dmac1 0x34>,
  579. <&dmac2 0x35>, <&dmac2 0x34>;
  580. dma-names = "tx", "rx", "tx", "rx";
  581. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  582. resets = <&cpg 518>;
  583. status = "disabled";
  584. };
  585. hscif3: serial@e66a0000 {
  586. compatible = "renesas,hscif-r8a7796",
  587. "renesas,rcar-gen3-hscif",
  588. "renesas,hscif";
  589. reg = <0 0xe66a0000 0 0x60>;
  590. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
  591. clocks = <&cpg CPG_MOD 517>,
  592. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  593. <&scif_clk>;
  594. clock-names = "fck", "brg_int", "scif_clk";
  595. dmas = <&dmac0 0x37>, <&dmac0 0x36>;
  596. dma-names = "tx", "rx";
  597. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  598. resets = <&cpg 517>;
  599. status = "disabled";
  600. };
  601. hscif4: serial@e66b0000 {
  602. compatible = "renesas,hscif-r8a7796",
  603. "renesas,rcar-gen3-hscif",
  604. "renesas,hscif";
  605. reg = <0 0xe66b0000 0 0x60>;
  606. interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
  607. clocks = <&cpg CPG_MOD 516>,
  608. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  609. <&scif_clk>;
  610. clock-names = "fck", "brg_int", "scif_clk";
  611. dmas = <&dmac0 0x39>, <&dmac0 0x38>;
  612. dma-names = "tx", "rx";
  613. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  614. resets = <&cpg 516>;
  615. status = "disabled";
  616. };
  617. hsusb: usb@e6590000 {
  618. compatible = "renesas,usbhs-r8a7796",
  619. "renesas,rcar-gen3-usbhs";
  620. reg = <0 0xe6590000 0 0x100>;
  621. interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
  622. clocks = <&cpg CPG_MOD 704>;
  623. dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
  624. <&usb_dmac1 0>, <&usb_dmac1 1>;
  625. dma-names = "ch0", "ch1", "ch2", "ch3";
  626. renesas,buswait = <11>;
  627. phys = <&usb2_phy0>;
  628. phy-names = "usb";
  629. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  630. resets = <&cpg 704>;
  631. status = "disabled";
  632. };
  633. usb_dmac0: dma-controller@e65a0000 {
  634. compatible = "renesas,r8a7796-usb-dmac",
  635. "renesas,usb-dmac";
  636. reg = <0 0xe65a0000 0 0x100>;
  637. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
  638. GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  639. interrupt-names = "ch0", "ch1";
  640. clocks = <&cpg CPG_MOD 330>;
  641. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  642. resets = <&cpg 330>;
  643. #dma-cells = <1>;
  644. dma-channels = <2>;
  645. };
  646. usb_dmac1: dma-controller@e65b0000 {
  647. compatible = "renesas,r8a7796-usb-dmac",
  648. "renesas,usb-dmac";
  649. reg = <0 0xe65b0000 0 0x100>;
  650. interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
  651. GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
  652. interrupt-names = "ch0", "ch1";
  653. clocks = <&cpg CPG_MOD 331>;
  654. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  655. resets = <&cpg 331>;
  656. #dma-cells = <1>;
  657. dma-channels = <2>;
  658. };
  659. usb3_phy0: usb-phy@e65ee000 {
  660. compatible = "renesas,r8a7796-usb3-phy",
  661. "renesas,rcar-gen3-usb3-phy";
  662. reg = <0 0xe65ee000 0 0x90>;
  663. clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
  664. <&usb_extal_clk>;
  665. clock-names = "usb3-if", "usb3s_clk", "usb_extal";
  666. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  667. resets = <&cpg 328>;
  668. #phy-cells = <0>;
  669. status = "disabled";
  670. };
  671. dmac0: dma-controller@e6700000 {
  672. compatible = "renesas,dmac-r8a7796",
  673. "renesas,rcar-dmac";
  674. reg = <0 0xe6700000 0 0x10000>;
  675. interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
  676. GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
  677. GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
  678. GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
  679. GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
  680. GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
  681. GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
  682. GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
  683. GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
  684. GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
  685. GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
  686. GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
  687. GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
  688. GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
  689. GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
  690. GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
  691. GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
  692. interrupt-names = "error",
  693. "ch0", "ch1", "ch2", "ch3",
  694. "ch4", "ch5", "ch6", "ch7",
  695. "ch8", "ch9", "ch10", "ch11",
  696. "ch12", "ch13", "ch14", "ch15";
  697. clocks = <&cpg CPG_MOD 219>;
  698. clock-names = "fck";
  699. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  700. resets = <&cpg 219>;
  701. #dma-cells = <1>;
  702. dma-channels = <16>;
  703. iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
  704. <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
  705. <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
  706. <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
  707. <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
  708. <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
  709. <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
  710. <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
  711. };
  712. dmac1: dma-controller@e7300000 {
  713. compatible = "renesas,dmac-r8a7796",
  714. "renesas,rcar-dmac";
  715. reg = <0 0xe7300000 0 0x10000>;
  716. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
  717. GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
  718. GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
  719. GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
  720. GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
  721. GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
  722. GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
  723. GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
  724. GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
  725. GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
  726. GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
  727. GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
  728. GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
  729. GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
  730. GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
  731. GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
  732. GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
  733. interrupt-names = "error",
  734. "ch0", "ch1", "ch2", "ch3",
  735. "ch4", "ch5", "ch6", "ch7",
  736. "ch8", "ch9", "ch10", "ch11",
  737. "ch12", "ch13", "ch14", "ch15";
  738. clocks = <&cpg CPG_MOD 218>;
  739. clock-names = "fck";
  740. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  741. resets = <&cpg 218>;
  742. #dma-cells = <1>;
  743. dma-channels = <16>;
  744. iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
  745. <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
  746. <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
  747. <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
  748. <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
  749. <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
  750. <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
  751. <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
  752. };
  753. dmac2: dma-controller@e7310000 {
  754. compatible = "renesas,dmac-r8a7796",
  755. "renesas,rcar-dmac";
  756. reg = <0 0xe7310000 0 0x10000>;
  757. interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
  758. GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
  759. GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
  760. GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
  761. GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
  762. GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
  763. GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
  764. GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
  765. GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
  766. GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
  767. GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
  768. GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
  769. GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
  770. GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
  771. GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
  772. GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
  773. GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
  774. interrupt-names = "error",
  775. "ch0", "ch1", "ch2", "ch3",
  776. "ch4", "ch5", "ch6", "ch7",
  777. "ch8", "ch9", "ch10", "ch11",
  778. "ch12", "ch13", "ch14", "ch15";
  779. clocks = <&cpg CPG_MOD 217>;
  780. clock-names = "fck";
  781. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  782. resets = <&cpg 217>;
  783. #dma-cells = <1>;
  784. dma-channels = <16>;
  785. iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
  786. <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
  787. <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
  788. <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
  789. <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
  790. <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
  791. <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
  792. <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
  793. };
  794. ipmmu_ds0: mmu@e6740000 {
  795. compatible = "renesas,ipmmu-r8a7796";
  796. reg = <0 0xe6740000 0 0x1000>;
  797. renesas,ipmmu-main = <&ipmmu_mm 0>;
  798. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  799. #iommu-cells = <1>;
  800. };
  801. ipmmu_ds1: mmu@e7740000 {
  802. compatible = "renesas,ipmmu-r8a7796";
  803. reg = <0 0xe7740000 0 0x1000>;
  804. renesas,ipmmu-main = <&ipmmu_mm 1>;
  805. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  806. #iommu-cells = <1>;
  807. };
  808. ipmmu_hc: mmu@e6570000 {
  809. compatible = "renesas,ipmmu-r8a7796";
  810. reg = <0 0xe6570000 0 0x1000>;
  811. renesas,ipmmu-main = <&ipmmu_mm 2>;
  812. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  813. #iommu-cells = <1>;
  814. };
  815. ipmmu_ir: mmu@ff8b0000 {
  816. compatible = "renesas,ipmmu-r8a7796";
  817. reg = <0 0xff8b0000 0 0x1000>;
  818. renesas,ipmmu-main = <&ipmmu_mm 3>;
  819. power-domains = <&sysc R8A7796_PD_A3IR>;
  820. #iommu-cells = <1>;
  821. };
  822. ipmmu_mm: mmu@e67b0000 {
  823. compatible = "renesas,ipmmu-r8a7796";
  824. reg = <0 0xe67b0000 0 0x1000>;
  825. interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
  826. <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
  827. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  828. #iommu-cells = <1>;
  829. };
  830. ipmmu_mp: mmu@ec670000 {
  831. compatible = "renesas,ipmmu-r8a7796";
  832. reg = <0 0xec670000 0 0x1000>;
  833. renesas,ipmmu-main = <&ipmmu_mm 4>;
  834. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  835. #iommu-cells = <1>;
  836. };
  837. ipmmu_pv0: mmu@fd800000 {
  838. compatible = "renesas,ipmmu-r8a7796";
  839. reg = <0 0xfd800000 0 0x1000>;
  840. renesas,ipmmu-main = <&ipmmu_mm 5>;
  841. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  842. #iommu-cells = <1>;
  843. };
  844. ipmmu_pv1: mmu@fd950000 {
  845. compatible = "renesas,ipmmu-r8a7796";
  846. reg = <0 0xfd950000 0 0x1000>;
  847. renesas,ipmmu-main = <&ipmmu_mm 6>;
  848. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  849. #iommu-cells = <1>;
  850. };
  851. ipmmu_rt: mmu@ffc80000 {
  852. compatible = "renesas,ipmmu-r8a7796";
  853. reg = <0 0xffc80000 0 0x1000>;
  854. renesas,ipmmu-main = <&ipmmu_mm 7>;
  855. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  856. #iommu-cells = <1>;
  857. };
  858. ipmmu_vc0: mmu@fe6b0000 {
  859. compatible = "renesas,ipmmu-r8a7796";
  860. reg = <0 0xfe6b0000 0 0x1000>;
  861. renesas,ipmmu-main = <&ipmmu_mm 8>;
  862. power-domains = <&sysc R8A7796_PD_A3VC>;
  863. #iommu-cells = <1>;
  864. };
  865. ipmmu_vi0: mmu@febd0000 {
  866. compatible = "renesas,ipmmu-r8a7796";
  867. reg = <0 0xfebd0000 0 0x1000>;
  868. renesas,ipmmu-main = <&ipmmu_mm 9>;
  869. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  870. #iommu-cells = <1>;
  871. };
  872. avb: ethernet@e6800000 {
  873. compatible = "renesas,etheravb-r8a7796",
  874. "renesas,etheravb-rcar-gen3";
  875. reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
  876. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
  877. <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
  878. <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
  879. <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
  880. <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
  881. <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
  882. <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
  883. <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
  884. <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
  885. <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
  886. <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
  887. <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
  888. <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
  889. <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
  890. <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
  891. <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
  892. <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
  893. <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
  894. <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
  895. <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
  896. <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
  897. <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
  898. <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
  899. <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
  900. <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  901. interrupt-names = "ch0", "ch1", "ch2", "ch3",
  902. "ch4", "ch5", "ch6", "ch7",
  903. "ch8", "ch9", "ch10", "ch11",
  904. "ch12", "ch13", "ch14", "ch15",
  905. "ch16", "ch17", "ch18", "ch19",
  906. "ch20", "ch21", "ch22", "ch23",
  907. "ch24";
  908. clocks = <&cpg CPG_MOD 812>;
  909. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  910. resets = <&cpg 812>;
  911. phy-mode = "rgmii";
  912. iommus = <&ipmmu_ds0 16>;
  913. #address-cells = <1>;
  914. #size-cells = <0>;
  915. status = "disabled";
  916. };
  917. can0: can@e6c30000 {
  918. compatible = "renesas,can-r8a7796",
  919. "renesas,rcar-gen3-can";
  920. reg = <0 0xe6c30000 0 0x1000>;
  921. interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
  922. clocks = <&cpg CPG_MOD 916>,
  923. <&cpg CPG_CORE R8A7796_CLK_CANFD>,
  924. <&can_clk>;
  925. clock-names = "clkp1", "clkp2", "can_clk";
  926. assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>;
  927. assigned-clock-rates = <40000000>;
  928. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  929. resets = <&cpg 916>;
  930. status = "disabled";
  931. };
  932. can1: can@e6c38000 {
  933. compatible = "renesas,can-r8a7796",
  934. "renesas,rcar-gen3-can";
  935. reg = <0 0xe6c38000 0 0x1000>;
  936. interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
  937. clocks = <&cpg CPG_MOD 915>,
  938. <&cpg CPG_CORE R8A7796_CLK_CANFD>,
  939. <&can_clk>;
  940. clock-names = "clkp1", "clkp2", "can_clk";
  941. assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>;
  942. assigned-clock-rates = <40000000>;
  943. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  944. resets = <&cpg 915>;
  945. status = "disabled";
  946. };
  947. canfd: can@e66c0000 {
  948. compatible = "renesas,r8a7796-canfd",
  949. "renesas,rcar-gen3-canfd";
  950. reg = <0 0xe66c0000 0 0x8000>;
  951. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
  952. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  953. clocks = <&cpg CPG_MOD 914>,
  954. <&cpg CPG_CORE R8A7796_CLK_CANFD>,
  955. <&can_clk>;
  956. clock-names = "fck", "canfd", "can_clk";
  957. assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>;
  958. assigned-clock-rates = <40000000>;
  959. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  960. resets = <&cpg 914>;
  961. status = "disabled";
  962. channel0 {
  963. status = "disabled";
  964. };
  965. channel1 {
  966. status = "disabled";
  967. };
  968. };
  969. pwm0: pwm@e6e30000 {
  970. compatible = "renesas,pwm-r8a7796", "renesas,pwm-rcar";
  971. reg = <0 0xe6e30000 0 8>;
  972. #pwm-cells = <2>;
  973. clocks = <&cpg CPG_MOD 523>;
  974. resets = <&cpg 523>;
  975. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  976. status = "disabled";
  977. };
  978. pwm1: pwm@e6e31000 {
  979. compatible = "renesas,pwm-r8a7796", "renesas,pwm-rcar";
  980. reg = <0 0xe6e31000 0 8>;
  981. #pwm-cells = <2>;
  982. clocks = <&cpg CPG_MOD 523>;
  983. resets = <&cpg 523>;
  984. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  985. status = "disabled";
  986. };
  987. pwm2: pwm@e6e32000 {
  988. compatible = "renesas,pwm-r8a7796", "renesas,pwm-rcar";
  989. reg = <0 0xe6e32000 0 8>;
  990. #pwm-cells = <2>;
  991. clocks = <&cpg CPG_MOD 523>;
  992. resets = <&cpg 523>;
  993. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  994. status = "disabled";
  995. };
  996. pwm3: pwm@e6e33000 {
  997. compatible = "renesas,pwm-r8a7796", "renesas,pwm-rcar";
  998. reg = <0 0xe6e33000 0 8>;
  999. #pwm-cells = <2>;
  1000. clocks = <&cpg CPG_MOD 523>;
  1001. resets = <&cpg 523>;
  1002. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1003. status = "disabled";
  1004. };
  1005. pwm4: pwm@e6e34000 {
  1006. compatible = "renesas,pwm-r8a7796", "renesas,pwm-rcar";
  1007. reg = <0 0xe6e34000 0 8>;
  1008. #pwm-cells = <2>;
  1009. clocks = <&cpg CPG_MOD 523>;
  1010. resets = <&cpg 523>;
  1011. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1012. status = "disabled";
  1013. };
  1014. pwm5: pwm@e6e35000 {
  1015. compatible = "renesas,pwm-r8a7796", "renesas,pwm-rcar";
  1016. reg = <0 0xe6e35000 0 8>;
  1017. #pwm-cells = <2>;
  1018. clocks = <&cpg CPG_MOD 523>;
  1019. resets = <&cpg 523>;
  1020. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1021. status = "disabled";
  1022. };
  1023. pwm6: pwm@e6e36000 {
  1024. compatible = "renesas,pwm-r8a7796", "renesas,pwm-rcar";
  1025. reg = <0 0xe6e36000 0 8>;
  1026. #pwm-cells = <2>;
  1027. clocks = <&cpg CPG_MOD 523>;
  1028. resets = <&cpg 523>;
  1029. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1030. status = "disabled";
  1031. };
  1032. scif0: serial@e6e60000 {
  1033. compatible = "renesas,scif-r8a7796",
  1034. "renesas,rcar-gen3-scif", "renesas,scif";
  1035. reg = <0 0xe6e60000 0 64>;
  1036. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
  1037. clocks = <&cpg CPG_MOD 207>,
  1038. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  1039. <&scif_clk>;
  1040. clock-names = "fck", "brg_int", "scif_clk";
  1041. dmas = <&dmac1 0x51>, <&dmac1 0x50>,
  1042. <&dmac2 0x51>, <&dmac2 0x50>;
  1043. dma-names = "tx", "rx", "tx", "rx";
  1044. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1045. resets = <&cpg 207>;
  1046. status = "disabled";
  1047. };
  1048. scif1: serial@e6e68000 {
  1049. compatible = "renesas,scif-r8a7796",
  1050. "renesas,rcar-gen3-scif", "renesas,scif";
  1051. reg = <0 0xe6e68000 0 64>;
  1052. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  1053. clocks = <&cpg CPG_MOD 206>,
  1054. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  1055. <&scif_clk>;
  1056. clock-names = "fck", "brg_int", "scif_clk";
  1057. dmas = <&dmac1 0x53>, <&dmac1 0x52>,
  1058. <&dmac2 0x53>, <&dmac2 0x52>;
  1059. dma-names = "tx", "rx", "tx", "rx";
  1060. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1061. resets = <&cpg 206>;
  1062. status = "disabled";
  1063. };
  1064. scif2: serial@e6e88000 {
  1065. compatible = "renesas,scif-r8a7796",
  1066. "renesas,rcar-gen3-scif", "renesas,scif";
  1067. reg = <0 0xe6e88000 0 64>;
  1068. interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
  1069. clocks = <&cpg CPG_MOD 310>,
  1070. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  1071. <&scif_clk>;
  1072. clock-names = "fck", "brg_int", "scif_clk";
  1073. dmas = <&dmac1 0x13>, <&dmac1 0x12>,
  1074. <&dmac2 0x13>, <&dmac2 0x12>;
  1075. dma-names = "tx", "rx", "tx", "rx";
  1076. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1077. resets = <&cpg 310>;
  1078. status = "disabled";
  1079. };
  1080. scif3: serial@e6c50000 {
  1081. compatible = "renesas,scif-r8a7796",
  1082. "renesas,rcar-gen3-scif", "renesas,scif";
  1083. reg = <0 0xe6c50000 0 64>;
  1084. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  1085. clocks = <&cpg CPG_MOD 204>,
  1086. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  1087. <&scif_clk>;
  1088. clock-names = "fck", "brg_int", "scif_clk";
  1089. dmas = <&dmac0 0x57>, <&dmac0 0x56>;
  1090. dma-names = "tx", "rx";
  1091. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1092. resets = <&cpg 204>;
  1093. status = "disabled";
  1094. };
  1095. scif4: serial@e6c40000 {
  1096. compatible = "renesas,scif-r8a7796",
  1097. "renesas,rcar-gen3-scif", "renesas,scif";
  1098. reg = <0 0xe6c40000 0 64>;
  1099. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  1100. clocks = <&cpg CPG_MOD 203>,
  1101. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  1102. <&scif_clk>;
  1103. clock-names = "fck", "brg_int", "scif_clk";
  1104. dmas = <&dmac0 0x59>, <&dmac0 0x58>;
  1105. dma-names = "tx", "rx";
  1106. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1107. resets = <&cpg 203>;
  1108. status = "disabled";
  1109. };
  1110. scif5: serial@e6f30000 {
  1111. compatible = "renesas,scif-r8a7796",
  1112. "renesas,rcar-gen3-scif", "renesas,scif";
  1113. reg = <0 0xe6f30000 0 64>;
  1114. interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
  1115. clocks = <&cpg CPG_MOD 202>,
  1116. <&cpg CPG_CORE R8A7796_CLK_S3D1>,
  1117. <&scif_clk>;
  1118. clock-names = "fck", "brg_int", "scif_clk";
  1119. dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
  1120. <&dmac2 0x5b>, <&dmac2 0x5a>;
  1121. dma-names = "tx", "rx", "tx", "rx";
  1122. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1123. resets = <&cpg 202>;
  1124. status = "disabled";
  1125. };
  1126. msiof0: spi@e6e90000 {
  1127. compatible = "renesas,msiof-r8a7796",
  1128. "renesas,rcar-gen3-msiof";
  1129. reg = <0 0xe6e90000 0 0x0064>;
  1130. interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
  1131. clocks = <&cpg CPG_MOD 211>;
  1132. dmas = <&dmac1 0x41>, <&dmac1 0x40>,
  1133. <&dmac2 0x41>, <&dmac2 0x40>;
  1134. dma-names = "tx", "rx", "tx", "rx";
  1135. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1136. resets = <&cpg 211>;
  1137. #address-cells = <1>;
  1138. #size-cells = <0>;
  1139. status = "disabled";
  1140. };
  1141. msiof1: spi@e6ea0000 {
  1142. compatible = "renesas,msiof-r8a7796",
  1143. "renesas,rcar-gen3-msiof";
  1144. reg = <0 0xe6ea0000 0 0x0064>;
  1145. interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
  1146. clocks = <&cpg CPG_MOD 210>;
  1147. dmas = <&dmac1 0x43>, <&dmac1 0x42>,
  1148. <&dmac2 0x43>, <&dmac2 0x42>;
  1149. dma-names = "tx", "rx", "tx", "rx";
  1150. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1151. resets = <&cpg 210>;
  1152. #address-cells = <1>;
  1153. #size-cells = <0>;
  1154. status = "disabled";
  1155. };
  1156. msiof2: spi@e6c00000 {
  1157. compatible = "renesas,msiof-r8a7796",
  1158. "renesas,rcar-gen3-msiof";
  1159. reg = <0 0xe6c00000 0 0x0064>;
  1160. interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
  1161. clocks = <&cpg CPG_MOD 209>;
  1162. dmas = <&dmac0 0x45>, <&dmac0 0x44>;
  1163. dma-names = "tx", "rx";
  1164. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1165. resets = <&cpg 209>;
  1166. #address-cells = <1>;
  1167. #size-cells = <0>;
  1168. status = "disabled";
  1169. };
  1170. msiof3: spi@e6c10000 {
  1171. compatible = "renesas,msiof-r8a7796",
  1172. "renesas,rcar-gen3-msiof";
  1173. reg = <0 0xe6c10000 0 0x0064>;
  1174. interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
  1175. clocks = <&cpg CPG_MOD 208>;
  1176. dmas = <&dmac0 0x47>, <&dmac0 0x46>;
  1177. dma-names = "tx", "rx";
  1178. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1179. resets = <&cpg 208>;
  1180. #address-cells = <1>;
  1181. #size-cells = <0>;
  1182. status = "disabled";
  1183. };
  1184. vin0: video@e6ef0000 {
  1185. compatible = "renesas,vin-r8a7796";
  1186. reg = <0 0xe6ef0000 0 0x1000>;
  1187. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  1188. clocks = <&cpg CPG_MOD 811>;
  1189. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1190. resets = <&cpg 811>;
  1191. renesas,id = <0>;
  1192. status = "disabled";
  1193. ports {
  1194. #address-cells = <1>;
  1195. #size-cells = <0>;
  1196. port@1 {
  1197. #address-cells = <1>;
  1198. #size-cells = <0>;
  1199. reg = <1>;
  1200. vin0csi20: endpoint@0 {
  1201. reg = <0>;
  1202. remote-endpoint= <&csi20vin0>;
  1203. };
  1204. vin0csi40: endpoint@2 {
  1205. reg = <2>;
  1206. remote-endpoint= <&csi40vin0>;
  1207. };
  1208. };
  1209. };
  1210. };
  1211. vin1: video@e6ef1000 {
  1212. compatible = "renesas,vin-r8a7796";
  1213. reg = <0 0xe6ef1000 0 0x1000>;
  1214. interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
  1215. clocks = <&cpg CPG_MOD 810>;
  1216. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1217. resets = <&cpg 810>;
  1218. renesas,id = <1>;
  1219. status = "disabled";
  1220. ports {
  1221. #address-cells = <1>;
  1222. #size-cells = <0>;
  1223. port@1 {
  1224. #address-cells = <1>;
  1225. #size-cells = <0>;
  1226. reg = <1>;
  1227. vin1csi20: endpoint@0 {
  1228. reg = <0>;
  1229. remote-endpoint= <&csi20vin1>;
  1230. };
  1231. vin1csi40: endpoint@2 {
  1232. reg = <2>;
  1233. remote-endpoint= <&csi40vin1>;
  1234. };
  1235. };
  1236. };
  1237. };
  1238. vin2: video@e6ef2000 {
  1239. compatible = "renesas,vin-r8a7796";
  1240. reg = <0 0xe6ef2000 0 0x1000>;
  1241. interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
  1242. clocks = <&cpg CPG_MOD 809>;
  1243. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1244. resets = <&cpg 809>;
  1245. renesas,id = <2>;
  1246. status = "disabled";
  1247. ports {
  1248. #address-cells = <1>;
  1249. #size-cells = <0>;
  1250. port@1 {
  1251. #address-cells = <1>;
  1252. #size-cells = <0>;
  1253. reg = <1>;
  1254. vin2csi20: endpoint@0 {
  1255. reg = <0>;
  1256. remote-endpoint= <&csi20vin2>;
  1257. };
  1258. vin2csi40: endpoint@2 {
  1259. reg = <2>;
  1260. remote-endpoint= <&csi40vin2>;
  1261. };
  1262. };
  1263. };
  1264. };
  1265. vin3: video@e6ef3000 {
  1266. compatible = "renesas,vin-r8a7796";
  1267. reg = <0 0xe6ef3000 0 0x1000>;
  1268. interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
  1269. clocks = <&cpg CPG_MOD 808>;
  1270. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1271. resets = <&cpg 808>;
  1272. renesas,id = <3>;
  1273. status = "disabled";
  1274. ports {
  1275. #address-cells = <1>;
  1276. #size-cells = <0>;
  1277. port@1 {
  1278. #address-cells = <1>;
  1279. #size-cells = <0>;
  1280. reg = <1>;
  1281. vin3csi20: endpoint@0 {
  1282. reg = <0>;
  1283. remote-endpoint= <&csi20vin3>;
  1284. };
  1285. vin3csi40: endpoint@2 {
  1286. reg = <2>;
  1287. remote-endpoint= <&csi40vin3>;
  1288. };
  1289. };
  1290. };
  1291. };
  1292. vin4: video@e6ef4000 {
  1293. compatible = "renesas,vin-r8a7796";
  1294. reg = <0 0xe6ef4000 0 0x1000>;
  1295. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
  1296. clocks = <&cpg CPG_MOD 807>;
  1297. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1298. resets = <&cpg 807>;
  1299. renesas,id = <4>;
  1300. status = "disabled";
  1301. ports {
  1302. #address-cells = <1>;
  1303. #size-cells = <0>;
  1304. port@1 {
  1305. #address-cells = <1>;
  1306. #size-cells = <0>;
  1307. reg = <1>;
  1308. vin4csi20: endpoint@0 {
  1309. reg = <0>;
  1310. remote-endpoint= <&csi20vin4>;
  1311. };
  1312. vin4csi40: endpoint@2 {
  1313. reg = <2>;
  1314. remote-endpoint= <&csi40vin4>;
  1315. };
  1316. };
  1317. };
  1318. };
  1319. vin5: video@e6ef5000 {
  1320. compatible = "renesas,vin-r8a7796";
  1321. reg = <0 0xe6ef5000 0 0x1000>;
  1322. interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
  1323. clocks = <&cpg CPG_MOD 806>;
  1324. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1325. resets = <&cpg 806>;
  1326. renesas,id = <5>;
  1327. status = "disabled";
  1328. ports {
  1329. #address-cells = <1>;
  1330. #size-cells = <0>;
  1331. port@1 {
  1332. #address-cells = <1>;
  1333. #size-cells = <0>;
  1334. reg = <1>;
  1335. vin5csi20: endpoint@0 {
  1336. reg = <0>;
  1337. remote-endpoint= <&csi20vin5>;
  1338. };
  1339. vin5csi40: endpoint@2 {
  1340. reg = <2>;
  1341. remote-endpoint= <&csi40vin5>;
  1342. };
  1343. };
  1344. };
  1345. };
  1346. vin6: video@e6ef6000 {
  1347. compatible = "renesas,vin-r8a7796";
  1348. reg = <0 0xe6ef6000 0 0x1000>;
  1349. interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
  1350. clocks = <&cpg CPG_MOD 805>;
  1351. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1352. resets = <&cpg 805>;
  1353. renesas,id = <6>;
  1354. status = "disabled";
  1355. ports {
  1356. #address-cells = <1>;
  1357. #size-cells = <0>;
  1358. port@1 {
  1359. #address-cells = <1>;
  1360. #size-cells = <0>;
  1361. reg = <1>;
  1362. vin6csi20: endpoint@0 {
  1363. reg = <0>;
  1364. remote-endpoint= <&csi20vin6>;
  1365. };
  1366. vin6csi40: endpoint@2 {
  1367. reg = <2>;
  1368. remote-endpoint= <&csi40vin6>;
  1369. };
  1370. };
  1371. };
  1372. };
  1373. vin7: video@e6ef7000 {
  1374. compatible = "renesas,vin-r8a7796";
  1375. reg = <0 0xe6ef7000 0 0x1000>;
  1376. interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
  1377. clocks = <&cpg CPG_MOD 804>;
  1378. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1379. resets = <&cpg 804>;
  1380. renesas,id = <7>;
  1381. status = "disabled";
  1382. ports {
  1383. #address-cells = <1>;
  1384. #size-cells = <0>;
  1385. port@1 {
  1386. #address-cells = <1>;
  1387. #size-cells = <0>;
  1388. reg = <1>;
  1389. vin7csi20: endpoint@0 {
  1390. reg = <0>;
  1391. remote-endpoint= <&csi20vin7>;
  1392. };
  1393. vin7csi40: endpoint@2 {
  1394. reg = <2>;
  1395. remote-endpoint= <&csi40vin7>;
  1396. };
  1397. };
  1398. };
  1399. };
  1400. drif00: rif@e6f40000 {
  1401. compatible = "renesas,r8a7796-drif",
  1402. "renesas,rcar-gen3-drif";
  1403. reg = <0 0xe6f40000 0 0x64>;
  1404. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  1405. clocks = <&cpg CPG_MOD 515>;
  1406. clock-names = "fck";
  1407. dmas = <&dmac1 0x20>, <&dmac2 0x20>;
  1408. dma-names = "rx", "rx";
  1409. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1410. resets = <&cpg 515>;
  1411. renesas,bonding = <&drif01>;
  1412. status = "disabled";
  1413. };
  1414. drif01: rif@e6f50000 {
  1415. compatible = "renesas,r8a7796-drif",
  1416. "renesas,rcar-gen3-drif";
  1417. reg = <0 0xe6f50000 0 0x64>;
  1418. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  1419. clocks = <&cpg CPG_MOD 514>;
  1420. clock-names = "fck";
  1421. dmas = <&dmac1 0x22>, <&dmac2 0x22>;
  1422. dma-names = "rx", "rx";
  1423. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1424. resets = <&cpg 514>;
  1425. renesas,bonding = <&drif00>;
  1426. status = "disabled";
  1427. };
  1428. drif10: rif@e6f60000 {
  1429. compatible = "renesas,r8a7796-drif",
  1430. "renesas,rcar-gen3-drif";
  1431. reg = <0 0xe6f60000 0 0x64>;
  1432. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  1433. clocks = <&cpg CPG_MOD 513>;
  1434. clock-names = "fck";
  1435. dmas = <&dmac1 0x24>, <&dmac2 0x24>;
  1436. dma-names = "rx", "rx";
  1437. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1438. resets = <&cpg 513>;
  1439. renesas,bonding = <&drif11>;
  1440. status = "disabled";
  1441. };
  1442. drif11: rif@e6f70000 {
  1443. compatible = "renesas,r8a7796-drif",
  1444. "renesas,rcar-gen3-drif";
  1445. reg = <0 0xe6f70000 0 0x64>;
  1446. interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  1447. clocks = <&cpg CPG_MOD 512>;
  1448. clock-names = "fck";
  1449. dmas = <&dmac1 0x26>, <&dmac2 0x26>;
  1450. dma-names = "rx", "rx";
  1451. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1452. resets = <&cpg 512>;
  1453. renesas,bonding = <&drif10>;
  1454. status = "disabled";
  1455. };
  1456. drif20: rif@e6f80000 {
  1457. compatible = "renesas,r8a7796-drif",
  1458. "renesas,rcar-gen3-drif";
  1459. reg = <0 0xe6f80000 0 0x64>;
  1460. interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
  1461. clocks = <&cpg CPG_MOD 511>;
  1462. clock-names = "fck";
  1463. dmas = <&dmac1 0x28>, <&dmac2 0x28>;
  1464. dma-names = "rx", "rx";
  1465. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1466. resets = <&cpg 511>;
  1467. renesas,bonding = <&drif21>;
  1468. status = "disabled";
  1469. };
  1470. drif21: rif@e6f90000 {
  1471. compatible = "renesas,r8a7796-drif",
  1472. "renesas,rcar-gen3-drif";
  1473. reg = <0 0xe6f90000 0 0x64>;
  1474. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  1475. clocks = <&cpg CPG_MOD 510>;
  1476. clock-names = "fck";
  1477. dmas = <&dmac1 0x2a>, <&dmac2 0x2a>;
  1478. dma-names = "rx", "rx";
  1479. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1480. resets = <&cpg 510>;
  1481. renesas,bonding = <&drif20>;
  1482. status = "disabled";
  1483. };
  1484. drif30: rif@e6fa0000 {
  1485. compatible = "renesas,r8a7796-drif",
  1486. "renesas,rcar-gen3-drif";
  1487. reg = <0 0xe6fa0000 0 0x64>;
  1488. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  1489. clocks = <&cpg CPG_MOD 509>;
  1490. clock-names = "fck";
  1491. dmas = <&dmac1 0x2c>, <&dmac2 0x2c>;
  1492. dma-names = "rx", "rx";
  1493. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1494. resets = <&cpg 509>;
  1495. renesas,bonding = <&drif31>;
  1496. status = "disabled";
  1497. };
  1498. drif31: rif@e6fb0000 {
  1499. compatible = "renesas,r8a7796-drif",
  1500. "renesas,rcar-gen3-drif";
  1501. reg = <0 0xe6fb0000 0 0x64>;
  1502. interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
  1503. clocks = <&cpg CPG_MOD 508>;
  1504. clock-names = "fck";
  1505. dmas = <&dmac1 0x2e>, <&dmac2 0x2e>;
  1506. dma-names = "rx", "rx";
  1507. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1508. resets = <&cpg 508>;
  1509. renesas,bonding = <&drif30>;
  1510. status = "disabled";
  1511. };
  1512. rcar_sound: sound@ec500000 {
  1513. /*
  1514. * #sound-dai-cells is required
  1515. *
  1516. * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
  1517. * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
  1518. */
  1519. /*
  1520. * #clock-cells is required for audio_clkout0/1/2/3
  1521. *
  1522. * clkout : #clock-cells = <0>; <&rcar_sound>;
  1523. * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
  1524. */
  1525. compatible = "renesas,rcar_sound-r8a7796", "renesas,rcar_sound-gen3";
  1526. reg = <0 0xec500000 0 0x1000>, /* SCU */
  1527. <0 0xec5a0000 0 0x100>, /* ADG */
  1528. <0 0xec540000 0 0x1000>, /* SSIU */
  1529. <0 0xec541000 0 0x280>, /* SSI */
  1530. <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
  1531. reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
  1532. clocks = <&cpg CPG_MOD 1005>,
  1533. <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
  1534. <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
  1535. <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
  1536. <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
  1537. <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
  1538. <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
  1539. <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
  1540. <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
  1541. <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
  1542. <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
  1543. <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
  1544. <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
  1545. <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
  1546. <&audio_clk_a>, <&audio_clk_b>,
  1547. <&audio_clk_c>,
  1548. <&cpg CPG_CORE R8A7796_CLK_S0D4>;
  1549. clock-names = "ssi-all",
  1550. "ssi.9", "ssi.8", "ssi.7", "ssi.6",
  1551. "ssi.5", "ssi.4", "ssi.3", "ssi.2",
  1552. "ssi.1", "ssi.0",
  1553. "src.9", "src.8", "src.7", "src.6",
  1554. "src.5", "src.4", "src.3", "src.2",
  1555. "src.1", "src.0",
  1556. "mix.1", "mix.0",
  1557. "ctu.1", "ctu.0",
  1558. "dvc.0", "dvc.1",
  1559. "clk_a", "clk_b", "clk_c", "clk_i";
  1560. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1561. resets = <&cpg 1005>,
  1562. <&cpg 1006>, <&cpg 1007>,
  1563. <&cpg 1008>, <&cpg 1009>,
  1564. <&cpg 1010>, <&cpg 1011>,
  1565. <&cpg 1012>, <&cpg 1013>,
  1566. <&cpg 1014>, <&cpg 1015>;
  1567. reset-names = "ssi-all",
  1568. "ssi.9", "ssi.8", "ssi.7", "ssi.6",
  1569. "ssi.5", "ssi.4", "ssi.3", "ssi.2",
  1570. "ssi.1", "ssi.0";
  1571. status = "disabled";
  1572. rcar_sound,dvc {
  1573. dvc0: dvc-0 {
  1574. dmas = <&audma1 0xbc>;
  1575. dma-names = "tx";
  1576. };
  1577. dvc1: dvc-1 {
  1578. dmas = <&audma1 0xbe>;
  1579. dma-names = "tx";
  1580. };
  1581. };
  1582. rcar_sound,mix {
  1583. mix0: mix-0 { };
  1584. mix1: mix-1 { };
  1585. };
  1586. rcar_sound,ctu {
  1587. ctu00: ctu-0 { };
  1588. ctu01: ctu-1 { };
  1589. ctu02: ctu-2 { };
  1590. ctu03: ctu-3 { };
  1591. ctu10: ctu-4 { };
  1592. ctu11: ctu-5 { };
  1593. ctu12: ctu-6 { };
  1594. ctu13: ctu-7 { };
  1595. };
  1596. rcar_sound,src {
  1597. src0: src-0 {
  1598. interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
  1599. dmas = <&audma0 0x85>, <&audma1 0x9a>;
  1600. dma-names = "rx", "tx";
  1601. };
  1602. src1: src-1 {
  1603. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1604. dmas = <&audma0 0x87>, <&audma1 0x9c>;
  1605. dma-names = "rx", "tx";
  1606. };
  1607. src2: src-2 {
  1608. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1609. dmas = <&audma0 0x89>, <&audma1 0x9e>;
  1610. dma-names = "rx", "tx";
  1611. };
  1612. src3: src-3 {
  1613. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1614. dmas = <&audma0 0x8b>, <&audma1 0xa0>;
  1615. dma-names = "rx", "tx";
  1616. };
  1617. src4: src-4 {
  1618. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1619. dmas = <&audma0 0x8d>, <&audma1 0xb0>;
  1620. dma-names = "rx", "tx";
  1621. };
  1622. src5: src-5 {
  1623. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1624. dmas = <&audma0 0x8f>, <&audma1 0xb2>;
  1625. dma-names = "rx", "tx";
  1626. };
  1627. src6: src-6 {
  1628. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1629. dmas = <&audma0 0x91>, <&audma1 0xb4>;
  1630. dma-names = "rx", "tx";
  1631. };
  1632. src7: src-7 {
  1633. interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
  1634. dmas = <&audma0 0x93>, <&audma1 0xb6>;
  1635. dma-names = "rx", "tx";
  1636. };
  1637. src8: src-8 {
  1638. interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  1639. dmas = <&audma0 0x95>, <&audma1 0xb8>;
  1640. dma-names = "rx", "tx";
  1641. };
  1642. src9: src-9 {
  1643. interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
  1644. dmas = <&audma0 0x97>, <&audma1 0xba>;
  1645. dma-names = "rx", "tx";
  1646. };
  1647. };
  1648. rcar_sound,ssi {
  1649. ssi0: ssi-0 {
  1650. interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
  1651. dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
  1652. dma-names = "rx", "tx", "rxu", "txu";
  1653. };
  1654. ssi1: ssi-1 {
  1655. interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
  1656. dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
  1657. dma-names = "rx", "tx", "rxu", "txu";
  1658. };
  1659. ssi2: ssi-2 {
  1660. interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
  1661. dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
  1662. dma-names = "rx", "tx", "rxu", "txu";
  1663. };
  1664. ssi3: ssi-3 {
  1665. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  1666. dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
  1667. dma-names = "rx", "tx", "rxu", "txu";
  1668. };
  1669. ssi4: ssi-4 {
  1670. interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
  1671. dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
  1672. dma-names = "rx", "tx", "rxu", "txu";
  1673. };
  1674. ssi5: ssi-5 {
  1675. interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
  1676. dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
  1677. dma-names = "rx", "tx", "rxu", "txu";
  1678. };
  1679. ssi6: ssi-6 {
  1680. interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
  1681. dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
  1682. dma-names = "rx", "tx", "rxu", "txu";
  1683. };
  1684. ssi7: ssi-7 {
  1685. interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
  1686. dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
  1687. dma-names = "rx", "tx", "rxu", "txu";
  1688. };
  1689. ssi8: ssi-8 {
  1690. interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
  1691. dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
  1692. dma-names = "rx", "tx", "rxu", "txu";
  1693. };
  1694. ssi9: ssi-9 {
  1695. interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
  1696. dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
  1697. dma-names = "rx", "tx", "rxu", "txu";
  1698. };
  1699. };
  1700. ports {
  1701. #address-cells = <1>;
  1702. #size-cells = <0>;
  1703. port@0 {
  1704. reg = <0>;
  1705. };
  1706. port@1 {
  1707. reg = <1>;
  1708. };
  1709. };
  1710. };
  1711. audma0: dma-controller@ec700000 {
  1712. compatible = "renesas,dmac-r8a7796",
  1713. "renesas,rcar-dmac";
  1714. reg = <0 0xec700000 0 0x10000>;
  1715. interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
  1716. GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
  1717. GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
  1718. GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
  1719. GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
  1720. GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
  1721. GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
  1722. GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
  1723. GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
  1724. GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
  1725. GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
  1726. GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
  1727. GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
  1728. GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
  1729. GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
  1730. GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
  1731. GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
  1732. interrupt-names = "error",
  1733. "ch0", "ch1", "ch2", "ch3",
  1734. "ch4", "ch5", "ch6", "ch7",
  1735. "ch8", "ch9", "ch10", "ch11",
  1736. "ch12", "ch13", "ch14", "ch15";
  1737. clocks = <&cpg CPG_MOD 502>;
  1738. clock-names = "fck";
  1739. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1740. resets = <&cpg 502>;
  1741. #dma-cells = <1>;
  1742. dma-channels = <16>;
  1743. iommus = <&ipmmu_mp 0>, <&ipmmu_mp 1>,
  1744. <&ipmmu_mp 2>, <&ipmmu_mp 3>,
  1745. <&ipmmu_mp 4>, <&ipmmu_mp 5>,
  1746. <&ipmmu_mp 6>, <&ipmmu_mp 7>,
  1747. <&ipmmu_mp 8>, <&ipmmu_mp 9>,
  1748. <&ipmmu_mp 10>, <&ipmmu_mp 11>,
  1749. <&ipmmu_mp 12>, <&ipmmu_mp 13>,
  1750. <&ipmmu_mp 14>, <&ipmmu_mp 15>;
  1751. };
  1752. audma1: dma-controller@ec720000 {
  1753. compatible = "renesas,dmac-r8a7796",
  1754. "renesas,rcar-dmac";
  1755. reg = <0 0xec720000 0 0x10000>;
  1756. interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
  1757. GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
  1758. GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
  1759. GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
  1760. GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
  1761. GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
  1762. GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
  1763. GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
  1764. GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
  1765. GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
  1766. GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
  1767. GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
  1768. GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
  1769. GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
  1770. GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
  1771. GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
  1772. GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
  1773. interrupt-names = "error",
  1774. "ch0", "ch1", "ch2", "ch3",
  1775. "ch4", "ch5", "ch6", "ch7",
  1776. "ch8", "ch9", "ch10", "ch11",
  1777. "ch12", "ch13", "ch14", "ch15";
  1778. clocks = <&cpg CPG_MOD 501>;
  1779. clock-names = "fck";
  1780. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1781. resets = <&cpg 501>;
  1782. #dma-cells = <1>;
  1783. dma-channels = <16>;
  1784. iommus = <&ipmmu_mp 16>, <&ipmmu_mp 17>,
  1785. <&ipmmu_mp 18>, <&ipmmu_mp 19>,
  1786. <&ipmmu_mp 20>, <&ipmmu_mp 21>,
  1787. <&ipmmu_mp 22>, <&ipmmu_mp 23>,
  1788. <&ipmmu_mp 24>, <&ipmmu_mp 25>,
  1789. <&ipmmu_mp 26>, <&ipmmu_mp 27>,
  1790. <&ipmmu_mp 28>, <&ipmmu_mp 29>,
  1791. <&ipmmu_mp 30>, <&ipmmu_mp 31>;
  1792. };
  1793. xhci0: usb@ee000000 {
  1794. compatible = "renesas,xhci-r8a7796",
  1795. "renesas,rcar-gen3-xhci";
  1796. reg = <0 0xee000000 0 0xc00>;
  1797. interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
  1798. clocks = <&cpg CPG_MOD 328>;
  1799. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1800. resets = <&cpg 328>;
  1801. status = "disabled";
  1802. };
  1803. usb3_peri0: usb@ee020000 {
  1804. compatible = "renesas,r8a7796-usb3-peri",
  1805. "renesas,rcar-gen3-usb3-peri";
  1806. reg = <0 0xee020000 0 0x400>;
  1807. interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
  1808. clocks = <&cpg CPG_MOD 328>;
  1809. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1810. resets = <&cpg 328>;
  1811. status = "disabled";
  1812. };
  1813. ohci0: usb@ee080000 {
  1814. compatible = "generic-ohci";
  1815. reg = <0 0xee080000 0 0x100>;
  1816. interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
  1817. clocks = <&cpg CPG_MOD 703>;
  1818. phys = <&usb2_phy0>;
  1819. phy-names = "usb";
  1820. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1821. resets = <&cpg 703>;
  1822. status = "disabled";
  1823. };
  1824. ohci1: usb@ee0a0000 {
  1825. compatible = "generic-ohci";
  1826. reg = <0 0xee0a0000 0 0x100>;
  1827. interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  1828. clocks = <&cpg CPG_MOD 702>;
  1829. phys = <&usb2_phy1>;
  1830. phy-names = "usb";
  1831. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1832. resets = <&cpg 702>;
  1833. status = "disabled";
  1834. };
  1835. ehci0: usb@ee080100 {
  1836. compatible = "generic-ehci";
  1837. reg = <0 0xee080100 0 0x100>;
  1838. interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
  1839. clocks = <&cpg CPG_MOD 703>;
  1840. phys = <&usb2_phy0>;
  1841. phy-names = "usb";
  1842. companion= <&ohci0>;
  1843. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1844. resets = <&cpg 703>;
  1845. status = "disabled";
  1846. };
  1847. ehci1: usb@ee0a0100 {
  1848. compatible = "generic-ehci";
  1849. reg = <0 0xee0a0100 0 0x100>;
  1850. interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  1851. clocks = <&cpg CPG_MOD 702>;
  1852. phys = <&usb2_phy1>;
  1853. phy-names = "usb";
  1854. companion= <&ohci1>;
  1855. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1856. resets = <&cpg 702>;
  1857. status = "disabled";
  1858. };
  1859. usb2_phy0: usb-phy@ee080200 {
  1860. compatible = "renesas,usb2-phy-r8a7796",
  1861. "renesas,rcar-gen3-usb2-phy";
  1862. reg = <0 0xee080200 0 0x700>;
  1863. interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
  1864. clocks = <&cpg CPG_MOD 703>;
  1865. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1866. resets = <&cpg 703>;
  1867. #phy-cells = <0>;
  1868. status = "disabled";
  1869. };
  1870. usb2_phy1: usb-phy@ee0a0200 {
  1871. compatible = "renesas,usb2-phy-r8a7796",
  1872. "renesas,rcar-gen3-usb2-phy";
  1873. reg = <0 0xee0a0200 0 0x700>;
  1874. clocks = <&cpg CPG_MOD 702>;
  1875. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1876. resets = <&cpg 702>;
  1877. #phy-cells = <0>;
  1878. status = "disabled";
  1879. };
  1880. sdhi0: sd@ee100000 {
  1881. compatible = "renesas,sdhi-r8a7796",
  1882. "renesas,rcar-gen3-sdhi";
  1883. reg = <0 0xee100000 0 0x2000>;
  1884. interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
  1885. clocks = <&cpg CPG_MOD 314>;
  1886. max-frequency = <200000000>;
  1887. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1888. resets = <&cpg 314>;
  1889. status = "disabled";
  1890. };
  1891. sdhi1: sd@ee120000 {
  1892. compatible = "renesas,sdhi-r8a7796",
  1893. "renesas,rcar-gen3-sdhi";
  1894. reg = <0 0xee120000 0 0x2000>;
  1895. interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
  1896. clocks = <&cpg CPG_MOD 313>;
  1897. max-frequency = <200000000>;
  1898. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1899. resets = <&cpg 313>;
  1900. status = "disabled";
  1901. };
  1902. sdhi2: sd@ee140000 {
  1903. compatible = "renesas,sdhi-r8a7796",
  1904. "renesas,rcar-gen3-sdhi";
  1905. reg = <0 0xee140000 0 0x2000>;
  1906. interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
  1907. clocks = <&cpg CPG_MOD 312>;
  1908. max-frequency = <200000000>;
  1909. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1910. resets = <&cpg 312>;
  1911. status = "disabled";
  1912. };
  1913. sdhi3: sd@ee160000 {
  1914. compatible = "renesas,sdhi-r8a7796",
  1915. "renesas,rcar-gen3-sdhi";
  1916. reg = <0 0xee160000 0 0x2000>;
  1917. interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
  1918. clocks = <&cpg CPG_MOD 311>;
  1919. max-frequency = <200000000>;
  1920. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1921. resets = <&cpg 311>;
  1922. status = "disabled";
  1923. };
  1924. gic: interrupt-controller@f1010000 {
  1925. compatible = "arm,gic-400";
  1926. #interrupt-cells = <3>;
  1927. #address-cells = <0>;
  1928. interrupt-controller;
  1929. reg = <0x0 0xf1010000 0 0x1000>,
  1930. <0x0 0xf1020000 0 0x20000>,
  1931. <0x0 0xf1040000 0 0x20000>,
  1932. <0x0 0xf1060000 0 0x20000>;
  1933. interrupts = <GIC_PPI 9
  1934. (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>;
  1935. clocks = <&cpg CPG_MOD 408>;
  1936. clock-names = "clk";
  1937. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1938. resets = <&cpg 408>;
  1939. };
  1940. pciec0: pcie@fe000000 {
  1941. compatible = "renesas,pcie-r8a7796",
  1942. "renesas,pcie-rcar-gen3";
  1943. reg = <0 0xfe000000 0 0x80000>;
  1944. #address-cells = <3>;
  1945. #size-cells = <2>;
  1946. bus-range = <0x00 0xff>;
  1947. device_type = "pci";
  1948. ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
  1949. 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
  1950. 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
  1951. 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
  1952. /* Map all possible DDR as inbound ranges */
  1953. dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
  1954. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  1955. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  1956. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
  1957. #interrupt-cells = <1>;
  1958. interrupt-map-mask = <0 0 0 0>;
  1959. interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
  1960. clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
  1961. clock-names = "pcie", "pcie_bus";
  1962. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1963. resets = <&cpg 319>;
  1964. status = "disabled";
  1965. };
  1966. pciec1: pcie@ee800000 {
  1967. compatible = "renesas,pcie-r8a7796",
  1968. "renesas,pcie-rcar-gen3";
  1969. reg = <0 0xee800000 0 0x80000>;
  1970. #address-cells = <3>;
  1971. #size-cells = <2>;
  1972. bus-range = <0x00 0xff>;
  1973. device_type = "pci";
  1974. ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
  1975. 0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
  1976. 0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
  1977. 0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
  1978. /* Map all possible DDR as inbound ranges */
  1979. dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
  1980. interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
  1981. <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
  1982. <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
  1983. #interrupt-cells = <1>;
  1984. interrupt-map-mask = <0 0 0 0>;
  1985. interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
  1986. clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
  1987. clock-names = "pcie", "pcie_bus";
  1988. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  1989. resets = <&cpg 318>;
  1990. status = "disabled";
  1991. };
  1992. imr-lx4@fe860000 {
  1993. compatible = "renesas,r8a7796-imr-lx4",
  1994. "renesas,imr-lx4";
  1995. reg = <0 0xfe860000 0 0x2000>;
  1996. interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
  1997. clocks = <&cpg CPG_MOD 823>;
  1998. power-domains = <&sysc R8A7796_PD_A3VC>;
  1999. resets = <&cpg 823>;
  2000. };
  2001. imr-lx4@fe870000 {
  2002. compatible = "renesas,r8a7796-imr-lx4",
  2003. "renesas,imr-lx4";
  2004. reg = <0 0xfe870000 0 0x2000>;
  2005. interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
  2006. clocks = <&cpg CPG_MOD 822>;
  2007. power-domains = <&sysc R8A7796_PD_A3VC>;
  2008. resets = <&cpg 822>;
  2009. };
  2010. fdp1@fe940000 {
  2011. compatible = "renesas,fdp1";
  2012. reg = <0 0xfe940000 0 0x2400>;
  2013. interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
  2014. clocks = <&cpg CPG_MOD 119>;
  2015. power-domains = <&sysc R8A7796_PD_A3VC>;
  2016. resets = <&cpg 119>;
  2017. renesas,fcp = <&fcpf0>;
  2018. };
  2019. fcpf0: fcp@fe950000 {
  2020. compatible = "renesas,fcpf";
  2021. reg = <0 0xfe950000 0 0x200>;
  2022. clocks = <&cpg CPG_MOD 615>;
  2023. power-domains = <&sysc R8A7796_PD_A3VC>;
  2024. resets = <&cpg 615>;
  2025. };
  2026. fcpvb0: fcp@fe96f000 {
  2027. compatible = "renesas,fcpv";
  2028. reg = <0 0xfe96f000 0 0x200>;
  2029. clocks = <&cpg CPG_MOD 607>;
  2030. power-domains = <&sysc R8A7796_PD_A3VC>;
  2031. resets = <&cpg 607>;
  2032. };
  2033. fcpvi0: fcp@fe9af000 {
  2034. compatible = "renesas,fcpv";
  2035. reg = <0 0xfe9af000 0 0x200>;
  2036. clocks = <&cpg CPG_MOD 611>;
  2037. power-domains = <&sysc R8A7796_PD_A3VC>;
  2038. resets = <&cpg 611>;
  2039. iommus = <&ipmmu_vc0 19>;
  2040. };
  2041. fcpvd0: fcp@fea27000 {
  2042. compatible = "renesas,fcpv";
  2043. reg = <0 0xfea27000 0 0x200>;
  2044. clocks = <&cpg CPG_MOD 603>;
  2045. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2046. resets = <&cpg 603>;
  2047. iommus = <&ipmmu_vi0 8>;
  2048. };
  2049. fcpvd1: fcp@fea2f000 {
  2050. compatible = "renesas,fcpv";
  2051. reg = <0 0xfea2f000 0 0x200>;
  2052. clocks = <&cpg CPG_MOD 602>;
  2053. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2054. resets = <&cpg 602>;
  2055. iommus = <&ipmmu_vi0 9>;
  2056. };
  2057. fcpvd2: fcp@fea37000 {
  2058. compatible = "renesas,fcpv";
  2059. reg = <0 0xfea37000 0 0x200>;
  2060. clocks = <&cpg CPG_MOD 601>;
  2061. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2062. resets = <&cpg 601>;
  2063. iommus = <&ipmmu_vi0 10>;
  2064. };
  2065. vspb: vsp@fe960000 {
  2066. compatible = "renesas,vsp2";
  2067. reg = <0 0xfe960000 0 0x8000>;
  2068. interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
  2069. clocks = <&cpg CPG_MOD 626>;
  2070. power-domains = <&sysc R8A7796_PD_A3VC>;
  2071. resets = <&cpg 626>;
  2072. renesas,fcp = <&fcpvb0>;
  2073. };
  2074. vspd0: vsp@fea20000 {
  2075. compatible = "renesas,vsp2";
  2076. reg = <0 0xfea20000 0 0x5000>;
  2077. interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
  2078. clocks = <&cpg CPG_MOD 623>;
  2079. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2080. resets = <&cpg 623>;
  2081. renesas,fcp = <&fcpvd0>;
  2082. };
  2083. vspd1: vsp@fea28000 {
  2084. compatible = "renesas,vsp2";
  2085. reg = <0 0xfea28000 0 0x5000>;
  2086. interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
  2087. clocks = <&cpg CPG_MOD 622>;
  2088. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2089. resets = <&cpg 622>;
  2090. renesas,fcp = <&fcpvd1>;
  2091. };
  2092. vspd2: vsp@fea30000 {
  2093. compatible = "renesas,vsp2";
  2094. reg = <0 0xfea30000 0 0x5000>;
  2095. interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
  2096. clocks = <&cpg CPG_MOD 621>;
  2097. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2098. resets = <&cpg 621>;
  2099. renesas,fcp = <&fcpvd2>;
  2100. };
  2101. vspi0: vsp@fe9a0000 {
  2102. compatible = "renesas,vsp2";
  2103. reg = <0 0xfe9a0000 0 0x8000>;
  2104. interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
  2105. clocks = <&cpg CPG_MOD 631>;
  2106. power-domains = <&sysc R8A7796_PD_A3VC>;
  2107. resets = <&cpg 631>;
  2108. renesas,fcp = <&fcpvi0>;
  2109. };
  2110. csi20: csi2@fea80000 {
  2111. compatible = "renesas,r8a7796-csi2";
  2112. reg = <0 0xfea80000 0 0x10000>;
  2113. interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
  2114. clocks = <&cpg CPG_MOD 714>;
  2115. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2116. resets = <&cpg 714>;
  2117. status = "disabled";
  2118. ports {
  2119. #address-cells = <1>;
  2120. #size-cells = <0>;
  2121. port@1 {
  2122. #address-cells = <1>;
  2123. #size-cells = <0>;
  2124. reg = <1>;
  2125. csi20vin0: endpoint@0 {
  2126. reg = <0>;
  2127. remote-endpoint = <&vin0csi20>;
  2128. };
  2129. csi20vin1: endpoint@1 {
  2130. reg = <1>;
  2131. remote-endpoint = <&vin1csi20>;
  2132. };
  2133. csi20vin2: endpoint@2 {
  2134. reg = <2>;
  2135. remote-endpoint = <&vin2csi20>;
  2136. };
  2137. csi20vin3: endpoint@3 {
  2138. reg = <3>;
  2139. remote-endpoint = <&vin3csi20>;
  2140. };
  2141. csi20vin4: endpoint@4 {
  2142. reg = <4>;
  2143. remote-endpoint = <&vin4csi20>;
  2144. };
  2145. csi20vin5: endpoint@5 {
  2146. reg = <5>;
  2147. remote-endpoint = <&vin5csi20>;
  2148. };
  2149. csi20vin6: endpoint@6 {
  2150. reg = <6>;
  2151. remote-endpoint = <&vin6csi20>;
  2152. };
  2153. csi20vin7: endpoint@7 {
  2154. reg = <7>;
  2155. remote-endpoint = <&vin7csi20>;
  2156. };
  2157. };
  2158. };
  2159. };
  2160. csi40: csi2@feaa0000 {
  2161. compatible = "renesas,r8a7796-csi2";
  2162. reg = <0 0xfeaa0000 0 0x10000>;
  2163. interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
  2164. clocks = <&cpg CPG_MOD 716>;
  2165. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2166. resets = <&cpg 716>;
  2167. status = "disabled";
  2168. ports {
  2169. #address-cells = <1>;
  2170. #size-cells = <0>;
  2171. port@1 {
  2172. #address-cells = <1>;
  2173. #size-cells = <0>;
  2174. reg = <1>;
  2175. csi40vin0: endpoint@0 {
  2176. reg = <0>;
  2177. remote-endpoint = <&vin0csi40>;
  2178. };
  2179. csi40vin1: endpoint@1 {
  2180. reg = <1>;
  2181. remote-endpoint = <&vin1csi40>;
  2182. };
  2183. csi40vin2: endpoint@2 {
  2184. reg = <2>;
  2185. remote-endpoint = <&vin2csi40>;
  2186. };
  2187. csi40vin3: endpoint@3 {
  2188. reg = <3>;
  2189. remote-endpoint = <&vin3csi40>;
  2190. };
  2191. csi40vin4: endpoint@4 {
  2192. reg = <4>;
  2193. remote-endpoint = <&vin4csi40>;
  2194. };
  2195. csi40vin5: endpoint@5 {
  2196. reg = <5>;
  2197. remote-endpoint = <&vin5csi40>;
  2198. };
  2199. csi40vin6: endpoint@6 {
  2200. reg = <6>;
  2201. remote-endpoint = <&vin6csi40>;
  2202. };
  2203. csi40vin7: endpoint@7 {
  2204. reg = <7>;
  2205. remote-endpoint = <&vin7csi40>;
  2206. };
  2207. };
  2208. };
  2209. };
  2210. hdmi0: hdmi@fead0000 {
  2211. compatible = "renesas,r8a7796-hdmi", "renesas,rcar-gen3-hdmi";
  2212. reg = <0 0xfead0000 0 0x10000>;
  2213. interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
  2214. clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7796_CLK_HDMI>;
  2215. clock-names = "iahb", "isfr";
  2216. power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
  2217. resets = <&cpg 729>;
  2218. status = "disabled";
  2219. ports {
  2220. #address-cells = <1>;
  2221. #size-cells = <0>;
  2222. port@0 {
  2223. reg = <0>;
  2224. dw_hdmi0_in: endpoint {
  2225. remote-endpoint = <&du_out_hdmi0>;
  2226. };
  2227. };
  2228. port@1 {
  2229. reg = <1>;
  2230. };
  2231. port@2 {
  2232. /* HDMI sound */
  2233. reg = <2>;
  2234. };
  2235. };
  2236. };
  2237. du: display@feb00000 {
  2238. compatible = "renesas,du-r8a7796";
  2239. reg = <0 0xfeb00000 0 0x70000>,
  2240. <0 0xfeb90000 0 0x14>;
  2241. reg-names = "du", "lvds.0";
  2242. interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
  2243. <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
  2244. <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
  2245. clocks = <&cpg CPG_MOD 724>,
  2246. <&cpg CPG_MOD 723>,
  2247. <&cpg CPG_MOD 722>,
  2248. <&cpg CPG_MOD 727>;
  2249. clock-names = "du.0", "du.1", "du.2", "lvds.0";
  2250. status = "disabled";
  2251. vsps = <&vspd0 &vspd1 &vspd2>;
  2252. ports {
  2253. #address-cells = <1>;
  2254. #size-cells = <0>;
  2255. port@0 {
  2256. reg = <0>;
  2257. du_out_rgb: endpoint {
  2258. };
  2259. };
  2260. port@1 {
  2261. reg = <1>;
  2262. du_out_hdmi0: endpoint {
  2263. remote-endpoint = <&dw_hdmi0_in>;
  2264. };
  2265. };
  2266. port@2 {
  2267. reg = <2>;
  2268. du_out_lvds0: endpoint {
  2269. };
  2270. };
  2271. };
  2272. };
  2273. prr: chipid@fff00044 {
  2274. compatible = "renesas,prr";
  2275. reg = <0 0xfff00044 0 4>;
  2276. };
  2277. };
  2278. thermal-zones {
  2279. sensor_thermal1: sensor-thermal1 {
  2280. polling-delay-passive = <250>;
  2281. polling-delay = <1000>;
  2282. thermal-sensors = <&tsc 0>;
  2283. trips {
  2284. sensor1_passive: sensor1-passive {
  2285. temperature = <95000>;
  2286. hysteresis = <1000>;
  2287. type = "passive";
  2288. };
  2289. sensor1_crit: sensor1-crit {
  2290. temperature = <120000>;
  2291. hysteresis = <1000>;
  2292. type = "critical";
  2293. };
  2294. };
  2295. cooling-maps {
  2296. map0 {
  2297. trip = <&sensor1_passive>;
  2298. cooling-device = <&a57_0 5 5>;
  2299. };
  2300. };
  2301. };
  2302. sensor_thermal2: sensor-thermal2 {
  2303. polling-delay-passive = <250>;
  2304. polling-delay = <1000>;
  2305. thermal-sensors = <&tsc 1>;
  2306. trips {
  2307. sensor2_passive: sensor2-passive {
  2308. temperature = <95000>;
  2309. hysteresis = <1000>;
  2310. type = "passive";
  2311. };
  2312. sensor2_crit: sensor2-crit {
  2313. temperature = <120000>;
  2314. hysteresis = <1000>;
  2315. type = "critical";
  2316. };
  2317. };
  2318. cooling-maps {
  2319. map0 {
  2320. trip = <&sensor2_passive>;
  2321. cooling-device = <&a57_0 5 5>;
  2322. };
  2323. };
  2324. };
  2325. sensor_thermal3: sensor-thermal3 {
  2326. polling-delay-passive = <250>;
  2327. polling-delay = <1000>;
  2328. thermal-sensors = <&tsc 2>;
  2329. trips {
  2330. sensor3_passive: sensor3-passive {
  2331. temperature = <95000>;
  2332. hysteresis = <1000>;
  2333. type = "passive";
  2334. };
  2335. sensor3_crit: sensor3-crit {
  2336. temperature = <120000>;
  2337. hysteresis = <1000>;
  2338. type = "critical";
  2339. };
  2340. };
  2341. cooling-maps {
  2342. map0 {
  2343. trip = <&sensor3_passive>;
  2344. cooling-device = <&a57_0 5 5>;
  2345. };
  2346. };
  2347. };
  2348. };
  2349. timer {
  2350. compatible = "arm,armv8-timer";
  2351. interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
  2352. <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
  2353. <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
  2354. <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>;
  2355. };
  2356. /* External USB clocks - can be overridden by the board */
  2357. usb3s0_clk: usb3s0 {
  2358. compatible = "fixed-clock";
  2359. #clock-cells = <0>;
  2360. clock-frequency = <0>;
  2361. };
  2362. usb_extal_clk: usb_extal {
  2363. compatible = "fixed-clock";
  2364. #clock-cells = <0>;
  2365. clock-frequency = <0>;
  2366. };
  2367. };