0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Device Tree Source for the R-Car H3 (R8A77950) SoC
0004 *
0005 * Copyright (C) 2015 Renesas Electronics Corp.
0006 */
0007
0008 #include "r8a77951.dtsi"
0009
0010 #undef SOC_HAS_USB2_CH3
0011
0012 &audma0 {
0013 iommus = <&ipmmu_mp1 0>, <&ipmmu_mp1 1>,
0014 <&ipmmu_mp1 2>, <&ipmmu_mp1 3>,
0015 <&ipmmu_mp1 4>, <&ipmmu_mp1 5>,
0016 <&ipmmu_mp1 6>, <&ipmmu_mp1 7>,
0017 <&ipmmu_mp1 8>, <&ipmmu_mp1 9>,
0018 <&ipmmu_mp1 10>, <&ipmmu_mp1 11>,
0019 <&ipmmu_mp1 12>, <&ipmmu_mp1 13>,
0020 <&ipmmu_mp1 14>, <&ipmmu_mp1 15>;
0021 };
0022
0023 &audma1 {
0024 iommus = <&ipmmu_mp1 16>, <&ipmmu_mp1 17>,
0025 <&ipmmu_mp1 18>, <&ipmmu_mp1 19>,
0026 <&ipmmu_mp1 20>, <&ipmmu_mp1 21>,
0027 <&ipmmu_mp1 22>, <&ipmmu_mp1 23>,
0028 <&ipmmu_mp1 24>, <&ipmmu_mp1 25>,
0029 <&ipmmu_mp1 26>, <&ipmmu_mp1 27>,
0030 <&ipmmu_mp1 28>, <&ipmmu_mp1 29>,
0031 <&ipmmu_mp1 30>, <&ipmmu_mp1 31>;
0032 };
0033
0034 &cluster0_opp {
0035 /delete-node/ opp-1600000000;
0036 /delete-node/ opp-1700000000;
0037 };
0038
0039 &du {
0040 renesas,vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd3 0>;
0041 };
0042
0043 &fcpvb1 {
0044 iommus = <&ipmmu_vp0 7>;
0045 };
0046
0047 &fcpf1 {
0048 iommus = <&ipmmu_vp0 1>;
0049 };
0050
0051 &fcpvi1 {
0052 iommus = <&ipmmu_vp0 9>;
0053 };
0054
0055 &fcpvd2 {
0056 iommus = <&ipmmu_vi0 10>;
0057 };
0058
0059 &gpio1 {
0060 gpio-ranges = <&pfc 0 32 28>;
0061 };
0062
0063 &ipmmu_vi0 {
0064 renesas,ipmmu-main = <&ipmmu_mm 11>;
0065 };
0066
0067 &ipmmu_vp0 {
0068 renesas,ipmmu-main = <&ipmmu_mm 12>;
0069 };
0070
0071 &ipmmu_vc0 {
0072 renesas,ipmmu-main = <&ipmmu_mm 9>;
0073 };
0074
0075 &ipmmu_vc1 {
0076 renesas,ipmmu-main = <&ipmmu_mm 10>;
0077 };
0078
0079 &ipmmu_rt {
0080 renesas,ipmmu-main = <&ipmmu_mm 7>;
0081 };
0082
0083 &soc {
0084 /delete-node/ dma-controller@e6460000;
0085 /delete-node/ dma-controller@e6470000;
0086
0087 ipmmu_mp1: iommu@ec680000 {
0088 compatible = "renesas,ipmmu-r8a7795";
0089 reg = <0 0xec680000 0 0x1000>;
0090 renesas,ipmmu-main = <&ipmmu_mm 5>;
0091 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0092 #iommu-cells = <1>;
0093 };
0094
0095 ipmmu_sy: iommu@e7730000 {
0096 compatible = "renesas,ipmmu-r8a7795";
0097 reg = <0 0xe7730000 0 0x1000>;
0098 renesas,ipmmu-main = <&ipmmu_mm 8>;
0099 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0100 #iommu-cells = <1>;
0101 };
0102
0103 /delete-node/ iommu@fd950000;
0104 /delete-node/ iommu@fd960000;
0105 /delete-node/ iommu@fd970000;
0106 /delete-node/ iommu@febe0000;
0107 /delete-node/ iommu@fe980000;
0108
0109 xhci1: usb@ee040000 {
0110 compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
0111 reg = <0 0xee040000 0 0xc00>;
0112 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
0113 clocks = <&cpg CPG_MOD 327>;
0114 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0115 resets = <&cpg 327>;
0116 status = "disabled";
0117 };
0118
0119 /delete-node/ usb@e659c000;
0120 /delete-node/ usb@ee0e0000;
0121 /delete-node/ usb@ee0e0100;
0122
0123 /delete-node/ usb-phy@ee0e0200;
0124
0125 fdp1@fe948000 {
0126 compatible = "renesas,fdp1";
0127 reg = <0 0xfe948000 0 0x2400>;
0128 interrupts = <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>;
0129 clocks = <&cpg CPG_MOD 117>;
0130 power-domains = <&sysc R8A7795_PD_A3VP>;
0131 resets = <&cpg 117>;
0132 renesas,fcp = <&fcpf2>;
0133 };
0134
0135 fcpf2: fcp@fe952000 {
0136 compatible = "renesas,fcpf";
0137 reg = <0 0xfe952000 0 0x200>;
0138 clocks = <&cpg CPG_MOD 613>;
0139 power-domains = <&sysc R8A7795_PD_A3VP>;
0140 resets = <&cpg 613>;
0141 iommus = <&ipmmu_vp0 2>;
0142 };
0143
0144 fcpvd3: fcp@fea3f000 {
0145 compatible = "renesas,fcpv";
0146 reg = <0 0xfea3f000 0 0x200>;
0147 clocks = <&cpg CPG_MOD 600>;
0148 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0149 resets = <&cpg 600>;
0150 iommus = <&ipmmu_vi0 11>;
0151 };
0152
0153 fcpvi2: fcp@fe9cf000 {
0154 compatible = "renesas,fcpv";
0155 reg = <0 0xfe9cf000 0 0x200>;
0156 clocks = <&cpg CPG_MOD 609>;
0157 power-domains = <&sysc R8A7795_PD_A3VP>;
0158 resets = <&cpg 609>;
0159 iommus = <&ipmmu_vp0 10>;
0160 };
0161
0162 vspd3: vsp@fea38000 {
0163 compatible = "renesas,vsp2";
0164 reg = <0 0xfea38000 0 0x5000>;
0165 interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
0166 clocks = <&cpg CPG_MOD 620>;
0167 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0168 resets = <&cpg 620>;
0169
0170 renesas,fcp = <&fcpvd3>;
0171 };
0172
0173 vspi2: vsp@fe9c0000 {
0174 compatible = "renesas,vsp2";
0175 reg = <0 0xfe9c0000 0 0x8000>;
0176 interrupts = <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>;
0177 clocks = <&cpg CPG_MOD 629>;
0178 power-domains = <&sysc R8A7795_PD_A3VP>;
0179 resets = <&cpg 629>;
0180
0181 renesas,fcp = <&fcpvi2>;
0182 };
0183
0184 csi21: csi2@fea90000 {
0185 compatible = "renesas,r8a7795-csi2";
0186 reg = <0 0xfea90000 0 0x10000>;
0187 interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
0188 clocks = <&cpg CPG_MOD 713>;
0189 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0190 resets = <&cpg 713>;
0191 status = "disabled";
0192
0193 ports {
0194 #address-cells = <1>;
0195 #size-cells = <0>;
0196
0197 port@0 {
0198 reg = <0>;
0199 };
0200
0201 port@1 {
0202 #address-cells = <1>;
0203 #size-cells = <0>;
0204
0205 reg = <1>;
0206
0207 csi21vin0: endpoint@0 {
0208 reg = <0>;
0209 remote-endpoint = <&vin0csi21>;
0210 };
0211 csi21vin1: endpoint@1 {
0212 reg = <1>;
0213 remote-endpoint = <&vin1csi21>;
0214 };
0215 csi21vin2: endpoint@2 {
0216 reg = <2>;
0217 remote-endpoint = <&vin2csi21>;
0218 };
0219 csi21vin3: endpoint@3 {
0220 reg = <3>;
0221 remote-endpoint = <&vin3csi21>;
0222 };
0223 csi21vin4: endpoint@4 {
0224 reg = <4>;
0225 remote-endpoint = <&vin4csi21>;
0226 };
0227 csi21vin5: endpoint@5 {
0228 reg = <5>;
0229 remote-endpoint = <&vin5csi21>;
0230 };
0231 csi21vin6: endpoint@6 {
0232 reg = <6>;
0233 remote-endpoint = <&vin6csi21>;
0234 };
0235 csi21vin7: endpoint@7 {
0236 reg = <7>;
0237 remote-endpoint = <&vin7csi21>;
0238 };
0239 };
0240 };
0241 };
0242 };
0243
0244 &vin0 {
0245 ports {
0246 port@1 {
0247 vin0csi21: endpoint@1 {
0248 reg = <1>;
0249 remote-endpoint = <&csi21vin0>;
0250 };
0251 };
0252 };
0253 };
0254
0255 &vin1 {
0256 ports {
0257 port@1 {
0258 vin1csi21: endpoint@1 {
0259 reg = <1>;
0260 remote-endpoint = <&csi21vin1>;
0261 };
0262 };
0263 };
0264 };
0265
0266 &vin2 {
0267 ports {
0268 port@1 {
0269 vin2csi21: endpoint@1 {
0270 reg = <1>;
0271 remote-endpoint = <&csi21vin2>;
0272 };
0273 };
0274 };
0275 };
0276
0277 &vin3 {
0278 ports {
0279 port@1 {
0280 vin3csi21: endpoint@1 {
0281 reg = <1>;
0282 remote-endpoint = <&csi21vin3>;
0283 };
0284 };
0285 };
0286 };
0287
0288 &vin4 {
0289 ports {
0290 port@1 {
0291 vin4csi21: endpoint@1 {
0292 reg = <1>;
0293 remote-endpoint = <&csi21vin4>;
0294 };
0295 };
0296 };
0297 };
0298
0299 &vin5 {
0300 ports {
0301 port@1 {
0302 vin5csi21: endpoint@1 {
0303 reg = <1>;
0304 remote-endpoint = <&csi21vin5>;
0305 };
0306 };
0307 };
0308 };
0309
0310 &vin6 {
0311 ports {
0312 port@1 {
0313 vin6csi21: endpoint@1 {
0314 reg = <1>;
0315 remote-endpoint = <&csi21vin6>;
0316 };
0317 };
0318 };
0319 };
0320
0321 &vin7 {
0322 ports {
0323 port@1 {
0324 vin7csi21: endpoint@1 {
0325 reg = <1>;
0326 remote-endpoint = <&csi21vin7>;
0327 };
0328 };
0329 };
0330 };