From patchwork Wed Oct 13 22:05:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 1540701 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Y9XhhAlC; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HV6Kc7283z9sP7 for ; Thu, 14 Oct 2021 09:15:16 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HV6Kc5pwCz3cMS for ; Thu, 14 Oct 2021 09:15:16 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Y9XhhAlC; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=agust@denx.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Y9XhhAlC; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HV6GY040nz2yPG for ; Thu, 14 Oct 2021 09:12:36 +1100 (AEDT) Received: from crub.agik.hopto.org (pd95f1d7c.dip0.t-ipconnect.de [217.95.29.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id DDEC28360A; Thu, 14 Oct 2021 00:05:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634162734; bh=lCCP2kpnABG9trPHuTzlDpEXA/5iYV/q/jG2UOBG/kY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y9XhhAlC2zq3AKBzSg/3aJbk3AgCRVgfGPkpFMS77YeRWVZbHp63A9Gu2/8KXdliX +CjzisKvVEAm+xBxc7jq/Sfm0l7C8Ezttu04HGdpPcHNRIBKkBxPu6k6U8UgizMCqs yVG1Lqn/YGKpIOsuZFG93XfCH6B3pNQGxELTuGnCOzpHB0LKJOpa3evT1XfigE12WH KMw/B4YMYhC21olNWtrxblxHlTEI/3RVM8NXXzTB9rk/SyTDOH/Kpau9pgEPjpCVvN R2ViTyjm87LLT4d+PZRPoRHU61c8wCULvjPlXASO7OamqH+t8tTsCfB/BEQHcO0TF+ 8s9ibS65PhEng== From: Anatolij Gustschin To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/4] powerpc/5200: dts: add missing pci ranges Date: Thu, 14 Oct 2021 00:05:29 +0200 Message-Id: <20211013220532.24759-2-agust@denx.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211013220532.24759-1-agust@denx.de> References: <20211013220532.24759-1-agust@denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Stephen Rothwell , linux-kernel@vger.kernel.org, Rob Herring , Paul Mackerras Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Add ranges property to fix build warnings: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/mpc5200b.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/mpc5200b.dtsi b/arch/powerpc/boot/dts/mpc5200b.dtsi index 648fe31795f4..8c645d2bc455 100644 --- a/arch/powerpc/boot/dts/mpc5200b.dtsi +++ b/arch/powerpc/boot/dts/mpc5200b.dtsi @@ -276,7 +276,9 @@ clock-frequency = <0>; // From boot loader interrupts = <2 8 0 2 9 0 2 10 0>; bus-range = <0 0>; - // ranges = need to add + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>, + <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; localbus: localbus { From patchwork Wed Oct 13 22:05:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 1540697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=hjLfWaUh; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HV6Gm3Lkzz9sP7 for ; Thu, 14 Oct 2021 09:12:48 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HV6Gl7488z2ypn for ; Thu, 14 Oct 2021 09:12:47 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=hjLfWaUh; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=agust@denx.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=hjLfWaUh; dkim-atps=neutral X-Greylist: delayed 407 seconds by postgrey-1.36 at boromir; Thu, 14 Oct 2021 09:12:32 AEDT Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HV6GS3PLbz2yP0 for ; Thu, 14 Oct 2021 09:12:32 +1100 (AEDT) Received: from crub.agik.hopto.org (pd95f1d7c.dip0.t-ipconnect.de [217.95.29.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 43B3283612; Thu, 14 Oct 2021 00:05:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634162734; bh=urliHNW43HlnOTWcyGDh78CSVRs4kDbRslzJnUMNtfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hjLfWaUhvPOdfEymbTsEbKVqyRnWBVMak2dhRLoYKfRcv/uaNnbeODLt9PA6Y6/Ve BGpPADoFpY78Nir2OBmFPpnqnOmMYwjsQXiHEZBT/W9fV1D+IbLjnDKB6b+/9EGV8V aC23keOnEQmpblR/eSPw+PLXGeFsGUtadakbj73S4Pw6w/oULN53akSFDrS1h9FbkW E61xzTTNykq/3kzPKn7EGQLdX7eqbbsb0EERcQiaUoJ0DahytBug+qI0mPGheedTQP sX2dRInwBee/hYeZqW0b4afbOhNJ/8t7cu7zCZswUtXuKOIuxx563QU2wZuWTi/tiy 3k4Cx20k6XFMw== From: Anatolij Gustschin To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 2/4] powerpc/5200: dts: fix pci ranges warnings Date: Thu, 14 Oct 2021 00:05:30 +0200 Message-Id: <20211013220532.24759-3-agust@denx.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211013220532.24759-1-agust@denx.de> References: <20211013220532.24759-1-agust@denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Stephen Rothwell , linux-kernel@vger.kernel.org, Rob Herring , Paul Mackerras Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Fix ranges property warnings: pci@f0000d00:ranges: 'oneOf' conditional failed, one must be fixed: Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/a4m072.dts | 6 +++--- arch/powerpc/boot/dts/charon.dts | 6 +++--- arch/powerpc/boot/dts/digsy_mtc.dts | 6 +++--- arch/powerpc/boot/dts/lite5200.dts | 6 +++--- arch/powerpc/boot/dts/lite5200b.dts | 6 +++--- arch/powerpc/boot/dts/media5200.dts | 6 +++--- arch/powerpc/boot/dts/mucmc52.dts | 6 +++--- arch/powerpc/boot/dts/pcm030.dts | 6 +++--- arch/powerpc/boot/dts/pcm032.dts | 6 +++--- arch/powerpc/boot/dts/tqm5200.dts | 6 +++--- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/arch/powerpc/boot/dts/a4m072.dts b/arch/powerpc/boot/dts/a4m072.dts index a9cef5726422..d4270a2ec6c7 100644 --- a/arch/powerpc/boot/dts/a4m072.dts +++ b/arch/powerpc/boot/dts/a4m072.dts @@ -140,8 +140,8 @@ clock-frequency = <0>; /* From boot loader */ interrupts = <2 8 0 2 9 0 2 10 0>; bus-range = <0 0>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000 - 0x02000000 0 0x90000000 0x90000000 0 0x10000000 - 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>, + <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; }; diff --git a/arch/powerpc/boot/dts/charon.dts b/arch/powerpc/boot/dts/charon.dts index 408b486b13df..6f9fe88a5f36 100644 --- a/arch/powerpc/boot/dts/charon.dts +++ b/arch/powerpc/boot/dts/charon.dts @@ -225,8 +225,8 @@ clock-frequency = <0>; // From boot loader interrupts = <2 8 0 2 9 0 2 10 0>; bus-range = <0 0>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000 - 0x02000000 0 0x90000000 0x90000000 0 0x10000000 - 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>, + <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; }; diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index 0e5e9d3acf79..010156649bfe 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts @@ -98,9 +98,9 @@ clock-frequency = <0>; // From boot loader interrupts = <2 8 0 2 9 0 2 10 0>; bus-range = <0 0>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000 - 0x02000000 0 0x90000000 0x90000000 0 0x10000000 - 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>, + <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; localbus { diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index cb2782dd6132..84a12e7915e9 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts @@ -283,9 +283,9 @@ clock-frequency = <0>; // From boot loader interrupts = <2 8 0 2 9 0 2 10 0>; bus-range = <0 0>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 - 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 - 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, + <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; localbus { diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index 2b86c81f9048..c361c59a9681 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts @@ -116,9 +116,9 @@ clock-frequency = <0>; // From boot loader interrupts = <2 8 0 2 9 0 2 10 0>; bus-range = <0 0>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 - 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 - 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, + <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; localbus { diff --git a/arch/powerpc/boot/dts/media5200.dts b/arch/powerpc/boot/dts/media5200.dts index 61cae9dcddef..f7d7538eb69d 100644 --- a/arch/powerpc/boot/dts/media5200.dts +++ b/arch/powerpc/boot/dts/media5200.dts @@ -96,9 +96,9 @@ 0xe000 0 0 1 &media5200_fpga 0 5 // CoralIP >; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 - 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 - 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, + <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; interrupt-parent = <&mpc5200_pic>; }; diff --git a/arch/powerpc/boot/dts/mucmc52.dts b/arch/powerpc/boot/dts/mucmc52.dts index c6c66306308d..e88a7bd4034d 100644 --- a/arch/powerpc/boot/dts/mucmc52.dts +++ b/arch/powerpc/boot/dts/mucmc52.dts @@ -106,9 +106,9 @@ 0x8000 0 0 3 &mpc5200_pic 0 2 3 0x8000 0 0 4 &mpc5200_pic 0 1 3 >; - ranges = <0x42000000 0 0x60000000 0x60000000 0 0x10000000 - 0x02000000 0 0x90000000 0x90000000 0 0x10000000 - 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; + ranges = <0x42000000 0 0x60000000 0x60000000 0 0x10000000>, + <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; localbus { diff --git a/arch/powerpc/boot/dts/pcm030.dts b/arch/powerpc/boot/dts/pcm030.dts index b1bc731f7afd..5cee474dcc4c 100644 --- a/arch/powerpc/boot/dts/pcm030.dts +++ b/arch/powerpc/boot/dts/pcm030.dts @@ -90,9 +90,9 @@ 0xc800 0 0 2 &mpc5200_pic 1 2 3 0xc800 0 0 3 &mpc5200_pic 1 3 3 0xc800 0 0 4 &mpc5200_pic 0 0 3>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 - 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 - 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, + <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; localbus { diff --git a/arch/powerpc/boot/dts/pcm032.dts b/arch/powerpc/boot/dts/pcm032.dts index 780e13d99e7b..b6fdf861c7d6 100644 --- a/arch/powerpc/boot/dts/pcm032.dts +++ b/arch/powerpc/boot/dts/pcm032.dts @@ -87,9 +87,9 @@ 0xc800 0 0 2 &mpc5200_pic 1 2 3 0xc800 0 0 3 &mpc5200_pic 1 3 3 0xc800 0 0 4 &mpc5200_pic 0 0 3>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 - 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 - 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, + <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; localbus { diff --git a/arch/powerpc/boot/dts/tqm5200.dts b/arch/powerpc/boot/dts/tqm5200.dts index 9ed0bc78967e..40b139d92a19 100644 --- a/arch/powerpc/boot/dts/tqm5200.dts +++ b/arch/powerpc/boot/dts/tqm5200.dts @@ -200,8 +200,8 @@ clock-frequency = <0>; // From boot loader interrupts = <2 8 0 2 9 0 2 10 0>; bus-range = <0 0>; - ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000 - 0x02000000 0 0x90000000 0x90000000 0 0x10000000 - 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; + ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>, + <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, + <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; }; From patchwork Wed Oct 13 22:05:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 1540699 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=iY+rL/fP; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HV6JB30T8z9sP7 for ; Thu, 14 Oct 2021 09:14:02 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HV6J96j14z3cBl for ; Thu, 14 Oct 2021 09:14:01 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=iY+rL/fP; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=agust@denx.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=iY+rL/fP; dkim-atps=neutral X-Greylist: delayed 406 seconds by postgrey-1.36 at boromir; Thu, 14 Oct 2021 09:12:32 AEDT Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HV6GS6j9hz2yP7 for ; Thu, 14 Oct 2021 09:12:32 +1100 (AEDT) Received: from crub.agik.hopto.org (pd95f1d7c.dip0.t-ipconnect.de [217.95.29.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9DDC983615; Thu, 14 Oct 2021 00:05:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634162734; bh=uZm5D2+CRm7bH5HFGW3gUhOTGOqsiOrv5b4dSLnjlUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iY+rL/fPzv9+GTvNOazn778jJn80o/iahhzIwkZEDscxCQlerLX/6SQPFTx9zoLwW w6WefyhXzCcheTXW056K1nCiriaH2/o6dYBoiM67toTcFmX9MICj1unhT1km0w09OO +uFH0ETkAvnEIdZjq+Iih7KP1Z8KzqThb4c5sFI7cVSt7W8DpQuPLe+Gh+ZQAlQbdz eI3myiBXFtNN7P8y05EHTBCmkOiVe40/AmuQk+2/QrmCbDim1U/jPCdIsnTPluKyaI t03oMiY/O0evABmIm0A9GvYadHxwHuR+qWjIaXSp1TA68lPPiZW2ZjgFbWIPy9YGw+ OjkcyX+jdMdKQ== From: Anatolij Gustschin To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 3/4] powerpc/5200: dts: fix memory node unit name Date: Thu, 14 Oct 2021 00:05:31 +0200 Message-Id: <20211013220532.24759-4-agust@denx.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211013220532.24759-1-agust@denx.de> References: <20211013220532.24759-1-agust@denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Stephen Rothwell , linux-kernel@vger.kernel.org, Rob Herring , Paul Mackerras Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Fixes build warnings: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/charon.dts | 2 +- arch/powerpc/boot/dts/digsy_mtc.dts | 2 +- arch/powerpc/boot/dts/lite5200.dts | 2 +- arch/powerpc/boot/dts/lite5200b.dts | 2 +- arch/powerpc/boot/dts/media5200.dts | 2 +- arch/powerpc/boot/dts/mpc5200b.dtsi | 2 +- arch/powerpc/boot/dts/o2d.dts | 2 +- arch/powerpc/boot/dts/o2d.dtsi | 2 +- arch/powerpc/boot/dts/o2dnt2.dts | 2 +- arch/powerpc/boot/dts/o3dnt.dts | 2 +- arch/powerpc/boot/dts/pcm032.dts | 2 +- arch/powerpc/boot/dts/tqm5200.dts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/boot/dts/charon.dts b/arch/powerpc/boot/dts/charon.dts index 6f9fe88a5f36..ea6e76ae2545 100644 --- a/arch/powerpc/boot/dts/charon.dts +++ b/arch/powerpc/boot/dts/charon.dts @@ -35,7 +35,7 @@ }; }; - memory { + memory@0 { device_type = "memory"; reg = <0x00000000 0x08000000>; // 128MB }; diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index 010156649bfe..57024a4c1e7d 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts @@ -16,7 +16,7 @@ model = "intercontrol,digsy-mtc"; compatible = "intercontrol,digsy-mtc"; - memory { + memory@0 { reg = <0x00000000 0x02000000>; // 32MB }; diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index 84a12e7915e9..b9d8487813b4 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts @@ -32,7 +32,7 @@ }; }; - memory { + memory@0 { device_type = "memory"; reg = <0x00000000 0x04000000>; // 64MB }; diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index c361c59a9681..7e2d91c7cb66 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts @@ -31,7 +31,7 @@ led4 { gpios = <&gpio_simple 2 1>; }; }; - memory { + memory@0 { reg = <0x00000000 0x10000000>; // 256MB }; diff --git a/arch/powerpc/boot/dts/media5200.dts b/arch/powerpc/boot/dts/media5200.dts index f7d7538eb69d..96524ede16cd 100644 --- a/arch/powerpc/boot/dts/media5200.dts +++ b/arch/powerpc/boot/dts/media5200.dts @@ -32,7 +32,7 @@ }; }; - memory { + memory@0 { reg = <0x00000000 0x08000000>; // 128MB RAM }; diff --git a/arch/powerpc/boot/dts/mpc5200b.dtsi b/arch/powerpc/boot/dts/mpc5200b.dtsi index 8c645d2bc455..ffa82c7e1055 100644 --- a/arch/powerpc/boot/dts/mpc5200b.dtsi +++ b/arch/powerpc/boot/dts/mpc5200b.dtsi @@ -33,7 +33,7 @@ }; }; - memory: memory { + memory: memory@0 { device_type = "memory"; reg = <0x00000000 0x04000000>; // 64MB }; diff --git a/arch/powerpc/boot/dts/o2d.dts b/arch/powerpc/boot/dts/o2d.dts index 24a46f65e529..e0a8d3034417 100644 --- a/arch/powerpc/boot/dts/o2d.dts +++ b/arch/powerpc/boot/dts/o2d.dts @@ -12,7 +12,7 @@ model = "ifm,o2d"; compatible = "ifm,o2d"; - memory { + memory@0 { reg = <0x00000000 0x08000000>; // 128MB }; diff --git a/arch/powerpc/boot/dts/o2d.dtsi b/arch/powerpc/boot/dts/o2d.dtsi index 6661955a2be4..b55a9e5bd828 100644 --- a/arch/powerpc/boot/dts/o2d.dtsi +++ b/arch/powerpc/boot/dts/o2d.dtsi @@ -19,7 +19,7 @@ model = "ifm,o2d"; compatible = "ifm,o2d"; - memory { + memory@0 { reg = <0x00000000 0x04000000>; // 64MB }; diff --git a/arch/powerpc/boot/dts/o2dnt2.dts b/arch/powerpc/boot/dts/o2dnt2.dts index eeba7f5507d5..c2eedbd1f5fc 100644 --- a/arch/powerpc/boot/dts/o2dnt2.dts +++ b/arch/powerpc/boot/dts/o2dnt2.dts @@ -12,7 +12,7 @@ model = "ifm,o2dnt2"; compatible = "ifm,o2d"; - memory { + memory@0 { reg = <0x00000000 0x08000000>; // 128MB }; diff --git a/arch/powerpc/boot/dts/o3dnt.dts b/arch/powerpc/boot/dts/o3dnt.dts index fd00396b0593..e4c1bdd41271 100644 --- a/arch/powerpc/boot/dts/o3dnt.dts +++ b/arch/powerpc/boot/dts/o3dnt.dts @@ -12,7 +12,7 @@ model = "ifm,o3dnt"; compatible = "ifm,o2d"; - memory { + memory@0 { reg = <0x00000000 0x04000000>; // 64MB }; diff --git a/arch/powerpc/boot/dts/pcm032.dts b/arch/powerpc/boot/dts/pcm032.dts index b6fdf861c7d6..d00f13b62510 100644 --- a/arch/powerpc/boot/dts/pcm032.dts +++ b/arch/powerpc/boot/dts/pcm032.dts @@ -20,7 +20,7 @@ model = "phytec,pcm032"; compatible = "phytec,pcm032"; - memory { + memory@0 { reg = <0x00000000 0x08000000>; // 128MB }; diff --git a/arch/powerpc/boot/dts/tqm5200.dts b/arch/powerpc/boot/dts/tqm5200.dts index 40b139d92a19..372177b19e60 100644 --- a/arch/powerpc/boot/dts/tqm5200.dts +++ b/arch/powerpc/boot/dts/tqm5200.dts @@ -32,7 +32,7 @@ }; }; - memory { + memory@0 { device_type = "memory"; reg = <0x00000000 0x04000000>; // 64MB }; From patchwork Wed Oct 13 22:05:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 1540700 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=qyVpdHIc; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HV6Jw0KL7z9sP7 for ; Thu, 14 Oct 2021 09:14:40 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HV6Jv5yWLz3cGf for ; Thu, 14 Oct 2021 09:14:39 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=qyVpdHIc; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=agust@denx.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=qyVpdHIc; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HV6GV4Yfvz2yPL for ; Thu, 14 Oct 2021 09:12:34 +1100 (AEDT) Received: from crub.agik.hopto.org (pd95f1d7c.dip0.t-ipconnect.de [217.95.29.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 0173983619; Thu, 14 Oct 2021 00:05:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634162735; bh=ii9BG9EqksSCbuXPIWNXj6v8gddbB4AJcV5NiFPVTHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qyVpdHIciw7YWFRYg2u9AcgoOaPBfHsWuLXucjobeUXm6BQ6bALWAoeCcw15/maF4 UDpdXXl6LYYBDR7GbcRjeag7Dj/tAzM4pAxVwLAG2F7pADNN3ppc2ZejTAtauaDT7h bR2KlfQhL/7DAO7DuOrqHbtc9qPavON+Wb1wwilluH0GoiIrVTANbfj1FPbHn2f050 WUJV452TYMlsCasM4Uqk5kcBpYdEfXTN+g51Fx+gAuamrsQ7Cs/s95hOJBEA+wzc/W nDxwN7srnm+Mi5aUIQNhhXcrnmrNXEeGLYsN7KNtvYFO5vxABcoicRDLCmZEoWvv66 6J+asVDiLIwqA== From: Anatolij Gustschin To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 4/4] powerpc/5200: dts: fix localbus node warnings Date: Thu, 14 Oct 2021 00:05:32 +0200 Message-Id: <20211013220532.24759-5-agust@denx.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211013220532.24759-1-agust@denx.de> References: <20211013220532.24759-1-agust@denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Stephen Rothwell , linux-kernel@vger.kernel.org, Rob Herring , Paul Mackerras Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Fix build warnings like: localbus:ranges: 'oneOf' conditional failed, one must be fixed ... Warning (unit_address_vs_reg): /localbus: node has a reg or ranges property, but no unit name Warning (simple_bus_reg): /localbus/flash@0,0: simple-bus unit address format error, expected "0" Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/a3m071.dts | 12 +++++----- arch/powerpc/boot/dts/a4m072.dts | 20 ++++++++--------- arch/powerpc/boot/dts/charon.dts | 14 ++++++------ arch/powerpc/boot/dts/cm5200.dts | 7 ++++-- arch/powerpc/boot/dts/digsy_mtc.dts | 16 ++++++++------ arch/powerpc/boot/dts/lite5200.dts | 4 ++-- arch/powerpc/boot/dts/lite5200b.dts | 6 +++-- arch/powerpc/boot/dts/media5200.dts | 20 +++++++++-------- arch/powerpc/boot/dts/motionpro.dts | 32 +++++++++++++++------------ arch/powerpc/boot/dts/mpc5200b.dtsi | 2 +- arch/powerpc/boot/dts/mucmc52.dts | 34 +++++++++++++++-------------- arch/powerpc/boot/dts/o2d.dts | 10 +++++---- arch/powerpc/boot/dts/o2d.dtsi | 12 +++++----- arch/powerpc/boot/dts/o2d300.dts | 10 +++++---- arch/powerpc/boot/dts/o2dnt2.dts | 10 +++++---- arch/powerpc/boot/dts/o2i.dts | 4 ++-- arch/powerpc/boot/dts/o2mnt.dts | 4 ++-- arch/powerpc/boot/dts/o3dnt.dts | 10 +++++---- arch/powerpc/boot/dts/pcm030.dts | 2 +- arch/powerpc/boot/dts/pcm032.dts | 26 ++++++++++++---------- arch/powerpc/boot/dts/tqm5200.dts | 4 ++-- arch/powerpc/boot/dts/uc101.dts | 14 +++++++----- 22 files changed, 151 insertions(+), 122 deletions(-) diff --git a/arch/powerpc/boot/dts/a3m071.dts b/arch/powerpc/boot/dts/a3m071.dts index 034cfd8aa95b..14e59aaa0ba7 100644 --- a/arch/powerpc/boot/dts/a3m071.dts +++ b/arch/powerpc/boot/dts/a3m071.dts @@ -87,15 +87,15 @@ }; }; - localbus { + localbus@80000000 { compatible = "fsl,mpc5200b-lpb","simple-bus"; #address-cells = <2>; #size-cells = <1>; - ranges = <0 0 0xfc000000 0x02000000 - 3 0 0xe9000000 0x00080000 - 5 0 0xe8000000 0x00010000>; + ranges = <0 0 0xfc000000 0x02000000>, + <3 0 0xe9000000 0x00080000>, + <5 0 0xe8000000 0x00010000>; - flash@0,0 { + flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0 0x0 0x02000000>; @@ -124,7 +124,7 @@ }; }; - fpga@3,0 { + fpga@300000000 { compatible = "anonymous,a3m071-fpga"; reg = <3 0x0 0x00080000 5 0x0 0x00010000>; diff --git a/arch/powerpc/boot/dts/a4m072.dts b/arch/powerpc/boot/dts/a4m072.dts index d4270a2ec6c7..dede711957da 100644 --- a/arch/powerpc/boot/dts/a4m072.dts +++ b/arch/powerpc/boot/dts/a4m072.dts @@ -98,25 +98,25 @@ }; }; - localbus { + localbus@80000000 { compatible = "fsl,mpc5200b-lpb","simple-bus"; #address-cells = <2>; #size-cells = <1>; - ranges = <0 0 0xfe000000 0x02000000 - 1 0 0x62000000 0x00400000 - 2 0 0x64000000 0x00200000 - 3 0 0x66000000 0x01000000 - 6 0 0x68000000 0x01000000 - 7 0 0x6a000000 0x00000004>; - - flash@0,0 { + ranges = <0 0 0xfe000000 0x02000000>, + <1 0 0x62000000 0x00400000>, + <2 0 0x64000000 0x00200000>, + <3 0 0x66000000 0x01000000>, + <6 0 0x68000000 0x01000000>, + <7 0 0x6a000000 0x00000004>; + + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <2>; #size-cells = <1>; #address-cells = <1>; }; - sram0@1,0 { + sram0@100000000 { compatible = "mtd-ram"; reg = <1 0x00000 0x00400000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/charon.dts b/arch/powerpc/boot/dts/charon.dts index ea6e76ae2545..2e3518909321 100644 --- a/arch/powerpc/boot/dts/charon.dts +++ b/arch/powerpc/boot/dts/charon.dts @@ -177,15 +177,15 @@ }; }; - localbus { + localbus@80000000 { compatible = "fsl,mpc5200-lpb","simple-bus"; #address-cells = <2>; #size-cells = <1>; - ranges = < 0 0 0xfc000000 0x02000000 - 1 0 0xe0000000 0x04000000 // CS1 range, SM501 - 3 0 0xe8000000 0x00080000>; + ranges = <0 0 0xfc000000 0x02000000>, + <1 0 0xe0000000 0x04000000>, // CS1 range, SM501 + <3 0 0xe8000000 0x00080000>; - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <4>; @@ -194,7 +194,7 @@ #address-cells = <1>; }; - display@1,0 { + display@100000000 { compatible = "smi,sm501"; reg = <1 0x00000000 0x00800000 1 0x03e00000 0x00200000>; @@ -203,7 +203,7 @@ little-endian; }; - mram0@3,0 { + mram0@300000000 { compatible = "mtd-ram"; reg = <3 0x00000 0x80000>; bank-width = <1>; diff --git a/arch/powerpc/boot/dts/cm5200.dts b/arch/powerpc/boot/dts/cm5200.dts index 66cae7be60c4..196f412f2c32 100644 --- a/arch/powerpc/boot/dts/cm5200.dts +++ b/arch/powerpc/boot/dts/cm5200.dts @@ -71,9 +71,12 @@ status = "disabled"; }; - localbus { + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + // 16-bit flash device at LocalPlus Bus CS0 - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x2000000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index 57024a4c1e7d..28355f037e1b 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts @@ -103,12 +103,14 @@ <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; - localbus { - ranges = <0 0 0xff000000 0x1000000 - 4 0 0x60000000 0x0001000>; + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xff000000 0x1000000>, + <4 0 0x60000000 0x0001000>; // 16-bit flash device at LocalPlus Bus CS0 - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x1000000>; bank-width = <2>; @@ -134,21 +136,21 @@ }; }; - can@4,0 { + can@400000000 { compatible = "nxp,sja1000"; reg = <4 0x000 0x80>; nxp,external-clock-frequency = <24000000>; interrupts = <1 2 3>; // Level-low }; - can@4,100 { + can@400000100 { compatible = "nxp,sja1000"; reg = <4 0x100 0x80>; nxp,external-clock-frequency = <24000000>; interrupts = <1 2 3>; // Level-low }; - serial@4,200 { + serial@400000200 { compatible = "nxp,sc28l92"; reg = <4 0x200 0x10>; interrupts = <1 3 3>; diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index b9d8487813b4..4316669dc5bb 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts @@ -288,14 +288,14 @@ <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; - localbus { + localbus@80000000 { compatible = "fsl,mpc5200-lpb","simple-bus"; #address-cells = <2>; #size-cells = <1>; ranges = <0 0 0xff000000 0x01000000>; - flash@0,0 { + flash@0 { compatible = "amd,am29lv652d", "cfi-flash"; reg = <0 0 0x01000000>; bank-width = <1>; diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index 7e2d91c7cb66..f31825477703 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts @@ -121,10 +121,12 @@ <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; - localbus { + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; ranges = <0 0 0xfe000000 0x02000000>; - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <1>; diff --git a/arch/powerpc/boot/dts/media5200.dts b/arch/powerpc/boot/dts/media5200.dts index 96524ede16cd..e4bca32dbf10 100644 --- a/arch/powerpc/boot/dts/media5200.dts +++ b/arch/powerpc/boot/dts/media5200.dts @@ -102,26 +102,28 @@ interrupt-parent = <&mpc5200_pic>; }; - localbus { - ranges = < 0 0 0xfc000000 0x02000000 - 1 0 0xfe000000 0x02000000 - 2 0 0xf0010000 0x00010000 - 3 0 0xf0020000 0x00010000 >; - flash@0,0 { + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xfc000000 0x02000000>, + <1 0 0xfe000000 0x02000000>, + <2 0 0xf0010000 0x00010000>, + <3 0 0xf0020000 0x00010000>; + flash@0 { compatible = "amd,am29lv28ml", "cfi-flash"; reg = <0 0x0 0x2000000>; // 32 MB bank-width = <4>; // Width in bytes of the flash bank device-width = <2>; // Two devices on each bank }; - flash@1,0 { + flash@100000000 { compatible = "amd,am29lv28ml", "cfi-flash"; reg = <1 0 0x2000000>; // 32 MB bank-width = <4>; // Width in bytes of the flash bank device-width = <2>; // Two devices on each bank }; - media5200_fpga: fpga@2,0 { + media5200_fpga: fpga@200000000 { compatible = "fsl,media5200-fpga"; interrupt-controller; #interrupt-cells = <2>; // 0:bank 1:id; no type field @@ -132,7 +134,7 @@ 1 1 3>; // IRQ bank 1 }; - uart@3,0 { + uart@300000000 { compatible = "ti,tl16c752bpt"; reg = <3 0 0x10000>; interrupt-parent = <&media5200_fpga>; diff --git a/arch/powerpc/boot/dts/motionpro.dts b/arch/powerpc/boot/dts/motionpro.dts index c23676093da8..09f0eaa4ad49 100644 --- a/arch/powerpc/boot/dts/motionpro.dts +++ b/arch/powerpc/boot/dts/motionpro.dts @@ -85,41 +85,45 @@ status = "disabled"; }; - localbus { - ranges = <0 0 0xff000000 0x01000000 - 1 0 0x50000000 0x00010000 - 2 0 0x50010000 0x00010000 - 3 0 0x50020000 0x00010000>; + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xff000000 0x01000000>, + <1 0 0x50000000 0x00010000>, + <2 0 0x50010000 0x00010000>, + <3 0 0x50020000 0x00010000>; // 8-bit DualPort SRAM on LocalPlus Bus CS1 - kollmorgen@1,0 { + kollmorgen@100000000 { compatible = "promess,motionpro-kollmorgen"; reg = <1 0 0x10000>; interrupts = <1 1 0>; }; // 8-bit board CPLD on LocalPlus Bus CS2 - cpld@2,0 { + cpld@200000000 { compatible = "promess,motionpro-cpld"; reg = <2 0 0x10000>; }; // 8-bit custom Anybus Module on LocalPlus Bus CS3 - anybus@3,0 { + anybus@300000000 { compatible = "promess,motionpro-anybus"; reg = <3 0 0x10000>; }; - pro_module_general@3,0 { - compatible = "promess,pro_module_general"; - reg = <3 0 3>; - }; - pro_module_dio@3,800 { + /* + * pro_module_general@300000000 { + * compatible = "promess,pro_module_general"; + * reg = <3 0 3>; + * }; + */ + pro_module_dio@300000800 { compatible = "promess,pro_module_dio"; reg = <3 0x800 2>; }; // 16-bit flash device at LocalPlus Bus CS0 - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x01000000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/mpc5200b.dtsi b/arch/powerpc/boot/dts/mpc5200b.dtsi index ffa82c7e1055..5083661bce40 100644 --- a/arch/powerpc/boot/dts/mpc5200b.dtsi +++ b/arch/powerpc/boot/dts/mpc5200b.dtsi @@ -281,7 +281,7 @@ <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; - localbus: localbus { + localbus: localbus@80000000 { compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; #address-cells = <2>; #size-cells = <1>; diff --git a/arch/powerpc/boot/dts/mucmc52.dts b/arch/powerpc/boot/dts/mucmc52.dts index e88a7bd4034d..0bf4f1a5bb19 100644 --- a/arch/powerpc/boot/dts/mucmc52.dts +++ b/arch/powerpc/boot/dts/mucmc52.dts @@ -111,12 +111,14 @@ <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; }; - localbus { - ranges = <0 0 0xff800000 0x00800000 - 1 0 0x80000000 0x00800000 - 3 0 0x80000000 0x00800000>; - - flash@0,0 { + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xff800000 0x00800000>, + <1 0 0x80000000 0x00800000>, + <3 0 0x80000000 0x00800000>; + + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x00800000>; bank-width = <4>; @@ -157,61 +159,61 @@ }; }; - simple100: gpio-controller-100@3,600100 { + simple100: gpio-controller-100@300600100 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600100 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple104: gpio-controller-104@3,600104 { + simple104: gpio-controller-104@300600104 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600104 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple200: gpio-controller-200@3,600200 { + simple200: gpio-controller-200@300600200 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600200 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple201: gpio-controller-201@3,600201 { + simple201: gpio-controller-201@300600201 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600201 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple202: gpio-controller-202@3,600202 { + simple202: gpio-controller-202@300600202 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600202 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple203: gpio-controller-203@3,600203 { + simple203: gpio-controller-203@300600203 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600203 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple204: gpio-controller-204@3,600204 { + simple204: gpio-controller-204@300600204 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600204 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple206: gpio-controller-206@3,600206 { + simple206: gpio-controller-206@300600206 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600206 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple207: gpio-controller-207@3,600207 { + simple207: gpio-controller-207@300600207 { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x00600207 0x1>; gpio-controller; #gpio-cells = <2>; }; - simple20f: gpio-controller-20f@3,60020f { + simple20f: gpio-controller-20f@30060020f { compatible = "manroland,mucmc52-aux-gpio"; reg = <3 0x0060020f 0x1>; gpio-controller; diff --git a/arch/powerpc/boot/dts/o2d.dts b/arch/powerpc/boot/dts/o2d.dts index e0a8d3034417..fc7e8b46f058 100644 --- a/arch/powerpc/boot/dts/o2d.dts +++ b/arch/powerpc/boot/dts/o2d.dts @@ -16,11 +16,13 @@ reg = <0x00000000 0x08000000>; // 128MB }; - localbus { - ranges = <0 0 0xfc000000 0x02000000 - 3 0 0xe3000000 0x00100000>; + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xfc000000 0x02000000>, + <3 0 0xe3000000 0x00100000>; - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/o2d.dtsi b/arch/powerpc/boot/dts/o2d.dtsi index b55a9e5bd828..898fe08a9fd0 100644 --- a/arch/powerpc/boot/dts/o2d.dtsi +++ b/arch/powerpc/boot/dts/o2d.dtsi @@ -73,12 +73,14 @@ }; }; - localbus { - ranges = <0 0 0xff000000 0x01000000 - 3 0 0xe3000000 0x00100000>; + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xff000000 0x01000000>, + <3 0 0xe3000000 0x00100000>; // flash device at LocalPlus Bus CS0 - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x01000000>; bank-width = <1>; @@ -100,7 +102,7 @@ }; }; - csi@3,0 { + csi@300000000 { compatible = "ifm,o2d-csi"; reg = <3 0 0x00100000>; ifm,csi-clk-handle = <&gpt7>; diff --git a/arch/powerpc/boot/dts/o2d300.dts b/arch/powerpc/boot/dts/o2d300.dts index 55a25b700bed..f0faa73b786c 100644 --- a/arch/powerpc/boot/dts/o2d300.dts +++ b/arch/powerpc/boot/dts/o2d300.dts @@ -12,10 +12,12 @@ model = "ifm,o2d300"; compatible = "ifm,o2d"; - localbus { - ranges = <0 0 0xfc000000 0x02000000 - 3 0 0xe3000000 0x00100000>; - flash@0,0 { + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xfc000000 0x02000000>, + <3 0 0xe3000000 0x00100000>; + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/o2dnt2.dts b/arch/powerpc/boot/dts/o2dnt2.dts index c2eedbd1f5fc..ba2556fc227e 100644 --- a/arch/powerpc/boot/dts/o2dnt2.dts +++ b/arch/powerpc/boot/dts/o2dnt2.dts @@ -16,11 +16,13 @@ reg = <0x00000000 0x08000000>; // 128MB }; - localbus { - ranges = <0 0 0xfc000000 0x02000000 - 3 0 0xe3000000 0x00100000>; + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xfc000000 0x02000000>, + <3 0 0xe3000000 0x00100000>; - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/o2i.dts b/arch/powerpc/boot/dts/o2i.dts index 3fb2e0ad7387..971be0d3b18e 100644 --- a/arch/powerpc/boot/dts/o2i.dts +++ b/arch/powerpc/boot/dts/o2i.dts @@ -12,8 +12,8 @@ model = "ifm,o2i"; compatible = "ifm,o2d"; - localbus { - flash@0,0 { + localbus@80000000 { + flash@0 { partition@60000 { label = "kernel"; reg = <0x00060000 0x00260000>; diff --git a/arch/powerpc/boot/dts/o2mnt.dts b/arch/powerpc/boot/dts/o2mnt.dts index c5e0ba6e8f2b..42056a8fe35c 100644 --- a/arch/powerpc/boot/dts/o2mnt.dts +++ b/arch/powerpc/boot/dts/o2mnt.dts @@ -12,8 +12,8 @@ model = "ifm,o2mnt"; compatible = "ifm,o2d"; - localbus { - flash@0,0 { + localbus@80000000 { + flash@0 { partition@60000 { label = "kernel"; reg = <0x00060000 0x00260000>; diff --git a/arch/powerpc/boot/dts/o3dnt.dts b/arch/powerpc/boot/dts/o3dnt.dts index e4c1bdd41271..7cfcc0a9c89b 100644 --- a/arch/powerpc/boot/dts/o3dnt.dts +++ b/arch/powerpc/boot/dts/o3dnt.dts @@ -16,11 +16,13 @@ reg = <0x00000000 0x04000000>; // 64MB }; - localbus { - ranges = <0 0 0xfc000000 0x01000000 - 3 0 0xe3000000 0x00100000>; + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xfc000000 0x01000000>, + <3 0 0xe3000000 0x00100000>; - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x01000000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/pcm030.dts b/arch/powerpc/boot/dts/pcm030.dts index 5cee474dcc4c..a4146b616b03 100644 --- a/arch/powerpc/boot/dts/pcm030.dts +++ b/arch/powerpc/boot/dts/pcm030.dts @@ -95,7 +95,7 @@ <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; - localbus { + localbus@80000000 { status = "disabled"; }; diff --git a/arch/powerpc/boot/dts/pcm032.dts b/arch/powerpc/boot/dts/pcm032.dts index d00f13b62510..ea36ef5cdd02 100644 --- a/arch/powerpc/boot/dts/pcm032.dts +++ b/arch/powerpc/boot/dts/pcm032.dts @@ -92,17 +92,19 @@ <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; - localbus { - ranges = <0 0 0xfe000000 0x02000000 - 1 0 0xfc000000 0x02000000 - 2 0 0xfbe00000 0x00200000 - 3 0 0xf9e00000 0x02000000 - 4 0 0xf7e00000 0x02000000 - 5 0 0xe6000000 0x02000000 - 6 0 0xe8000000 0x02000000 - 7 0 0xea000000 0x02000000>; - - flash@0,0 { + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xfe000000 0x02000000>, + <1 0 0xfc000000 0x02000000>, + <2 0 0xfbe00000 0x00200000>, + <3 0 0xf9e00000 0x02000000>, + <4 0 0xf7e00000 0x02000000>, + <5 0 0xe6000000 0x02000000>, + <6 0 0xe8000000 0x02000000>, + <7 0 0xea000000 0x02000000>; + + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <4>; @@ -139,7 +141,7 @@ }; }; - sram@2,0 { + sram@200000000 { compatible = "mtd-ram"; reg = <2 0 0x00200000>; bank-width = <2>; diff --git a/arch/powerpc/boot/dts/tqm5200.dts b/arch/powerpc/boot/dts/tqm5200.dts index 372177b19e60..24e97056b8e3 100644 --- a/arch/powerpc/boot/dts/tqm5200.dts +++ b/arch/powerpc/boot/dts/tqm5200.dts @@ -169,13 +169,13 @@ }; }; - localbus { + localbus@80000000 { compatible = "fsl,mpc5200-lpb","simple-bus"; #address-cells = <2>; #size-cells = <1>; ranges = <0 0 0xfc000000 0x02000000>; - flash@0,0 { + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x02000000>; bank-width = <4>; diff --git a/arch/powerpc/boot/dts/uc101.dts b/arch/powerpc/boot/dts/uc101.dts index 2e34d019178b..c752712bcdbb 100644 --- a/arch/powerpc/boot/dts/uc101.dts +++ b/arch/powerpc/boot/dts/uc101.dts @@ -101,12 +101,14 @@ status = "disabled"; }; - localbus { - ranges = <0 0 0xff800000 0x00800000 - 1 0 0x80000000 0x00800000 - 3 0 0x80000000 0x00800000>; - - flash@0,0 { + localbus@80000000 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xff800000 0x00800000>, + <1 0 0x80000000 0x00800000>, + <3 0 0x80000000 0x00800000>; + + flash@0 { compatible = "cfi-flash"; reg = <0 0 0x00800000>; bank-width = <2>;