Message ID | 20170830101238.28378-2-Zhiqiang.Hou@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 908C760309 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 30 Aug 2017 10:30:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 896292847A for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 30 Aug 2017 10:30:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E07C28484; Wed, 30 Aug 2017 10:30:49 +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=-2.6 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 190E02847D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 30 Aug 2017 10:30:49 +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:References:In-Reply-To: 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=cvxK2q64556gtUAc1c0uFic+kb9aSpu0DDqjSwdksNU=; b=KE7TaliNOf6EAX 2PXJ5JZp2ikdQc0XsIlc6mX6EHYIvxkCBrGZvKFeEqbrc41eI+px0PlEo77jiK4svwC8dcFuYmGsa q0Bq8R6vtWp4U9OvPFb1KMMEzyx4IOMZT7S+kh6In9fJhWi+7FBA8St5uw8IVwOMyTC+oH3kZNjTB T7KsAb8FM25xENTuJJK3SHNy/19nwcVt/S/78mpm1iX3ZlJxyludEfNfUMFDoCH7k7JWchuGfeZrU mXCQVShmoGEqwrXSkz/XubCG3a9Y7D8xdq+NLJG+AtWUz8dyL86wGfH07Y4cvYJfCLmD0CsxljHL7 lM+nGTGr2/ogoB1JP1sw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dn0Gh-0003zO-Al; Wed, 30 Aug 2017 10:30:43 +0000 Received: from mail-cys01nam02on0618.outbound.protection.outlook.com ([2a01:111:f400:fe45::618] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dn0GB-00026Y-V1 for linux-arm-kernel@lists.infradead.org; Wed, 30 Aug 2017 10:30:13 +0000 Received: from BN3PR03CA0110.namprd03.prod.outlook.com (2603:10b6:400:4::28) by MWHSPR01MB180.namprd03.prod.outlook.com (2603:10b6:301:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9; Wed, 30 Aug 2017 10:29:49 +0000 Received: from BN1BFFO11FD010.protection.gbl (2a01:111:f400:7c10::1:153) by BN3PR03CA0110.outlook.office365.com (2603:10b6:400:4::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10 via Frontend Transport; Wed, 30 Aug 2017 10:29:49 +0000 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; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD010.mail.protection.outlook.com (10.58.144.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Wed, 30 Aug 2017 10:29:48 +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 v7UATeI8025530; Wed, 30 Aug 2017 03:29:45 -0700 From: Zhiqiang Hou <Zhiqiang.Hou@nxp.com> To: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <shawnguo@kernel.org>, <dwmw2@infradead.org>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <computersforpeace@gmail.com> 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 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: <MWHSPR01MB1807D38BA6793C16DAEE1C7849C0@MWHSPR01MB180.namprd03.prod.outlook.com> 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?DP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FyU4QD9ZSjaXFxrkM3kem08obtsb4vWfolP4HSkhSLofFVPtAXjHjnmxp+jsCX/hAwO1FI6CRZpaG9HIOra5RSNAG1FGlAdNh3YJ/1o6p5pxPfw==; 5:5mNGxus0ZIt7cxXIXmqCSYZs4jZ6FuS69qyz9dtFkTGmv0ps4F4/O3+f7znNw0kLYTMv20/LD4nn98dhBHi/9hietNSIlW1lHKYB2W/5iPB2BvIY0okAFBXeYFhtq+TkX2rhZXG54KkfMwgJQ9zw6w==; 24:SmXq2RBqSpeSf5B3NAhbPPTyAVfzQqWCExB3fp/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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170830_033012_102401_42C023B9 X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>, Yuan Yao <yao.yuan@nxp.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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>;