From patchwork Wed Oct 9 21:50:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Edwards X-Patchwork-Id: 13829312 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 EDA02CEE357 for ; Wed, 9 Oct 2024 22:02:38 +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=sol3W8UFrRCovXlLUgHlM7OspHqVODPsgRHoBONpm0U=; b=4/aM4sqege2FsuSS+z9CxDSV3J K7kAxB/YuZpLcS1ttIq4/Ib/B7r0x5NtSQqiqmOwRUKXIvV881P4rq6xqkEfson+NW9EEcCfRTRXm Ag3Lz6CsnWpx+Noy8jswnrtM8rklMjnU8tRYImW74Irkl6bUiCV3VLflwykER5Xm/essK00szxSMn pieOxEao71vMO+3cQbp+mBQ/pWnAVNbB0OX3H7aSZW+1VF9OWWlMDLj0qIPfny6lp1zX8RLWaIfkG 09veWtEGVHJ39tclrlm538FD/8WBaebRVgQNgQ3PjZHQ/Qwc4cwZuZ2CG0ryv9UdO1+IvWW750Yzb WLvQ708Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syelI-0000000AsVP-237l; Wed, 09 Oct 2024 22:02:28 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeaQ-0000000AqXB-046a for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 21:51:15 +0000 Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-7db54269325so194055a12.2 for ; Wed, 09 Oct 2024 14:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510673; x=1729115473; 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=sol3W8UFrRCovXlLUgHlM7OspHqVODPsgRHoBONpm0U=; b=U208Xpha/1IayGs319zEjCli2n9VUr9LrrI6OIwp9Xph72kVW7eZEV2aOL5+A/Ap5j MwTSVBvhT0BjlL6YHCPe5mJd0jVTo/NQFO5QWI3Mw5Q7bhDwsyPiCcqE5rUTw+dmr1KR Ugg47ZzRyaxjLvT64tM+A4GbRSp/wv9H4lufbGS22LSu7ccBisg53zi/4zWxBi/IDYaS 7eYmn6MBJ9BaPf9aQjNFfCjDiOZb3U2UNXDMjpG6R/Yrwl+DJ6t7teu0yq7BigOfn/2b oqYoyRy0yneO7mzoaxUPaDfWhpElGaVes4OY54sPIxXJXh4HwO3sgTixOSwhUJFvjZek F16w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510673; x=1729115473; 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=sol3W8UFrRCovXlLUgHlM7OspHqVODPsgRHoBONpm0U=; b=UUYw+eLcMPVTqscbA2vO7JuUZVwSA+lUjsOdWVQmXlaUSgJqNWsRB+osX9Y+uA/Kg4 Qox6pHHP15XEG7mC330Ht5OZmaPcpp6FT7g0ndPNEHxc82CbpPqYL6Ru9BJ9N3qSeLoo M1Tk5JEGVRBj4kofwonb1B0/Sfi7v7aJwF+9fOM08gLTIkTaGWaMbx4QvZluX12iwl/E wMc6rK8UgoedWqUxzizDKouVqS0rg2ujl5S/Bw9JgF3AyHSrCBCWtaKRW0ekHtM4R3hP 2ia5+KsJHF6sZTRsIJ1TxbudqyVeKdMPYAw1erOIhf2/jM4hQQN/aY5zxCL1JBr40et9 /68w== X-Forwarded-Encrypted: i=1; AJvYcCV3zyseCYadcTCXkYXWaRVLXHpPscyp49veyfGyJ6eM/v/7wRbo526sd+8YlBz6ENgLzvKIaBdtQo/Md+8fIChH@lists.infradead.org X-Gm-Message-State: AOJu0YzThPkbrbV5hWijVaOEWIwEQ1HEaOWqWuR5Ja00vFdPUFIWOC8Y kb0iFurZU0A4r6JuZd2e1dDz3qd09mKMRvWvziesEU7zYF9A1qL/5sdmVPgADMw= X-Google-Smtp-Source: AGHT+IFCMFQjQCs5Mduv7g2DFaLrTlXLCKgUXJHSGmeSMjL4kNtOPHyYzgo94KQARP/OLNeiSkbv8w== X-Received: by 2002:a05:6a21:a4c1:b0:1d2:ea38:39bc with SMTP id adf61e73a8af0-1d8a3bffb85mr7834663637.11.1728510672732; Wed, 09 Oct 2024 14:51:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:51:12 -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 3/3] arm64: dts: broadcom: bcmbca: bcm4908: Fix Netgear R8000P partitioning Date: Wed, 9 Oct 2024 14:50:46 -0700 Message-ID: <20241009215046.1449389-4-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_145114_085290_5CF2FE5A X-CRM114-Status: GOOD ( 12.43 ) 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 As we have just modified the DT schema for BCM4908 partitioning in order to accommodate `nvmem-cells` partitions, the workaround of using `fixed-partitions` is no longer necessary to pass the DT check. Promote this partition table to full-blown BCM4908 active-partition detection and remove an inappropriate `ranges` property, thus fully complying with the schema. Signed-off-by: Sam Edwards --- .../arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts index 999d93730240..23adcfd52843 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts @@ -139,7 +139,7 @@ &nandcs { #size-cells = <0>; partitions { - compatible = "fixed-partitions"; + compatible = "brcm,bcm4908-partitions"; #address-cells = <1>; #size-cells = <1>; @@ -150,7 +150,6 @@ partition@0 { #address-cells = <1>; #size-cells = <1>; - ranges = <0 0x0 0x100000>; base_mac_addr: mac@106a0 { reg = <0x106a0 0x6>; @@ -159,7 +158,6 @@ base_mac_addr: mac@106a0 { partition@100000 { compatible = "brcm,bcm4908-firmware"; - label = "firmware"; reg = <0x100000 0x4400000>; }; };