r8a7790.dtsi 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the R-Car H2 (R8A77900) SoC
  4. *
  5. * Copyright (C) 2015 Renesas Electronics Corporation
  6. * Copyright (C) 2013-2014 Renesas Solutions Corp.
  7. * Copyright (C) 2014 Cogent Embedded Inc.
  8. */
  9. #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
  10. #include <dt-bindings/interrupt-controller/arm-gic.h>
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. #include <dt-bindings/power/r8a7790-sysc.h>
  13. / {
  14. compatible = "renesas,r8a7790";
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. aliases {
  18. i2c0 = &i2c0;
  19. i2c1 = &i2c1;
  20. i2c2 = &i2c2;
  21. i2c3 = &i2c3;
  22. i2c4 = &iic0;
  23. i2c5 = &iic1;
  24. i2c6 = &iic2;
  25. i2c7 = &iic3;
  26. spi0 = &qspi;
  27. spi1 = &msiof0;
  28. spi2 = &msiof1;
  29. spi3 = &msiof2;
  30. spi4 = &msiof3;
  31. vin0 = &vin0;
  32. vin1 = &vin1;
  33. vin2 = &vin2;
  34. vin3 = &vin3;
  35. };
  36. /*
  37. * The external audio clocks are configured as 0 Hz fixed frequency
  38. * clocks by default.
  39. * Boards that provide audio clocks should override them.
  40. */
  41. audio_clk_a: audio_clk_a {
  42. compatible = "fixed-clock";
  43. #clock-cells = <0>;
  44. clock-frequency = <0>;
  45. };
  46. audio_clk_b: audio_clk_b {
  47. compatible = "fixed-clock";
  48. #clock-cells = <0>;
  49. clock-frequency = <0>;
  50. };
  51. audio_clk_c: audio_clk_c {
  52. compatible = "fixed-clock";
  53. #clock-cells = <0>;
  54. clock-frequency = <0>;
  55. };
  56. /* External CAN clock */
  57. can_clk: can {
  58. compatible = "fixed-clock";
  59. #clock-cells = <0>;
  60. /* This value must be overridden by the board. */
  61. clock-frequency = <0>;
  62. };
  63. cpus {
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. cpu0: cpu@0 {
  67. device_type = "cpu";
  68. compatible = "arm,cortex-a15";
  69. reg = <0>;
  70. clock-frequency = <1300000000>;
  71. clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
  72. power-domains = <&sysc R8A7790_PD_CA15_CPU0>;
  73. enable-method = "renesas,apmu";
  74. next-level-cache = <&L2_CA15>;
  75. capacity-dmips-mhz = <1024>;
  76. voltage-tolerance = <1>; /* 1% */
  77. clock-latency = <300000>; /* 300 us */
  78. /* kHz - uV - OPPs unknown yet */
  79. operating-points = <1400000 1000000>,
  80. <1225000 1000000>,
  81. <1050000 1000000>,
  82. < 875000 1000000>,
  83. < 700000 1000000>,
  84. < 350000 1000000>;
  85. };
  86. cpu1: cpu@1 {
  87. device_type = "cpu";
  88. compatible = "arm,cortex-a15";
  89. reg = <1>;
  90. clock-frequency = <1300000000>;
  91. clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
  92. power-domains = <&sysc R8A7790_PD_CA15_CPU1>;
  93. enable-method = "renesas,apmu";
  94. next-level-cache = <&L2_CA15>;
  95. capacity-dmips-mhz = <1024>;
  96. voltage-tolerance = <1>; /* 1% */
  97. clock-latency = <300000>; /* 300 us */
  98. /* kHz - uV - OPPs unknown yet */
  99. operating-points = <1400000 1000000>,
  100. <1225000 1000000>,
  101. <1050000 1000000>,
  102. < 875000 1000000>,
  103. < 700000 1000000>,
  104. < 350000 1000000>;
  105. };
  106. cpu2: cpu@2 {
  107. device_type = "cpu";
  108. compatible = "arm,cortex-a15";
  109. reg = <2>;
  110. clock-frequency = <1300000000>;
  111. clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
  112. power-domains = <&sysc R8A7790_PD_CA15_CPU2>;
  113. enable-method = "renesas,apmu";
  114. next-level-cache = <&L2_CA15>;
  115. capacity-dmips-mhz = <1024>;
  116. voltage-tolerance = <1>; /* 1% */
  117. clock-latency = <300000>; /* 300 us */
  118. /* kHz - uV - OPPs unknown yet */
  119. operating-points = <1400000 1000000>,
  120. <1225000 1000000>,
  121. <1050000 1000000>,
  122. < 875000 1000000>,
  123. < 700000 1000000>,
  124. < 350000 1000000>;
  125. };
  126. cpu3: cpu@3 {
  127. device_type = "cpu";
  128. compatible = "arm,cortex-a15";
  129. reg = <3>;
  130. clock-frequency = <1300000000>;
  131. clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
  132. power-domains = <&sysc R8A7790_PD_CA15_CPU3>;
  133. enable-method = "renesas,apmu";
  134. next-level-cache = <&L2_CA15>;
  135. capacity-dmips-mhz = <1024>;
  136. voltage-tolerance = <1>; /* 1% */
  137. clock-latency = <300000>; /* 300 us */
  138. /* kHz - uV - OPPs unknown yet */
  139. operating-points = <1400000 1000000>,
  140. <1225000 1000000>,
  141. <1050000 1000000>,
  142. < 875000 1000000>,
  143. < 700000 1000000>,
  144. < 350000 1000000>;
  145. };
  146. cpu4: cpu@100 {
  147. device_type = "cpu";
  148. compatible = "arm,cortex-a7";
  149. reg = <0x100>;
  150. clock-frequency = <780000000>;
  151. clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
  152. power-domains = <&sysc R8A7790_PD_CA7_CPU0>;
  153. enable-method = "renesas,apmu";
  154. next-level-cache = <&L2_CA7>;
  155. capacity-dmips-mhz = <539>;
  156. };
  157. cpu5: cpu@101 {
  158. device_type = "cpu";
  159. compatible = "arm,cortex-a7";
  160. reg = <0x101>;
  161. clock-frequency = <780000000>;
  162. clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
  163. power-domains = <&sysc R8A7790_PD_CA7_CPU1>;
  164. enable-method = "renesas,apmu";
  165. next-level-cache = <&L2_CA7>;
  166. capacity-dmips-mhz = <539>;
  167. };
  168. cpu6: cpu@102 {
  169. device_type = "cpu";
  170. compatible = "arm,cortex-a7";
  171. reg = <0x102>;
  172. clock-frequency = <780000000>;
  173. clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
  174. power-domains = <&sysc R8A7790_PD_CA7_CPU2>;
  175. enable-method = "renesas,apmu";
  176. next-level-cache = <&L2_CA7>;
  177. capacity-dmips-mhz = <539>;
  178. };
  179. cpu7: cpu@103 {
  180. device_type = "cpu";
  181. compatible = "arm,cortex-a7";
  182. reg = <0x103>;
  183. clock-frequency = <780000000>;
  184. clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
  185. power-domains = <&sysc R8A7790_PD_CA7_CPU3>;
  186. enable-method = "renesas,apmu";
  187. next-level-cache = <&L2_CA7>;
  188. capacity-dmips-mhz = <539>;
  189. };
  190. L2_CA15: cache-controller-0 {
  191. compatible = "cache";
  192. power-domains = <&sysc R8A7790_PD_CA15_SCU>;
  193. cache-unified;
  194. cache-level = <2>;
  195. };
  196. L2_CA7: cache-controller-1 {
  197. compatible = "cache";
  198. power-domains = <&sysc R8A7790_PD_CA7_SCU>;
  199. cache-unified;
  200. cache-level = <2>;
  201. };
  202. };
  203. /* External root clock */
  204. extal_clk: extal {
  205. compatible = "fixed-clock";
  206. #clock-cells = <0>;
  207. /* This value must be overridden by the board. */
  208. clock-frequency = <0>;
  209. };
  210. /* External PCIe clock - can be overridden by the board */
  211. pcie_bus_clk: pcie_bus {
  212. compatible = "fixed-clock";
  213. #clock-cells = <0>;
  214. clock-frequency = <0>;
  215. };
  216. pmu-0 {
  217. compatible = "arm,cortex-a15-pmu";
  218. interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
  219. <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
  220. <&gic GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
  221. <&gic GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  222. interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
  223. };
  224. pmu-1 {
  225. compatible = "arm,cortex-a7-pmu";
  226. interrupts-extended = <&gic GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
  227. <&gic GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
  228. <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
  229. <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
  230. interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
  231. };
  232. /* External SCIF clock */
  233. scif_clk: scif {
  234. compatible = "fixed-clock";
  235. #clock-cells = <0>;
  236. /* This value must be overridden by the board. */
  237. clock-frequency = <0>;
  238. };
  239. soc {
  240. compatible = "simple-bus";
  241. interrupt-parent = <&gic>;
  242. #address-cells = <2>;
  243. #size-cells = <2>;
  244. ranges;
  245. rwdt: watchdog@e6020000 {
  246. compatible = "renesas,r8a7790-wdt",
  247. "renesas,rcar-gen2-wdt";
  248. reg = <0 0xe6020000 0 0x0c>;
  249. interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
  250. clocks = <&cpg CPG_MOD 402>;
  251. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  252. resets = <&cpg 402>;
  253. status = "disabled";
  254. };
  255. gpio0: gpio@e6050000 {
  256. compatible = "renesas,gpio-r8a7790",
  257. "renesas,rcar-gen2-gpio";
  258. reg = <0 0xe6050000 0 0x50>;
  259. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  260. #gpio-cells = <2>;
  261. gpio-controller;
  262. gpio-ranges = <&pfc 0 0 32>;
  263. #interrupt-cells = <2>;
  264. interrupt-controller;
  265. clocks = <&cpg CPG_MOD 912>;
  266. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  267. resets = <&cpg 912>;
  268. };
  269. gpio1: gpio@e6051000 {
  270. compatible = "renesas,gpio-r8a7790",
  271. "renesas,rcar-gen2-gpio";
  272. reg = <0 0xe6051000 0 0x50>;
  273. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  274. #gpio-cells = <2>;
  275. gpio-controller;
  276. gpio-ranges = <&pfc 0 32 30>;
  277. #interrupt-cells = <2>;
  278. interrupt-controller;
  279. clocks = <&cpg CPG_MOD 911>;
  280. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  281. resets = <&cpg 911>;
  282. };
  283. gpio2: gpio@e6052000 {
  284. compatible = "renesas,gpio-r8a7790",
  285. "renesas,rcar-gen2-gpio";
  286. reg = <0 0xe6052000 0 0x50>;
  287. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  288. #gpio-cells = <2>;
  289. gpio-controller;
  290. gpio-ranges = <&pfc 0 64 30>;
  291. #interrupt-cells = <2>;
  292. interrupt-controller;
  293. clocks = <&cpg CPG_MOD 910>;
  294. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  295. resets = <&cpg 910>;
  296. };
  297. gpio3: gpio@e6053000 {
  298. compatible = "renesas,gpio-r8a7790",
  299. "renesas,rcar-gen2-gpio";
  300. reg = <0 0xe6053000 0 0x50>;
  301. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  302. #gpio-cells = <2>;
  303. gpio-controller;
  304. gpio-ranges = <&pfc 0 96 32>;
  305. #interrupt-cells = <2>;
  306. interrupt-controller;
  307. clocks = <&cpg CPG_MOD 909>;
  308. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  309. resets = <&cpg 909>;
  310. };
  311. gpio4: gpio@e6054000 {
  312. compatible = "renesas,gpio-r8a7790",
  313. "renesas,rcar-gen2-gpio";
  314. reg = <0 0xe6054000 0 0x50>;
  315. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  316. #gpio-cells = <2>;
  317. gpio-controller;
  318. gpio-ranges = <&pfc 0 128 32>;
  319. #interrupt-cells = <2>;
  320. interrupt-controller;
  321. clocks = <&cpg CPG_MOD 908>;
  322. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  323. resets = <&cpg 908>;
  324. };
  325. gpio5: gpio@e6055000 {
  326. compatible = "renesas,gpio-r8a7790",
  327. "renesas,rcar-gen2-gpio";
  328. reg = <0 0xe6055000 0 0x50>;
  329. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  330. #gpio-cells = <2>;
  331. gpio-controller;
  332. gpio-ranges = <&pfc 0 160 32>;
  333. #interrupt-cells = <2>;
  334. interrupt-controller;
  335. clocks = <&cpg CPG_MOD 907>;
  336. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  337. resets = <&cpg 907>;
  338. };
  339. pfc: pinctrl@e6060000 {
  340. compatible = "renesas,pfc-r8a7790";
  341. reg = <0 0xe6060000 0 0x250>;
  342. };
  343. cpg: clock-controller@e6150000 {
  344. compatible = "renesas,r8a7790-cpg-mssr";
  345. reg = <0 0xe6150000 0 0x1000>;
  346. clocks = <&extal_clk>, <&usb_extal_clk>;
  347. clock-names = "extal", "usb_extal";
  348. #clock-cells = <2>;
  349. #power-domain-cells = <0>;
  350. #reset-cells = <1>;
  351. };
  352. apmu@e6151000 {
  353. compatible = "renesas,r8a7790-apmu", "renesas,apmu";
  354. reg = <0 0xe6151000 0 0x188>;
  355. cpus = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
  356. };
  357. apmu@e6152000 {
  358. compatible = "renesas,r8a7790-apmu", "renesas,apmu";
  359. reg = <0 0xe6152000 0 0x188>;
  360. cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
  361. };
  362. rst: reset-controller@e6160000 {
  363. compatible = "renesas,r8a7790-rst";
  364. reg = <0 0xe6160000 0 0x0100>;
  365. };
  366. sysc: system-controller@e6180000 {
  367. compatible = "renesas,r8a7790-sysc";
  368. reg = <0 0xe6180000 0 0x0200>;
  369. #power-domain-cells = <1>;
  370. };
  371. irqc0: interrupt-controller@e61c0000 {
  372. compatible = "renesas,irqc-r8a7790", "renesas,irqc";
  373. #interrupt-cells = <2>;
  374. interrupt-controller;
  375. reg = <0 0xe61c0000 0 0x200>;
  376. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
  377. <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
  378. <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
  379. <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  380. clocks = <&cpg CPG_MOD 407>;
  381. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  382. resets = <&cpg 407>;
  383. };
  384. thermal: thermal@e61f0000 {
  385. compatible = "renesas,thermal-r8a7790",
  386. "renesas,rcar-gen2-thermal",
  387. "renesas,rcar-thermal";
  388. reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>;
  389. interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  390. clocks = <&cpg CPG_MOD 522>;
  391. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  392. resets = <&cpg 522>;
  393. #thermal-sensor-cells = <0>;
  394. };
  395. ipmmu_sy0: iommu@e6280000 {
  396. compatible = "renesas,ipmmu-r8a7790",
  397. "renesas,ipmmu-vmsa";
  398. reg = <0 0xe6280000 0 0x1000>;
  399. interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
  400. <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
  401. #iommu-cells = <1>;
  402. status = "disabled";
  403. };
  404. ipmmu_sy1: iommu@e6290000 {
  405. compatible = "renesas,ipmmu-r8a7790",
  406. "renesas,ipmmu-vmsa";
  407. reg = <0 0xe6290000 0 0x1000>;
  408. interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
  409. #iommu-cells = <1>;
  410. status = "disabled";
  411. };
  412. ipmmu_ds: iommu@e6740000 {
  413. compatible = "renesas,ipmmu-r8a7790",
  414. "renesas,ipmmu-vmsa";
  415. reg = <0 0xe6740000 0 0x1000>;
  416. interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
  417. <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
  418. #iommu-cells = <1>;
  419. status = "disabled";
  420. };
  421. ipmmu_mp: iommu@ec680000 {
  422. compatible = "renesas,ipmmu-r8a7790",
  423. "renesas,ipmmu-vmsa";
  424. reg = <0 0xec680000 0 0x1000>;
  425. interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
  426. #iommu-cells = <1>;
  427. status = "disabled";
  428. };
  429. ipmmu_mx: iommu@fe951000 {
  430. compatible = "renesas,ipmmu-r8a7790",
  431. "renesas,ipmmu-vmsa";
  432. reg = <0 0xfe951000 0 0x1000>;
  433. interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
  434. <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
  435. #iommu-cells = <1>;
  436. status = "disabled";
  437. };
  438. ipmmu_rt: iommu@ffc80000 {
  439. compatible = "renesas,ipmmu-r8a7790",
  440. "renesas,ipmmu-vmsa";
  441. reg = <0 0xffc80000 0 0x1000>;
  442. interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
  443. #iommu-cells = <1>;
  444. status = "disabled";
  445. };
  446. icram0: sram@e63a0000 {
  447. compatible = "mmio-sram";
  448. reg = <0 0xe63a0000 0 0x12000>;
  449. #address-cells = <1>;
  450. #size-cells = <1>;
  451. ranges = <0 0 0xe63a0000 0x12000>;
  452. };
  453. icram1: sram@e63c0000 {
  454. compatible = "mmio-sram";
  455. reg = <0 0xe63c0000 0 0x1000>;
  456. #address-cells = <1>;
  457. #size-cells = <1>;
  458. ranges = <0 0 0xe63c0000 0x1000>;
  459. smp-sram@0 {
  460. compatible = "renesas,smp-sram";
  461. reg = <0 0x100>;
  462. };
  463. };
  464. i2c0: i2c@e6508000 {
  465. #address-cells = <1>;
  466. #size-cells = <0>;
  467. compatible = "renesas,i2c-r8a7790",
  468. "renesas,rcar-gen2-i2c";
  469. reg = <0 0xe6508000 0 0x40>;
  470. interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
  471. clocks = <&cpg CPG_MOD 931>;
  472. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  473. resets = <&cpg 931>;
  474. i2c-scl-internal-delay-ns = <110>;
  475. status = "disabled";
  476. };
  477. i2c1: i2c@e6518000 {
  478. #address-cells = <1>;
  479. #size-cells = <0>;
  480. compatible = "renesas,i2c-r8a7790",
  481. "renesas,rcar-gen2-i2c";
  482. reg = <0 0xe6518000 0 0x40>;
  483. interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
  484. clocks = <&cpg CPG_MOD 930>;
  485. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  486. resets = <&cpg 930>;
  487. i2c-scl-internal-delay-ns = <6>;
  488. status = "disabled";
  489. };
  490. i2c2: i2c@e6530000 {
  491. #address-cells = <1>;
  492. #size-cells = <0>;
  493. compatible = "renesas,i2c-r8a7790",
  494. "renesas,rcar-gen2-i2c";
  495. reg = <0 0xe6530000 0 0x40>;
  496. interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
  497. clocks = <&cpg CPG_MOD 929>;
  498. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  499. resets = <&cpg 929>;
  500. i2c-scl-internal-delay-ns = <6>;
  501. status = "disabled";
  502. };
  503. i2c3: i2c@e6540000 {
  504. #address-cells = <1>;
  505. #size-cells = <0>;
  506. compatible = "renesas,i2c-r8a7790",
  507. "renesas,rcar-gen2-i2c";
  508. reg = <0 0xe6540000 0 0x40>;
  509. interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
  510. clocks = <&cpg CPG_MOD 928>;
  511. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  512. resets = <&cpg 928>;
  513. i2c-scl-internal-delay-ns = <110>;
  514. status = "disabled";
  515. };
  516. iic0: i2c@e6500000 {
  517. #address-cells = <1>;
  518. #size-cells = <0>;
  519. compatible = "renesas,iic-r8a7790",
  520. "renesas,rcar-gen2-iic",
  521. "renesas,rmobile-iic";
  522. reg = <0 0xe6500000 0 0x425>;
  523. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
  524. clocks = <&cpg CPG_MOD 318>;
  525. dmas = <&dmac0 0x61>, <&dmac0 0x62>,
  526. <&dmac1 0x61>, <&dmac1 0x62>;
  527. dma-names = "tx", "rx", "tx", "rx";
  528. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  529. resets = <&cpg 318>;
  530. status = "disabled";
  531. };
  532. iic1: i2c@e6510000 {
  533. #address-cells = <1>;
  534. #size-cells = <0>;
  535. compatible = "renesas,iic-r8a7790",
  536. "renesas,rcar-gen2-iic",
  537. "renesas,rmobile-iic";
  538. reg = <0 0xe6510000 0 0x425>;
  539. interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
  540. clocks = <&cpg CPG_MOD 323>;
  541. dmas = <&dmac0 0x65>, <&dmac0 0x66>,
  542. <&dmac1 0x65>, <&dmac1 0x66>;
  543. dma-names = "tx", "rx", "tx", "rx";
  544. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  545. resets = <&cpg 323>;
  546. status = "disabled";
  547. };
  548. iic2: i2c@e6520000 {
  549. #address-cells = <1>;
  550. #size-cells = <0>;
  551. compatible = "renesas,iic-r8a7790",
  552. "renesas,rcar-gen2-iic",
  553. "renesas,rmobile-iic";
  554. reg = <0 0xe6520000 0 0x425>;
  555. interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
  556. clocks = <&cpg CPG_MOD 300>;
  557. dmas = <&dmac0 0x69>, <&dmac0 0x6a>,
  558. <&dmac1 0x69>, <&dmac1 0x6a>;
  559. dma-names = "tx", "rx", "tx", "rx";
  560. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  561. resets = <&cpg 300>;
  562. status = "disabled";
  563. };
  564. iic3: i2c@e60b0000 {
  565. #address-cells = <1>;
  566. #size-cells = <0>;
  567. compatible = "renesas,iic-r8a7790",
  568. "renesas,rcar-gen2-iic",
  569. "renesas,rmobile-iic";
  570. reg = <0 0xe60b0000 0 0x425>;
  571. interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
  572. clocks = <&cpg CPG_MOD 926>;
  573. dmas = <&dmac0 0x77>, <&dmac0 0x78>,
  574. <&dmac1 0x77>, <&dmac1 0x78>;
  575. dma-names = "tx", "rx", "tx", "rx";
  576. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  577. resets = <&cpg 926>;
  578. status = "disabled";
  579. };
  580. hsusb: usb@e6590000 {
  581. compatible = "renesas,usbhs-r8a7790",
  582. "renesas,rcar-gen2-usbhs";
  583. reg = <0 0xe6590000 0 0x100>;
  584. interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
  585. clocks = <&cpg CPG_MOD 704>;
  586. dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
  587. <&usb_dmac1 0>, <&usb_dmac1 1>;
  588. dma-names = "ch0", "ch1", "ch2", "ch3";
  589. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  590. resets = <&cpg 704>;
  591. renesas,buswait = <4>;
  592. phys = <&usb0 1>;
  593. phy-names = "usb";
  594. status = "disabled";
  595. };
  596. usbphy: usb-phy-controller@e6590100 {
  597. compatible = "renesas,usb-phy-r8a7790",
  598. "renesas,rcar-gen2-usb-phy";
  599. reg = <0 0xe6590100 0 0x100>;
  600. #address-cells = <1>;
  601. #size-cells = <0>;
  602. clocks = <&cpg CPG_MOD 704>;
  603. clock-names = "usbhs";
  604. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  605. resets = <&cpg 704>;
  606. status = "disabled";
  607. usb0: usb-phy@0 {
  608. reg = <0>;
  609. #phy-cells = <1>;
  610. };
  611. usb2: usb-phy@2 {
  612. reg = <2>;
  613. #phy-cells = <1>;
  614. };
  615. };
  616. usb_dmac0: dma-controller@e65a0000 {
  617. compatible = "renesas,r8a7790-usb-dmac",
  618. "renesas,usb-dmac";
  619. reg = <0 0xe65a0000 0 0x100>;
  620. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  621. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  622. interrupt-names = "ch0", "ch1";
  623. clocks = <&cpg CPG_MOD 330>;
  624. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  625. resets = <&cpg 330>;
  626. #dma-cells = <1>;
  627. dma-channels = <2>;
  628. };
  629. usb_dmac1: dma-controller@e65b0000 {
  630. compatible = "renesas,r8a7790-usb-dmac",
  631. "renesas,usb-dmac";
  632. reg = <0 0xe65b0000 0 0x100>;
  633. interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  634. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
  635. interrupt-names = "ch0", "ch1";
  636. clocks = <&cpg CPG_MOD 331>;
  637. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  638. resets = <&cpg 331>;
  639. #dma-cells = <1>;
  640. dma-channels = <2>;
  641. };
  642. dmac0: dma-controller@e6700000 {
  643. compatible = "renesas,dmac-r8a7790",
  644. "renesas,rcar-dmac";
  645. reg = <0 0xe6700000 0 0x20000>;
  646. interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
  647. <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
  648. <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
  649. <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
  650. <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
  651. <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
  652. <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
  653. <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
  654. <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
  655. <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
  656. <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
  657. <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
  658. <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
  659. <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
  660. <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
  661. <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
  662. interrupt-names = "error",
  663. "ch0", "ch1", "ch2", "ch3",
  664. "ch4", "ch5", "ch6", "ch7",
  665. "ch8", "ch9", "ch10", "ch11",
  666. "ch12", "ch13", "ch14";
  667. clocks = <&cpg CPG_MOD 219>;
  668. clock-names = "fck";
  669. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  670. resets = <&cpg 219>;
  671. #dma-cells = <1>;
  672. dma-channels = <15>;
  673. };
  674. dmac1: dma-controller@e6720000 {
  675. compatible = "renesas,dmac-r8a7790",
  676. "renesas,rcar-dmac";
  677. reg = <0 0xe6720000 0 0x20000>;
  678. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
  679. <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
  680. <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
  681. <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
  682. <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
  683. <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
  684. <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
  685. <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
  686. <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
  687. <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
  688. <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
  689. <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
  690. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  691. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  692. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  693. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
  694. interrupt-names = "error",
  695. "ch0", "ch1", "ch2", "ch3",
  696. "ch4", "ch5", "ch6", "ch7",
  697. "ch8", "ch9", "ch10", "ch11",
  698. "ch12", "ch13", "ch14";
  699. clocks = <&cpg CPG_MOD 218>;
  700. clock-names = "fck";
  701. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  702. resets = <&cpg 218>;
  703. #dma-cells = <1>;
  704. dma-channels = <15>;
  705. };
  706. avb: ethernet@e6800000 {
  707. compatible = "renesas,etheravb-r8a7790",
  708. "renesas,etheravb-rcar-gen2";
  709. reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
  710. interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
  711. clocks = <&cpg CPG_MOD 812>;
  712. clock-names = "fck";
  713. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  714. resets = <&cpg 812>;
  715. #address-cells = <1>;
  716. #size-cells = <0>;
  717. status = "disabled";
  718. };
  719. qspi: spi@e6b10000 {
  720. compatible = "renesas,qspi-r8a7790", "renesas,qspi";
  721. reg = <0 0xe6b10000 0 0x2c>;
  722. interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
  723. clocks = <&cpg CPG_MOD 917>;
  724. dmas = <&dmac0 0x17>, <&dmac0 0x18>,
  725. <&dmac1 0x17>, <&dmac1 0x18>;
  726. dma-names = "tx", "rx", "tx", "rx";
  727. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  728. resets = <&cpg 917>;
  729. num-cs = <1>;
  730. #address-cells = <1>;
  731. #size-cells = <0>;
  732. status = "disabled";
  733. };
  734. scifa0: serial@e6c40000 {
  735. compatible = "renesas,scifa-r8a7790",
  736. "renesas,rcar-gen2-scifa", "renesas,scifa";
  737. reg = <0 0xe6c40000 0 64>;
  738. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  739. clocks = <&cpg CPG_MOD 204>;
  740. clock-names = "fck";
  741. dmas = <&dmac0 0x21>, <&dmac0 0x22>,
  742. <&dmac1 0x21>, <&dmac1 0x22>;
  743. dma-names = "tx", "rx", "tx", "rx";
  744. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  745. resets = <&cpg 204>;
  746. status = "disabled";
  747. };
  748. scifa1: serial@e6c50000 {
  749. compatible = "renesas,scifa-r8a7790",
  750. "renesas,rcar-gen2-scifa", "renesas,scifa";
  751. reg = <0 0xe6c50000 0 64>;
  752. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
  753. clocks = <&cpg CPG_MOD 203>;
  754. clock-names = "fck";
  755. dmas = <&dmac0 0x25>, <&dmac0 0x26>,
  756. <&dmac1 0x25>, <&dmac1 0x26>;
  757. dma-names = "tx", "rx", "tx", "rx";
  758. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  759. resets = <&cpg 203>;
  760. status = "disabled";
  761. };
  762. scifa2: serial@e6c60000 {
  763. compatible = "renesas,scifa-r8a7790",
  764. "renesas,rcar-gen2-scifa", "renesas,scifa";
  765. reg = <0 0xe6c60000 0 64>;
  766. interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
  767. clocks = <&cpg CPG_MOD 202>;
  768. clock-names = "fck";
  769. dmas = <&dmac0 0x27>, <&dmac0 0x28>,
  770. <&dmac1 0x27>, <&dmac1 0x28>;
  771. dma-names = "tx", "rx", "tx", "rx";
  772. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  773. resets = <&cpg 202>;
  774. status = "disabled";
  775. };
  776. scifb0: serial@e6c20000 {
  777. compatible = "renesas,scifb-r8a7790",
  778. "renesas,rcar-gen2-scifb", "renesas,scifb";
  779. reg = <0 0xe6c20000 0 0x100>;
  780. interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
  781. clocks = <&cpg CPG_MOD 206>;
  782. clock-names = "fck";
  783. dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
  784. <&dmac1 0x3d>, <&dmac1 0x3e>;
  785. dma-names = "tx", "rx", "tx", "rx";
  786. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  787. resets = <&cpg 206>;
  788. status = "disabled";
  789. };
  790. scifb1: serial@e6c30000 {
  791. compatible = "renesas,scifb-r8a7790",
  792. "renesas,rcar-gen2-scifb", "renesas,scifb";
  793. reg = <0 0xe6c30000 0 0x100>;
  794. interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
  795. clocks = <&cpg CPG_MOD 207>;
  796. clock-names = "fck";
  797. dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
  798. <&dmac1 0x19>, <&dmac1 0x1a>;
  799. dma-names = "tx", "rx", "tx", "rx";
  800. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  801. resets = <&cpg 207>;
  802. status = "disabled";
  803. };
  804. scifb2: serial@e6ce0000 {
  805. compatible = "renesas,scifb-r8a7790",
  806. "renesas,rcar-gen2-scifb", "renesas,scifb";
  807. reg = <0 0xe6ce0000 0 0x100>;
  808. interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
  809. clocks = <&cpg CPG_MOD 216>;
  810. clock-names = "fck";
  811. dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
  812. <&dmac1 0x1d>, <&dmac1 0x1e>;
  813. dma-names = "tx", "rx", "tx", "rx";
  814. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  815. resets = <&cpg 216>;
  816. status = "disabled";
  817. };
  818. scif0: serial@e6e60000 {
  819. compatible = "renesas,scif-r8a7790",
  820. "renesas,rcar-gen2-scif",
  821. "renesas,scif";
  822. reg = <0 0xe6e60000 0 64>;
  823. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
  824. clocks = <&cpg CPG_MOD 721>,
  825. <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
  826. clock-names = "fck", "brg_int", "scif_clk";
  827. dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
  828. <&dmac1 0x29>, <&dmac1 0x2a>;
  829. dma-names = "tx", "rx", "tx", "rx";
  830. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  831. resets = <&cpg 721>;
  832. status = "disabled";
  833. };
  834. scif1: serial@e6e68000 {
  835. compatible = "renesas,scif-r8a7790",
  836. "renesas,rcar-gen2-scif",
  837. "renesas,scif";
  838. reg = <0 0xe6e68000 0 64>;
  839. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  840. clocks = <&cpg CPG_MOD 720>,
  841. <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
  842. clock-names = "fck", "brg_int", "scif_clk";
  843. dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
  844. <&dmac1 0x2d>, <&dmac1 0x2e>;
  845. dma-names = "tx", "rx", "tx", "rx";
  846. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  847. resets = <&cpg 720>;
  848. status = "disabled";
  849. };
  850. scif2: serial@e6e56000 {
  851. compatible = "renesas,scif-r8a7790",
  852. "renesas,rcar-gen2-scif",
  853. "renesas,scif";
  854. reg = <0 0xe6e56000 0 64>;
  855. interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
  856. clocks = <&cpg CPG_MOD 310>,
  857. <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
  858. clock-names = "fck", "brg_int", "scif_clk";
  859. dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
  860. <&dmac1 0x2b>, <&dmac1 0x2c>;
  861. dma-names = "tx", "rx", "tx", "rx";
  862. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  863. resets = <&cpg 310>;
  864. status = "disabled";
  865. };
  866. hscif0: serial@e62c0000 {
  867. compatible = "renesas,hscif-r8a7790",
  868. "renesas,rcar-gen2-hscif", "renesas,hscif";
  869. reg = <0 0xe62c0000 0 96>;
  870. interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  871. clocks = <&cpg CPG_MOD 717>,
  872. <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
  873. clock-names = "fck", "brg_int", "scif_clk";
  874. dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
  875. <&dmac1 0x39>, <&dmac1 0x3a>;
  876. dma-names = "tx", "rx", "tx", "rx";
  877. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  878. resets = <&cpg 717>;
  879. status = "disabled";
  880. };
  881. hscif1: serial@e62c8000 {
  882. compatible = "renesas,hscif-r8a7790",
  883. "renesas,rcar-gen2-hscif", "renesas,hscif";
  884. reg = <0 0xe62c8000 0 96>;
  885. interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
  886. clocks = <&cpg CPG_MOD 716>,
  887. <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
  888. clock-names = "fck", "brg_int", "scif_clk";
  889. dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
  890. <&dmac1 0x4d>, <&dmac1 0x4e>;
  891. dma-names = "tx", "rx", "tx", "rx";
  892. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  893. resets = <&cpg 716>;
  894. status = "disabled";
  895. };
  896. msiof0: spi@e6e20000 {
  897. compatible = "renesas,msiof-r8a7790",
  898. "renesas,rcar-gen2-msiof";
  899. reg = <0 0xe6e20000 0 0x0064>;
  900. interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
  901. clocks = <&cpg CPG_MOD 0>;
  902. dmas = <&dmac0 0x51>, <&dmac0 0x52>,
  903. <&dmac1 0x51>, <&dmac1 0x52>;
  904. dma-names = "tx", "rx", "tx", "rx";
  905. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  906. resets = <&cpg 0>;
  907. #address-cells = <1>;
  908. #size-cells = <0>;
  909. status = "disabled";
  910. };
  911. msiof1: spi@e6e10000 {
  912. compatible = "renesas,msiof-r8a7790",
  913. "renesas,rcar-gen2-msiof";
  914. reg = <0 0xe6e10000 0 0x0064>;
  915. interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
  916. clocks = <&cpg CPG_MOD 208>;
  917. dmas = <&dmac0 0x55>, <&dmac0 0x56>,
  918. <&dmac1 0x55>, <&dmac1 0x56>;
  919. dma-names = "tx", "rx", "tx", "rx";
  920. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  921. resets = <&cpg 208>;
  922. #address-cells = <1>;
  923. #size-cells = <0>;
  924. status = "disabled";
  925. };
  926. msiof2: spi@e6e00000 {
  927. compatible = "renesas,msiof-r8a7790",
  928. "renesas,rcar-gen2-msiof";
  929. reg = <0 0xe6e00000 0 0x0064>;
  930. interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
  931. clocks = <&cpg CPG_MOD 205>;
  932. dmas = <&dmac0 0x41>, <&dmac0 0x42>,
  933. <&dmac1 0x41>, <&dmac1 0x42>;
  934. dma-names = "tx", "rx", "tx", "rx";
  935. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  936. resets = <&cpg 205>;
  937. #address-cells = <1>;
  938. #size-cells = <0>;
  939. status = "disabled";
  940. };
  941. msiof3: spi@e6c90000 {
  942. compatible = "renesas,msiof-r8a7790",
  943. "renesas,rcar-gen2-msiof";
  944. reg = <0 0xe6c90000 0 0x0064>;
  945. interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
  946. clocks = <&cpg CPG_MOD 215>;
  947. dmas = <&dmac0 0x45>, <&dmac0 0x46>,
  948. <&dmac1 0x45>, <&dmac1 0x46>;
  949. dma-names = "tx", "rx", "tx", "rx";
  950. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  951. resets = <&cpg 215>;
  952. #address-cells = <1>;
  953. #size-cells = <0>;
  954. status = "disabled";
  955. };
  956. can0: can@e6e80000 {
  957. compatible = "renesas,can-r8a7790",
  958. "renesas,rcar-gen2-can";
  959. reg = <0 0xe6e80000 0 0x1000>;
  960. interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
  961. clocks = <&cpg CPG_MOD 916>,
  962. <&cpg CPG_CORE R8A7790_CLK_RCAN>, <&can_clk>;
  963. clock-names = "clkp1", "clkp2", "can_clk";
  964. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  965. resets = <&cpg 916>;
  966. status = "disabled";
  967. };
  968. can1: can@e6e88000 {
  969. compatible = "renesas,can-r8a7790",
  970. "renesas,rcar-gen2-can";
  971. reg = <0 0xe6e88000 0 0x1000>;
  972. interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
  973. clocks = <&cpg CPG_MOD 915>,
  974. <&cpg CPG_CORE R8A7790_CLK_RCAN>, <&can_clk>;
  975. clock-names = "clkp1", "clkp2", "can_clk";
  976. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  977. resets = <&cpg 915>;
  978. status = "disabled";
  979. };
  980. vin0: video@e6ef0000 {
  981. compatible = "renesas,vin-r8a7790",
  982. "renesas,rcar-gen2-vin";
  983. reg = <0 0xe6ef0000 0 0x1000>;
  984. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  985. clocks = <&cpg CPG_MOD 811>;
  986. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  987. resets = <&cpg 811>;
  988. status = "disabled";
  989. };
  990. vin1: video@e6ef1000 {
  991. compatible = "renesas,vin-r8a7790",
  992. "renesas,rcar-gen2-vin";
  993. reg = <0 0xe6ef1000 0 0x1000>;
  994. interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
  995. clocks = <&cpg CPG_MOD 810>;
  996. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  997. resets = <&cpg 810>;
  998. status = "disabled";
  999. };
  1000. vin2: video@e6ef2000 {
  1001. compatible = "renesas,vin-r8a7790",
  1002. "renesas,rcar-gen2-vin";
  1003. reg = <0 0xe6ef2000 0 0x1000>;
  1004. interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
  1005. clocks = <&cpg CPG_MOD 809>;
  1006. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1007. resets = <&cpg 809>;
  1008. status = "disabled";
  1009. };
  1010. vin3: video@e6ef3000 {
  1011. compatible = "renesas,vin-r8a7790",
  1012. "renesas,rcar-gen2-vin";
  1013. reg = <0 0xe6ef3000 0 0x1000>;
  1014. interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
  1015. clocks = <&cpg CPG_MOD 808>;
  1016. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1017. resets = <&cpg 808>;
  1018. status = "disabled";
  1019. };
  1020. rcar_sound: sound@ec500000 {
  1021. /*
  1022. * #sound-dai-cells is required
  1023. *
  1024. * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
  1025. * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
  1026. */
  1027. compatible = "renesas,rcar_sound-r8a7790",
  1028. "renesas,rcar_sound-gen2";
  1029. reg = <0 0xec500000 0 0x1000>, /* SCU */
  1030. <0 0xec5a0000 0 0x100>, /* ADG */
  1031. <0 0xec540000 0 0x1000>, /* SSIU */
  1032. <0 0xec541000 0 0x280>, /* SSI */
  1033. <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
  1034. reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
  1035. clocks = <&cpg CPG_MOD 1005>,
  1036. <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
  1037. <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
  1038. <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
  1039. <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
  1040. <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
  1041. <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
  1042. <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
  1043. <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
  1044. <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
  1045. <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
  1046. <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
  1047. <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
  1048. <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
  1049. <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
  1050. <&cpg CPG_CORE R8A7790_CLK_M2>;
  1051. clock-names = "ssi-all",
  1052. "ssi.9", "ssi.8", "ssi.7", "ssi.6",
  1053. "ssi.5", "ssi.4", "ssi.3", "ssi.2",
  1054. "ssi.1", "ssi.0",
  1055. "src.9", "src.8", "src.7", "src.6",
  1056. "src.5", "src.4", "src.3", "src.2",
  1057. "src.1", "src.0",
  1058. "ctu.0", "ctu.1",
  1059. "mix.0", "mix.1",
  1060. "dvc.0", "dvc.1",
  1061. "clk_a", "clk_b", "clk_c", "clk_i";
  1062. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1063. resets = <&cpg 1005>,
  1064. <&cpg 1006>, <&cpg 1007>,
  1065. <&cpg 1008>, <&cpg 1009>,
  1066. <&cpg 1010>, <&cpg 1011>,
  1067. <&cpg 1012>, <&cpg 1013>,
  1068. <&cpg 1014>, <&cpg 1015>;
  1069. reset-names = "ssi-all",
  1070. "ssi.9", "ssi.8", "ssi.7", "ssi.6",
  1071. "ssi.5", "ssi.4", "ssi.3", "ssi.2",
  1072. "ssi.1", "ssi.0";
  1073. status = "disabled";
  1074. rcar_sound,dvc {
  1075. dvc0: dvc-0 {
  1076. dmas = <&audma1 0xbc>;
  1077. dma-names = "tx";
  1078. };
  1079. dvc1: dvc-1 {
  1080. dmas = <&audma1 0xbe>;
  1081. dma-names = "tx";
  1082. };
  1083. };
  1084. rcar_sound,mix {
  1085. mix0: mix-0 { };
  1086. mix1: mix-1 { };
  1087. };
  1088. rcar_sound,ctu {
  1089. ctu00: ctu-0 { };
  1090. ctu01: ctu-1 { };
  1091. ctu02: ctu-2 { };
  1092. ctu03: ctu-3 { };
  1093. ctu10: ctu-4 { };
  1094. ctu11: ctu-5 { };
  1095. ctu12: ctu-6 { };
  1096. ctu13: ctu-7 { };
  1097. };
  1098. rcar_sound,src {
  1099. src0: src-0 {
  1100. interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
  1101. dmas = <&audma0 0x85>, <&audma1 0x9a>;
  1102. dma-names = "rx", "tx";
  1103. };
  1104. src1: src-1 {
  1105. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1106. dmas = <&audma0 0x87>, <&audma1 0x9c>;
  1107. dma-names = "rx", "tx";
  1108. };
  1109. src2: src-2 {
  1110. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1111. dmas = <&audma0 0x89>, <&audma1 0x9e>;
  1112. dma-names = "rx", "tx";
  1113. };
  1114. src3: src-3 {
  1115. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1116. dmas = <&audma0 0x8b>, <&audma1 0xa0>;
  1117. dma-names = "rx", "tx";
  1118. };
  1119. src4: src-4 {
  1120. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1121. dmas = <&audma0 0x8d>, <&audma1 0xb0>;
  1122. dma-names = "rx", "tx";
  1123. };
  1124. src5: src-5 {
  1125. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1126. dmas = <&audma0 0x8f>, <&audma1 0xb2>;
  1127. dma-names = "rx", "tx";
  1128. };
  1129. src6: src-6 {
  1130. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1131. dmas = <&audma0 0x91>, <&audma1 0xb4>;
  1132. dma-names = "rx", "tx";
  1133. };
  1134. src7: src-7 {
  1135. interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
  1136. dmas = <&audma0 0x93>, <&audma1 0xb6>;
  1137. dma-names = "rx", "tx";
  1138. };
  1139. src8: src-8 {
  1140. interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  1141. dmas = <&audma0 0x95>, <&audma1 0xb8>;
  1142. dma-names = "rx", "tx";
  1143. };
  1144. src9: src-9 {
  1145. interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
  1146. dmas = <&audma0 0x97>, <&audma1 0xba>;
  1147. dma-names = "rx", "tx";
  1148. };
  1149. };
  1150. rcar_sound,ssi {
  1151. ssi0: ssi-0 {
  1152. interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
  1153. dmas = <&audma0 0x01>, <&audma1 0x02>,
  1154. <&audma0 0x15>, <&audma1 0x16>;
  1155. dma-names = "rx", "tx", "rxu", "txu";
  1156. };
  1157. ssi1: ssi-1 {
  1158. interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
  1159. dmas = <&audma0 0x03>, <&audma1 0x04>,
  1160. <&audma0 0x49>, <&audma1 0x4a>;
  1161. dma-names = "rx", "tx", "rxu", "txu";
  1162. };
  1163. ssi2: ssi-2 {
  1164. interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
  1165. dmas = <&audma0 0x05>, <&audma1 0x06>,
  1166. <&audma0 0x63>, <&audma1 0x64>;
  1167. dma-names = "rx", "tx", "rxu", "txu";
  1168. };
  1169. ssi3: ssi-3 {
  1170. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  1171. dmas = <&audma0 0x07>, <&audma1 0x08>,
  1172. <&audma0 0x6f>, <&audma1 0x70>;
  1173. dma-names = "rx", "tx", "rxu", "txu";
  1174. };
  1175. ssi4: ssi-4 {
  1176. interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
  1177. dmas = <&audma0 0x09>, <&audma1 0x0a>,
  1178. <&audma0 0x71>, <&audma1 0x72>;
  1179. dma-names = "rx", "tx", "rxu", "txu";
  1180. };
  1181. ssi5: ssi-5 {
  1182. interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
  1183. dmas = <&audma0 0x0b>, <&audma1 0x0c>,
  1184. <&audma0 0x73>, <&audma1 0x74>;
  1185. dma-names = "rx", "tx", "rxu", "txu";
  1186. };
  1187. ssi6: ssi-6 {
  1188. interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
  1189. dmas = <&audma0 0x0d>, <&audma1 0x0e>,
  1190. <&audma0 0x75>, <&audma1 0x76>;
  1191. dma-names = "rx", "tx", "rxu", "txu";
  1192. };
  1193. ssi7: ssi-7 {
  1194. interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
  1195. dmas = <&audma0 0x0f>, <&audma1 0x10>,
  1196. <&audma0 0x79>, <&audma1 0x7a>;
  1197. dma-names = "rx", "tx", "rxu", "txu";
  1198. };
  1199. ssi8: ssi-8 {
  1200. interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
  1201. dmas = <&audma0 0x11>, <&audma1 0x12>,
  1202. <&audma0 0x7b>, <&audma1 0x7c>;
  1203. dma-names = "rx", "tx", "rxu", "txu";
  1204. };
  1205. ssi9: ssi-9 {
  1206. interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
  1207. dmas = <&audma0 0x13>, <&audma1 0x14>,
  1208. <&audma0 0x7d>, <&audma1 0x7e>;
  1209. dma-names = "rx", "tx", "rxu", "txu";
  1210. };
  1211. };
  1212. };
  1213. audma0: dma-controller@ec700000 {
  1214. compatible = "renesas,dmac-r8a7790",
  1215. "renesas,rcar-dmac";
  1216. reg = <0 0xec700000 0 0x10000>;
  1217. interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>,
  1218. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  1219. <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
  1220. <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
  1221. <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
  1222. <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  1223. <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
  1224. <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
  1225. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
  1226. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
  1227. <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
  1228. <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
  1229. <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
  1230. <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
  1231. interrupt-names = "error",
  1232. "ch0", "ch1", "ch2", "ch3",
  1233. "ch4", "ch5", "ch6", "ch7",
  1234. "ch8", "ch9", "ch10", "ch11",
  1235. "ch12";
  1236. clocks = <&cpg CPG_MOD 502>;
  1237. clock-names = "fck";
  1238. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1239. resets = <&cpg 502>;
  1240. #dma-cells = <1>;
  1241. dma-channels = <13>;
  1242. };
  1243. audma1: dma-controller@ec720000 {
  1244. compatible = "renesas,dmac-r8a7790",
  1245. "renesas,rcar-dmac";
  1246. reg = <0 0xec720000 0 0x10000>;
  1247. interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
  1248. <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
  1249. <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
  1250. <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
  1251. <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
  1252. <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
  1253. <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
  1254. <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
  1255. <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
  1256. <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
  1257. <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
  1258. <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
  1259. <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
  1260. <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
  1261. interrupt-names = "error",
  1262. "ch0", "ch1", "ch2", "ch3",
  1263. "ch4", "ch5", "ch6", "ch7",
  1264. "ch8", "ch9", "ch10", "ch11",
  1265. "ch12";
  1266. clocks = <&cpg CPG_MOD 501>;
  1267. clock-names = "fck";
  1268. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1269. resets = <&cpg 501>;
  1270. #dma-cells = <1>;
  1271. dma-channels = <13>;
  1272. };
  1273. xhci: usb@ee000000 {
  1274. compatible = "renesas,xhci-r8a7790",
  1275. "renesas,rcar-gen2-xhci";
  1276. reg = <0 0xee000000 0 0xc00>;
  1277. interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
  1278. clocks = <&cpg CPG_MOD 328>;
  1279. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1280. resets = <&cpg 328>;
  1281. phys = <&usb2 1>;
  1282. phy-names = "usb";
  1283. status = "disabled";
  1284. };
  1285. pci0: pci@ee090000 {
  1286. compatible = "renesas,pci-r8a7790",
  1287. "renesas,pci-rcar-gen2";
  1288. device_type = "pci";
  1289. reg = <0 0xee090000 0 0xc00>,
  1290. <0 0xee080000 0 0x1100>;
  1291. interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
  1292. clocks = <&cpg CPG_MOD 703>;
  1293. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1294. resets = <&cpg 703>;
  1295. status = "disabled";
  1296. bus-range = <0 0>;
  1297. #address-cells = <3>;
  1298. #size-cells = <2>;
  1299. #interrupt-cells = <1>;
  1300. ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
  1301. interrupt-map-mask = <0xf800 0 0 0x7>;
  1302. interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  1303. <0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  1304. <0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
  1305. usb@1,0 {
  1306. reg = <0x800 0 0 0 0>;
  1307. phys = <&usb0 0>;
  1308. phy-names = "usb";
  1309. };
  1310. usb@2,0 {
  1311. reg = <0x1000 0 0 0 0>;
  1312. phys = <&usb0 0>;
  1313. phy-names = "usb";
  1314. };
  1315. };
  1316. pci1: pci@ee0b0000 {
  1317. compatible = "renesas,pci-r8a7790",
  1318. "renesas,pci-rcar-gen2";
  1319. device_type = "pci";
  1320. reg = <0 0xee0b0000 0 0xc00>,
  1321. <0 0xee0a0000 0 0x1100>;
  1322. interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  1323. clocks = <&cpg CPG_MOD 703>;
  1324. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1325. resets = <&cpg 703>;
  1326. status = "disabled";
  1327. bus-range = <1 1>;
  1328. #address-cells = <3>;
  1329. #size-cells = <2>;
  1330. #interrupt-cells = <1>;
  1331. ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
  1332. interrupt-map-mask = <0xf800 0 0 0x7>;
  1333. interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  1334. <0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  1335. <0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  1336. };
  1337. pci2: pci@ee0d0000 {
  1338. compatible = "renesas,pci-r8a7790",
  1339. "renesas,pci-rcar-gen2";
  1340. device_type = "pci";
  1341. clocks = <&cpg CPG_MOD 703>;
  1342. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1343. resets = <&cpg 703>;
  1344. reg = <0 0xee0d0000 0 0xc00>,
  1345. <0 0xee0c0000 0 0x1100>;
  1346. interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
  1347. status = "disabled";
  1348. bus-range = <2 2>;
  1349. #address-cells = <3>;
  1350. #size-cells = <2>;
  1351. #interrupt-cells = <1>;
  1352. ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
  1353. interrupt-map-mask = <0xf800 0 0 0x7>;
  1354. interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  1355. <0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  1356. <0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
  1357. usb@1,0 {
  1358. reg = <0x20800 0 0 0 0>;
  1359. phys = <&usb2 0>;
  1360. phy-names = "usb";
  1361. };
  1362. usb@2,0 {
  1363. reg = <0x21000 0 0 0 0>;
  1364. phys = <&usb2 0>;
  1365. phy-names = "usb";
  1366. };
  1367. };
  1368. sdhi0: mmc@ee100000 {
  1369. compatible = "renesas,sdhi-r8a7790",
  1370. "renesas,rcar-gen2-sdhi";
  1371. reg = <0 0xee100000 0 0x328>;
  1372. interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
  1373. clocks = <&cpg CPG_MOD 314>;
  1374. dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
  1375. <&dmac1 0xcd>, <&dmac1 0xce>;
  1376. dma-names = "tx", "rx", "tx", "rx";
  1377. max-frequency = <195000000>;
  1378. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1379. resets = <&cpg 314>;
  1380. status = "disabled";
  1381. };
  1382. sdhi1: mmc@ee120000 {
  1383. compatible = "renesas,sdhi-r8a7790",
  1384. "renesas,rcar-gen2-sdhi";
  1385. reg = <0 0xee120000 0 0x328>;
  1386. interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
  1387. clocks = <&cpg CPG_MOD 313>;
  1388. dmas = <&dmac0 0xc9>, <&dmac0 0xca>,
  1389. <&dmac1 0xc9>, <&dmac1 0xca>;
  1390. dma-names = "tx", "rx", "tx", "rx";
  1391. max-frequency = <195000000>;
  1392. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1393. resets = <&cpg 313>;
  1394. status = "disabled";
  1395. };
  1396. sdhi2: mmc@ee140000 {
  1397. compatible = "renesas,sdhi-r8a7790",
  1398. "renesas,rcar-gen2-sdhi";
  1399. reg = <0 0xee140000 0 0x100>;
  1400. interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
  1401. clocks = <&cpg CPG_MOD 312>;
  1402. dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
  1403. <&dmac1 0xc1>, <&dmac1 0xc2>;
  1404. dma-names = "tx", "rx", "tx", "rx";
  1405. max-frequency = <97500000>;
  1406. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1407. resets = <&cpg 312>;
  1408. status = "disabled";
  1409. };
  1410. sdhi3: mmc@ee160000 {
  1411. compatible = "renesas,sdhi-r8a7790",
  1412. "renesas,rcar-gen2-sdhi";
  1413. reg = <0 0xee160000 0 0x100>;
  1414. interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
  1415. clocks = <&cpg CPG_MOD 311>;
  1416. dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
  1417. <&dmac1 0xd3>, <&dmac1 0xd4>;
  1418. dma-names = "tx", "rx", "tx", "rx";
  1419. max-frequency = <97500000>;
  1420. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1421. resets = <&cpg 311>;
  1422. status = "disabled";
  1423. };
  1424. mmcif0: mmc@ee200000 {
  1425. compatible = "renesas,mmcif-r8a7790",
  1426. "renesas,sh-mmcif";
  1427. reg = <0 0xee200000 0 0x80>;
  1428. interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
  1429. clocks = <&cpg CPG_MOD 315>;
  1430. dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
  1431. <&dmac1 0xd1>, <&dmac1 0xd2>;
  1432. dma-names = "tx", "rx", "tx", "rx";
  1433. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1434. resets = <&cpg 315>;
  1435. reg-io-width = <4>;
  1436. status = "disabled";
  1437. max-frequency = <97500000>;
  1438. };
  1439. mmcif1: mmc@ee220000 {
  1440. compatible = "renesas,mmcif-r8a7790",
  1441. "renesas,sh-mmcif";
  1442. reg = <0 0xee220000 0 0x80>;
  1443. interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
  1444. clocks = <&cpg CPG_MOD 305>;
  1445. dmas = <&dmac0 0xe1>, <&dmac0 0xe2>,
  1446. <&dmac1 0xe1>, <&dmac1 0xe2>;
  1447. dma-names = "tx", "rx", "tx", "rx";
  1448. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1449. resets = <&cpg 305>;
  1450. reg-io-width = <4>;
  1451. status = "disabled";
  1452. max-frequency = <97500000>;
  1453. };
  1454. sata0: sata@ee300000 {
  1455. compatible = "renesas,sata-r8a7790",
  1456. "renesas,rcar-gen2-sata";
  1457. reg = <0 0xee300000 0 0x200000>;
  1458. interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
  1459. clocks = <&cpg CPG_MOD 815>;
  1460. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1461. resets = <&cpg 815>;
  1462. status = "disabled";
  1463. };
  1464. sata1: sata@ee500000 {
  1465. compatible = "renesas,sata-r8a7790",
  1466. "renesas,rcar-gen2-sata";
  1467. reg = <0 0xee500000 0 0x200000>;
  1468. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  1469. clocks = <&cpg CPG_MOD 814>;
  1470. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1471. resets = <&cpg 814>;
  1472. status = "disabled";
  1473. };
  1474. ether: ethernet@ee700000 {
  1475. compatible = "renesas,ether-r8a7790",
  1476. "renesas,rcar-gen2-ether";
  1477. reg = <0 0xee700000 0 0x400>;
  1478. interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
  1479. clocks = <&cpg CPG_MOD 813>;
  1480. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1481. resets = <&cpg 813>;
  1482. phy-mode = "rmii";
  1483. #address-cells = <1>;
  1484. #size-cells = <0>;
  1485. status = "disabled";
  1486. };
  1487. gic: interrupt-controller@f1001000 {
  1488. compatible = "arm,gic-400";
  1489. #interrupt-cells = <3>;
  1490. #address-cells = <0>;
  1491. interrupt-controller;
  1492. reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>,
  1493. <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>;
  1494. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
  1495. clocks = <&cpg CPG_MOD 408>;
  1496. clock-names = "clk";
  1497. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1498. resets = <&cpg 408>;
  1499. };
  1500. pciec: pcie@fe000000 {
  1501. compatible = "renesas,pcie-r8a7790",
  1502. "renesas,pcie-rcar-gen2";
  1503. reg = <0 0xfe000000 0 0x80000>;
  1504. #address-cells = <3>;
  1505. #size-cells = <2>;
  1506. bus-range = <0x00 0xff>;
  1507. device_type = "pci";
  1508. ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>,
  1509. <0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>,
  1510. <0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>,
  1511. <0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
  1512. /* Map all possible DDR as inbound ranges */
  1513. dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>,
  1514. <0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
  1515. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  1516. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  1517. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
  1518. #interrupt-cells = <1>;
  1519. interrupt-map-mask = <0 0 0 0>;
  1520. interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
  1521. clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
  1522. clock-names = "pcie", "pcie_bus";
  1523. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1524. resets = <&cpg 319>;
  1525. status = "disabled";
  1526. };
  1527. vsp@fe920000 {
  1528. compatible = "renesas,vsp1";
  1529. reg = <0 0xfe920000 0 0x8000>;
  1530. interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
  1531. clocks = <&cpg CPG_MOD 130>;
  1532. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1533. resets = <&cpg 130>;
  1534. };
  1535. vsp@fe928000 {
  1536. compatible = "renesas,vsp1";
  1537. reg = <0 0xfe928000 0 0x8000>;
  1538. interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
  1539. clocks = <&cpg CPG_MOD 131>;
  1540. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1541. resets = <&cpg 131>;
  1542. };
  1543. vsp@fe930000 {
  1544. compatible = "renesas,vsp1";
  1545. reg = <0 0xfe930000 0 0x8000>;
  1546. interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
  1547. clocks = <&cpg CPG_MOD 128>;
  1548. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1549. resets = <&cpg 128>;
  1550. };
  1551. vsp@fe938000 {
  1552. compatible = "renesas,vsp1";
  1553. reg = <0 0xfe938000 0 0x8000>;
  1554. interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
  1555. clocks = <&cpg CPG_MOD 127>;
  1556. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1557. resets = <&cpg 127>;
  1558. };
  1559. fdp1@fe940000 {
  1560. compatible = "renesas,fdp1";
  1561. reg = <0 0xfe940000 0 0x2400>;
  1562. interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
  1563. clocks = <&cpg CPG_MOD 119>;
  1564. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1565. resets = <&cpg 119>;
  1566. };
  1567. fdp1@fe944000 {
  1568. compatible = "renesas,fdp1";
  1569. reg = <0 0xfe944000 0 0x2400>;
  1570. interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
  1571. clocks = <&cpg CPG_MOD 118>;
  1572. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1573. resets = <&cpg 118>;
  1574. };
  1575. fdp1@fe948000 {
  1576. compatible = "renesas,fdp1";
  1577. reg = <0 0xfe948000 0 0x2400>;
  1578. interrupts = <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>;
  1579. clocks = <&cpg CPG_MOD 117>;
  1580. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1581. resets = <&cpg 117>;
  1582. };
  1583. jpu: jpeg-codec@fe980000 {
  1584. compatible = "renesas,jpu-r8a7790",
  1585. "renesas,rcar-gen2-jpu";
  1586. reg = <0 0xfe980000 0 0x10300>;
  1587. interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
  1588. clocks = <&cpg CPG_MOD 106>;
  1589. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1590. resets = <&cpg 106>;
  1591. };
  1592. du: display@feb00000 {
  1593. compatible = "renesas,du-r8a7790";
  1594. reg = <0 0xfeb00000 0 0x70000>;
  1595. interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
  1596. <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
  1597. <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
  1598. clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
  1599. <&cpg CPG_MOD 722>;
  1600. clock-names = "du.0", "du.1", "du.2";
  1601. resets = <&cpg 724>;
  1602. reset-names = "du.0";
  1603. status = "disabled";
  1604. ports {
  1605. #address-cells = <1>;
  1606. #size-cells = <0>;
  1607. port@0 {
  1608. reg = <0>;
  1609. du_out_rgb: endpoint {
  1610. };
  1611. };
  1612. port@1 {
  1613. reg = <1>;
  1614. du_out_lvds0: endpoint {
  1615. remote-endpoint = <&lvds0_in>;
  1616. };
  1617. };
  1618. port@2 {
  1619. reg = <2>;
  1620. du_out_lvds1: endpoint {
  1621. remote-endpoint = <&lvds1_in>;
  1622. };
  1623. };
  1624. };
  1625. };
  1626. lvds0: lvds@feb90000 {
  1627. compatible = "renesas,r8a7790-lvds";
  1628. reg = <0 0xfeb90000 0 0x1c>;
  1629. clocks = <&cpg CPG_MOD 726>;
  1630. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1631. resets = <&cpg 726>;
  1632. status = "disabled";
  1633. ports {
  1634. #address-cells = <1>;
  1635. #size-cells = <0>;
  1636. port@0 {
  1637. reg = <0>;
  1638. lvds0_in: endpoint {
  1639. remote-endpoint = <&du_out_lvds0>;
  1640. };
  1641. };
  1642. port@1 {
  1643. reg = <1>;
  1644. lvds0_out: endpoint {
  1645. };
  1646. };
  1647. };
  1648. };
  1649. lvds1: lvds@feb94000 {
  1650. compatible = "renesas,r8a7790-lvds";
  1651. reg = <0 0xfeb94000 0 0x1c>;
  1652. clocks = <&cpg CPG_MOD 725>;
  1653. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1654. resets = <&cpg 725>;
  1655. status = "disabled";
  1656. ports {
  1657. #address-cells = <1>;
  1658. #size-cells = <0>;
  1659. port@0 {
  1660. reg = <0>;
  1661. lvds1_in: endpoint {
  1662. remote-endpoint = <&du_out_lvds1>;
  1663. };
  1664. };
  1665. port@1 {
  1666. reg = <1>;
  1667. lvds1_out: endpoint {
  1668. };
  1669. };
  1670. };
  1671. };
  1672. prr: chipid@ff000044 {
  1673. compatible = "renesas,prr";
  1674. reg = <0 0xff000044 0 4>;
  1675. };
  1676. cmt0: timer@ffca0000 {
  1677. compatible = "renesas,r8a7790-cmt0",
  1678. "renesas,rcar-gen2-cmt0";
  1679. reg = <0 0xffca0000 0 0x1004>;
  1680. interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
  1681. <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
  1682. clocks = <&cpg CPG_MOD 124>;
  1683. clock-names = "fck";
  1684. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1685. resets = <&cpg 124>;
  1686. status = "disabled";
  1687. };
  1688. cmt1: timer@e6130000 {
  1689. compatible = "renesas,r8a7790-cmt1",
  1690. "renesas,rcar-gen2-cmt1";
  1691. reg = <0 0xe6130000 0 0x1004>;
  1692. interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  1693. <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
  1694. <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
  1695. <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
  1696. <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
  1697. <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
  1698. <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
  1699. <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
  1700. clocks = <&cpg CPG_MOD 329>;
  1701. clock-names = "fck";
  1702. power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
  1703. resets = <&cpg 329>;
  1704. status = "disabled";
  1705. };
  1706. };
  1707. thermal-zones {
  1708. cpu_thermal: cpu-thermal {
  1709. polling-delay-passive = <0>;
  1710. polling-delay = <0>;
  1711. thermal-sensors = <&thermal>;
  1712. trips {
  1713. cpu-crit {
  1714. temperature = <95000>;
  1715. hysteresis = <0>;
  1716. type = "critical";
  1717. };
  1718. };
  1719. cooling-maps {
  1720. };
  1721. };
  1722. };
  1723. timer {
  1724. compatible = "arm,armv7-timer";
  1725. interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  1726. <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  1727. <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  1728. <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
  1729. };
  1730. /* External USB clock - can be overridden by the board */
  1731. usb_extal_clk: usb_extal {
  1732. compatible = "fixed-clock";
  1733. #clock-cells = <0>;
  1734. clock-frequency = <48000000>;
  1735. };
  1736. };