]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: socfpga: agilex5: Add SMMU-V3-PMCG nodes
authorAdrian Ng Ho Yin <adrianhoyin.ng@altera.com>
Wed, 15 Oct 2025 02:12:43 +0000 (10:12 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 4 Nov 2025 21:25:44 +0000 (15:25 -0600)
Add SMMU-V3 Performance Monitoring Counter Group (PMCG) nodes for
Agilex5 to support SMMU performance event monitoring.

Signed-off-by: Adrian Ng Ho Yin <adrianhoyin.ng@altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi

index f0379e4eac9d83b0328b7575fe659dd7120996bb..408911ea7bc59f85a61bd6a5a0657ee54cdaefa9 100644 (file)
                compatible = "usb-nop-xceiv";
        };
 
+       pmu0: pmu {
+               compatible = "arm,armv8-pmuv3";
+               interrupt-parent = <&intc>;
+               interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
+       };
+
        soc: soc@0 {
                compatible = "simple-bus";
                ranges = <0 0 0 0xffffffff>;
                                };
                        };
                };
+
+               pmu0_tcu: pmu@16002000 {
+                       compatible = "arm,smmu-v3-pmcg";
+                       reg = <0x16002000 0x1000>,
+                               <0x16022000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>;
+               };
+
+               pmu0_tbu0: pmu@16042000 {
+                       compatible = "arm,smmu-v3-pmcg";
+                       reg = <0x16042000 0x1000>,
+                               <0x16052000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>;
+               };
+
+               pmu0_tbu1: pmu@16062000 {
+                       compatible = "arm,smmu-v3-pmcg";
+                       reg = <0x16062000 0x1000>,
+                               <0x16072000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
+               };
+
+               pmu0_tbu2: pmu@16082000 {
+                       compatible = "arm,smmu-v3-pmcg";
+                       reg = <0x16082000 0x1000>,
+                               <0x16092000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
+               };
+
+               pmu0_tbu3: pmu@160a2000 {
+                       compatible = "arm,smmu-v3-pmcg";
+                       reg = <0x160A2000 0x1000>,
+                               <0x160B2000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
+               };
+
+               pmu0_tbu4: pmu@160c2000 {
+                       compatible = "arm,smmu-v3-pmcg";
+                       reg = <0x160C2000 0x1000>,
+                               <0x160D2000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <GIC_SPI 146 IRQ_TYPE_EDGE_RISING>;
+               };
+
+               pmu0_tbu5: pmu@160e2000 {
+                       compatible = "arm,smmu-v3-pmcg";
+                       reg = <0x160E2000 0x1000>,
+                               <0x160F2000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <GIC_SPI 150 IRQ_TYPE_EDGE_RISING>;
+               };
        };
 };