Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Apr 2, 2021 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: at91: sama5d2: add ETB and ETM unit name

From: Nicolas Ferre <[email protected]>

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.

---
 arch/arm/boot/dts/sama5d2.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sama5d2.dtsi +2 -2
index 2c4952427296..a27294394508 100644
@@ -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>;
 
Signature · 1 line
2.31.1