Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp698863ybm; Thu, 28 May 2020 12:56:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxx79jM2rFKQGTf3OM7p/UqHh53BnVJeLVmEZtQaGjnR5roD019MPVhER83D0mDc1yydx6V X-Received: by 2002:a17:906:6d18:: with SMTP id m24mr4411523ejr.519.1590695768470; 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=bM7kZaedd5+UhVQUbF77o2gMATdpvEmfjtagd553N0UvKMPfPVpJ+b3tGkZZAzffGH lTGlVDtYJj/4KaJuUQHBoOMRogAvO9snm3SwxCbD9yQOQRUg8Y1Z8/azSeKIjiIyBVoz mNYQTJuY8tbRxLtccgL31lmCjKRuWtIl2psSawRNQrHLy3CmvvTBx1yrSwikqGxliIM5 dAXTFdjD1MIGaZfSCbHpf2Y3XTHy2/zTdKJhLALLFAhfJmhuIW7Tqex4RdMdykrRG4Jd gAd+SqeqzpTbsGIMpTl4qrbpbh1JT5YWLE9zHyzZBlo7T8RQJ9shSDwE0Z33MCX+2VkB W8xw== 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=Lq33jNpyjq6DCFHPJzUXQaZwS7YZI3zdAovNc87idXs=; b=AGzWdwhN5bcWw8jT4cuevcfJKokPeraqfB/E0pr3+7XvLOZxEOEmexR4UPeYLNvRCf +pzebrR5xjPSdku8uFRbezYUVkqQa9XfnYsHsbq08ehHNUaHvmOo5yNQwsqMnqcdsI6A HTTd242dxJJGcf0HqfZrMCiDm5VU8c0xqd1m3eZ2TF1GICYDjpn6Lq/Q2kClcHyJ3bf4 OLveR+XNbVhZxMDa8qgXMiky04M4NLlw0Y8OflFGV2ATV/LvsqYzD2c8DnpucUhBtrX+ QQnNivYN3yahLiuwtuCOPblD/CgZGmLUvLYbGLiLQEqMerLZFmootBoQCgp1emCIULxw I1Zg== 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 i15si4286774ejy.126.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 S2406777AbgE1TxR (ORCPT + 99 others); Thu, 28 May 2020 15:53:17 -0400 Received: from lists.gateworks.com ([108.161.130.12]:57836 "EHLO lists.gateworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406687AbgE1TxP (ORCPT ); Thu, 28 May 2020 15:53:15 -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 1jeOdH-0000tP-Cd; Thu, 28 May 2020 19:56:03 +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-gw53xx: allow boot firmware to set eth1 MAC Date: Thu, 28 May 2020 12:53:03 -0700 Message-Id: <1590695583-1327-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 GW53xx 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-gw53xx.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi index 8942bec..6601d07 100644 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi @@ -8,6 +8,7 @@ / { /* these are used by bootloader for disabling nodes */ aliases { + ethernet1 = ð1; led0 = &led0; led1 = &led1; led2 = &led2; @@ -341,6 +342,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,4,0 { + reg = <0x2000 0 0 0 0>; + + eth1: pcie@4,0,0 { + reg = <0x0000 0 0 0 0>; + local-mac-address = [00 00 00 00 00 00]; + }; + }; + }; + }; }; &pwm2 { -- 2.7.4