From patchwork Thu Oct 29 20:44:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 55799 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp784326lbr; Thu, 29 Oct 2015 13:45:04 -0700 (PDT) X-Received: by 10.107.13.13 with SMTP id 13mr6004846ion.72.1446151503963; Thu, 29 Oct 2015 13:45:03 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fk4si28052413igb.4.2015.10.29.13.45.03; Thu, 29 Oct 2015 13:45:03 -0700 (PDT) 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 S1757370AbbJ2UpC (ORCPT + 6 others); Thu, 29 Oct 2015 16:45:02 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:53483 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757063AbbJ2UpB (ORCPT ); Thu, 29 Oct 2015 16:45:01 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id 56EE16010CD Received: by dusk.luon.net (Postfix, from userid 1000) id 3C2D323EE0; Thu, 29 Oct 2015 21:44:57 +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] ARM: dts: rockchip: Setup ethernet0 alias for u-boot Date: Thu, 29 Oct 2015 21:44:57 +0100 Message-Id: <1446151497-29833-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 wired network card and an all 0 default mac address so that u-boot can find the device-node and fill in the mac address. Signed-off-by: Sjoerd Simons --- arch/arm/boot/dts/rk3288-rock2-square.dts | 6 ++++++ 1 file changed, 6 insertions(+) -- 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-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index 0ef065d..a029ebf 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -45,6 +45,10 @@ model = "Radxa Rock 2 Square"; compatible = "radxa,rock2-square", "rockchip,rk3288"; + aliases { + ethernet0 = &gmac; + }; + chosen { stdout-path = "serial2:115200n8"; }; @@ -130,6 +134,8 @@ }; &gmac { + /* To be filled in by U-Boot */ + mac-address = [00 00 00 00 00 00]; status = "ok"; };