From patchwork Thu May 16 11:47:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 10946431 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 77A8C924 for ; Thu, 16 May 2019 11:47:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 649DF1FE8E for ; Thu, 16 May 2019 11:47:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58B3328978; Thu, 16 May 2019 11:47:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F39C61FE8E for ; Thu, 16 May 2019 11:47:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EaSNJ4pocn0F5Z2MsaOEYPCG3R6r8GLi63m4gGsFTFk=; b=CbGmsszmkZ89K8 2DjyG9147Nvp+h4xpURGTI4fa7Wrq+Z6SUf0i5/kEKSfQql/YsUy7CyuQun049jyncgAPtrYGXpmo QPrcpA36jMIt4qTn1p7YLfE/BpiE8m72t47XFAcwKySPEjTK4/7JRkQUao3VrFhFrU1B2Xyx68DJJ mmZc96GA3jZZJFvf0Qxtk0ntSVz/UsC4XMQnfFAv2DKIIDfq+QfCgsecWtYwd4HUBu2CXuRjb8R+e RTfRwWG4U63u7SKB0bF2nOM8YmmD8uo/mWmObf6UoL0kuafpS4oGXHVqYRWZx7WTGClD+ifA3BS16 zNFj5T3EXZxui6eBJ1aQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hREr0-0004Sm-Bt; Thu, 16 May 2019 11:47:18 +0000 Received: from mail-eopbgr50077.outbound.protection.outlook.com ([40.107.5.77] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hREqq-0004KA-Q5; Thu, 16 May 2019 11:47:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cgamqRJKxDGJCXG/V7p20bWg8zrStnC+feCOFLnUJzY=; b=Vsk6yYNLtjYWgRUtmapb6Ww+hBsKE3Tc5C98s8rztWYn9avTtCjUoMyf6MFKFkKBxrqeqzlU3XVjNRhvXWkgI8Smq8T9FQbANhK1JrS3Pbqv5g3w3EX1XOxtAmqyrZTyrH4iNOlchWVdSDUbL+g2V0JsQSUf9hJOWySamRZ9XUQ= Received: from AM0PR0402MB3556.eurprd04.prod.outlook.com (52.133.43.147) by AM0PR0402MB3570.eurprd04.prod.outlook.com (52.133.46.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.24; Thu, 16 May 2019 11:47:06 +0000 Received: from AM0PR0402MB3556.eurprd04.prod.outlook.com ([fe80::f891:76d:8a6a:3dfd]) by AM0PR0402MB3556.eurprd04.prod.outlook.com ([fe80::f891:76d:8a6a:3dfd%2]) with mapi id 15.20.1900.010; Thu, 16 May 2019 11:47:06 +0000 From: Kuldeep Singh To: "shawnguo@kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-mtd@lists.infradead.org" Subject: [PATCH] arm64: dts: ls1046a: Fast read m25p60 Thread-Topic: [PATCH] arm64: dts: ls1046a: Fast read m25p60 Thread-Index: AQHVC90Vhs3xRNLmzkqBmm1mmiRMhQ== Date: Thu, 16 May 2019 11:47:06 +0000 Message-ID: <20190516114807.30817-2-kuldeep.singh@nxp.com> References: <20190516114807.30817-1-kuldeep.singh@nxp.com> In-Reply-To: <20190516114807.30817-1-kuldeep.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PN1PR01CA0117.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::33) To AM0PR0402MB3556.eurprd04.prod.outlook.com (2603:10a6:208:17::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=kuldeep.singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [92.120.1.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6542b39a-d5f1-465e-0bb9-08d6d9f4383c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0402MB3570; x-ms-traffictypediagnostic: AM0PR0402MB3570: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1284; x-forefront-prvs: 0039C6E5C5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(396003)(376002)(366004)(136003)(189003)(199004)(478600001)(5660300002)(6486002)(26005)(73956011)(4326008)(1076003)(6506007)(66066001)(386003)(44832011)(102836004)(2201001)(86362001)(446003)(66556008)(2616005)(486006)(11346002)(64756008)(476003)(53936002)(66476007)(66946007)(66446008)(3846002)(6436002)(71200400001)(71190400001)(52116002)(6116002)(76176011)(99286004)(305945005)(68736007)(2906002)(256004)(8676002)(110136005)(54906003)(50226002)(81166006)(6512007)(36756003)(7736002)(316002)(25786009)(81156014)(8936002)(186003)(14454004)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0402MB3570; H:AM0PR0402MB3556.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: LzkgiD1K4oStx79ILikWSj0rJHa+8fLS3quhmy2sRA4PdFPdx4OlxCGtLya984uTEtIgPSzpo8tzFn8d3kjRTVeBSv8+7FHJIJpDHotpcW9pxjpcnaMSv8yIINhat4wA45Y82sJEXwxgh6PwHIve/2PnmgVonkfZBa5K7nbRPCP457LOoAjlLBzr7vpCKrApgFQ4koRnzS+zNEa9UJkIy1H9yCSE3SVxW5YOhpbgRjE/p6adcCZdPXmgT/xEsE8ZglHcgpUdC7FMwo3Y/pROIlF4V94a0HgmC5zqN1gOB+EHNXZeQf8U7Ks22DwYqjBkkT32QSugsd0Kv8GFn0jj1VkOn/DYhUOEuru4sLZ02zcvZs7JDBIqdYGebAqLHJRjUOYUMdrViNpt3qLv4anBLb1bbs40DFKvVc8LX6f/DBU= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6542b39a-d5f1-465e-0bb9-08d6d9f4383c X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2019 11:47:06.0289 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0402MB3570 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190516_044708_845369_ABADD3A4 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kuldeep Singh , "broonie@kernel.org" , Ashish Kumar , "bbrezillon@kernel.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP QSPI support is added for kernel version greater than 5.0 and supports quad mode defined by TX-WIDTH = <4>, RX-WIDTH = <4> RDB/QDS has two 64MB flash from SPANSION(s25fs512s) Signed-off-by: Ashish Kumar Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 3 ++- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts index eec62c63dafe..43a5ef6357d5 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts @@ -166,9 +166,10 @@ status = "okay"; qflash0: flash@0 { - compatible = "spansion,m25p80"; + compatible = "spansion,m25p80", "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; + m25p,fast-read; spi-max-frequency = <20000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index 6a6514d0e5a9..85105a20fc04 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -102,9 +102,10 @@ status = "okay"; qflash0: flash@0 { - compatible = "spansion,m25p80"; + compatible = "spansion,m25p80", "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; + m25p,fast-read; spi-max-frequency = <20000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; @@ -112,9 +113,10 @@ }; qflash1: flash@1 { - compatible = "spansion,m25p80"; + compatible = "spansion,m25p80", "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; + m25p,fast-read; spi-max-frequency = <20000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>;