From patchwork Fri Nov 6 10:46:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 56105 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp931066lbr; Fri, 6 Nov 2015 02:46:42 -0800 (PST) X-Received: by 10.69.0.129 with SMTP id ay1mr16476172pbd.21.1446806802822; Fri, 06 Nov 2015 02:46:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zj1si16949852pbb.30.2015.11.06.02.46.42; Fri, 06 Nov 2015 02:46:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032978AbbKFKql (ORCPT + 6 others); Fri, 6 Nov 2015 05:46:41 -0500 Received: from bhuna.collabora.co.uk ([93.93.135.160]:43159 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032934AbbKFKql (ORCPT ); Fri, 6 Nov 2015 05:46:41 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id 29B92600460 Received: by dusk.luon.net (Postfix, from userid 1000) id A691D23248; Fri, 6 Nov 2015 11:46:37 +0100 (CET) From: Sjoerd Simons To: Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH v2] ARM: dts: rockchip: Setup ethernet0 alias for u-boot Date: Fri, 6 Nov 2015 11:46:37 +0100 Message-Id: <1446806797-20912-1-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.6.2 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add an ethernet0 alias for the RK3288 mac interface so that u-boot can find the device-node and fill in the mac address on board that support a wired network interface. Signed-off-by: Sjoerd Simons --- Changes in v2: - Move alias from a board specific dts to the general rk3288.dtsi - Don't define an all-zero mac-address property, u-boot will always add the local-mac-address property which linux also uses. arch/arm/boot/dts/rk3288.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index b905cf6..f7d4c6f 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -52,6 +52,7 @@ interrupt-parent = <&gic>; aliases { + ethernet0 = &gmac; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;