From patchwork Sun Jun 13 09:46:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Hagan X-Patchwork-Id: 12317433 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80231C48BDF for ; Sun, 13 Jun 2021 09:50:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3B3466124B for ; Sun, 13 Jun 2021 09:50:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B3466124B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DJSiHUwm8GIO8MLOyHygvsJ0HQ7iepfXI1JraJSfeuE=; b=J+pHyZwlIpN0o5 JL/MO+m4nJPyXMqBST6ufqhLl9ktA/IQttyMhZYc82ISohnSreNFrTEOROk07nJ63J1qWcXHYL/PM aD9WtYbQybFKPS+B98HftuPIJEB4/15SKS7oGZa2J9MI9xvflYZwFH04G8C0NJ8yFmYTxsiqMN2TD HAnZAqV5QtN6gJDAm/tZSLjAFQnKOE6/2rQqXUN/ojT8eYTijzJ1K8wfhPIU9FPqiUOeNFZtin8aJ R272LvBqBB7FaoyuUI3wMwaNVsmnKFMsg00Ze/2mGdqIx8p8QoXhvSQQ7Qx0c+z43MBUlINTyHxlZ XEnfE5+/1cj3xoZ44Z4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsMjX-00A79s-Bj; Sun, 13 Jun 2021 09:48:47 +0000 Received: from mail-wm1-f51.google.com ([209.85.128.51]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsMjU-00A758-7G for linux-arm-kernel@lists.infradead.org; Sun, 13 Jun 2021 09:48:45 +0000 Received: by mail-wm1-f51.google.com with SMTP id h22-20020a05600c3516b02901a826f84095so11016384wmq.5 for ; Sun, 13 Jun 2021 02:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k8Tcr/7hh6x1TjU9mgPl8U2ujjvIEU7EhIT4MxZ7SOk=; b=KeA0K7SElPIS7sEnawxhgq1tX01lPeaGPuoWXaUhK/80J3R+clXgxYf0k8i3U+ToVq MIioP/6SpgwuH952kXtXj1zM8YXm7yLoaLUgfa/ZPI7Xtn5bMtbs0zxtQ86pWl+i12ec s8d7+b64GyedYJHw+dYyThPZ2Pc/TrJJ9ZxycOi0WGr9QfJYbNV2GnYIMxgULGuKIHPF caPFgmILv79rWr0pgfWmyDuNNBVLPSfhdS18WDlhAPxfYBXk7udk+xvTgg/1ieURiblH e5eNt4BV668NZO7pBBZtnWD2I08zY0R4GcsFJb80O4W+ZYba5HD+1a5ad97XCf1CrZ0g v2Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k8Tcr/7hh6x1TjU9mgPl8U2ujjvIEU7EhIT4MxZ7SOk=; b=XMjfQdhfl70daGi/NqCOFypxxyVwB/fkG/iptDmIAzdVX8y2DuvxFmzJoHLt1BKpvI uJm/5N5VYuLEc5A4ztNFMvoAaZuY5vvhaIeKq6PrQZGwbj5ULz1XMCCiNkpTfpdYf1K1 RsaRUPzpLxg/RAKd5A9qze0D8kREYiV4CExKDBZ3HTvtaUqRBBJ2tKwN2QI/uv6fEA8M WkeoV5y5OVh9XnUQJJqZp52LUmiIeIkbpnZGE7c7b8C94CqgD6RcLmTScK+devpc61E6 Uii0X3YLybOMqzDgLGcARYqOWZlnr4kPdWP/NZje8gbUfBBzV3pC68mnomgAKssxxy37 PPJg== X-Gm-Message-State: AOAM531luvBkUNCW3Th7xvcWgG6d26YClZaKCM2LMIQYTJnfU3pr2yMs yLnBL+6UeU7zSquGPu4pEvoYpGxS9iI= X-Google-Smtp-Source: ABdhPJy/XuQCc5BH8sN6gBgGQS78fLek7ilWWUE+4UJ0gifajvZw76otnVo+Y4jKdnURGQtS6AdZoA== X-Received: by 2002:a1c:453:: with SMTP id 80mr11077477wme.171.1623577661587; Sun, 13 Jun 2021 02:47:41 -0700 (PDT) Received: from cluster5 ([80.76.206.81]) by smtp.gmail.com with ESMTPSA id y189sm10953178wmy.25.2021.06.13.02.47.40 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Sun, 13 Jun 2021 02:47:41 -0700 (PDT) From: Matthew Hagan To: Cc: Florian Fainelli , Vladimir Oltean , Andrew Lunn , Vivek Unune , Matthew Hagan , Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] ARM: dts: NSP: disable qspi node by default Date: Sun, 13 Jun 2021 10:46:34 +0100 Message-Id: <20210613094639.3242151-1-mnhagan88@gmail.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210613_024844_287521_5745ECA4 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 The QSPI bus is enabled by default, however this may not used on all devices. This patch disables by default, requiring it to be explicitly enabled where required. Signed-off-by: Matthew Hagan --- arch/arm/boot/dts/bcm-nsp.dtsi | 1 + arch/arm/boot/dts/bcm958522er.dts | 1 + arch/arm/boot/dts/bcm958525er.dts | 1 + arch/arm/boot/dts/bcm958525xmc.dts | 1 + arch/arm/boot/dts/bcm958622hr.dts | 1 + arch/arm/boot/dts/bcm958623hr.dts | 1 + arch/arm/boot/dts/bcm958625hr.dts | 1 + arch/arm/boot/dts/bcm958625k.dts | 1 + arch/arm/boot/dts/bcm988312hr.dts | 1 + 9 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index b4d2cc70afb1..c0427d985438 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -310,6 +310,7 @@ qspi: spi@27200 { num-cs = <2>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; xhci: usb@29000 { diff --git a/arch/arm/boot/dts/bcm958522er.dts b/arch/arm/boot/dts/bcm958522er.dts index b6f4d931123c..e5ed67b3c35f 100644 --- a/arch/arm/boot/dts/bcm958522er.dts +++ b/arch/arm/boot/dts/bcm958522er.dts @@ -134,6 +134,7 @@ nand_sel: nand_sel { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>; diff --git a/arch/arm/boot/dts/bcm958525er.dts b/arch/arm/boot/dts/bcm958525er.dts index af66caa87bfc..017fc46cdf0b 100644 --- a/arch/arm/boot/dts/bcm958525er.dts +++ b/arch/arm/boot/dts/bcm958525er.dts @@ -134,6 +134,7 @@ nand_sel: nand_sel { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>; diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts/bcm958525xmc.dts index 3d6859e4fd5e..5364f98ae1b8 100644 --- a/arch/arm/boot/dts/bcm958525xmc.dts +++ b/arch/arm/boot/dts/bcm958525xmc.dts @@ -150,6 +150,7 @@ nand_sel: nand_sel { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>; diff --git a/arch/arm/boot/dts/bcm958622hr.dts b/arch/arm/boot/dts/bcm958622hr.dts index dca2c9c60857..4763eb5d68a6 100644 --- a/arch/arm/boot/dts/bcm958622hr.dts +++ b/arch/arm/boot/dts/bcm958622hr.dts @@ -138,6 +138,7 @@ nand_sel: nand_sel { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>; diff --git a/arch/arm/boot/dts/bcm958623hr.dts b/arch/arm/boot/dts/bcm958623hr.dts index 4e106ce1384a..f2468bed2808 100644 --- a/arch/arm/boot/dts/bcm958623hr.dts +++ b/arch/arm/boot/dts/bcm958623hr.dts @@ -142,6 +142,7 @@ &sata_phy0 { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>; diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index 3a62d2d90a18..c26849304bc7 100644 --- a/arch/arm/boot/dts/bcm958625hr.dts +++ b/arch/arm/boot/dts/bcm958625hr.dts @@ -149,6 +149,7 @@ nand_sel: nand_sel { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>; diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index d331c0a4e6b6..b7b136c862a8 100644 --- a/arch/arm/boot/dts/bcm958625k.dts +++ b/arch/arm/boot/dts/bcm958625k.dts @@ -153,6 +153,7 @@ &pwm { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>; diff --git a/arch/arm/boot/dts/bcm988312hr.dts b/arch/arm/boot/dts/bcm988312hr.dts index 7cfb48fb48ba..6b57530a3964 100644 --- a/arch/arm/boot/dts/bcm988312hr.dts +++ b/arch/arm/boot/dts/bcm988312hr.dts @@ -138,6 +138,7 @@ nand_sel: nand_sel { }; &qspi { + status = "okay"; bspi-sel = <0>; flash: m25p80@0 { #address-cells = <1>;