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: 588267 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BC10C43334 for ; Thu, 7 Jul 2022 17:07:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235634AbiGGRHr (ORCPT ); Thu, 7 Jul 2022 13:07:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236553AbiGGRHb (ORCPT ); Thu, 7 Jul 2022 13:07:31 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D39D5A47C; Thu, 7 Jul 2022 10:07:31 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>; };