r8a7795.dtsi 79 KB

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