From patchwork Thu Jul 7 17:07:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Suchanek X-Patchwork-Id: 12909994 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 2E761C433EF for ; Thu, 7 Jul 2022 17:08:34 +0000 (UTC) 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:References:In-Reply-To: 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: List-Owner; bh=Yt7hJ1boE2M2NRPBUFLrzIFDradMfLMduvBeXJMM1Y0=; b=Dg/NfWYMt24Cqm RoxNPRM7D8SuH3FuIPlv286F9wYuIHxmpCb/07sPVeLnVx05ZlLo85noulIX8M1GlzmV3VccWczrR rhPFIe126SmQzbBkwpYrY+jjXo+nXRA/MrTWWisoEH+iluZpc7BBHI/4bYxTq1aIYNRyB+4ITbsWg kF34pQydx3xv9yburR21HfREAk0+4wfVZxhl74ocb0vfgqm/JTrtJWGk+4XxgG1NHHEr9vCaaY0C5 ok3oT2heWflHVyBIDuJjW97CNzvG+Buu3gvX+Ox/5DMeijHBRK6FgghyH6C3YUG9OGxBJfEiMWK46 YcRrYfq4UnxRB7LKYYsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9UyV-00H9Kl-VI; Thu, 07 Jul 2022 17:07:36 +0000 Received: from smtp-out2.suse.de ([195.135.220.29]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9UyR-00H9JF-L1 for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2022 17:07:34 +0000 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id CD8D21F9B2; Thu, 7 Jul 2022 17:07:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657213649; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Ci4Dep1Zdb2ngukBlBCgO8oicNdK+KrkT4H7UcJ2kQ=; b=FUlwb0EqBnGrORmKhwXUa5r6qWXAdWT8tUoyLVl9iw+4GUwO+Cz1kOS5VJg6b4tPJ6KIrI AYe4dAVZy3FNjiTyP/nwTzCXgXeRtL41jD2pxajrt/G4sijt294X46OmrRswnqXvrj9a0m ncUHTV057vlD2LBZbEFh95qoJdPnDxQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657213649; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Ci4Dep1Zdb2ngukBlBCgO8oicNdK+KrkT4H7UcJ2kQ=; b=anndg+nTRyO4WGTNepgA3Zo5d70jt/982ZGZLCjdZZoo/SBQjlmJzdWiVeecSxUZPUM0du WNN6uvly1E584JBw== Received: from kitsune.suse.cz (kitsune.suse.cz [10.100.12.127]) by relay2.suse.de (Postfix) with ESMTP id 82C602C141; Thu, 7 Jul 2022 17:07:29 +0000 (UTC) From: Michal Suchanek To: linux-sunxi@lists.linux.dev Cc: Michal Suchanek , Icenowy Zheng , Andre Przywara , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] sunxi: dts: Fix SPI NOR campatible on Orange Pi Zero Date: Thu, 7 Jul 2022 19:07:20 +0200 Message-Id: <20220707170721.20225-1-msuchanek@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220707174801.36e010da@donnerap.cambridge.arm.com> References: <20220707174801.36e010da@donnerap.cambridge.arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220707_100731_872603_E757A6CC X-CRM114-Status: GOOD ( 12.35 ) 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 Without "jedec,spi-nor" compatible the flash memory cannot be probed by u-boot. The macronix part is what is shipped on the boards that come with a flash chip. Signed-off-by: Michal Suchanek Acked-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts index f19ed981da9d..3706216ffb40 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts @@ -169,7 +169,7 @@ &spi0 { flash@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "mxicy,mx25l1606e", "winbond,w25q128"; + compatible = "mxicy,mx25l1606e", "jedec,spi-nor"; reg = <0>; spi-max-frequency = <40000000>; };