Message ID | 20230421084312.27932-3-zajec5@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp918166vqo; Fri, 21 Apr 2023 01:51:20 -0700 (PDT) X-Google-Smtp-Source: AKy350bY3hqu5AT1bieI673YWUpgC6qp+J27NMUTgPGvl0850x0sOaOddLG2/WlUEAeTX8Xmylqw X-Received: by 2002:a17:90b:3008:b0:246:d182:cb22 with SMTP id hg8-20020a17090b300800b00246d182cb22mr4285708pjb.23.1682067080073; Fri, 21 Apr 2023 01:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682067080; cv=none; d=google.com; s=arc-20160816; b=IaXtqdOmO5v55Nnikbhibi5RYlQM5wCvvREANyPQbizYCS/8AIo2+rzXDciV6zrNg6 vuVOnitSYE+e43qW2Uzi4Gc8K6BPnRtN+Jp9nIbmELWdDmXP9MTQbMQ5keWLEEIkLCoK HCSSjKUqJ2789eGFDRG8DkmctQrEWfT9px48I1aNq8xpAZalF7SxFnmC/kJBvX9xBxI8 UmEggWL4w2WODP+y0sKDTXsyQVUBKeV5bVx4nnlzM5+0nMuaEdSrXrX9qqqVq91C7kFv s7A+9m5JqPnV2m6iGZX8ylt0PjOcV+Hv5Mm4oonkEeJWyYF/I3oJA69ZXMfVbecffkNO ghCA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gvGmFR5di2sik7RBLdOP/KeRkjaQDZZlALHIAzFWnQk=; b=v+1qA/etZ+IVpfjMbdDDnq2WyXQQ+lzODxVzUQAkojDSMevml9OZMrV+TMH6u9fb4o 84Sg88DDqZVLVDwfoziarQKyRMxqeKEHpX8QSkRCKAxJlBlelOL5kEsot/nsXujPDzWS Jfgqo6OlCe3cX1B15zkgoBKjmsWy657BJAAbpWaZk+cE3BuOzFSe6UFeVIxXEI9sZHaD XiWkDCVVDCbRO+yQC2oN5BAZ8l0teundlxk4Gn57snGdxf+JQ0Hdkk0n8ayuN1xf6sfB VwoDNzsXg3b/frTU3dFBY3eO2bb2a99d+jQAf/OOmeIpSBOuEJj6yKwsvrgF8An35Hvu 2PzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="lZgG/9a5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i71-20020a63874a000000b00517a65a29a4si637921pge.240.2023.04.21.01.51.05; Fri, 21 Apr 2023 01:51:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="lZgG/9a5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231723AbjDUIok (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Fri, 21 Apr 2023 04:44:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231721AbjDUIoC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Apr 2023 04:44:02 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28293A5F4; Fri, 21 Apr 2023 01:43:34 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4ecb137af7eso1388064e87.2; Fri, 21 Apr 2023 01:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682066603; x=1684658603; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gvGmFR5di2sik7RBLdOP/KeRkjaQDZZlALHIAzFWnQk=; b=lZgG/9a5Jc/r7LaEpPZhh6Kh2EI401N+EdCAEdxS1ZeYDJ9Pj1/Cc+6Bpv7+ZphX3x XEhmuTTiKKGyQkrPMAhwFjyXMQTjcpw0tck6kIC9evpFucRu4mRhSs+8yh3aTWHjagSH eJTaqtuhvqbM42jvAAFvHdxMUZqvUbwFwB8nAzUgHw8aMJn5wyLVTlDArHTVNGXby1z4 QymzgryUaxPnl8P5wSmYCjB5ueryYvn/Lt2XZtTTP/mP6hoyQikOspdRbxe+XQ5TVvCy 0xUE1DUUgVHOhugnD/7qrUhnIpjWkjxrDUtLj9IVDDU3wNL8iI6pFAGB3+fVFy4oZ+jO nlIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682066603; x=1684658603; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gvGmFR5di2sik7RBLdOP/KeRkjaQDZZlALHIAzFWnQk=; b=HPNlwS0c1hVo01ryJviPZMgZDIl+p3w3OnQreevGnPkwvWtOBna5T7ijMFNph256ud oCEk+erHlgdsx7Njy9GkvJBzdZnWAoxJ/29QvADClCTl+B3n7Ye46bZNQrHjTk5BEpaJ 6zoXxy3SESezB9GeFq4yaH0qbJRyibdtAwIwMDY7q71/ePL86ZeSiqd9JWl7ENIRAZCQ Wk0UuB1l6g+9bHca7pNwKuJMXhm55nr6eaPt5zWJNpYjUqsMZcUblA7kx9ZO0ztgppG9 3I4ThzyXj7RDVxCPRSNyLorJKOmE2b8aAM/FBLWAsD0AR16VzdnuHUfiGVUyMBKprOTd 6Xpw== X-Gm-Message-State: AAQBX9fOn2Dm0+cZEkgVlJEn7AbsTHFjtBWlTgXduQtBB3U1FK56h+ay F1VywCTTPvrHZ+8c98XhdoM= X-Received: by 2002:a05:6512:20e:b0:4eb:1527:e29d with SMTP id a14-20020a056512020e00b004eb1527e29dmr1221705lfo.52.1682066603523; Fri, 21 Apr 2023 01:43:23 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id l16-20020ac25550000000b004edc16dbdfasm480721lfk.119.2023.04.21.01.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 01:43:22 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Florian Fainelli <f.fainelli@gmail.com>, Hauke Mehrtens <hauke@hauke-m.de>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <rafal@milecki.pl> Subject: [PATCH V2 3/3] ARM: dts: BCM5301X: Specify WAN port MAC address for Luxul XWR-3150 Date: Fri, 21 Apr 2023 10:43:12 +0200 Message-Id: <20230421084312.27932-3-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230421084312.27932-1-zajec5@gmail.com> References: <20230421084312.27932-1-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763775170160795231?= X-GMAIL-MSGID: =?utf-8?q?1763775170160795231?= |
Series |
[V2,1/3] dt-bindings: nvmem: brcm,nvram: add #nvmem-cell-cells for MACs
|
|
Commit Message
Rafał Miłecki
April 21, 2023, 8:43 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl> It needs to be calculated based on the base Ethernet interface one. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> --- This PATCH is a proof of concept that can go separately through the ARM DT tree. I'd actually suggest that. There are more .dts files I'll want to update. Srini: can you just take the first 2 patches from this series? --- arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts index 60a2c441d5bd..2dd05f4dce92 100644 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts @@ -27,6 +27,7 @@ nvram@1eff0000 { reg = <0x1eff0000 0x10000>; et0macaddr: et0macaddr { + #nvmem-cell-cells = <1>; }; }; @@ -76,7 +77,7 @@ button-restart { }; &gmac0 { - nvmem-cells = <&et0macaddr>; + nvmem-cells = <&et0macaddr 0>; nvmem-cell-names = "mac-address"; }; @@ -119,6 +120,8 @@ port@3 { port@4 { reg = <4>; label = "wan"; + nvmem-cells = <&et0macaddr 5>; + nvmem-cell-names = "mac-address"; }; port@5 {