Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751412AbdH3K34 (ORCPT ); Wed, 30 Aug 2017 06:29:56 -0400 Received: from mail-cys01nam02on0041.outbound.protection.outlook.com ([104.47.37.41]:36864 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751357AbdH3K3v (ORCPT ); Wed, 30 Aug 2017 06:29:51 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Zhiqiang Hou To: , , , , , , , CC: Yuan Yao , Hou Zhiqiang Subject: [PATCHv2 1/3] arm64: dts: ls1012a: add the DTS node for DSPI support Date: Wed, 30 Aug 2017 18:12:36 +0800 Message-ID: <20170830101238.28378-2-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170830101238.28378-1-Zhiqiang.Hou@nxp.com> References: <20170830101238.28378-1-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131485625890905292;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(4326008)(305945005)(1076002)(77096006)(50466002)(105606002)(106466001)(72206003)(5660300001)(48376002)(68736007)(626005)(189998001)(356003)(8656003)(97736004)(7416002)(2906002)(8676002)(36756003)(50226002)(2201001)(8936002)(50986999)(81156014)(81166006)(2950100002)(76176999)(86362001)(85426001)(6666003)(104016004)(498600001)(5003940100001)(53936002)(47776003)(54906002)(39060400002);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHSPR01MB180;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD010;1:9Nizfc1TRUZWldKXfzcNz9Sm3Ztf3diJuTGrxu8DVPxKJJMxu9x36E7k2rLPm89gYpW7jD1KuGjt/945WRVh1WXd6oiGk4vYJ/uizKv8DOBaGZgEGwjIO5QxgofVQern MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c60c11e-f7d2-4258-bb6c-08d4ef920ac0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:MWHSPR01MB180; X-Microsoft-Exchange-Diagnostics: 1;MWHSPR01MB180;3:MwRsYkIvpZiEIYqu3yhlRpDjZ3pKQPO+YnT50PZ7mP8amwnrbLgtVWC9nKf6KyMu4VsfBAWfQauhl0pJGpinfpyh1JzAi4IIxUrGrPXmXOPgjTW91kRc5vApvrGKj0wW5+CReICTL3u7pW9v1tKF+pL96z4p3rlJ6xoYzHZNUltsZj8SiQaa2db81LQksQzwTwjh+UWFSCe/JTFswxK4DML3xNEM2oJ/oBaSl03BbMpnliA1ylOM0KxDQIP2X3vYEdVsDg+rpuYuEdaskSNR02LEqTUu/+I4gLqcJ9XvWyFhrtbWALv+JV3Mghn1v5xwGYPS/nQqF1X0syzcepbFCr1Qd+2iR1QRPulSOBRBYw8=;25:AecRP7NDSzHze0kW6xH0EJm/8KgO4rqA9GN9/yH2okhA1J7cp85489/bjtoyBG+Psog3XCCBphdb8z5fYVTr8yOfiIvq3lwqpvv6uhNMC+f1Jq2Q3i/MLBhTC/rzYqBk6x2a5/29pQL9wvv9uV1jOv1OKEnlCfb+/+du9spRVuxoWLgzwUvE3KbBvt3y7SUBUJ8wJna0A/gN1qNlTta8gH6bWpfuodF/7WXfH165A4Ffh5ZwAXn/BPtOgAsvNf4tee4bwVWBrkvk1Nx/IPoJFw9ClxrdqIHvzuASGkH2SH7m/Nf4upV0CwDDip1UOn7gUm+O0xLIxNeMEvJd7CTCVA== X-MS-TrafficTypeDiagnostic: MWHSPR01MB180: X-Microsoft-Exchange-Diagnostics: 1;MWHSPR01MB180;31:KKuphVWkizS+njvdd16VDtqTDolhYWfGpHbkpbgXYN2zZTbX1nPK/dvuH/RYXUlCxkZ84BivuG0s9bZPg4gNnBbuOzFsJNYuMJQfSjKqyONuahbQLdmmkR7RzZlU0JBAwXj8Wl3lSO/4HXXsGZuP5syyYgjzu76W2RotH+ihpr6bMAAroM2vQrSWN/SadaXjkkujuE8Q/McI20MbJ2dCcxORzipx2QXSFu3qo3b9IY0=;4:aSozcZe9iewpUlW3qBZWkw+S6srxNSuIvPf7sqv+ASXLRC0xXklJnpJUTi3yNEObcyk6IeJ5rHei13lFSuHwT8Ajaw4M6hjMlR6fqCSk3iLbR+XP+FGr5ynGVCW8OrDflcDRWovY6CMoDrodmVsGMHqUMS9/XGeFUwaypDp1HyERl5C9d++loIkPfi7MYG5+elEqMIVBHKN/neWwr3frFNz6S0LZrF81eXVI+cXC/IPlKHtKMksYU38xTHtmnt04yt/fq5iiXyuKObjBzMW3J29bmf7RvWFWCwEQx1ed84k= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123559100)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:MWHSPR01MB180;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:MWHSPR01MB180; X-Forefront-PRVS: 041517DFAB X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHSPR01MB180;23:S4L585MYrw5JE8bMht9KQNepurqSNnqqdKsJGTbEH?= =?us-ascii?Q?Gjl+vmyx+0GuXqIjz+nOxmHmCgiP69cccDgE5FnDGxW8FvqgG7QNqZHE0jDm?= =?us-ascii?Q?25K0IutwdMDDlwgE4LUCx3qDt4TqLKXgoN03ISxV46mxId0PYyIi7xrkgNpg?= =?us-ascii?Q?PdglibgKSZ8THgXSn4RxE5a1r3RMK9NsslRzokFKxSU8Bou54ivdvasZKf/m?= =?us-ascii?Q?ygh9wt6uRK+ZuQm9iXV7ZCr28TtRiGEjivi7rfUJkFmxKC8w0C9lr3p94OSq?= =?us-ascii?Q?P80vzk6bZto5ioNJ1xIq7FJ5LfVwiwTsjLeNy3KOrJyzLQ59fnGaAxyVMSnM?= =?us-ascii?Q?g6TrTOT3gla5+iz4eBN+rfCATgGaRrGzGPOYrnwH/KJIknCrAfiriWOHTxPc?= =?us-ascii?Q?LWwYN3U2jjdLkElysTIAxrK9sRVH9+qUKwIcIdMsg2Cp89R4gopCZrOv6MUP?= =?us-ascii?Q?5c7p77fz5B+4pED68G/6oTjhkPMnkk+lZRF/ph4vbMU+AddBZMyoaipbXe4J?= =?us-ascii?Q?DPzji2M4V3BcInTzgAJwX51/dRHhCVa9n2ngO+JnFWwyTSdxx19Yf7I8+Nwz?= =?us-ascii?Q?BIuxtgMErROISLc4tv8s15vfvrsSwmZwNSVgPV7xmREBNYgjG54GzEtQ4fAp?= =?us-ascii?Q?zrHVyxCybSrUOEQ+/JaSjZGUZH3nR4BtOU11lRDr7s6v7pXL89XZEabbeqm0?= =?us-ascii?Q?pCQSSMRkApG/bSxYJv9iywVrRwUHZtGcBpu4sHHGKQILQcU7Rj8QpU0HG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2RBqSpeSf5B3NAhbPPTyAVfzQqWCExB3fp/DCLjaPM4fi8moBIObJpByn6saiMKMXywlH8gFhFhvO1BFX84l+DJfAspmQp7B5tvcy/I=;7:StNwIRFD1QFdOEElnczNDXVPtR2rZ4SWCHNOcQLEGYNa23vnTvAFGzGT2bigmNCkJ3mXC2n2tJRP8ih8aLJLJkkEKbgW/tNpwLmrEJ+wdEXWfvIGHvYAVsaY1D5vjXl2QGZpRtQNqIQy/i4jl/QnUutxrr7uwA7h3TSNdsbZCKPYa/+jk3NrLo/6T4JCBfJn801XKxa/u7iQBwUky/8kMLOiKT+eOeqoT/CpialvwrI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2017 10:29:48.8409 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHSPR01MB180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2036 Lines: 82 From: Yuan Yao Signed-off-by: Yuan Yao Signed-off-by: Hou Zhiqiang --- V2: - No change arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 33 +++++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 13 +++++++++ 2 files changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts index 8c013b54db14..cdc4aee75227 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts @@ -93,6 +93,39 @@ }; }; +&dspi { + bus-num = <0>; + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "n25q128a11", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <10000000>; + }; + + flash@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "sst25wf040b", "jedec,spi-nor"; + spi-cpol; + spi-cpha; + reg = <1>; + spi-max-frequency = <10000000>; + }; + + flash@2 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "en25s64", "jedec,spi-nor"; + spi-cpol; + spi-cpha; + reg = <2>; + spi-max-frequency = <10000000>; + }; +}; + &duart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index df83915d6ea6..09ce00022728 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -355,6 +355,19 @@ status = "disabled"; }; + dspi: dspi@2100000 { + compatible = "fsl,ls1012a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2100000 0x0 0x10000>; + interrupts = <0 64 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "dspi"; + clocks = <&clockgen 4 0>; + spi-num-chipselects = <5>; + big-endian; + status = "disabled"; + }; + duart0: serial@21c0500 { compatible = "fsl,ns16550", "ns16550a"; reg = <0x00 0x21c0500 0x0 0x100>; -- 2.14.1