From patchwork Thu Mar 31 06:45:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yao yuan X-Patchwork-Id: 8707821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1DF419F30C for ; Thu, 31 Mar 2016 06:56:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 317192034A for ; Thu, 31 Mar 2016 06:56:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 50C4E2024F for ; Thu, 31 Mar 2016 06:56:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1alWVZ-0001VW-QM; Thu, 31 Mar 2016 06:55:09 +0000 Received: from mail-bn1on0135.outbound.protection.outlook.com ([157.56.110.135] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1alWV3-00014f-Sg for linux-arm-kernel@lists.infradead.org; Thu, 31 Mar 2016 06:54:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freescale.onmicrosoft.com; s=selector1-freescale-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EYlzZ/2ZfxjTpazkLFdewIx9s5UsLFd4UKU8vjbGVyk=; b=2XiuuQWtP5JkMyhN9Wj3kMOgQxGsu0SillpNo43xrp50azoUxInNobUNy5FX/bLrn1JqCCe2ShQw7oiRK+Wr4tZedh6mqJscAkone4lrev2rAaHAxljMVIaEIvJxdL6pBj9vH7PuUg++ZmgXBn4sLmewLhXThaZ2xM4Ib5as6og= Received: from BLUPR03CA011.namprd03.prod.outlook.com (10.255.124.28) by BN3PR0301MB0868.namprd03.prod.outlook.com (10.160.155.142) with Microsoft SMTP Server (TLS) id 15.1.447.15; Thu, 31 Mar 2016 06:54:16 +0000 Received: from BN1BFFO11FD010.protection.gbl (10.255.124.4) by BLUPR03CA011.outlook.office365.com (10.255.124.28) with Microsoft SMTP Server (TLS) id 15.1.447.15 via Frontend Transport; Thu, 31 Mar 2016 06:54:15 +0000 Authentication-Results: spf=neutral (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Neutral (protection.outlook.com: 192.88.158.2 is neither permitted nor denied by domain of freescale.com) Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD010.mail.protection.outlook.com (10.58.144.73) with Microsoft SMTP Server (TLS) id 15.1.453.6 via Frontend Transport; Thu, 31 Mar 2016 06:54:15 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u2V6s3Un017667; Wed, 30 Mar 2016 23:54:11 -0700 From: Yuan Yao To: , , , , , , Subject: [PATCH 2/2] dts/ls1043a: add the DTS node for QSPI support Date: Thu, 31 Mar 2016 14:45:01 +0800 Message-ID: <1459406701-40993-3-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1459406701-40993-1-git-send-email-yao.yuan@freescale.com> References: <1459406701-40993-1-git-send-email-yao.yuan@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(979002)(6009001)(2980300002)(199003)(189002)(47776003)(104016004)(11100500001)(586003)(33646002)(4326007)(5003940100001)(19580405001)(77096005)(106466001)(5008740100001)(105586002)(19580395003)(229853001)(48376002)(6806005)(2906002)(36756003)(86362001)(50466002)(81166005)(1096002)(1220700001)(87936001)(2950100001)(189998001)(92566002)(50986999)(2201001)(50226001)(76176999)(5001770100001)(7059030)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB0868; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD010; 1:WKAulL9DTGRlJrS7oIzbQZi1/vypHFfar/IjIF1jZRPQy+nMI6yrItJ8d3hCYvMIlG5H8msi2Ys6fkIIe2Ys2296HNHDke+vywVtUbxJg9MZsXD5GoMZ44T4Uhk73Ibn06HscKfXM+Rpi4u42JgAms55rp9olhZbnwr1AXV+v94O251Ov4tZrM2wKbFjPoAEOdkWoGBVxTdHFxaAsODXlKHZVfslVsHpnB8MhHL/M9oqZETW/Z9XTWY7GVZBJV5WXTSPDr0uT8iAP8cGXxlcwRiSVHN11QelpQlpk9MugrpukiULlY34w+dVkedCwe3DHf517ziFIiACja2XwyOzGpcmJ+3hSt2GvZoQh5ui45oAZjjprf8DjCkFpRadCbVpUl+ZNlU8p/pxCW5cIGmLAO5zqZ9II3i/3zQq+FJTeZItGdqPo7Pl5Hnz8EPbpdSVcr+acFeJ50x9fLGAoVe4WNJZQnZKAreWSoK9ZrT30IxarUQhf3nEgo4/V96vlfwzVwpCn7VE88osRnYThjY0Uw== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 03ebcb4b-5b9c-468c-bac1-08d35931466b X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0868; 2:iTg0weXDjZD2VKpyW7wUYRzm6iGUvrVVX4IqNvJWi7mRAClmQDHzgGo2pWWgyxOy9suHANtcYaah4En1G7IauLRH9evKcuwK4w9P6dx7aczjDlfXexjF+P9Y2znF0WSJfi98L53R3sJoQLBm7DTi5nhfZIFoUtUUnzopQoRrtb321QNRMjAqgRWjXNcJUVa3; 3:rm4xibk162BRYiEKQKJK4xlcuhpxJeYfed0V7dY5Az7MkA7WH12KExwuvP96TCKIedGjIJYXc6Fl8mFozCXeSKdKlIpcGDVtQ3fO7gJigqXAo6b8z+ckhY98zH9SbhOM9WVVG4P3GsnmqYFwlNaiLGhX5S8/io1be0zBD3SXCrAoNbPp6QP/RUnZP0+QPVE6hD/0KgYp91n7E/UYLy5qGWGkE8fOKmFY7rezoLilOp0= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0868; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0868; 25:yl2XNrifMhLt1kSnazTAsvoLRGyrxlWgMVQTCSrLjYMD9oYonrnx8aF7JFx1uZc1bHHPcxBOMGgaoO//aD8ociWr/gCb9ZZo6rgGPzxAn5iT7/Tay5wSpHGmDo/zWf17tChf2ggFgp98NjKIaXfAvH+FAccI1bRdzKwlFa4cZzUiqoPEpIx+iqNkiB79vZCol6WCTKMg4pFPHqrmIrFjJ/Dek3NjZavFtgpS6O6nwAGb1Uz87ARCs3GUQDBwv8EvRMObw4spsuDom8VhfarWnzneptlmosmhCBUt8g7YLZpRXUUcV60MqRmKTZ1RP+xUMCQlaxRTbYG5jQBz1GgYeEjE3h8LCxcKzCzfhtuSQZ/wcmH2ic9qFWym2jiEm/vTsFS7lBEIP8mejJu4B8tQGSuYIqSGDd7FUSHHookx5bnAg3So8rVqjvitepPD6k5LO+r3oBycmvPcC4yBbYotzfgnXDN+DGjn//5PgXlkUVyRUCipE40wp11YixIQlp+jtve6y0wuZnZy9LE8DCTik0GSJUZxsoSiuHvuLnIOR+sTqDK7pRxdstrko7WaWfG6 X-LD-Processed: 710a03f5-10f6-4d38-9ff4-a80b81da590d,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0868; 20:7+2FvSqZ9Tuc1QiJQ6orIe6kE3+FWaxhUf7nbH763HpJbxPy/1ACjL13eCOu0moOd0K9XHbiPDF20pBflEc+B/578irfzT0IsopaVqDG4huAz5bzGQaNgAv2oE63+L8qu2WVPY1cALvS04waHyLmXb2GsqVyVmuG/ctlLQbjkVTYr2OWrrXbuhyNIg4N2P2DajOA+oOk738us7heVNSM6ue+rwktuLNXDLujM2AQAyuQKC9iJky1PJf0nw0W+BQptAqoLtb9yPVGCJqW2Sklz4Y2ZVafzy4TJTFM1F/S6+jpfB0toE8cO9GzgCZZB81yvNLGcbz2vMHIbRKmYBwJvzblbi8S6VMHpzkQrixh6I/ljyrwg45vGAI9yfZ7ZbtOOYZtUGiz9zS9yuf9u77m0/elJC4QZ6/ai0RBfxoEe7B2R3suYGyOmNt5pC3DVL5O; 4:HpX6e6mgpe6dVW2xgheAzsn3d5CXHW77pId3lP/VzoI35moxAts6uT4E46Bhp22kxZG5ucFr++QvKQ0I/Q/BP2rARzSnVIuApt2tBcZ0HgBQX/nrOYhyISnrhhVcbTOvBtgIZmqKYo+v/HsVZJmhfPFYUJCdHoPoHr13nZ5rfaHCeaao4ORS5se3FAqarg4tDY0OWeh1+m9sibG0oKUgAN/V90w1lW5mCC/Lg5lqLHubRPFYpCyfNHOx4bjkk8FZjJW8pCFeMi6d858kVT2CnXWZCup//8uP+zENCVVBb9CusbQYfg4m7Q3GCHaPOWy5o/YRCrSRD2a1aUtxrZDcloLmehWdxXAQGGh5SW/hZaKOF4UQCSzhV8Dqtpmg3vYAxsVGqc+SYuBIFzzzn9xe73OYeeL26w7VbD1HfRdKNW3Zfbci8o0h8WWQr4z23uWUVS9+BMkA4D4148BWE6LvyQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13023025)(8121501046)(13017025)(13018025)(5005006)(13015025)(3002001)(10201501046); SRVR:BN3PR0301MB0868; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB0868; X-Forefront-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ascii?Q?DNlvUMQOytRbn+OvYAfRsSPhsRcrYV7Rdb5TXJi/1y0ktOqNx+Qx+RLY2NJO?= =?us-ascii?Q?BW/JK3DHp9c/Z2ZjVvx3LsiwWuyqqZOpL1YI6boYrLJrTAO29AAUwWa+i8DS?= =?us-ascii?Q?M31rO2Djj/kNgqsAfsWobKX61Ln+DLdLdgbVzrJk7L4Xxx+FwXdvV7D4WG35?= =?us-ascii?Q?kmiP2DrDaGJASNK3x1pD7gkjpypiZmPARAO1l2+FPWW3yPceeUYt4buCKt36?= =?us-ascii?Q?afecLQ8apWArOdgyKvsRidOJuyZ5WXvsbjXHmWimZMGzWNzEARA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0868; 5:0dejJb0QgJ2OILl0EbLVhCa5LFcHs8TCzQX9Q9CJ0VdkmRPX7s4YRjPRaNJOroP+CM5nTYn9IGJV3njuJucYafr5nQt78K/Lq7WyHVlM9DZrr8GqRoXGqzkHsR4d55YWHZlTjczx3AFNeUX4ZNrDIg==; 24:/M2C19zIac229O48J7qlVDJBCKcT/WvcLAcns3G2JQYyV5OBO4z2dGglfURGoprblfU4WKQyBQlo70LBnqCAsUNrRbg5+2HC1iegNgxQa6o= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2016 06:54:15.6766 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0868 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160330_235438_347466_8BFF5D6F X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Yuan Yao Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yuan Yao Signed-off-by: Yuan Yao --- arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 16 ++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 14 ++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts index 97e9906..c8303a3 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts @@ -100,6 +100,22 @@ }; }; +&qspi { + num-cs = <2>; + bus-num = <0>; + status = "okay"; + fsl,ddr-sampling-point = <4>; + + qflash0: s25fl128s@0 { + compatible = "spansion,m25p80"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <20000000>; + ddr-quad-read; + reg = <0>; + }; +}; + &i2c0 { status = "okay"; pca9547@77 { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index be72bf5..49b1aeb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -208,6 +208,20 @@ status = "disabled"; }; + qspi: quadspi@1550000 { + compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x1550000 0x0 0x10000>, + <0x0 0x40000000 0x0 0x4000000>; + reg-names = "QuadSPI", "QuadSPI-memory"; + interrupts = <0 99 0x4>; + clock-names = "qspi_en", "qspi"; + clocks = <&clockgen 4 0>, <&clockgen 4 0>; + big-endian; + status = "disabled"; + }; + i2c0: i2c@2180000 { compatible = "fsl,vf610-i2c"; #address-cells = <1>;