From patchwork Wed Nov 4 11:48:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 316735 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, 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 83317C388F7 for ; Wed, 4 Nov 2020 11:49:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 188F22236F for ; Wed, 4 Nov 2020 11:49:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604490587; bh=OkC3OI19VRsZQB50NkZwMnwUdDOdVwEYnPr/zRIPJnw=; h=From:To:Subject:Date:List-ID:From; b=iwpeHYAZ/LN6Ud2Ie7KuUuxsytuEyIS09ToK68X85REGJjDh41ihwPT7bQkgPxk/6 N801hZ5BqkrEEeYzgd73reizPim0iHKevwby1G8Lxz6UZdfMWCeUNEa0r+2yLoAh1K VcIZbIYlj/pgBLZvH5HwTnbMb7d0Vvnu52BlWMGY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728535AbgKDLtq (ORCPT ); Wed, 4 Nov 2020 06:49:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:60696 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729627AbgKDLsl (ORCPT ); Wed, 4 Nov 2020 06:48:41 -0500 Received: from pali.im (pali.im [31.31.79.79]) (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 A94142236F for ; Wed, 4 Nov 2020 11:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604490520; bh=OkC3OI19VRsZQB50NkZwMnwUdDOdVwEYnPr/zRIPJnw=; h=From:To:Subject:Date:From; b=R7IdonU0g8A7/cFxbQK3ZT0AwhzfTbyIdaGcpk+PWWOMW0KtIlwrkjiBEtVMnv75q Y1UtUw4SQGyU5FVCC+Q7YMFtOOrduLnEzkNCS6K2R1dnweg8NXo0Q9ri9oLz4f/oxx mTWuS5JQ0NurCndFpA2GVEPfXiyP4tR2G3YjR4gU= Received: by pali.im (Postfix) id 3A5B164E; Wed, 4 Nov 2020 12:48:38 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: stable@vger.kernel.org Subject: [PATCH] arm64: dts: marvell: espressobin: add ethernet alias Date: Wed, 4 Nov 2020 12:48:13 +0100 Message-Id: <20201104114813.1199-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 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 --- This patch is backport for 4.14 stable release. From original patch were removed aliases for uarts as they are not defined in 4.14 kernel version. Stable releases 4.19 and 5.4 already contain backport of this patch. --- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts index 2ce52ba74f73..13c0ec053ada 100644 --- 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"; };