Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp607316rdh; Wed, 7 Feb 2024 14:33:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWjpkUzjKltc0+9OOaYG321iYlRNV9zJ0bby3Z+eTt8ejlmSpY+X8Mzg+HhGMHHyo8g9MQKXol3CX/VTv7CduA0Y0agZOP7LqgsZv55nA== X-Google-Smtp-Source: AGHT+IE7NCeJ8tQIDdReajyGLgSXWdy/wQcFL1k+xOH9CEYEf3j6MyT0JpHTr4Py53yzgwSdB9j7 X-Received: by 2002:a05:6a21:328c:b0:19e:957e:88bc with SMTP id yt12-20020a056a21328c00b0019e957e88bcmr6777960pzb.54.1707345206904; Wed, 07 Feb 2024 14:33:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707345206; cv=pass; d=google.com; s=arc-20160816; b=BRCZEjaqkacK/TMtfS+e5uywTU4ihJnxHo9QO6OSKyYOa6QoufpoGZFjT4f5t/z5YU pNNdyJsGLJ2SxBod2uhv3U/4oiM34LrwWFAgDxBPpY+RseEvuV4jr+B0hyqw4gQZ/9xr 32WmKcRt+LGTDpOIwuDmX0XpkXhDO+T0whaeOGdAHhoctb05pRKsQEp/IIu9DP29CQTz Au2KZ3ujDGGfJlSXvCpcvtip1+34x9p+XRaaFTCcmaytEEJL7zAIBRzdZXW5QDdewK08 AcCwAoEB3I1wbAIsAcLQjaP5eze8kU1dkR4tHoHTfXYn5poq5Tln8RnXSy6FbBT7Qr+/ tv5g== 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=V7vyqaCVlIaBxCob3h3SlcbGbm0xVh0lwkkijVxscRA=; b=oeu1ZqUAp18zKPqFrL7t7sYVypk8lnCkfwW1inPwfkH2uUP3g9I2UewsVGAxlaEHIA AbmuD0HSQgBodMayB6aW5x1tDA9PueVIOAAR7ARTOm+iHaSkB58tEH/m10+mgdJhrOzt bj3UdFSwftpOr8bVZ9dVZqnf3pEZPcSKuOSNkkr8FuD+Q4uMl2OSpC6QyjXIbuInY9CF C1ftPCBZAHKBHffJM6cOBABllqByhKUkQUP+1xniEqOtwPd2YFUwh8dXEnx0QbHZMnGp yNbD6yBybFppQVTZcRHfDyYV4NmHpdBcM4hnkmm59rQ2oBaL/6Y/q7EwlQex0ibRA6bZ TyEg==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com X-Forwarded-Encrypted: i=2; AJvYcCUE2nhDxuhZzJ+4uiBEtTKmzDx49rCmkzGGd7kyy8Olg/r8LTcPQDUCCoQxuB8d7bJDHuaxeTQo6Rm3/lFVm/ACowDiX6248y7Rbljwvg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id dq9-20020a056a020f8900b005d8e3c86163si447222pgb.142.2024.02.07.14.33.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 14:33:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57017-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 51776B261DB for ; Wed, 7 Feb 2024 20:25:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 239D1127B7D; Wed, 7 Feb 2024 20:24:01 +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?q?Rafa=C5=82=20Mi=C5=82ecki?= , 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 Content-Transfer-Encoding: 8bit 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>; -- 2.37.3