r8a77950.dtsi 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the R-Car H3 (R8A77950) SoC
  4. *
  5. * Copyright (C) 2015 Renesas Electronics Corp.
  6. */
  7. #include "r8a77951.dtsi"
  8. #undef SOC_HAS_USB2_CH3
  9. &audma0 {
  10. iommus = <&ipmmu_mp1 0>, <&ipmmu_mp1 1>,
  11. <&ipmmu_mp1 2>, <&ipmmu_mp1 3>,
  12. <&ipmmu_mp1 4>, <&ipmmu_mp1 5>,
  13. <&ipmmu_mp1 6>, <&ipmmu_mp1 7>,
  14. <&ipmmu_mp1 8>, <&ipmmu_mp1 9>,
  15. <&ipmmu_mp1 10>, <&ipmmu_mp1 11>,
  16. <&ipmmu_mp1 12>, <&ipmmu_mp1 13>,
  17. <&ipmmu_mp1 14>, <&ipmmu_mp1 15>;
  18. };
  19. &audma1 {
  20. iommus = <&ipmmu_mp1 16>, <&ipmmu_mp1 17>,
  21. <&ipmmu_mp1 18>, <&ipmmu_mp1 19>,
  22. <&ipmmu_mp1 20>, <&ipmmu_mp1 21>,
  23. <&ipmmu_mp1 22>, <&ipmmu_mp1 23>,
  24. <&ipmmu_mp1 24>, <&ipmmu_mp1 25>,
  25. <&ipmmu_mp1 26>, <&ipmmu_mp1 27>,
  26. <&ipmmu_mp1 28>, <&ipmmu_mp1 29>,
  27. <&ipmmu_mp1 30>, <&ipmmu_mp1 31>;
  28. };
  29. &cluster0_opp {
  30. /delete-node/ opp-1600000000;
  31. /delete-node/ opp-1700000000;
  32. };
  33. &du {
  34. renesas,vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd3 0>;
  35. };
  36. &fcpvb1 {
  37. iommus = <&ipmmu_vp0 7>;
  38. };
  39. &fcpf1 {
  40. iommus = <&ipmmu_vp0 1>;
  41. };
  42. &fcpvi1 {
  43. iommus = <&ipmmu_vp0 9>;
  44. };
  45. &fcpvd2 {
  46. iommus = <&ipmmu_vi0 10>;
  47. };
  48. &gpio1 {
  49. gpio-ranges = <&pfc 0 32 28>;
  50. };
  51. &ipmmu_vi0 {
  52. renesas,ipmmu-main = <&ipmmu_mm 11>;
  53. };
  54. &ipmmu_vp0 {
  55. renesas,ipmmu-main = <&ipmmu_mm 12>;
  56. };
  57. &ipmmu_vc0 {
  58. renesas,ipmmu-main = <&ipmmu_mm 9>;
  59. };
  60. &ipmmu_vc1 {
  61. renesas,ipmmu-main = <&ipmmu_mm 10>;
  62. };
  63. &ipmmu_rt {
  64. renesas,ipmmu-main = <&ipmmu_mm 7>;
  65. };
  66. &soc {
  67. /delete-node/ dma-controller@e6460000;
  68. /delete-node/ dma-controller@e6470000;
  69. ipmmu_mp1: iommu@ec680000 {
  70. compatible = "renesas,ipmmu-r8a7795";
  71. reg = <0 0xec680000 0 0x1000>;
  72. renesas,ipmmu-main = <&ipmmu_mm 5>;
  73. power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
  74. #iommu-cells = <1>;
  75. };
  76. ipmmu_sy: iommu@e7730000 {
  77. compatible = "renesas,ipmmu-r8a7795";
  78. reg = <0 0xe7730000 0 0x1000>;
  79. renesas,ipmmu-main = <&ipmmu_mm 8>;
  80. power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
  81. #iommu-cells = <1>;
  82. };
  83. /delete-node/ iommu@fd950000;
  84. /delete-node/ iommu@fd960000;
  85. /delete-node/ iommu@fd970000;
  86. /delete-node/ iommu@febe0000;
  87. /delete-node/ iommu@fe980000;
  88. xhci1: usb@ee040000 {
  89. compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
  90. reg = <0 0xee040000 0 0xc00>;
  91. interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
  92. clocks = <&cpg CPG_MOD 327>;
  93. power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
  94. resets = <&cpg 327>;
  95. status = "disabled";
  96. };
  97. /delete-node/ usb@e659c000;
  98. /delete-node/ usb@ee0e0000;
  99. /delete-node/ usb@ee0e0100;
  100. /delete-node/ usb-phy@ee0e0200;
  101. fdp1@fe948000 {
  102. compatible = "renesas,fdp1";
  103. reg = <0 0xfe948000 0 0x2400>;
  104. interrupts = <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>;
  105. clocks = <&cpg CPG_MOD 117>;
  106. power-domains = <&sysc R8A7795_PD_A3VP>;
  107. resets = <&cpg 117>;
  108. renesas,fcp = <&fcpf2>;
  109. };
  110. fcpf2: fcp@fe952000 {
  111. compatible = "renesas,fcpf";
  112. reg = <0 0xfe952000 0 0x200>;
  113. clocks = <&cpg CPG_MOD 613>;
  114. power-domains = <&sysc R8A7795_PD_A3VP>;
  115. resets = <&cpg 613>;
  116. iommus = <&ipmmu_vp0 2>;
  117. };
  118. fcpvd3: fcp@fea3f000 {
  119. compatible = "renesas,fcpv";
  120. reg = <0 0xfea3f000 0 0x200>;
  121. clocks = <&cpg CPG_MOD 600>;
  122. power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
  123. resets = <&cpg 600>;
  124. iommus = <&ipmmu_vi0 11>;
  125. };
  126. fcpvi2: fcp@fe9cf000 {
  127. compatible = "renesas,fcpv";
  128. reg = <0 0xfe9cf000 0 0x200>;
  129. clocks = <&cpg CPG_MOD 609>;
  130. power-domains = <&sysc R8A7795_PD_A3VP>;
  131. resets = <&cpg 609>;
  132. iommus = <&ipmmu_vp0 10>;
  133. };
  134. vspd3: vsp@fea38000 {
  135. compatible = "renesas,vsp2";
  136. reg = <0 0xfea38000 0 0x5000>;
  137. interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
  138. clocks = <&cpg CPG_MOD 620>;
  139. power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
  140. resets = <&cpg 620>;
  141. renesas,fcp = <&fcpvd3>;
  142. };
  143. vspi2: vsp@fe9c0000 {
  144. compatible = "renesas,vsp2";
  145. reg = <0 0xfe9c0000 0 0x8000>;
  146. interrupts = <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>;
  147. clocks = <&cpg CPG_MOD 629>;
  148. power-domains = <&sysc R8A7795_PD_A3VP>;
  149. resets = <&cpg 629>;
  150. renesas,fcp = <&fcpvi2>;
  151. };
  152. csi21: csi2@fea90000 {
  153. compatible = "renesas,r8a7795-csi2";
  154. reg = <0 0xfea90000 0 0x10000>;
  155. interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
  156. clocks = <&cpg CPG_MOD 713>;
  157. power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
  158. resets = <&cpg 713>;
  159. status = "disabled";
  160. ports {
  161. #address-cells = <1>;
  162. #size-cells = <0>;
  163. port@0 {
  164. reg = <0>;
  165. };
  166. port@1 {
  167. #address-cells = <1>;
  168. #size-cells = <0>;
  169. reg = <1>;
  170. csi21vin0: endpoint@0 {
  171. reg = <0>;
  172. remote-endpoint = <&vin0csi21>;
  173. };
  174. csi21vin1: endpoint@1 {
  175. reg = <1>;
  176. remote-endpoint = <&vin1csi21>;
  177. };
  178. csi21vin2: endpoint@2 {
  179. reg = <2>;
  180. remote-endpoint = <&vin2csi21>;
  181. };
  182. csi21vin3: endpoint@3 {
  183. reg = <3>;
  184. remote-endpoint = <&vin3csi21>;
  185. };
  186. csi21vin4: endpoint@4 {
  187. reg = <4>;
  188. remote-endpoint = <&vin4csi21>;
  189. };
  190. csi21vin5: endpoint@5 {
  191. reg = <5>;
  192. remote-endpoint = <&vin5csi21>;
  193. };
  194. csi21vin6: endpoint@6 {
  195. reg = <6>;
  196. remote-endpoint = <&vin6csi21>;
  197. };
  198. csi21vin7: endpoint@7 {
  199. reg = <7>;
  200. remote-endpoint = <&vin7csi21>;
  201. };
  202. };
  203. };
  204. };
  205. };
  206. &vin0 {
  207. ports {
  208. port@1 {
  209. vin0csi21: endpoint@1 {
  210. reg = <1>;
  211. remote-endpoint = <&csi21vin0>;
  212. };
  213. };
  214. };
  215. };
  216. &vin1 {
  217. ports {
  218. port@1 {
  219. vin1csi21: endpoint@1 {
  220. reg = <1>;
  221. remote-endpoint = <&csi21vin1>;
  222. };
  223. };
  224. };
  225. };
  226. &vin2 {
  227. ports {
  228. port@1 {
  229. vin2csi21: endpoint@1 {
  230. reg = <1>;
  231. remote-endpoint = <&csi21vin2>;
  232. };
  233. };
  234. };
  235. };
  236. &vin3 {
  237. ports {
  238. port@1 {
  239. vin3csi21: endpoint@1 {
  240. reg = <1>;
  241. remote-endpoint = <&csi21vin3>;
  242. };
  243. };
  244. };
  245. };
  246. &vin4 {
  247. ports {
  248. port@1 {
  249. vin4csi21: endpoint@1 {
  250. reg = <1>;
  251. remote-endpoint = <&csi21vin4>;
  252. };
  253. };
  254. };
  255. };
  256. &vin5 {
  257. ports {
  258. port@1 {
  259. vin5csi21: endpoint@1 {
  260. reg = <1>;
  261. remote-endpoint = <&csi21vin5>;
  262. };
  263. };
  264. };
  265. };
  266. &vin6 {
  267. ports {
  268. port@1 {
  269. vin6csi21: endpoint@1 {
  270. reg = <1>;
  271. remote-endpoint = <&csi21vin6>;
  272. };
  273. };
  274. };
  275. };
  276. &vin7 {
  277. ports {
  278. port@1 {
  279. vin7csi21: endpoint@1 {
  280. reg = <1>;
  281. remote-endpoint = <&csi21vin7>;
  282. };
  283. };
  284. };
  285. };