From patchwork Wed Oct 9 21:50:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Edwards X-Patchwork-Id: 13829311 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA0CFCEE357 for ; Wed, 9 Oct 2024 22:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w/C0CgZTEJhSuNYzvbdQeNWumuAuuIpwzCV8FmhMBfQ=; b=sqY30KUiuBMxgfUQR2op3r5Dqq F/X77+EQQwtkAZiTZoQL8k58CtOyn5eiD2aaEoCZNuGqeZFSbtN69g6r3gMEzN5vzvxkPzbA+qnoH U+ZR6DKQRZy02akehcqmtrovTMH9D6VYPfXDQvWKeWq0pHIS46PxXljzuzBWGjSuN0pIu1HsZXbB4 o1nlCMMduqe42feQipiqGi8A+F80eZdSrX5tD2Mb1UUBzc9lNiK09Wx5BrDkDydkJMxL/AHnLcFim yrUCibC6L9eMT/SqoiIN3KeDOSSTHRmsqMLYLWMmottff9poVvfW6pa6etPvKG00OIkfcyPEug62W fvvNb8kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syejz-0000000AsKz-3kYE; Wed, 09 Oct 2024 22:01:07 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeaO-0000000AqWP-2bjc for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 21:51:13 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7e9fdad5af8so160341a12.3 for ; Wed, 09 Oct 2024 14:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510671; x=1729115471; darn=lists.infradead.org; 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=w/C0CgZTEJhSuNYzvbdQeNWumuAuuIpwzCV8FmhMBfQ=; b=P9mBS0LNIqCWSCB48izOB2qQVB7gwrQuo3g2jyvtZZ81+MNn9kTuLt8ZUfO1nf6anJ Pgs1Q+DLu5UduOU4Zuhd59SdPY897LDHS3UVvK++t7KaYg5Q6y/SPDSF7QDUP7E1BnHY hZybrk0AGu48oFxLCyEpT9X4HuO0R+GhGFHPeL/RvMS1vavRDh6oz/jLyJBZbHL8+jOy rSFobnQVulncntF0hJagq5VJBslMmHFLbReatiltaglk4aZUFWIzCOvkAyTD7OXH7sBJ 0KCrl0ME0sTJmoIwHBX3G62KLOjujvl3E+M/i0qwSeE+9xIvKWUAMA/ovbm0VtUmO57U yIUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510671; x=1729115471; 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=w/C0CgZTEJhSuNYzvbdQeNWumuAuuIpwzCV8FmhMBfQ=; b=MDWR6WNAnLcTS3UZ4ESs9VNrzM3n+Isc0BfjPTGPcIMfnsPiErPUogu/hMjTVIk1Dk WlYYRR7Pq0xdU4GKlPieLWi9U6GNdoXoqPQcJ/kC/vLYbnF8KLQL41/72G4wzOYH+Huy GGCuyBInDtaOVJ/zQjUlQznXLTSZtjlxC/XSZ8/FKfrXZ9APPRX3QnZSkQ7MMAVN4oBZ 3SY5EOKnv8bvdKFUBZ9t1kPEp6EIrbXXjy+jatBTCJUWfXC7ngs4VQ2OcJKDtbuLG6oU rxAWGpOmE4VNTnuGkAlGQrn047n0oAejGUcFQ/NJw/wW5G4nrQ+wqiZXW1g2Hd1fsggt 7UJQ== X-Forwarded-Encrypted: i=1; AJvYcCXaMsG3IM8FFeUtVn/LbzL0P9p/Dqq5P/P+T2tRO7mGAMyS3ugq5c116+qRHfVa1J3vnCZNW62OcCy7NMzoT6SQ@lists.infradead.org X-Gm-Message-State: AOJu0YxgjOHQwYVQDC272j24b8bHrB3sQWlCDoFXI3qseU4Jyht2/KTU 5Z/OMWrtOX7ICjg+3hdVRwBAciAuzeZBqpmvbZbhSD53LSw9IUoke5KB4JhyL80= X-Google-Smtp-Source: AGHT+IGtMH2k2lnk7wn24iMUNlbma/K9cYS39ZHsGCNlcQSd2U8eAqCmfGJhbRyIjqI6KfMytGDfQw== X-Received: by 2002:a05:6a21:6b0a:b0:1d8:ae90:c651 with SMTP id adf61e73a8af0-1d8ae90cc40mr1302204637.47.1728510671574; Wed, 09 Oct 2024 14:51:11 -0700 (PDT) Received: from luna.turtle.lan ([2601:1c2:c184:dc00::315]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f6833a95sm7651847a12.52.2024.10.09.14.51.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:51:10 -0700 (PDT) From: Sam Edwards X-Google-Original-From: Sam Edwards To: Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , William Zhang , Anand Gore , Kursad Oney Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Broadcom internal kernel review list , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sam Edwards Subject: [PATCH 2/3] arm64: dts: broadcom: bcmbca: bcm4908: Fix Asus GT-AC5300's cferom partition Date: Wed, 9 Oct 2024 14:50:45 -0700 Message-ID: <20241009215046.1449389-3-CFSworks@gmail.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20241009215046.1449389-1-CFSworks@gmail.com> References: <20241009215046.1449389-1-CFSworks@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_145112_688983_0560E50F X-CRM114-Status: GOOD ( 12.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- .../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@106a0 { - reg = <0x106a0 0x6>; - }; + base_mac_addr: mac@106a0 { + reg = <0x106a0 0x6>; }; };