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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D107DC433EF for ; Sat, 9 Jul 2022 06:59:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 22F0F845D6; Sat, 9 Jul 2022 08:59:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.b="LPVO+pqx"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="PhabOjUk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9F70B845D9; Sat, 9 Jul 2022 08:59:54 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 951E8844CF for ; Sat, 9 Jul 2022 08:59:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=msuchanek@suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 542DD21CFF; Sat, 9 Jul 2022 06:59:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657349992; 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=NXjauKMzzk54zfwVQL5c68LfT1sDbIoI9qGPzSBwuyI=; b=LPVO+pqxGkMk7XAWiDCMK6ra6SeuCOrOqM8aleepBn4YXNvvvw5pvam//Wp6Q+DNz2nhQf YYGO4P+mMsPUGbytTI3U2w8c0Fw9E0qyMVgwAWguAo+JXPUGt4IL2vjWEU89+I1SyXbPK7 iVNVM6XXm6lE+WLgZjb6tfdh7maqCxo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657349992; 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=NXjauKMzzk54zfwVQL5c68LfT1sDbIoI9qGPzSBwuyI=; b=PhabOjUklg/rTinVTYH8zVNFb46WKab66voVsMcV8InJnpg6oer0NjUpcZZPyvGwJTJ++F rm3l4HrGrICSfDBw== Received: from naga.suse.cz (unknown [10.100.224.114]) by relay2.suse.de (Postfix) with ESMTP id 1BDB92C141; Sat, 9 Jul 2022 06:59:52 +0000 (UTC) From: Michal Suchanek To: u-boot@lists.denx.de Cc: Michal Suchanek , Matthias Brugger , Jernej Skrabec , Andre Przywara , Jagan Teki Subject: [PATCH v2] sunxi: dts: Fix SPI NOR campatible on Orange Pi Zero Date: Sat, 9 Jul 2022 08:59:45 +0200 Message-Id: <20220709065945.16141-1-msuchanek@suse.de> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220707082523.27141-1-msuchanek@suse.de> References: <20220707082523.27141-1-msuchanek@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean The device tree should include generic "jedec,spi-nor" compatible, and a manufacturer-specific one. The macronix part is what is shipped on the boards that come with a flash chip. Fixes: 280294c5df ("sunxi: boards: Enable SPI flash support in U-Boot proper") Signed-off-by: Michal Suchanek --- v2: cherry-pick from Linux arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts index b08e84c616..80c1e66b38 100644 --- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts @@ -170,7 +170,7 @@ 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>; }; -- 2.36.1