From patchwork Thu Jul 7 16:38:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Suchanek X-Patchwork-Id: 12909953 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 D1CADC43334 for ; Thu, 7 Jul 2022 16:40:07 +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: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=+BvWWKlG6yIuqCNNKpp/19Tq07J7JChc8D2U4dGo64k=; b=4/d+tyoYxN5V8M yla8GK61bGvyrrOnjAqVBRK+/Sln3Xgh50SvJOwmjF2c/ujWL576b6cHd+Af6Jr/MfhrWJjzLFhJi Kf2zm0zuGC/UU1RX23tSc7y1eMe9HhfMOV+Hcz4yPR07VO0AcFLjYJT07OATS+pRn576v9XlbvjwD z2cnpSs3HKdMoqc2SSul9eGFesB3iAQQw59faOkZqKyYvh+05/n+mOaFbGjUfir8X/KCYaSm6wb5B oNIktuWynWQZVXpX/lp3m0UiEF0gPhXs8tnbFGNZ1U7cg1Jv7Lu5Pl0VQ6wEREQ2Q8NeW+rSu3qr6 69+U7H+Csqowjkl0aCsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9UWy-00H1UY-6u; Thu, 07 Jul 2022 16:39:08 +0000 Received: from smtp-out1.suse.de ([195.135.220.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9UWr-00H1Qt-TT for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2022 16:39:05 +0000 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 6AED92201A; Thu, 7 Jul 2022 16:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657211937; 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; bh=HT0gKUbR4TG74DXhq9GfoGkggJzW6+enxLTmjGI67i8=; b=ssrnnFUwxE56I5Ypvm6THYQX0NEwf3NBmdhTPNPycDru2bUP0GFJ2/DC2336Vk6qgCjPDM 3J58gjztb6lvjm70a0obl2dpdYPsPIkVV5VeNIcYjZI1K4K1apArSPhfzBikMqIDsnI3Ys 2te0/Op/k7KZnj7gCjzG0LSsUpvn824= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657211937; 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; bh=HT0gKUbR4TG74DXhq9GfoGkggJzW6+enxLTmjGI67i8=; b=TIbNdTvfBJN+NPjbdqHfcNG2GLsUULX5CZF/mAy1OkEv8jOzWsLOaqrBEuhUf6zwBg8yPO kduA0Ht0JE2GEyBw== Received: from kitsune.suse.cz (kitsune.suse.cz [10.100.12.127]) by relay2.suse.de (Postfix) with ESMTP id BBE4E2C141; Thu, 7 Jul 2022 16:38:56 +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] sunxi: dts: Fix SPI NOR campatible on Orange Pi Zero Date: Thu, 7 Jul 2022 18:38:55 +0200 Message-Id: <20220707163855.18838-1-msuchanek@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220707_093902_179290_0FE4F934 X-CRM114-Status: GOOD ( 10.88 ) 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. Signed-off-by: Michal Suchanek --- 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..d114bbc5f441 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", "winbond,w25q128", "jedec,spi-nor"; reg = <0>; spi-max-frequency = <40000000>; };