From mboxrd@z Thu Jan 1 00:00:00 1970 From: jszhang@marvell.com (Jisheng Zhang) Date: Tue, 6 Sep 2016 18:20:48 +0800 Subject: [PATCH 1/3] arm64: dts: berlin4ct: add missing unit name to /soc node In-Reply-To: <20160906102208.GB1425@leverpostej> References: <20160906085557.4019-1-jszhang@marvell.com> <20160906085557.4019-2-jszhang@marvell.com> <20160906102208.GB1425@leverpostej> Message-ID: <20160906182048.222cec2f@xhacker> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Mark, On Tue, 6 Sep 2016 11:22:08 +0100 Mark Rutland wrote: > On Tue, Sep 06, 2016 at 04:55:55PM +0800, Jisheng Zhang wrote: > > This patch fixes the following DTC warning with W=1: > > > > "Node /soc has a reg or ranges property, but no unit name" > > > > Signed-off-by: Jisheng Zhang > > The node is only compatible with simple-bus, and so shouldn't have a > reg. IIUC, the warning is caused by "ranges = <0 0 0xf7000000 0x1000000>;" Thanks, Jisheng > > Why not remove the reg? > > Mark > > > --- > > arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi > > index 099ad93..2d6f91f 100644 > > --- a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi > > +++ b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi > > @@ -134,7 +134,7 @@ > > ; > > }; > > > > - soc { > > + soc at f7000000 { > > compatible = "simple-bus"; > > #address-cells = <1>; > > #size-cells = <1>; > > -- > > 2.9.3 > >