Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2111509rdh; Tue, 26 Sep 2023 12:48:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEs7mBWQmqKsj7JHKyP8JD6mAWQBMuekkjTba7u5Do3y5rAYiI89q5ZRF1KKY+BjAgL8Jwj X-Received: by 2002:a17:902:6944:b0:1bc:c82:9368 with SMTP id k4-20020a170902694400b001bc0c829368mr9442215plt.32.1695757737619; Tue, 26 Sep 2023 12:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695757737; cv=none; d=google.com; s=arc-20160816; b=pPmMtwID5Qs8WcTT8h3S94CkDI3Q0ylv2SC60XnQrhj82lng4Ys2rQ1oZokK33lWuO 455mGXAxfjX3AUJadg/gsCZgopLU20lVKUMQNJvxBvQiGwCcfEakc3ZJ3JzeDecMQ5++ DxrOSWDSzjWNvA8C2dr7u+V1UOOyJ01PaTSbjg1wZmNLnhX9ITQPlHP1kYjKfEteXtAi 1WyXLdKmt7dtraHap+SMQyp7D1IdiLnSOQK5jlLr/0/wKaBPju8/2NWDLGX5rkI4HOUh Gf/EG5r6xtpWLDlgqi+UUowbfe6xCStDBMjO7HfvmWvi723pHSAsbM5v70K8SpK4H/Ze YEoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=0SUl+dO5sA8IHZJ5PztCsri7j6jPZOEgXcIHpVSUbmI=; fh=uYYDbYlaq1Pnhzz2YLF80f4netBHlo7UJhUAhtqMJi8=; b=Iufrjj/fEeXlPHlVBnu8/mkLfsJ/2uqrJbrluqsh7au1YbkRnes3eBtvDhfG+Xamhz MutTt4hmjfIz3Xf7IXmVpUcnXJXkBzqHWS1YZ6hlilkVZM6+mMRz29VKn3cbQTMovka2 S12LVWtHH+WrMXl7t3YP8qJkxqnYsJdAE2OUpY9YiujHnrAiSUDLoG+rCtxOlflReFne ADwq2757bdwM2iSKd1z8/PpQldTxmIktqDtVouHve1tOZ27Y0XVHAzlMNNoVgbYeq7GU lo21V6XuTy9ZWqLoCjwBgiLf4OynmB33DMmfGM2+PbR3DbCtu2GcmZK87/fy7HKUES5Y +Dlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id kp16-20020a170903281000b001bda18ea0e1si12839266plb.80.2023.09.26.12.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 12:48:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 84E59809D1DE; Tue, 26 Sep 2023 12:41:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231584AbjIZTld (ORCPT + 99 others); Tue, 26 Sep 2023 15:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjIZTlc (ORCPT ); Tue, 26 Sep 2023 15:41:32 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7AFB9D; Tue, 26 Sep 2023 12:41:22 -0700 (PDT) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1qlDvk-009Ej7-GZ; Tue, 26 Sep 2023 19:41:12 +0000 From: Tim Harvey To: Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Tim Harvey Subject: [PATCH v2] ARM: dts: imx6qdl-gw5904: add dt props for populating eth MAC addrs Date: Tue, 26 Sep 2023 12:41:10 -0700 Message-Id: <20230926194110.1451416-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 12:41:31 -0700 (PDT) Add device-tree props to allow boot firmware to populate MAC addresses. Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- v2: rebased on latest tree now that arm dt files have moved --- arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi index 3375b3fd8d4c..1e723807ab4c 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi @@ -52,6 +52,11 @@ / { /* these are used by bootloader for disabling nodes */ aliases { + ethernet0 = &fec; + ethernet1 = &lan1; + ethernet2 = &lan2; + ethernet3 = &lan3; + ethernet4 = &lan4; led0 = &led0; led1 = &led1; led2 = &led2; @@ -237,32 +242,36 @@ ports { #address-cells = <1>; #size-cells = <0>; - port@0 { + lan4: port@0 { reg = <0>; label = "lan4"; phy-handle = <&sw_phy0>; phy-mode = "internal"; + local-mac-address = [00 00 00 00 00 00]; }; - port@1 { + lan3: port@1 { reg = <1>; label = "lan3"; phy-handle = <&sw_phy1>; phy-mode = "internal"; + local-mac-address = [00 00 00 00 00 00]; }; - port@2 { + lan2: port@2 { reg = <2>; label = "lan2"; phy-handle = <&sw_phy2>; phy-mode = "internal"; + local-mac-address = [00 00 00 00 00 00]; }; - port@3 { + lan1: port@3 { reg = <3>; label = "lan1"; phy-handle = <&sw_phy3>; phy-mode = "internal"; + local-mac-address = [00 00 00 00 00 00]; }; port@5 { -- 2.25.1