Skip to contentSkip to conversation

ARM: dts: socfpga: remove the reg property in the pmu

PATCH New Dinh Nguyen 1 participant 2 messages Apr 24

Subsystems (3)
lore
Share & tools
lore

Dinh Nguyen

author maintainer
#0 lore raw

PATCH 1/2 ARM: dts: socfpga: remove the reg property in the pmu

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

---
 arch/arm/boot/dts/intel/socfpga/socfpga.dtsi         | 4 +---
 arch/arm/boot/dts/intel/socfpga/socfpga_arria10.dtsi | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)
arch/arm/boot/dts/intel/socfpga/socfpga.dtsi +1 -3
index 5dc8d33e8ad7..98cb4cad2a10 100644
@@ -37,13 +37,11 @@ cpu1: cpu@1 {
 		};
 	};
 
-	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 {
arch/arm/boot/dts/intel/socfpga/socfpga_arria10.dtsi +1 -3
index a53a94678df2..ba4c0ca89788 100644
@@ -29,13 +29,11 @@ cpu1: cpu@1 {
 		};
 	};
 
-	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 {
Signature · 1 line
2.42.0.411.g813d9a9188
author maintainer
#1 lore raw

PATCH 2/2 ARM: dts: zynq: remove the reg property in the pmu

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

---
 arch/arm/boot/dts/xilinx/zynq-7000.dtsi | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/boot/dts/xilinx/zynq-7000.dtsi +1 -3
index 153b8d93cbee..fc7d5b5cfaa0 100644
@@ -49,12 +49,10 @@ fpga_full: fpga-region {
 		ranges;
 	};
 
-	pmu@f8891000 {
+	pmu: pmu {
 		compatible = "arm,cortex-a9-pmu";
 		interrupts = <0 5 4>, <0 6 4>;
 		interrupt-parent = <&intc>;
-		reg = <0xf8891000 0x1000>,
-		      <0xf8893000 0x1000>;
 	};
 
 	regulator_vccpint: fixedregulator {
Signature · 1 line
2.42.0.411.g813d9a9188