From patchwork Wed Apr 13 10:08:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yao yuan X-Patchwork-Id: 8820431 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 D558C9F3A0 for ; Wed, 13 Apr 2016 10:19:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4E1D201BB for ; Wed, 13 Apr 2016 10:19:56 +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 117F720357 for ; Wed, 13 Apr 2016 10:19:56 +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 1aqHsP-0000Od-HD; Wed, 13 Apr 2016 10:18:25 +0000 Received: from mail-bn1bn0104.outbound.protection.outlook.com ([157.56.110.104] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqHs8-00009z-M1 for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2016 10:18:10 +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=rMLJEPoC9eFEhXL3OsQ1F+3Iu32FW1fbeMGz3PJbC10=; b=3B50rKGabq6gwAuWESjO/6PtEtUnexWLGA4wuoGGXJWng2WUFOk95/wgv+BsVwH2AKBVgxR6sFFt/DJzOhGWbwoXkQZxtrtgQvdeav4AtaHLQOSzUb/VZj1chHNMh84HjUyH3nuZphW7Q5/lrqDy9dzp7BvjUxiY4VD0/oY/tHA= Received: from BY2PR03CA043.namprd03.prod.outlook.com (10.141.249.16) by BLUPR03MB423.namprd03.prod.outlook.com (10.141.78.150) with Microsoft SMTP Server (TLS) id 15.1.453.26; Wed, 13 Apr 2016 10:17:47 +0000 Received: from BY2FFO11FD006.protection.gbl (2a01:111:f400:7c0c::151) by BY2PR03CA043.outlook.office365.com (2a01:111:e400:2c5d::16) with Microsoft SMTP Server (TLS) id 15.1.453.26 via Frontend Transport; Wed, 13 Apr 2016 10:17:46 +0000 Authentication-Results: spf=neutral (sender IP is 192.88.168.50) 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.168.50 is neither permitted nor denied by domain of freescale.com) Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD006.mail.protection.outlook.com (10.1.14.127) with Microsoft SMTP Server (TLS) id 15.1.453.6 via Frontend Transport; Wed, 13 Apr 2016 10:17:46 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u3DAHWEM028722; Wed, 13 Apr 2016 03:17:42 -0700 From: Yuan Yao To: , , , , , Subject: [PATCH v2 2/2] arm64: dts: ls1043a: add the DTS node for QSPI support Date: Wed, 13 Apr 2016 18:08:27 +0800 Message-ID: <1460542107-45807-3-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1460542107-45807-1-git-send-email-yao.yuan@freescale.com> References: <1460542107-45807-1-git-send-email-yao.yuan@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(199003)(189002)(19580395003)(36756003)(4326007)(189998001)(50466002)(50986999)(76176999)(48376002)(105586002)(5001770100001)(2906002)(47776003)(104016004)(1220700001)(106466001)(6806005)(229853001)(50226001)(1096002)(33646002)(5008740100001)(11100500001)(77096005)(86362001)(2950100001)(92566002)(2201001)(586003)(87936001)(19580405001)(81166005)(5003940100001)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB423; H:tx30smr01.am.freescale.net; FPR:; SPF:Neutral; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD006; 1:MWuu3xWFvnICB2oz7LlU27FhPPz8aLDbC0cmqCPIbeZuIIEVjvc4tNls8LLmjVOEVndugoXvHCzL7KGS3Ze6SSqa68P2aixnofKfSDeYgS4n3S3edIKt25KCWD1iKQbzLhRPOneVTVpZoGDWAHAeqMYfQTG2B9k0qdvxIYh4rZsqfUNPQiS0eVXOshMHs7VP4wctVwktFhHv5eIeb3lmEv0ojXGn0K6rqPx9BWAOeX48VfRsgVk1PmH8fzec3yOq1K0GazcJEjoW5aIFVPP1aWlK5nz63gz9pfrv2GyFSZA48YguO4sr776c/F5sIG5ciwBJ87KYPgxqTXlTXe0x9sksTa9qMdnHqfO9CPA9qzxL5zfxh91n4L2+CYN1Ymg5LO3J5j/jGe1dO4/WHhOi27w/E9D3ssXbMiHI+Wr0TLpQeTkSO2t7Zwmh9UkMsAtPa+IJMFcWMtQNXA85Cuxxlzxi+Fb7Z7jf1DjgQhBa+mdzKo4OoBDwxrdsC/XMzrz+jb9Z3HpX7nGlRzmu9fbTFP5Pn2rmA96meTQ5LXJwT1+CpetKsdBQMg5yZXvqudHB MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: d2dc54bd-1a2f-4b48-7ddf-08d36384dbed X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB423; 2:blsHFlZdx3rXB5DcLJYYJt29bypPKoElXaNmLKVPNg8r3Kg2YL+jOugQzdBkJbzqf2kyFXIM92qSGgisM6cGfrlJiwqikA8mUXVm/4wD8pMh0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QT9UrFEhBfCTycYu1+gDlrXS97tM8ssnkHI6d/jXudw4v1OseT0v6ThZKyPcL5OyumjLUEqxf6RMCrkx7qz9iWw5U4b+eI/dFCmOCX19lyjxaOSq5HLV2eF1Wei2WaKEjl5ckBP++gIQtbBwB9aNKPLXLv+HSf+MgQ5LF8bf9fW9dsakS5Mc0cJttD3; 4:eJwEU2qrqxdHUlzNDABLCKbLkni5Dxh/YJFS5Lh0FW0e6Q03Ran1AKd2VhpAP6MDe9bFezr4/26COr8VRlITjU8WM9Q667aZ7zyAKYIVDN5xGl/z6n0XfPdhyGSzTZsJOBnRAvMvS21FJScd8YsTAqIA9PTInTy1S0Rqacor8v92e6PitMBlGxKly+IqAYzfmTwdW763MuDXjCkxbeiu+b2bHXZZjLOhbQ+UkfwHdPuOYN3S1PwLAQKDqNl/pSZ6NQsmtrLDka3WSYC79RSobPftga5R/DMwt9OIbJ06zAi793wpbgdt+0aGOimc+ddhJXI6EMlD+J6c1NvDqDbcULpe3rOt8WEaUor6hg0hE7rd/Y5hinntwGtakQOhNs30+P7Er8IZBNndqVukw89ZVpp+qb4FWYyE4kiIe/PgSY3zwUrfJzBCJv5wRuu9wAHENBbyL2zXd8ouc+HQiiquXwI1Pl+iCuPlLIj705TDYXw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13018025)(13017025)(13015025)(13024025)(13023025)(8121501046)(3002001)(10201501046)(6055026); SRVR:BLUPR03MB423; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB423; X-Forefront-PRVS: 0911D5CE78 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB423; 23:CNC2osHC02hl9CbffHNrRoJFLCEqVyjpvelQrIF5NI?= =?us-ascii?Q?ZtOcP+PB+SzPJsFjg++eeqbslYrV0ow7qb6Ir69lQbkjW2MVSlRscnjRDNNu?= =?us-ascii?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jn9GF4na?= =?us-ascii?Q?w=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB423; 5:1c0wk60K/Uj0fpUKMEGl4UJX2GDSF4aIeHHd3T0vsJcAlLFdZGn8Gz+qQkefgs8+k6jrd6jaGKufctIAAC3lWJy1hIv9R/tkXccPb3E1DwAPVYz6NFTgQizVhLdpBKI+hF1ZBOlnV2niASF+000Odg==; 24:tpDLgbe98Di2m4iPm2Zl4joY4q2VtU3uKSSGzbiqVsAXt/K18EzjqHIxolxvZmL7ujYhBe4MZcAiekk+9Q7E5nLDbkUoasr2oBZs7sYI6AA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2016 10:17:46.4107 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB423 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160413_031809_235914_12435712 X-CRM114-Status: UNSURE ( 9.81 ) 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=unavailable 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 --- Changed in v2: Remove unused property. --- arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 13 +++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 14 ++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts index 80688ac..9d3e9fe 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts @@ -166,3 +166,16 @@ &lpuart0 { status = "okay"; }; + +&qspi { + bus-num = <0>; + status = "okay"; + + qflash0: s25fl128s@0 { + compatible = "spansion,m25p80"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index be72bf5..e70b7f2 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -171,6 +171,20 @@ interrupts = <0 43 0x4>; }; + 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"; + }; + esdhc: esdhc@1560000 { compatible = "fsl,ls1043a-esdhc", "fsl,esdhc"; reg = <0x0 0x1560000 0x0 0x10000>;