Skip to contentSkip to conversation

ARM: dts: armv7-m: add address to unit name

PATCH In review Stefan Agner 3 participants 3 messages Apr 2, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: armv7-m: add address to unit name

Add address to unit name to remove the following warning:
Warning (unit_address_vs_reg): Node /nv-interrupt-controller has a reg or ranges property, but no unit name

---
Hi Arnd,

Not sure through which tree this should go but an earlier patch seemd to be applied directly by you...

--
Stefan

 arch/arm/boot/dts/armv7-m.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/armv7-m.dtsi +1 -1
index b1ad7cf..8126bec 100644
@@ -1,7 +1,7 @@
 #include "skeleton.dtsi"
 
 / {
-	nvic: nv-interrupt-controller  {
+	nvic: nv-interrupt-controller@0xe000e100 {
 		compatible = "arm,armv7m-nvic";
 		interrupt-controller;
 		#interrupt-cells = <1>;
Signature · 1 line
2.7.4
#1 lore raw
Quoted 22 lines · Stefan Agner

Add address to unit name to remove the following warning:
Warning (unit_address_vs_reg): Node /nv-interrupt-controller has a reg or ranges property, but no unit name

---
Hi Arnd,

Not sure through which tree this should go but an earlier patch seemd to be applied directly by you...

--
Stefan

 arch/arm/boot/dts/armv7-m.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/armv7-m.dtsi +0 -0
index b1ad7cf..8126bec 100644

arch/arm/boot/dts/armv7-m.dtsi line 4

Quoted 5 lines
arch/arm/boot/dts/armv7-m.dtsi +1 -1
@@ -1,7 +1,7 @@
 #include "skeleton.dtsi"
 
 / {
-       nvic: nv-interrupt-controller  {
+       nvic: nv-interrupt-controller at 0xe000e100 {

While changing the line it might be good idea to use the standard 'interrupt-controller' name instead.

I posted the same patch couple of days ago, btw.
http://marc.info/?l=devicetree&m=145929088915714&w=2

But I don't care which one that is applied.

regards,
Joachim Eastwood

#2 lore raw
In reply to Stefan Agner

Hello.

Quoted 22 lines · Stefan Agner

Add address to unit name to remove the following warning:
Warning (unit_address_vs_reg): Node /nv-interrupt-controller has a reg or ranges property, but no unit name

---
Hi Arnd,

Not sure through which tree this should go but an earlier patch seemd to be applied directly by you...

--
Stefan

  arch/arm/boot/dts/armv7-m.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/armv7-m.dtsi +0 -0
index b1ad7cf..8126bec 100644

arch/arm/boot/dts/armv7-m.dtsi line 4

Quoted 5 lines
arch/arm/boot/dts/armv7-m.dtsi +1 -1
@@ -1,7 +1,7 @@
  #include "skeleton.dtsi"
 
  / {
-	nvic: nv-interrupt-controller  {
+	nvic: nv-interrupt-controller at 0xe000e100 {
    Drop "0x" from <unit address> please. And the name should be just 

"interrupt-controller at ..."

WBR, Sergei