Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2940256pxb; Tue, 12 Oct 2021 17:08:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWEbI5+0OG5fW/XUNWzEhLXDCMyDNa1lFnt6OiTo8C84kSX/IrGriD+7rO/RnHCz+Q7FdD X-Received: by 2002:a17:90a:4207:: with SMTP id o7mr9498020pjg.61.1634083729119; Tue, 12 Oct 2021 17:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634083729; cv=none; d=google.com; s=arc-20160816; b=jdSrnI0osPpWzYefT6c7wmjfG9eWb45OeNTUdgnClQlsV8m092Qa2MrDoqFDnSi/l/ ETi79ccKvaX28uWeeibcyFGHmjZpx1hgWS0SbVK0UKev2tNVHgd1VxGwW7+r8aQ9zQ6u qLuYAbPIFoNuX810xz9kLP4lmvP153WBcm0ZNMYbNQEbvmdR4e1TCNu1cr1yH6VCvj9T jsPf+9dH3PhUmxgJBZoX3YUjZp3Fp2m57lik3bOet9YMkemh/7K52+2BAO8CWQdA8iuH 5D2ULAGAsX0/9BPgOcPZk2lek6Uxkbe6Nc2Gkdpchvoh2E8qjYmx0+Nt8BnIqPlULv3c R6Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ggu9wtyVJ0mswIqe7FnhJyyNNFTA7DAb9ihRwikTtHE=; b=ikgR3IBo+I4aYC131g0HttZsZ7W4k7+Bt74YWyyMBPUa3V4aaZ5VTod8AGy7h+kcwW l1j8OZcKG1xRzCV7C2LR6tIPxuZux/GKuIj2bQdP/pNXKIV0c+lG/Wm/erUBrzKnPsIA 0nqOIOkS4C/k72xBbBy+Zdvq5Wa5ze9C3McL86Jo9bvbOHjpUnfw4WWbnwNzCcPDvOnU bZKlKraL444hLJGUGZ9/cEWvnukp/4lpscLL9pm8Hjj+qv2yMtnNhQKxPzTlnNM+9Pi/ Mj/l0k+Q2YnLzafT6gnXmUvMJbDUN4omEMetRsbe2IggT3mxc4pVJwIoSGN3XWRKclJi pFyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q9si23584067plh.151.2021.10.12.17.08.36; Tue, 12 Oct 2021 17:08:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237084AbhJMAI7 (ORCPT + 99 others); Tue, 12 Oct 2021 20:08:59 -0400 Received: from inva021.nxp.com ([92.121.34.21]:33324 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236361AbhJMAI3 (ORCPT ); Tue, 12 Oct 2021 20:08:29 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2A34D202E4B; Wed, 13 Oct 2021 02:06:26 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E5C85202E43; Wed, 13 Oct 2021 02:06:25 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.142]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 6096240A77; Tue, 12 Oct 2021 17:06:25 -0700 (MST) From: Li Yang To: Shawn Guo , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Li Yang , Kuldeep Singh Subject: [PATCH v3 17/17] ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash Date: Tue, 12 Oct 2021 18:58:23 -0500 Message-Id: <20211012235824.31096-18-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20211012235824.31096-1-leoyang.li@nxp.com> References: <20211012235824.31096-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We cannot list all the possible chips used in different board revisions, just use the generic "jedec,spi-nor" compatible instead. This also fixes dtbs_check error: ['jedec,spi-nor', 's25fl256s1', 's25fl512s'] is too long Signed-off-by: Li Yang Reviewed-by: Kuldeep Singh --- arch/arm/boot/dts/ls1021a-tsn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a-tsn.dts b/arch/arm/boot/dts/ls1021a-tsn.dts index 8005efc5c812..ff0ffb22768b 100644 --- a/arch/arm/boot/dts/ls1021a-tsn.dts +++ b/arch/arm/boot/dts/ls1021a-tsn.dts @@ -251,7 +251,7 @@ &qspi { flash@0 { /* Rev. A uses 64MB flash, Rev. B & C use 32MB flash */ - compatible = "jedec,spi-nor", "s25fl256s1", "s25fl512s"; + compatible = "jedec,spi-nor"; spi-max-frequency = <20000000>; #address-cells = <1>; #size-cells = <1>; -- 2.25.1