Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1020167lqp; Sun, 14 Apr 2024 10:02:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTOvGTUflwjqq8j8gUNWEGTmz2K2CaDC/51LggnHWHwR0if1NWPPyQgPDny2wgfngLbfcI0tYtvmOxImpNr+JsAz8tXV/qtDBrZz89zQ== X-Google-Smtp-Source: AGHT+IEF+Yvf6gE7VeCeVgdUklSRubGNlUZu2IesP+QRgnT2U9agPKYvNTAYpgzE/kuy1NP8nipi X-Received: by 2002:a05:6a20:7487:b0:1a7:590e:26e7 with SMTP id p7-20020a056a20748700b001a7590e26e7mr7903816pzd.11.1713114138487; Sun, 14 Apr 2024 10:02:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713114138; cv=pass; d=google.com; s=arc-20160816; b=COn8+70Xb1ohrihIt2iibOGwlN5Iik+Fn9bvUSz8n77fbczPOyexAKY5n7y4Z7RbuJ qi7TeP/qJkM3bZ/HRm/Z2JcORuQkrfeOefWlg+qmSsXV1Hu5eRDlyoGnBaMbYsjbMYpy 9Sg3selCuPf++/ejzbDYPX6HC0XaVDlx5VgFk8c2fCEkG78S9jov/scwrKG7Vt0Zqh9M Mm+okZAVIKOz6qH41Ee1Yns3r/GuHNUrVHrnmbw99LWs0zeMXiYgy59hlUkx+lWh3kbF f3MHYcOBxIyJVlhXX2P99Pp+YIYvn7WvZAu1BkUge/ZtxLfdLBD4cAcL0/zd/CW9lrf/ jZeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=dROmmc/VmC+bBMHSAWsp5AP97KJOnWQGGOE2uICWHMs=; fh=hZiJHJPv9/MqYr5k7iTd57Z0vhmEvg+ZrooeFbDI0lY=; b=thkrlBs1Dw+ftec1qHI8pBSMjJJqES1AdNK1i7EA2zKQ8eX3PM8otChPs7Z5OFcPcu f9ZkMFXyMFtY7caOEpY/fluO0C/onSaaw0MF+vzBkhGl55cKIvoiB8RdcgDL+cCJKQNc YiErxF031b48cY7cXZo4jXBQNc0ohZfmAWSEO/6+b0BONcl8P2OO3wYjqB2TnGd04O2G 56R9Fd9ApL5vmEEQvNzJ0cgBwcGP51Jds6NkNH/8kRYHiFt/q5N2FW79ss3eYHmIpmeb UWr7kV0T6cxTLbblGz/u96jB+Psvug6JCeiTiK7hywtrjTEWaKPB2/T8OvTVDzmgmhc6 42cQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=du5Zv+wc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144297-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144297-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p7-20020a056a000b4700b006ed0e21b0a0si6930518pfo.309.2024.04.14.10.02.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 10:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144297-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=du5Zv+wc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144297-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144297-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1D92AB221C9 for ; Sun, 14 Apr 2024 17:01:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09FEC136658; Sun, 14 Apr 2024 17:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="du5Zv+wc" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CC4A13540C; Sun, 14 Apr 2024 17:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713114092; cv=none; b=NS3pZKqBMiqMqcIJee/ugUwDW8cVZds1vSoP5s+/Ve5ye+1jZ1/GyRvKKBiMKtY2wS3xnDpdmJmKLTz8AvxvDvSH26QfrUcBbFmdTWWK1v1usA0j1A73p0ifjWexYZZ4qYErVQWBpGPsoBOf45Y+byrY3lCWlZEl87N+m3uAj3E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713114092; c=relaxed/simple; bh=o9uYlQNqrCGtMHvs3KUOdRGq5nijbxvHM9PkDuBzNSQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OqM3QtjZrrM1NkWQz0OFzv6bmGmNyEhh4C+cEdTjP8RefFn5yIpcaZgqK2GXtnOm1A6r2UIr3y4dEEXoJotaeiKTgaf0r/VW5jdg69/VDajibz3Vo/cVf2QzvJ8hytApcx39Ym4sJLdphTSCBIXFl8HIDQhD5vfYo537YqIENSI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=du5Zv+wc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id AF7BBC32783; Sun, 14 Apr 2024 17:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713114091; bh=o9uYlQNqrCGtMHvs3KUOdRGq5nijbxvHM9PkDuBzNSQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=du5Zv+wcz5r977/H/e0aLkBHjbQKPT0ca8+kulDvJw7436f+gYcfPX4ovN47VlQng q6ZMs0KXHfxKj5p7qrd8B2vUL9iGxg7wIMnXcEgvTtx/x4K278E4q2Tl1LhJq9feD2 ja7fCDdP2YJED6XcnsUhhBtrIVtS1MoYcMasCpddAPgnZK40eeUtL14E4kTkFGNlBR Zqg20XPRQwGmFOnVYoYvnfFP2LVaTOtBRGPuNODZI7JjWLlY6ppLRNNwd7QOzB2Hvx tESzN6QhSd+aJmBNKEYwSJ98oo0QcWbM6tuRjDIY8mqvSMK09w6XuqD7GsW1bcYybn zmx2JjOjgw1QA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EC4BC04FFF; Sun, 14 Apr 2024 17:01:31 +0000 (UTC) From: =?utf-8?q?Ar=C4=B1n=C3=A7_=C3=9CNAL_via_B4_Relay?= Date: Sun, 14 Apr 2024 20:01:22 +0300 Subject: [PATCH 2/4] ARM: dts: BCM5301X: provide address for SoC MACs on ASUS RT-AC3100 & AC88U Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240414-for-soc-asus-rt-ac3100-improvements-v1-2-0e40caf1a70a@arinc9.com> References: <20240414-for-soc-asus-rt-ac3100-improvements-v1-0-0e40caf1a70a@arinc9.com> In-Reply-To: <20240414-for-soc-asus-rt-ac3100-improvements-v1-0-0e40caf1a70a@arinc9.com> To: Florian Fainelli , Hauke Mehrtens , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , Broadcom internal kernel review list , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Ar=C4=B1n=C3=A7_=C3=9CNAL?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713114081; l=1804; i=arinc.unal@arinc9.com; s=arinc9-patatt; h=from:subject:message-id; bh=XNg5zKIjWsrnhPZDAMtpMUnqzsLMxQHh+/+ZQ+585t0=; b=t/VSblLuxfZr5QPDbh12w/4Vklfc40j5/zpD3kJ1fsn+1Jgy484Hj8fpm8pBiKsbzlIBypdCw BDYle8UdVEBCdtN8aG+xdGv8ANr9uAecAZMsl9vGAeIG1oJGDx4VrAJ X-Developer-Key: i=arinc.unal@arinc9.com; a=ed25519; pk=VmvgMWwm73yVIrlyJYvGtnXkQJy9CvbaeEqPQO9Z4kA= X-Endpoint-Received: by B4 Relay for arinc.unal@arinc9.com/arinc9-patatt with auth_id=115 X-Original-From: =?utf-8?q?Ar=C4=B1n=C3=A7_=C3=9CNAL?= Reply-To: arinc.unal@arinc9.com From: Arınç ÜNAL Do not leave the providing of a MAC address for an SoC MAC to a driver. Describe it on the bindings. Provide a distinct MAC address for each SoC MAC. Signed-off-by: Arınç ÜNAL --- arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts | 13 ++++++++++++- arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac88u.dts | 8 +++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts b/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts index 5f089307cd8c..1655ac95769c 100644 --- a/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts +++ b/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts @@ -13,11 +13,22 @@ / { nvram@1c080000 { et0macaddr: et0macaddr { + #nvmem-cell-cells = <1>; }; }; }; &gmac0 { - nvmem-cells = <&et0macaddr>; + nvmem-cells = <&et0macaddr 0>; + nvmem-cell-names = "mac-address"; +}; + +&gmac1 { + nvmem-cells = <&et0macaddr 1>; + nvmem-cell-names = "mac-address"; +}; + +&gmac2 { + nvmem-cells = <&et0macaddr 2>; nvmem-cell-names = "mac-address"; }; diff --git a/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac88u.dts index fd344b55087e..c78f0c7b137d 100644 --- a/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac88u.dts @@ -13,6 +13,7 @@ / { nvram@1c080000 { et1macaddr: et1macaddr { + #nvmem-cell-cells = <1>; }; }; @@ -117,6 +118,11 @@ &gmac0 { }; &gmac1 { - nvmem-cells = <&et1macaddr>; + nvmem-cells = <&et1macaddr 0>; + nvmem-cell-names = "mac-address"; +}; + +&gmac2 { + nvmem-cells = <&et1macaddr 1>; nvmem-cell-names = "mac-address"; }; -- 2.40.1