[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241009215046.1449389-3-CFSworks@gmail.com>
Date: Wed, 9 Oct 2024 14:50:45 -0700
From: Sam Edwards <cfsworks@...il.com>
To: Florian Fainelli <florian.fainelli@...adcom.com>,
Rafał Miłecki <rafal@...ecki.pl>,
William Zhang <william.zhang@...adcom.com>,
Anand Gore <anand.gore@...adcom.com>,
Kursad Oney <kursad.oney@...adcom.com>
Cc: Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Sam Edwards <CFSworks@...il.com>
Subject: [PATCH 2/3] arm64: dts: broadcom: bcmbca: bcm4908: Fix Asus GT-AC5300's cferom partition
Since the previous patch relaxed the BCM4908 partition DT rules, it is
now possible to have `nvmem-cells` directly under a BCM4908-partitioned
MTD. Make use of this in order to refer to the nvmem MAC address the
"correct" way, and pass the DTB check, for Asus GT-AC5300.
Signed-off-by: Sam Edwards <CFSworks@...il.com>
---
.../dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
index 2a0d4ee3bd79..e4687176cffb 100644
--- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
@@ -185,17 +185,15 @@ partitions {
#size-cells = <1>;
partition@0 {
+ compatible = "nvmem-cells";
label = "cferom";
reg = <0x0 0x100000>;
- nvmem-layout {
- compatible = "fixed-layout";
- #address-cells = <1>;
- #size-cells = <1>;
+ #address-cells = <1>;
+ #size-cells = <1>;
- base_mac_addr: mac@...a0 {
- reg = <0x106a0 0x6>;
- };
+ base_mac_addr: mac@...a0 {
+ reg = <0x106a0 0x6>;
};
};
--
2.44.2
Powered by blists - more mailing lists