From patchwork Wed Nov 1 03:40:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 10035889 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 00CEC600C5 for ; Wed, 1 Nov 2017 03:59:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E61082858B for ; Wed, 1 Nov 2017 03:59:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9BB328610; Wed, 1 Nov 2017 03:59:14 +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.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=unavailable 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 6E3722858B for ; Wed, 1 Nov 2017 03:59:14 +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=xtW+MBhODWmd8pguSNYKGqpR+PVVqfK5/09oS6EUylg=; b=GFM9GEsfPUeTTm E4KIkhgWh7g0GezxvIJRlMDROpOWICkRMniR+dDrL3E1llL74Fp3Yth1H7fuPt+nZ6+bNwDXS8fXP zJfY3amVEC0kzn7sOSDO9aV9xknbKp2qxjYhabni7BqwkT7YYF0fZ9Pkc/Meo9d8xNHwDYaP96/cu 3oL7HwLa6XXE0Evq9l9cMvT3ih5JRH+ybTHy55gJ9rSNbcOMkQbO3B6B3aeLNTYDfqPO979oMzJvR /ozbDIr+yQnjTLqVXbwyr6chSkvXM4tFpf3rt195dFXIHLflna6dnfP0C6B3E2UimXhGb960eiigu Qh6i6YEUGLrLxZySU6Lw==; 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 1e9kBK-0004hO-9f; Wed, 01 Nov 2017 03:59:10 +0000 Received: from mail-bl2nam02on0074.outbound.protection.outlook.com ([104.47.38.74] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e9kB0-0004RE-NH for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2017 03:58:52 +0000 Received: from MWHPR03CA0052.namprd03.prod.outlook.com (10.174.173.169) by BN6PR03MB2691.namprd03.prod.outlook.com (10.173.144.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Wed, 1 Nov 2017 03:58:28 +0000 Received: from BN1AFFO11FD026.protection.gbl (2a01:111:f400:7c10::188) by MWHPR03CA0052.outlook.office365.com (2603:10b6:301:3b::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.178.6 via Frontend Transport; Wed, 1 Nov 2017 03:58:27 +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 BN1AFFO11FD026.mail.protection.outlook.com (10.58.52.86) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Wed, 1 Nov 2017 03:58:27 +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 vA13wJZP028566; Tue, 31 Oct 2017 20:58:23 -0700 From: Zhiqiang Hou To: , , , , , , , , Subject: [PATCH 1/2] arm64: dts: ls1088a: add DT nodes for DSPI support Date: Wed, 1 Nov 2017 11:40:14 +0800 Message-ID: <20171101034015.41114-2-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171101034015.41114-1-Zhiqiang.Hou@nxp.com> References: <20171101034015.41114-1-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131539823074822280; (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)(39380400002)(39860400002)(346002)(376002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(97736004)(5003940100001)(110136005)(16586007)(105606002)(106466001)(4326008)(48376002)(53936002)(498600001)(36756003)(104016004)(72206003)(50226002)(7416002)(316002)(189998001)(68736007)(305945005)(8656006)(47776003)(81166006)(8936002)(2950100002)(76176999)(2201001)(85426001)(8676002)(81156014)(77096006)(6666003)(1076002)(86362001)(575784001)(50986999)(6636002)(356003)(2906002)(5660300001)(50466002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2691; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD026; 1:9eHJdC9Tr+uUsP6U6zpri8IaJaU7UpgijoWXKEsK9Oa2hr/jRruIsmMnhjK/2gVj+cOMGE3wL+F/6/lGNrgQCDAM7Dukn4CeXfjLM2CuRK1VTSzd1EtNBPRJv+y9quLh MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 43b4526b-de1e-42f3-e728-08d520dccea5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603238); SRVR:BN6PR03MB2691; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2691; 3:e2kdFBJ0Qgntoesh78AJOO9U0Pzljk03WbNBVxggpVOGkFqZohkmOtyYnAlQECRnDk6u5kXKxcn//VW5+991WAxDRDv4NjrD5YlMgMojczLHRSa4AwCzn/h53Z9nLe2UEc7JPq++OmDk8EaxMm8EZ95UnlgedSr5C1d1/m6RgUOXwPwVwb/RAPTK8kRJ6h33sgcirAzLzSZ76m6CogXKTycT23Jpu5Lhzh3OMuNvAbGWWwo819BGnKV3YaGnWk4fD6OXOWAzz6IsF2Y5WmJUXb/f7VUJFlr8WsNq/b5k0seXeaE6CNU2m6Y2/NxXlG2XSOAQXZZDbIbYerieYazex408Sb9vKzrdOX5o3Nq0BlU=; 25:f0W6GDHRTmcwDro/S82f/NSnZ+jUfqBPU5irkc7B94Vja5W3MEy7ShF6DDvjvaycjE1yPST6vrTyPtB/JZ0f5DCscleZpv3+932GzpwtAv/ai5LCHIbZ7LlFUI5557nJ1DXCDID0V+54jWqu0Mg0RmYDGNtx8SWl01lbBo+Q4VzsTCNA/qr6hmWtHUB9BgGzCZIE9y+VB9ba6GVd20/1bCZi9IDGhto0RaJ+ey0nYwnfUJKNTqPJnS+MIJzQY8Z17LNx2PjbD3xJo4rhRfY0B1oMT6wMi0lYAuLzSJHpiqufv6rcy55Y7efK8Nog/zacqkmpF2iJSni839sWrp3h2A== X-MS-TrafficTypeDiagnostic: BN6PR03MB2691: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2691; 31:SsLMoTqYS83ba4tV8ptOLJ4tzpYdrbr8bq30nP9UsJM9Q3IUvTzaghXK2E+tL/iIuEbGJ1+XBswx1BUZXljHGzcxMhTILx/Jmd66dr41AcuERAkGjTo1NWKp/K+vGkvY3jxJ9hqm2uA7iKGJmGwqX1R8EZ7sCmF7kQFWQXzKCRjLVD7oBCCaFxbKekONz1lKCiBVRtWOy0sIZ3QQUV0VBdsTvB7USV4AUTTj7M9jpcM=; 4:hTIv5x7SqpeQ+RaFfiGlrKbQo9oIfMGrcED5SIRSFe9ILZRip0QsSsEmmBlW2pI8o2IC9AQ1Lf3apLdXHWFrq7DuRmBBqIUKKIzhaIddiQs5N4QDlkSqYCskn3aEIFEjUL75/k6s5qeB2v7nnxdTUF38zczyf3SHQ99aj+Bz13q3UYm+XYxUJpbRrZTPZ01uT5kCGXaHvK7BFPob5U3WxPk1k1IG0lucYhpCcIbpHeZ57e+G4jJ7HYPqLIPG+7BWFHSShPr7oE8TaH2yPLmjMbVvlss6U02fP2gJdNAHZkTgluySOSg0jEcS+PD2Btb3 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)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231020)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6096035)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123561025)(20161123556025)(20161123559100)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB2691; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB2691; X-Forefront-PRVS: 0478C23FE0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2691; 23:ESY4oob5vbz3NDPW8SVwAKNDgUcAp788i79kaIszB?= =?us-ascii?Q?8xuXB2yQK/FixouEWpa6VYdoZQs/Av2rSe9BcgV80VWmBE3r2px71+1tNbnv?= =?us-ascii?Q?BDQP25n5Vw+Ul7arMnPM3OLgtDqB/5FTd4QjdmIKn9vFLYnplhZZdmaGOx+1?= =?us-ascii?Q?e73rNoaAQKb7By7gi6VHl/PltM3HBEL4E9VCS0Mmv7gNcF/Grb1jG9kUNPvo?= =?us-ascii?Q?isXGD78A3ra7NPcNCy/31mHvd8SPqP71dXRCw6QhSL32jSnO80W2Bo1kml5k?= =?us-ascii?Q?Te8zzqCihpYI+85irdPBoaLBkkwaDZQo0GJMVeAGV3ECk2HyvJyXHKwSvx3/?= =?us-ascii?Q?lqKUPILMc07TI23YYyAX7tE1P0t0ugy2z3LKGGQO2KwSKlirUMGADxW7x8u/?= =?us-ascii?Q?qBbXGLJcZgboQFc6NouZ0yMB8xYLl1XEviQCgT+G5xL+c79baJAo1VLAkLwm?= =?us-ascii?Q?NQ39Ackv9ww+vVVlk0Sfk3ZFa7/g88AsAz78xVWJqRbG6z86UvIOw/HzguV/?= =?us-ascii?Q?NHq8RwU9iebYUXB/sKSJ7VQejvbCBPZ2tl9do1+QRkYpBiE6AJa4H6kuoHCQ?= =?us-ascii?Q?2yuFnbb2Er6xMvGbOwGZ/3eR5D2D/IbCJD88VhmB7lCOgP3KNtLCJegMuTbl?= =?us-ascii?Q?TFR6Ko0APr4FS+wgmtZ7FaYUrQNRX8yVxzjLQRfydpezp7+nhp+6qViVXSfy?= =?us-ascii?Q?YHHew8FpTKWoouWL97XlWnWF7kBTJwCidqVEwjB3oSdwlqaKWI2r6ecsOi3B?= =?us-ascii?Q?LmCFKhBupjZNnAV6X0aTS3qznxUOrOwOpa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2dr1BL1PW/ubYOBPZZcEDrYXLWCAeL0e8JCS8KOWBDpqyYNDh1byXYaKgDgWgZT7ofHMY=; 24:oyVqxbnF0hu8mYi0ETXdg4QzfBFGoYsvFBSgGvpTPOSYkCXPwz/CLiPY3vbzJes3gOgP5Jl0b4bmb/ggRsErJBM/AdirvcqcOEhDxDP+Tgs=; 7:eGPFQ2UhkDOeG4A5Ym2H+/4NHPf84b+uuRh/firq2HzkPWrfcmwCIKhvOAC3pgzGtUoS7gsF+dMvHTFymw/yaKMJdgk8ZjW+ZxfOMslb822FgJjK4KTz1OKGpd0jb/b33chrZgxOZp6piOvMeSH+bjcM4mbCHxbuYSs7NUIQbaKMEwX1kbXtrOYDMXntW0DRqpgMwPlFMmH9Ys8YRaLwZ+oTVCMVB1v9OueHZ/FyYkANiv730a7wfDqAGUx0GRfQ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2017 03:58:27.2950 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 43b4526b-de1e-42f3-e728-08d520dccea5 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: BN6PR03MB2691 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171031_205850_947044_088151DD X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hou Zhiqiang 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: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts | 28 +++++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 13 +++++++++++ 2 files changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts index 30128051d0c0..cf5b85b93ae6 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts @@ -134,6 +134,34 @@ }; }; +&dspi { + status = "okay"; + + dflash0: n25q128a { + #address-cells = <1>; + #size-cells = <1>; + compatible = "n25q128a11", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <3000000>; + }; + + dflash1: sst25wf040b { + #address-cells = <1>; + #size-cells = <1>; + compatible = "sst,sst25wf040b", "jedec,spi-nor"; + reg = <1>; + spi-max-frequency = <3000000>; + }; + + dflash2: en25s64 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "eon,en25s64", "jedec,spi-nor"; + reg = <2>; + spi-max-frequency = <3000000>; + }; +}; + &duart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index bd80e9a2e67c..f5ed3878abb7 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -276,6 +276,19 @@ }; }; + dspi: dspi@2100000 { + compatible = "fsl,ls1088a-dspi", "fsl,ls2085a-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2100000 0x0 0x10000>; + interrupts = <0 26 0x4>; /* Level high type */ + clocks = <&clockgen 4 3>; + clock-names = "dspi"; + spi-num-chipselects = <5>; + bus-num = <0>; + status = "disabled"; + }; + duart0: serial@21c0500 { compatible = "fsl,ns16550", "ns16550a"; reg = <0x0 0x21c0500 0x0 0x100>;