From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934765AbcIFKWZ (ORCPT ); Tue, 6 Sep 2016 06:22:25 -0400 Received: from foss.arm.com ([217.140.101.70]:45348 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933970AbcIFKWX (ORCPT ); Tue, 6 Sep 2016 06:22:23 -0400 Date: Tue, 6 Sep 2016 11:22:08 +0100 From: Mark Rutland To: Jisheng Zhang Cc: sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] arm64: dts: berlin4ct: add missing unit name to /soc node Message-ID: <20160906102208.GB1425@leverpostej> References: <20160906085557.4019-1-jszhang@marvell.com> <20160906085557.4019-2-jszhang@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160906085557.4019-2-jszhang@marvell.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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@f7000000 { > compatible = "simple-bus"; > #address-cells = <1>; > #size-cells = <1>; > -- > 2.9.3 >