From patchwork Mon Jan 12 15:27:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Hicks X-Patchwork-Id: 427781 X-Patchwork-Delegate: scottwood@freescale.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6828F1401DC for ; Tue, 13 Jan 2015 02:37:05 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 58B5E1A0D9E for ; Tue, 13 Jan 2015 02:37:05 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org X-Greylist: delayed 510 seconds by postgrey-1.35 at bilbo; Tue, 13 Jan 2015 02:36:26 AEDT Received: from darwin.bork.org (darwin.bork.org [IPv6:2001:470:1f05:998::1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id CD2FD1A0644 for ; Tue, 13 Jan 2015 02:36:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id 22B121A41E; Mon, 12 Jan 2015 10:27:50 -0500 (EST) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qxhHOXI5muV5; Mon, 12 Jan 2015 10:27:50 -0500 (EST) Received: by darwin.bork.org (Postfix, from userid 1000) id 099081A6F7; Mon, 12 Jan 2015 10:27:50 -0500 (EST) Date: Mon, 12 Jan 2015 10:27:50 -0500 From: Martin Hicks To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc/fsl: Add empty ranges to etsec2 dts files Message-ID: <20150112152749.GA5450@darwin.bork.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: scottwood@freescale.com X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" With an earlier change (746c9e9f - Fix PowerPC address parsing hack), ethernet has broken on Freescale boards such as the P1022. All ranges used by the ethernet controllers are also covered by sub-devices that properly declared the used ranges. The error shown is: fsl-gianfar: probe of soc@ffe00000:ethernet@b0000 failed with error -12 Signed-off-by: Martin Hicks --- arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi | 1 + arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi | 1 + arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi b/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi index 1382fec..d1a6c48 100644 --- a/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi +++ b/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi @@ -43,6 +43,7 @@ mdio@24000 { ethernet@b0000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>; device_type = "network"; model = "eTSEC"; compatible = "fsl,etsec2"; diff --git a/arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi b/arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi index 221cd2e..0447d38 100644 --- a/arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi +++ b/arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi @@ -43,6 +43,7 @@ mdio@25000 { ethernet@b1000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>; device_type = "network"; model = "eTSEC"; compatible = "fsl,etsec2"; diff --git a/arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi b/arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi index 61456c3..d2b7255 100644 --- a/arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi +++ b/arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi @@ -42,6 +42,7 @@ mdio@26000 { ethernet@b2000 { #address-cells = <1>; #size-cells = <1>; + ranges = <>; device_type = "network"; model = "eTSEC"; compatible = "fsl,etsec2";