From patchwork Wed Feb 7 20:22:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 198148 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2590722dyb; Wed, 7 Feb 2024 16:25:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWI4sPFqlEssMU5iSfFtEBoE4rVmNJAaaknCfMc5bi+eQ7WEvevn9UWA9cCVNXZPQcNudulrKW+RvE/98aI8S2LdRVHYA== X-Google-Smtp-Source: AGHT+IFUfeSRBu1/bw9KUc3NfRIpltxDWXs9+o84vUnbVpVC3dsjRCVlp0nfmGJegt0ai9J/hS57 X-Received: by 2002:ac8:698f:0:b0:42b:f8e7:b56c with SMTP id o15-20020ac8698f000000b0042bf8e7b56cmr7035807qtq.1.1707351907223; Wed, 07 Feb 2024 16:25:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707351907; cv=pass; d=google.com; s=arc-20160816; b=gypvjVLdBtVS7UnKy4OCEJ4ShMeyQcFHErCCWYYQwYlXBta5RN4WIafiXoO7Nn6ntJ rYv1zRGk5CCEc2OPoTYV59XT4xIeriynFfzZi9zSGfuTrToWbh2xpGXY7Mn6E+EDjp5Y gRkKe2KlL/r+EviwF91Y2NBrXrK7DOE/E/x3XxB4g2oWbAuS+g3BjU2v2xQtSBpw2gFe UXsoAF2vAzaRlYnRlfuIf8z7272Lb0vZ1hkbGcDoaNLzqh6po3jYkqMayhvFVFH3QS98 fxEaiylbRCwd0sZ0P62MfhI6qik+7aUXyDiqq8It/k1MGF4RvTd2HoGOUrwrOixhNDfb NgFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=0OV3anRjtmAEpytfuv5uqRMckdPjv8yjidAknA6rZWs=; fh=NTRl3E5IYbghB/uJMWzyKpyZyJ51QfLitF+4Y4aqoSU=; b=nVDMfFZwg0aRhrucjTMWgKwls5FJwzSlHh+mUHVdEwNQcihBMmqxXtXCyO/j51cNtP kNU8gFTDB9NjB+Lj9Kss/fgv5UW01rUhqSEkADmAGsMbAKgt2XEOqMGW8slTlR8tKuHE n9gUegqUYi5CguJYmbIIPo/4wT/COiPZzIoGjIfB/PGczZA07tAQ2a9SaK/rUT+XVAgf HihwLBSomFf4UOYLUHQ6vz139k9PFKlAsTjdU0V+WFMbDga1y3joDIcso7Pb8pxyP4Xd M4P4HEnzZ/CVyw4xg2hFSv1GFgWGgrAM4tXCye7CniJU2cr6TWpOKJnGQWjswlXaMZSu nzUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=E1pS0UF2; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-57017-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57017-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com X-Forwarded-Encrypted: i=2; AJvYcCWz+sAO12BlZODSB591IfPd4FGnPxM/4tpiind/HGz159iFytJI0xAceI2lPg42F0bOqeQRfx6/bIjzSA90PsCrsQErlA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y16-20020a05622a165000b00429a6f45c37si2335958qtj.802.2024.02.07.16.25.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 16:25:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57017-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=E1pS0UF2; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-57017-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57017-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 254171C25E06 for ; Wed, 7 Feb 2024 20:25:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E8C6128396; Wed, 7 Feb 2024 20:24:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="E1pS0UF2" Received: from relay.smtp-ext.broadcom.com (unknown [192.19.166.231]) (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 E328E1272BC; Wed, 7 Feb 2024 20:23:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.166.231 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337440; cv=none; b=pWlKmQT6Fe9F4VTT6zQz4wQvRsOtOXb5Dq9qp940nKuwyWGkkJeaRZ2LIQujccnlWs1aHyDaU3w9AzZMvO9z+hDxynTLyhbl3GCDWzc8K/qE//yvvJ5GwQaZUnNpZCbP2Jfh8chlUzMwFFJ1N65EqWqyU1OJnfeIGJUtH3eOU94= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337440; c=relaxed/simple; bh=aYqxL4BBe2rAkKvxSn/snRDQonR+FFPllbJPIAsOqLk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PbL0D2tRuFpnfFhaB9t1XU9mLdd+33JboczjJgDA9JKq7yurdfDg+7V+mnZII7dXnn6N3W+1z28wt97hIGnqcaeZF04mJ41H65wE3ubZtn5+UzeXHsRj/rcsagALt11uOpvTCVGY6e5P1b0/l3R+bUh3Ed/OyxETkzg7JUYlrn4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=E1pS0UF2; arc=none smtp.client-ip=192.19.166.231 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 3010CC002E04; Wed, 7 Feb 2024 12:23:55 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 3010CC002E04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1707337435; bh=aYqxL4BBe2rAkKvxSn/snRDQonR+FFPllbJPIAsOqLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E1pS0UF2re5sLE5NhE8w83gdk+v0S2bGOfO/+ZKu2hGZMJg5ffuzCbhrx1VI81whO fXjD7AbnocYRZCitxyssyYgkPaDl9jGra/XRKt61IUbX/+vLOvLE4Xs0Tn+vHhfdNr Fws8s1be5lDzsbwBtM6KN/GZ8vf5sLTojvdvRgME= Received: from bcacpedev-irv-3.lvn.broadcom.net (bcacpedev-irv-3.lvn.broadcom.net [10.173.232.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id BF58118041CAC4; Wed, 7 Feb 2024 12:23:53 -0800 (PST) From: William Zhang To: Linux MTD List , Linux ARM List , Broadcom Kernel List Cc: f.fainelli@gmail.com, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, William Zhang , devicetree@vger.kernel.org, Conor Dooley , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Florian Fainelli Subject: [PATCH v5 06/12] arm64: dts: broadcom: bcmbca: Update router boards Date: Wed, 7 Feb 2024 12:22:51 -0800 Message-Id: <20240207202257.271784-7-william.zhang@broadcom.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20240207202257.271784-1-william.zhang@broadcom.com> References: <20240207202257.271784-1-william.zhang@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790288233490118494 X-GMAIL-MSGID: 1790288233490118494 Enable the nand controller and add WP pin connection property in actual board dts as they are board level properties now that they are disabled and moved out from SoC dtsi. Also remove the unnecessary brcm,nand-has-wp property from AC5300 board. This property is only needed for some old controller that this board does not apply. Signed-off-by: William Zhang --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .../boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 5 +++++ .../dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts | 5 +++++ .../boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts | 6 +++++- 3 files changed, 15 insertions(+), 1 deletion(-) 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 78204d71ecd2..999d93730240 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts @@ -125,6 +125,11 @@ port@7 { }; }; +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + &nandcs { nand-ecc-strength = <4>; nand-ecc-step-size = <512>; diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts index fcf092c81b59..19fc03ef47a0 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts @@ -155,6 +155,11 @@ port@7 { }; }; +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + &nandcs { nand-ecc-strength = <4>; nand-ecc-step-size = <512>; 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 d94a53d68320..52f928dbfa3c 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 @@ -166,11 +166,15 @@ led@19 { }; }; +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + &nandcs { nand-ecc-strength = <4>; nand-ecc-step-size = <512>; nand-on-flash-bbt; - brcm,nand-has-wp; #address-cells = <1>; #size-cells = <0>;