Skip to content
Snippets Groups Projects
Commit 7ad79c12 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: dts: uniphier: fix no unit name warnings


Fix warnings reported when built with W=1, by DTC 1.4.2 or later:
  Node /memory has a reg or ranges property, but no unit name

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent f16eda96
No related branches found
No related tags found
No related merge requests found
Showing
with 30 additions and 29 deletions
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
model = "UniPhier LD11 Reference Board"; model = "UniPhier LD11 Reference Board";
compatible = "socionext,uniphier-ld11-ref", "socionext,uniphier-ld11"; compatible = "socionext,uniphier-ld11-ref", "socionext,uniphier-ld11";
chosen {
stdout-path = "serial0:115200n8";
};
aliases { aliases {
serial0 = &serial0; serial0 = &serial0;
serial1 = &serial1; serial1 = &serial1;
...@@ -29,14 +33,10 @@ ...@@ -29,14 +33,10 @@
i2c5 = &i2c5; i2c5 = &i2c5;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0 0x80000000 0 0x40000000>; reg = <0 0x80000000 0 0x40000000>;
}; };
chosen {
stdout-path = "serial0:115200n8";
};
}; };
&ethsc { &ethsc {
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<1 10 4>; <1 10 4>;
}; };
soc { soc@0 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
model = "UniPhier LD20 Reference Board"; model = "UniPhier LD20 Reference Board";
compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20"; compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
chosen {
stdout-path = "serial0:115200n8";
};
aliases { aliases {
serial0 = &serial0; serial0 = &serial0;
serial1 = &serial1; serial1 = &serial1;
...@@ -29,14 +33,10 @@ ...@@ -29,14 +33,10 @@
i2c5 = &i2c5; i2c5 = &i2c5;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0 0x80000000 0 0xc0000000>; reg = <0 0x80000000 0 0xc0000000>;
}; };
chosen {
stdout-path = "serial0:115200n8";
};
}; };
&ethsc { &ethsc {
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
<1 10 4>; <1 10 4>;
}; };
soc { soc@0 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
i2c3 = &i2c3; i2c3 = &i2c3;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x20000000>; reg = <0x80000000 0x20000000>;
}; };
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
i2c6 = &i2c6; i2c6 = &i2c6;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x80000000>; reg = <0x80000000 0x80000000>;
}; };
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
i2c6 = &i2c6; i2c6 = &i2c6;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x40000000>; reg = <0x80000000 0x40000000>;
}; };
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
usb0 = &usb0; usb0 = &usb0;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x40000000>; reg = <0x80000000 0x40000000>;
}; };
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
i2c6 = &i2c6; i2c6 = &i2c6;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x80000000>; reg = <0x80000000 0x80000000>;
}; };
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
i2c6 = &i2c6; i2c6 = &i2c6;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x80000000>; reg = <0x80000000 0x80000000>;
}; };
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
i2c6 = &i2c6; i2c6 = &i2c6;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x80000000>; reg = <0x80000000 0x80000000>;
}; };
......
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
model = "UniPhier PXs3 Reference Board"; model = "UniPhier PXs3 Reference Board";
compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3"; compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3";
chosen {
stdout-path = "serial0:115200n8";
};
aliases { aliases {
serial0 = &serial0; serial0 = &serial0;
serial1 = &serial1; serial1 = &serial1;
...@@ -28,14 +32,10 @@ ...@@ -28,14 +32,10 @@
i2c6 = &i2c6; i2c6 = &i2c6;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0 0x80000000 0 0xa0000000>; reg = <0 0x80000000 0 0xa0000000>;
}; };
chosen {
stdout-path = "serial0:115200n8";
};
}; };
&ethsc { &ethsc {
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<1 10 4>; <1 10 4>;
}; };
soc { soc@0 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
i2c4 = &i2c4; i2c4 = &i2c4;
}; };
memory { memory@8000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x20000000 reg = <0x80000000 0x20000000
0xc0000000 0x20000000>; 0xc0000000 0x20000000>;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
i2c3 = &i2c3; i2c3 = &i2c3;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x20000000>; reg = <0x80000000 0x20000000>;
}; };
......
/* /*
* Device Tree Source for UniPhier Support Card (Expansion Board) * Device Tree Source for UniPhier Support Card (Expansion Board)
* *
* Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> * Copyright (C) 2015-2017 Socionext Inc.
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
* *
* SPDX-License-Identifier: GPL-2.0+ X11 * SPDX-License-Identifier: GPL-2.0+ X11
*/ */
...@@ -10,7 +11,7 @@ ...@@ -10,7 +11,7 @@
status = "okay"; status = "okay";
ranges = <1 0x00000000 0x42000000 0x02000000>; ranges = <1 0x00000000 0x42000000 0x02000000>;
support_card: support_card { support_card: support_card@1,1f00000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment