diff mbox series

ARM: dts: at91: sama5d2: add ETB and ETM unit name

Message ID 20210402170139.140595-1-nicolas.ferre@microchip.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: at91: sama5d2: add ETB and ETM unit name | expand

Commit Message

Nicolas Ferre April 2, 2021, 5:01 p.m. UTC
From: Nicolas Ferre <nicolas.ferre@microchip.com>

Add unit address to the ETB and ETM nodes.

It also allow us to get rid of the warnings:
../arch/arm/boot/dts/sama5d2.dtsi:43.6-57.4: Warning
(unit_address_vs_reg): /etb: node has a reg or ranges property, but no
unit name
../arch/arm/boot/dts/sama5d2.dtsi:59.6-73.4: Warning
(unit_address_vs_reg): /etm: node has a reg or ranges property, but no
unit name
when we compile with W=1.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 arch/arm/boot/dts/sama5d2.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 2c4952427296..a27294394508 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -40,7 +40,7 @@  pmu {
 		interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
 	};
 
-	etb {
+	etb@740000 {
 		compatible = "arm,coresight-etb10", "arm,primecell";
 		reg = <0x740000 0x1000>;
 
@@ -56,7 +56,7 @@  etb_in: endpoint {
 		};
 	};
 
-	etm {
+	etm@73C000 {
 		compatible = "arm,coresight-etm3x", "arm,primecell";
 		reg = <0x73C000 0x1000>;