From patchwork Thu Aug 20 09:23:19 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: 265636 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=unavailable 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 21BCCC433E3 for ; Thu, 20 Aug 2020 10:41:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E105A20738 for ; Thu, 20 Aug 2020 10:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597920063; bh=kf6T1Pr/cxHT3VYaVH8TOb34w4UJw8RQcyzdC9Pj4AY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=EdfLY3ZJaTW7C8zq+9VLpjoqHUUpjaHgpy7sfUqcc8rmlcfHDEUDwwGXS7J8+puOl BGIzuuSsGT/mbuyY7A9MYviCRRThZhTMABoOBHMLkv/38jP7sGyb2EYS5h1VTYMdQd cv3YrI8452loJFs8/VUKNw/0q2n2HayXHR7gfhkw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731084AbgHTKk5 (ORCPT ); Thu, 20 Aug 2020 06:40:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:37778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731201AbgHTKQ6 (ORCPT ); Thu, 20 Aug 2020 06:16:58 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 B1109206DA; Thu, 20 Aug 2020 10:16:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597918618; bh=kf6T1Pr/cxHT3VYaVH8TOb34w4UJw8RQcyzdC9Pj4AY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=slCeo7Ijl9XTAZge4JKyw5Q1tlXCYe7ZuuQ362tjWKAW/JWBfXthSSORxcaIPPoTU 55RRW3l6RGl/FSYhG1hAVrShtxMqDq305P9df65oKqHfRNo6iWzohAFOUAZYKoxMwH BX/okyvf8kWmjkbUN9vfPi5p+4Yh69v/XVZ8zRAI= 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 224/228] arm64: dts: marvell: espressobin: add ethernet alias Date: Thu, 20 Aug 2020 11:23:19 +0200 Message-Id: <20200820091618.704547105@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200820091607.532711107@linuxfoundation.org> References: <20200820091607.532711107@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org 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 5.4 and older versions] Signed-off-by: Pali Rohár Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 6 ++++++ 1 file changed, 6 insertions(+) --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts @@ -52,6 +52,12 @@ model = "Globalscale Marvell ESPRESSOBin Board"; compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710"; + aliases { + ethernet0 = ð0; + serial0 = &uart0; + serial1 = &uart1; + }; + chosen { stdout-path = "serial0:115200n8"; };