From patchwork Mon Nov 9 12:55:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 322786 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09FEEC2D0A3 for ; Mon, 9 Nov 2020 13:07:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B34E320867 for ; Mon, 9 Nov 2020 13:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604927267; bh=uDShULDW3IEZqD6fakX44PMREKkI4D00SfeIEw0r8AM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=HVioTXXLf+1Ts6dLviKjhtajmCLhOj2KtrwOEp8EDd8h4y2oJG+tEGpXLj7Gzsa5G i92jdHOcsJtDYhoI7soPJ1yqxeA4Pz6rK85kbEO+pMy+sQErwAlVF9O0uQvwlEHMtr HQu9Jsi6gJLWYZjySIqEHnozMhjVhBFtRXrrzLKw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731444AbgKINHq (ORCPT ); Mon, 9 Nov 2020 08:07:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:60580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731420AbgKINHn (ORCPT ); Mon, 9 Nov 2020 08:07:43 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0F37420663; Mon, 9 Nov 2020 13:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604927261; bh=uDShULDW3IEZqD6fakX44PMREKkI4D00SfeIEw0r8AM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UG8HMtnZ+Qr/83K86FwYj3JmDBaSDtqtw+KJryVLE5q5ZFWw5MJa2F3CQhQSHYFjk mMUYHqLMyjMeqf2+RAOy6TsZ3A3rg9hJu/6bK3zHzbkXuKtrYr/q1koNYf9TLOfQ5P DZOdkLZ77L79XiTQdN01CLIzpLhgspnpsJbE8cTc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tomasz Maciej Nowak , Gregory CLEMENT , =?utf-8?q?Pali_Roh?= =?utf-8?b?w6Fy?= Subject: [PATCH 4.14 48/48] arm64: dts: marvell: espressobin: add ethernet alias Date: Mon, 9 Nov 2020 13:55:57 +0100 Message-Id: <20201109125019.122260674@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109125016.734107741@linuxfoundation.org> References: <20201109125016.734107741@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Tomasz Maciej Nowak commit 5253cb8c00a6f4356760efb38bca0e0393aa06de upstream. The maker of this board and its variants, stores MAC address in U-Boot environment. Add alias for bootloader to recognise, to which ethernet node inject the factory MAC address. Signed-off-by: Tomasz Maciej Nowak Signed-off-by: Gregory CLEMENT [pali: Backported to 4.14] Signed-off-by: Pali Rohár Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 4 ++++ 1 file changed, 4 insertions(+) --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts @@ -52,6 +52,10 @@ model = "Globalscale Marvell ESPRESSOBin Board"; compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710"; + aliases { + ethernet0 = ð0; + }; + chosen { stdout-path = "serial0:115200n8"; };