Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp698858ybm; Thu, 28 May 2020 12:56:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxq9uDjnxY9x7TjqoKBcw0ej+ZKxCYwb1oVYdDUXVXQjm+yNL7zSrG1FTPzXcerspGvYrUT X-Received: by 2002:a17:906:c108:: with SMTP id do8mr4925157ejc.134.1590695768301; Thu, 28 May 2020 12:56:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590695768; cv=none; d=google.com; s=arc-20160816; b=VlZQDL81PAEn7WPGQTi+Ad5zD8u5awrEWyTXq7WDVkRSAAXcwnVexN29h+N8in/ny5 0LJHcdYaIKGBxpN4bb1FRIPDLFqMftr8C/OVEHPApDdK9Lc/+3JlfcuLEk5r+djX1J4Y yed6MB5Lj5w1FMbTdVgaycMDLCSncpG/FDymPQhgAxPX4TVfHuUmIMeZXApRTJysLIr7 8Ao6K7GQryVFMtqAEhUDjSvLqW8MzeLzs8T8HhXuvsMZmVeCAqrjA00dfpmH9lQhSQFk XidootR5mmKr7G1qn95DpkY+fpq96WdCC4E7iAZiKwdL2Of7kVxrS4h9RSDK5JDVjodP SwYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=NR7NaAD60duKgU1ooB3Xz2oQiT6PEM7zv6UQU1LNfZc=; b=DWFp6FW1g7XonnS64DVHYbGJDyZswUNk4O7MQub16y3U29uYe7U+yQ2I3g8FBen7QJ bW4kBrMX+D6gwLAtqodmmsmsatMUGKWJ6vU+Op5mwfzWayYtCICgFIwsbgmf2Z4cD3iC pOZ2bSeQAA1pEK9sDQzBTBEgu46YpGsRNlrIqdW02IvLlhlLmQM9324F8qGiuHft6LXu CzhxEnCbdnO/JGRZesQYoh4peE9HIpziZ6AQaK7oPP0xXkORTGajP6GTqKBmgo4Ryuo0 oJ2DYeAplSwhW7b5Kaop/TcIIDbGCOjGSUEd+NTsmlz9bXm6oNYSkudhWfKjHlpLXStU R6wA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lu4si4520274ejb.19.2020.05.28.12.55.20; Thu, 28 May 2020 12:56:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406830AbgE1Tx2 (ORCPT + 99 others); Thu, 28 May 2020 15:53:28 -0400 Received: from lists.gateworks.com ([108.161.130.12]:57843 "EHLO lists.gateworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406687AbgE1Tx0 (ORCPT ); Thu, 28 May 2020 15:53:26 -0400 Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by lists.gateworks.com with esmtp (Exim 4.82) (envelope-from ) id 1jeOdU-0000tZ-A4; Thu, 28 May 2020 19:56:16 +0000 From: Tim Harvey To: Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Tim Harvey Subject: [PATCH] ARM: dts: imx6qdl-gw54xx: allow boot firmware to set eth1 MAC Date: Thu, 28 May 2020 12:53:16 -0700 Message-Id: <1590695596-1462-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GW54xx has a PCIe based GbE as the 2nd ethernet device. The boot firmware will populate the local-mac-address field of the device aliased to ethernet1 thus adding the PCIe device to dt allows boot firmware to set its MAC address. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index c40583d..5527f95 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -9,6 +9,7 @@ / { /* these are used by bootloader for disabling nodes */ aliases { + ethernet1 = ð1; led0 = &led0; led1 = &led1; led2 = &led2; @@ -398,6 +399,23 @@ pinctrl-0 = <&pinctrl_pcie>; reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>; status = "okay"; + + pcie@0,0,0 { + reg = <0x0000 0 0 0 0>; + + pcie@1,0,0 { + reg = <0x0000 0 0 0 0>; + + pcie@2,8,0 { + reg = <0x4000 0 0 0 0>; + + eth1: pcie@8,0,0 { + reg = <0x0000 0 0 0 0>; + local-mac-address = [00 00 00 00 00 00]; + }; + }; + }; + }; }; &pwm1 { -- 2.7.4