Message ID | 20230406110804.12024-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 b10csp944819vqo; Thu, 6 Apr 2023 04:22:35 -0700 (PDT) X-Google-Smtp-Source: AKy350Y0yRAW7DnYMAdQX5lxp17FAtkm5hSh9hEGuXlVDx/ScmAKt/Fq7JpRCpnfsCVZYlSctSEP X-Received: by 2002:a17:907:2bd7:b0:933:499e:62a7 with SMTP id gv23-20020a1709072bd700b00933499e62a7mr4814627ejc.49.1680780155526; Thu, 06 Apr 2023 04:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680780155; cv=none; d=google.com; s=arc-20160816; b=J9NyvneQK5TfcuNRb/wz3tygrNfuq5FA+6FW/xrb3OycqHw+cQ/9mtESxf2XTgP9F4 A1ftDap5hY6VWjAthz6GZ19udKK24S70dTeeLg7KlcQXcncNephBgl2P/IxFUunvHNwX xKcUWrFPwC0OOBHbMzg6TO1iN7n/Hums2taD8tEj/sQq1WrLynzhMO9x4B2FYWySDVDE 8zOOF7ubeqIg/HU3xpiCZB9VxeRjeWbeioIgnNCiW16Xvzb+RdLcLs8Alpc22KJLL7wC GMlHhsgsjrWs49nTWfqFllX3IS5X9ZHnfobTdIfrPBfLc4vJCYpDRWo3W+j27X4x9DeY zdqg== 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=xZy8zgR5jGWgsfRDchN0usrjCuDf73WUWB3SVlYA+8dUietSVRqBvQNCPJ26wl34h9 zdtZYlQVPHEbkgimKdeVnMo1hDmdzsfyUXUPytZSPLAr8MFWXqIFFftPp2U60mY7ZXgA VUPEjFc0p7eN8TdTldIFD0U2gt20ePBmPBbcvmHcwVgJlnVaoMIADZbu1UIZ+jSbdBr1 ru0CR0TAAVVLM7C2ho/DYyafrMgeXWlKDYw+9Wke7dsT3TD2QFNykp99PvNzqeWxquoE axhxAOO4suq0ASyDuvjj04FHAfcpxmzDWgRmKv4voxJrK4Mpk5T71VoR1tWc+4jYTXng 4U9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ao57XiWU; 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 pv8-20020a170907208800b009346fbb76fcsi11977ejb.978.2023.04.06.04.22.11; Thu, 06 Apr 2023 04:22:35 -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=20210112 header.b=ao57XiWU; 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 S236949AbjDFLJH (ORCPT <rfc822;lkml4gm@gmail.com> + 99 others); Thu, 6 Apr 2023 07:09:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237301AbjDFLJE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Apr 2023 07:09:04 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A4ED8A63; Thu, 6 Apr 2023 04:09:02 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id k37so50374473lfv.0; Thu, 06 Apr 2023 04:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680779340; 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=ao57XiWUibLYquPdos2FQfTnS7PDp4fRz7WDvmBVwry8vdNjEDUiEmAcI7jkqt7Rt/ tDaLAkBdRAC1WKmzjpeMa1lo11uRzyVgrKMbKLc3JcMj/GkqGnXWjkQC1zFOjKnnECsz nVX6aiWTFarnsAAyzTSjFhRmuANSYNGU+kKnAFogS5GqR7VYGwMW1H5CkXMUtCG10nwx vF3UsJFDuAHwTYtqCBV6kJYxmTxgod1TED92CBw0UiO4NCMr5xkgnqXLNtmqhoKv1ou/ YHLSQwUXCD8kMAwxel703A/kfForyNImw+0stN7QzUkhbhmB20FPs/2ldKl8EBgc4AGa K52Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680779340; 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=E4OzcxqkQtuSYzYkmK7J8B80i/CHuIGklbxMb1k0fHWVuU/Ii7m/l/X2yPvbJbiakw Z3BML3k8HKNk9xbauB7O0Rue7UoVgYjSgp95NtwW1FNunQyJQ4KHGJy9Jfty46Ro32Ur 5rRvTneVr1032DHMiHi4vLf4uxQr2KnIyqTAg/4t+rspCP+v4hRAWlJRvMbqWdl75U2d /UgzViUXUKbcou8fnpuW3srDRF6jBZoMKaWLHoI6Ni/dNpZjRiQu8EnBFGaqlm60Yvs+ YepwvEZXu5iQHbYdclD3JcWI1o9IZvatNd9Ei+A1ELsGXNCHFn79PS5aFnCyBxzwG5sx KKfA== X-Gm-Message-State: AAQBX9dgp2ULH3H8brfuLr1OW7W4vrUmwROLhJ1DeRXGdr5xGT/NLYMN 3/YQn49H00Uu7wXzHbG8GRQ= X-Received: by 2002:ac2:4910:0:b0:4eb:ddb:d03f with SMTP id n16-20020ac24910000000b004eb0ddbd03fmr2268881lfi.62.1680779340223; Thu, 06 Apr 2023 04:09:00 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id r26-20020ac252ba000000b004e048852377sm218667lfm.263.2023.04.06.04.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 04:08:59 -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 3/3] ARM: dts: BCM5301X: Specify WAN port MAC address for Luxul XWR-3150 Date: Thu, 6 Apr 2023 13:08:04 +0200 Message-Id: <20230406110804.12024-3-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230406110804.12024-1-zajec5@gmail.com> References: <20230406110804.12024-1-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.1 required=5.0 tests=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 autolearn=unavailable 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?1762425732675800097?= X-GMAIL-MSGID: =?utf-8?q?1762425732675800097?= |
Series |
[1/3] dt-bindings: nvmem: brcm,nvram: add #nvmem-cell-cells for MACs
|
|
Commit Message
Rafał Miłecki
April 6, 2023, 11:08 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 {