From patchwork Mon Mar 25 18:30:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10869823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B22B9139A for ; Mon, 25 Mar 2019 18:31:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B71E291D8 for ; Mon, 25 Mar 2019 18:31:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FCFA29216; Mon, 25 Mar 2019 18:31:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2D6CC291D8 for ; Mon, 25 Mar 2019 18:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=hLLli4g3n0J00NUZiCOzffeaWbrT9FihGSu5s3gCc9M=; b=jqwb5XVYe3N3XL AkiXsGDkYJqTRag6ahdZRdIU4T2gYxuVnSAUd0u6jK0rm6SLiskfGBJqwmjRYMJAHdqGW2BNK4l53 gW/4LXFceqKijvHhPizknoEJ2+5Mg4kkmmuf9f2WEryfU2ecGde8jV4/egVn27q68V3T7NKlVz8qE RHI126ATFAojCLsULVbF+ekybhm9taYlQYLW7Z4AhFuG2FNcxnt6EUEWwx8+9JxJLNfKgpICP8w6Z 9BFhQm3OygoWlAcY2Ht+PvYYILAEwLsJIgz4bINUhQxexafoPOWS9kolSVQ/tn9ZHU0XwoPXMhVTE CgHcH4BHOMVPp+4r0CCQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8UNn-0005kt-LV; Mon, 25 Mar 2019 18:31:39 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8UMh-0004EE-Be for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2019 18:30:36 +0000 Received: by mail-pl1-x641.google.com with SMTP id m10so347295plt.10 for ; Mon, 25 Mar 2019 11:30:26 -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=fIZK9l/PSo/azPAD1wVNltgu5UI5I+sb6w/ogJ7GQDY=; b=PfCSSn1k3fYKB6CvxNvYt/8YbWDO5ndMWqlhwOJqWWucEY5hf1+sFplX8hxLOrRgsB ILaGHbbcHTJIdInhfYQWgL2ExTVBJsMumI3SZFr/QUM278m+fqBBxaUVbtMcrCGFht/w 1jtPSPaZMEQwI8Sd1ZpoW1t7aSn/5q9helDuWzYYMwpL9gf2kfOVvPpcF7d+VUnwdTAU G2IxU+PmpTxhJ/RDMpAipZLT0g/oY9KI0aGDQr3d/Vl1Fthx2c6rKBFZkOk9oHyU30HR I/ihM0uPnzDz3ZGVsmZ2Vwb6XHpX38BsSoNnTptbpjnKfQio3ebqS76Qu8Tyn1FnoVSD cdNg== 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=fIZK9l/PSo/azPAD1wVNltgu5UI5I+sb6w/ogJ7GQDY=; b=VK17XmkUiBQpUKXz1WZvPheix5fhoXSHZvgce+V3kC7mP1f7E4O+rXXZ+sGrn6XWIg ogcpBAMeBhNPnpfsk5cpz32OfGj4/wF4MtJebebQNij4CR0hjrrQb8DNBBCZrWG9+cmB Pzj3GsGwrxYg7ox0+jPZhUTJqs4mXRpExn04wcN2Mv95GLtyg3BBR2wqigmH/ItWtAAb zLTNvDGEz68udP+aUZkvzJ28t5hZP506CWbIqyms2HbgHDCC0wDQy2S70F0X2PcHSi8s dr3RMQNPM1F/zEbVbLcwiGuqBQ5tlNzedASdFKQyXMlD9QnkQ08yjywmMi3f5/tJFmvc vl0g== X-Gm-Message-State: APjAAAVP4jXweiSdy4OmR1QkP64tlbtZsSBURHvNLRdgvTPEhOvNWsUg uaY4u4Tq6p4oySzfbj/3cJM= X-Google-Smtp-Source: APXvYqxAHqgnQXRYg+2ciIRVOrb8xTbUvqJYT34H3pUAoj7CYY2OEVRZVsDWCDQFqt7u6w6b6gy9Iw== X-Received: by 2002:a17:902:b593:: with SMTP id a19mr7780932pls.300.1553538624598; Mon, 25 Mar 2019 11:30:24 -0700 (PDT) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id d137sm24399887pfd.133.2019.03.25.11.30.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 11:30:23 -0700 (PDT) From: Andrey Smirnov To: Shawn Guo Subject: [PATCH] ARM: dts: vf610-zii-cfu1: Disable NOR flash/SPI controller Date: Mon, 25 Mar 2019 11:30:17 -0700 Message-Id: <20190325183017.22278-1-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_113031_714805_7B3778EE X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Andrey Smirnov , linux-kernel@vger.kernel.org, Chris Healy , Fabio Estevam , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Only a certain number of CFU1's come with NOR flash populated. Disable it by default to avoid trying to probe NOR flash on devices that don't have it. Devices that do have it can rely on the bootloader to enable this node. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Chris Healy Cc: Andrew Lunn Cc: Fabio Estevam Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/vf610-zii-cfu1.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vf610-zii-cfu1.dts b/arch/arm/boot/dts/vf610-zii-cfu1.dts index 6c78122401a1..afc25b33bd3b 100644 --- a/arch/arm/boot/dts/vf610-zii-cfu1.dts +++ b/arch/arm/boot/dts/vf610-zii-cfu1.dts @@ -87,7 +87,12 @@ bus-num = <1>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_dspi1>; - status = "okay"; + /* + * Some CFU1s come with SPI-NOR chip DNPed, so we leave this + * node disabled by default and rely on bootloader to enable + * it when appropriate. + */ + status = "disabled"; m25p128@0 { #address-cells = <1>;