From patchwork Thu Dec 8 09:23:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yao yuan X-Patchwork-Id: 9466087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 85B0C60459 for ; Thu, 8 Dec 2016 09:40:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 725A328500 for ; Thu, 8 Dec 2016 09:40:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6452C2850E; Thu, 8 Dec 2016 09:40:50 +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=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 0A36328500 for ; Thu, 8 Dec 2016 09:40:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEvAX-0002Xb-OE; Thu, 08 Dec 2016 09:39:13 +0000 Received: from mail-sn1nam02on0120.outbound.protection.outlook.com ([104.47.36.120] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEv8x-0000tn-Bh for linux-arm-kernel@lists.infradead.org; Thu, 08 Dec 2016 09:37:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freescale.onmicrosoft.com; s=selector1-freescale-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5X0sX2KTyoSScHgj2hkwn80xgmc0CmG/veFOSD4x448=; b=eu62AQbcT4Tr93/WfffJhBFJadhOOy34ha3kWiZHhEnQGbIZNKfIZXDT4c4NlW2UN9nOJoh4Y3cgQr3D9bs61kNiePe87tHVDrkA6D6VQLKgAfq07J8cljxxQm6MewetL9BnoIPwbyhOGzbF1jqkQatHY/5l3h+VZ85ykgMJORs= Received: from BY2PR03CA039.namprd03.prod.outlook.com (10.141.249.12) by DM5PR03MB2985.namprd03.prod.outlook.com (10.175.106.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Thu, 8 Dec 2016 09:37:12 +0000 Received: from BN1AFFO11FD006.protection.gbl (2a01:111:f400:7c10::163) by BY2PR03CA039.outlook.office365.com (2a01:111:e400:2c5d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8 via Frontend Transport; Thu, 8 Dec 2016 09:37:11 +0000 Authentication-Results: spf=neutral (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; 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 BN1AFFO11FD006.mail.protection.outlook.com (10.58.52.66) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.761.6 via Frontend Transport; Thu, 8 Dec 2016 09:37:11 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:842; Count:10 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uB89arsZ014990; Thu, 8 Dec 2016 02:37:07 -0700 From: Yuan Yao To: , , , , Subject: [PATCH 4/5] arm64: dts: ls1012a: add the DTS node for QSPI support Date: Thu, 8 Dec 2016 17:23:03 +0800 Message-ID: <1481188984-43683-5-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1481188984-43683-1-git-send-email-yao.yuan@freescale.com> References: <1481188984-43683-1-git-send-email-yao.yuan@freescale.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(39860400002)(39410400002)(39840400002)(39850400002)(2980300002)(189002)(199003)(2201001)(33646002)(36756003)(7846002)(47776003)(305945005)(5003940100001)(356003)(50226002)(5001770100001)(8936002)(106466001)(97736004)(8666005)(105606002)(68736007)(50466002)(48376002)(81156014)(189998001)(8676002)(626004)(5660300001)(6666003)(50986999)(2950100002)(42882006)(104016004)(38730400001)(39060400001)(76176999)(2906002)(77096006)(81166006)(4326007)(92566002)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR03MB2985; H:tx30smr01.am.freescale.net; FPR:; SPF:Neutral; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD006; 1:iilNdF0TL5JbMZ5PkFEAUz1xiUZaujeAXBf5RGxxOKfuz+4xRP0sBdjgnljVkYsxzJ2hcLfv2xHsu3e84iDcv0oPFEPdI7BvH+zECa9DfJlSVxu+05gJume6Dt9q9Te6PJG9wWZuYSwMrguAUXS+ow+TuU68ClAxHmqewOwbKifgG+WaoQGIKj13NflzdEQdc2UErir0xzNa7I1DnaOBMlS9q82gO1gcT3M/R3Sdw5JGaez/wkoolajDMB3+GSecT+Fz9cPAqi02mW18PYc+ZKU97BwnX3z11tTp1V1t0bmwGUzZK8E/fbrk9M1uPWqtELvWwq3W2To/TiXXGf8W1Gm6NIBedOq/yLrL4m3Yv6kNgabpjznHGA6CW3JHngnAdYHmiAI9w0s28fPDbmTudpKP0exScqi4kgvOYkLn5h3eM//3A1qwyNrK6Qyq8VPqRPHOOtlrQaWcnrYn2btcYaSWOV0/kjlfbqSqWi+Ue9rfANV79sdnVIj4vLoLEr5DflDQU/p4Q7h51Icup3UaWN2lLAN8hiaoQG7W0a1nJrEuHq07nKyvtWhM0HHCh8CVxme0ROQZznAOawZV1L5fN8h2sS06MZg4YQSYYQkUDK0= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c9b74a3c-8831-4087-b226-08d41f4dc91f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM5PR03MB2985; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2985; 3:aIYIYDUARF8Gz3hnHWu6UGmVhsc218F/8xkYoaru8SEa560fj/LOq/fCvPzla6q/PfqmtFhBpzDM5Wtbw871wodqDvN861ympscB6uuCyyFjLL/rvuOuR4WDB9tTTKNOkaLQ430YgaDPbyYcHAq4eXdYBbBLSNMlWnLaa9stp/TvynvbuGwImD7Fb5YzauilKjV36x59wunVKgx/fsMtoHdpzJ1zUwDrLL2L0iWwbI0Bsk90FVE2SXT1q2z0mgnUcpSgCuEHIoaf90kUHWAq8jVCh2dR8aVIPvaQIXI05ITfqLSvkb8l6PXd1ZzjI/d/a0YmiwefzFk/IRnkLvwF0TAk/zhVsc56n5Y0eV6e7hZWv8SMvcvIrnuSch5gyKBC; 25:c3dGZOzAPBb4HDVz6dzmHh1otzMUsTm3hila+1yXVsAx1IkBqs/c/Mu7hToGGP2Y8b77khzjmkIs3RIycTM7XYypvxyTTQYqWeGj6eZXmskQMXcr+kezYWcEWTf5iwEvaM6aIv9b4wjBcgj7dJjiXRbzuY8iqbotUpHyahSRKokeroxNKeXZIG1N5vj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rjLN0QYrLM2kDZ+mmCQ4x+EKLgdUGbUvcZgQ4f60Ql5B5QE5jaQwt0as9KS/OFJVv6eh2hhHxa+uSqqAE3nLJm+fUMukPYSKm4eQM3aGGyettf39GHWnrxTYppt6xpxD+g8R0kK9JshKx220bBX1gmnnliMHBXgnJzrVY9TNlsv2YwINMGVhF7F5S7kDR3lkcrEDKI0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(13023025)(8121501046)(13017025)(13015025)(13024025)(13018025)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6047074)(6072148); SRVR:DM5PR03MB2985; BCL:0; PCL:0; RULEID:; SRVR:DM5PR03MB2985; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2985; 4:NEd3KR2jnbavniTuB0Onk9lJui7FgtcZxh3z02NxcAZlonF2AHrBXwrlKlA0kKO/9ovZaoJpo6MqnGsyxK6uVy2eyU5ngHRl8IQnWYPydkOkfz04Cm5MtDGAV/7JUbiHzJtv3HpXhbhW9LFPQUJU5RkhhnqfsWS5uMSZvAR9PRD3ciRPjuopEzy9iDzqQ5tOMJj91TWacKftaGlLQX3scHVXS3ECaP/92xaQUdPwPofWqXDZLu3T650QnMrAGhvUG/c3lnZLt4mVG8SPK9o4gWe5mN3PEGcfs4nIXHyEc5b2xVo9HUBJ6soRTcymtpdhHYlTcfHb1/0Zkmc37ZrdQR0RRe68X3fji2cN9fbWdQBbmNZXtgMZiyF7BmbwIKfYmX6ILjFM+3negFEPmZ0wM1Bv2drqjHcTpFVLF5KsbkoNipY8YLxJuF6Dmrgc/MfHCfvRwMXd2UzxKo/yCgB8+DAQ2rOOJIDUV1yyXJ6knAnna/wT3QAyPCf1PD3RCkmZ6anJjKJSNKBICGYRlq0h5dbhKZtQZ+LCJHu2i8fAp0acvlaiXtLcVwuKDR8fUNmtceAIADFknPA3UlrBgh1rYjlLfk/LtuN16XAqJB8HzJbVL/WAZaB8fLUEUm2BuwGvlVcxaUxAsaj4DRr75V8mgdrGzoR4UwEWYQoPTesMKPqDmLNmkbVxpLMXmFvXZ6XPnW/rabV0xdrx0gk6hYNDm48+EdU0umXYApayyiTLqbku4cpARzB0l69Bs7FAPo7p X-Forefront-PRVS: 0150F3F97D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2985; 23:w2GdwYxR/5hvRnFuXUIZEf6iuzHMb9kQQ7cm/YoCp?= =?us-ascii?Q?cZQatL7vMv/NPcrfx3/pqVizztIHIaenfWV6BpQxbyS6euSSv5RGKK7PcVE7?= =?us-ascii?Q?7IClZbIlvnoXl2iTP+yWdhrK6MnuSSPQV1PFxWoNauw0gzP/HThips+0qqq7?= =?us-ascii?Q?hourKk2jaFkuCBaC+IxxYsgzy01SFfffbH8DzqHgz6ufx6g7xUpimco8TRH/?= =?us-ascii?Q?e4T3Eh95DYgYdTUTrKzeXnJNybBsMJZEaP1x+Zt4ycrXwRLv9n4GukQWpWe9?= =?us-ascii?Q?ixLx1jpCpaF5piCJBSNpAflgGdgfKjkyCCH5HoPziDu53xDkCtCDyS563K6D?= =?us-ascii?Q?JFANt/pw/+x/0CXnuggxhpUg5h+LYhOtzRx4xg6jDb3vX+Proe1qDPPxQBe0?= =?us-ascii?Q?WMvemZJ+Ti23sHefBpaEhOHZWKuvgJvMf9ePzh2lZslZA50A3WT7zMJSZNKg?= =?us-ascii?Q?KAtqghBC7hEB/jbD+hTMgsXJop5HjL26sN6Q5amqW7t51x9h2wNJ4gOOvKXu?= =?us-ascii?Q?ZCIvPxFxc8wXHFAzLx1on2iu0QNNyIpR36rdfYcEkkfsKcBd8S1bN6Ahms8M?= =?us-ascii?Q?WfRgZYwvjKbVmIbkbfo0SkzhFF0fBFhKmNsahwei0CY6wsdWYwNEpv0JqP37?= =?us-ascii?Q?x9wMR9EysUl6rkYGiS3l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PmS0jjkdEYCN8qPSEEX8yVWiTJQwZj2NicoaoIq2ywrd1G3Z6VteZfPVQhZ/sBYixq/3s+3w==; 5:giwHwT13a/23wkd5UShmxZvIr9R28xP/GKtH27rLr5U/yKQbJoJWC3KP28g5BUq6ST4wFb39rmyZyKoFABTjmA4kjJreZ1LcsBwt1Slo/nh3fEFXI3+DYAJSW3VR7+f5bH+HOxZu/R0I0EB4woHoweYSbw/MVlu+m//0mU4Obzk=; 24:OzJV1k6EsNMeuN4r0+TbiNDeefH1ZVszl829oNdvT8Mh3U6XMKQZvZ0EVTE9Y1OJlvaNTHfzkfIInqImzqFgen67YHtc4T/9IXMnSDCz8qM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2985; 7:7ysPEPFuJSeA5h9KaH+IiXLJqI0O1UBs+Z7eGOIWwvS2fDQYvUuaJEUKBtVevA489QS8VFC1Ql7BZkrmsve7qnoJPdgbly+gX/Uqdzmq8lWicfZlVwJB2cs8rw8qkn8DC9odN75vfKtw50lt+Fc4ZycgT4Vf/E2UnDQrx7zWxKJYm30lOb7QXZxPaVhvgXvG/qMfT+EOuHjHzgeIl6JRJBang2gMZyUHC4EfjJN3+MlWvbluJIFWTSKLZVgL7v3lMFhlbgMwSsI3NrccHkTqUYfkmjDDSuHh6OyPPDPIG6A8zXqOOtfK269OUlefkWGGPhtSbV2eIXGAdtODphffvoBTaSai5sbYISq0UpWu5W4CRO1g+r0DLfpBw26LLC0/e2vD5vD5xEsbPiUxKw+V1WYFecKGpmmKg5+B2hks3+a/WBTbsDkFZPfpGXaFGSdxYKuT5EVFoQ2luLGKnVMCXQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2016 09:37:11.1451 (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: DM5PR03MB2985 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161208_013735_720352_93BA9957 X-CRM114-Status: GOOD ( 10.17 ) 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, yao.yuan@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.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 From: Yuan Yao There is a s25fs512s qspi flash on QDS, RDB and FRDM board. Signed-off-by: Yuan Yao --- arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 14 ++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 15 +++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 15 +++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 15 +++++++++++++++ 4 files changed, 59 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts index 81bd689..34f9e76 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts @@ -110,6 +110,20 @@ }; }; +&qspi { + num-cs = <2>; + bus-num = <0>; + status = "okay"; + + qflash0: s25fs512s@0 { + compatible = "spansion,m25p80"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; + &sai2 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts index 3d32c76..0e5befa 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts @@ -156,6 +156,21 @@ }; }; +&qspi { + num-cs = <2>; + bus-num = <0>; + status = "okay"; + + qflash0: s25fs512s@0 { + compatible = "spansion,m25p80"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <20000000>; + m25p,fast-read; + reg = <0>; + }; +}; + &sai2 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts index 62c5c71..c20bfd3 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts @@ -57,3 +57,18 @@ &i2c0 { status = "okay"; }; + +&qspi { + num-cs = <2>; + bus-num = <0>; + status = "okay"; + + qflash0: s25fs512s@0 { + compatible = "spansion,m25p80"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <20000000>; + m25p,fast-read; + reg = <0>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index c917a87..72e61c5 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -195,6 +195,21 @@ #interrupt-cells = <2>; }; + qspi: quadspi@1550000 { + compatible = "fsl,ls1012a-qspi", "fsl,ls1021a-qspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x1550000 0x0 0x10000>, + <0x0 0x40000000 0x0 0x10000000>; + reg-names = "QuadSPI", "QuadSPI-memory"; + interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "qspi_en", "qspi"; + clocks = <&clockgen 4 0>, <&clockgen 4 0>; + big-endian; + fsl,qspi-has-second-chip; + status = "disabled"; + }; + wdog0: wdog@2ad0000 { compatible = "fsl,ls1012a-wdt", "fsl,imx21-wdt";