]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: socfpga: remove the reg property in the pmu
authorDinh Nguyen <dinguyen@kernel.org>
Thu, 23 Apr 2026 17:48:47 +0000 (12:48 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 27 Apr 2026 12:35:39 +0000 (07:35 -0500)
The Cortex-A9 PMU accesses the hardware via system coprocessor registers,
not memory-mapped I/O. The driver does not parse or use a 'reg' property
from the device tree, so we can remove the reg from the DTS.

This change fixes this dtbs_check warning:

(arm,cortex-a9-pmu): 'reg' does not match any of the regexes

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/intel/socfpga/socfpga.dtsi
arch/arm/boot/dts/intel/socfpga/socfpga_arria10.dtsi

index 5dc8d33e8ad7332d45ffd295256a075528bff701..98cb4cad2a1001a512ca3457c9c4af0ea2baecd1 100644 (file)
                };
        };
 
-       pmu: pmu@ff111000 {
+       pmu: pmu {
                compatible = "arm,cortex-a9-pmu";
                interrupt-parent = <&intc>;
                interrupts = <0 176 4>, <0 177 4>;
                interrupt-affinity = <&cpu0>, <&cpu1>;
-               reg = <0xff111000 0x1000>,
-                     <0xff113000 0x1000>;
        };
 
        intc: interrupt-controller@fffed000 {
index a53a94678df2ecc18359db329680874fff998bc7..ba4c0ca89788301cbdcaea524f36d97ec48a2f6f 100644 (file)
                };
        };
 
-       pmu: pmu@ff111000 {
+       pmu: pmu {
                compatible = "arm,cortex-a9-pmu";
                interrupt-parent = <&intc>;
                interrupts = <0 124 4>, <0 125 4>;
                interrupt-affinity = <&cpu0>, <&cpu1>;
-               reg = <0xff111000 0x1000>,
-                     <0xff113000 0x1000>;
        };
 
        intc: interrupt-controller@ffffd000 {