From patchwork Thu Jan 11 09:32:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen He X-Patchwork-Id: 10157705 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 02FC3601A1 for ; Thu, 11 Jan 2018 09:51:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEE4823201 for ; Thu, 11 Jan 2018 09:51:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E37EA28417; Thu, 11 Jan 2018 09:51: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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BDBD23201 for ; Thu, 11 Jan 2018 09:51:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932559AbeAKJvt (ORCPT ); Thu, 11 Jan 2018 04:51:49 -0500 Received: from mail-by2nam01on0040.outbound.protection.outlook.com ([104.47.34.40]:34016 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932316AbeAKJvr (ORCPT ); Thu, 11 Jan 2018 04:51:47 -0500 Received: from MWHPR03CA0053.namprd03.prod.outlook.com (10.174.173.170) by CO2PR03MB2359.namprd03.prod.outlook.com (10.166.93.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Thu, 11 Jan 2018 09:51:46 +0000 Received: from BN1BFFO11OLC004.protection.gbl (2a01:111:f400:7c10::1:166) by MWHPR03CA0053.outlook.office365.com (2603:10b6:301:3b::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.386.5 via Frontend Transport; Thu, 11 Jan 2018 09:51:46 +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 BN1BFFO11OLC004.mail.protection.outlook.com (10.58.145.15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Thu, 11 Jan 2018 09:51:14 +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 w0B9pXbW025528; Thu, 11 Jan 2018 02:51:43 -0700 From: Wen He To: , CC: , , , , , Wen He Subject: [v3 4/6] arm64: dts: ls1043a: add qdma device tree nodes Date: Thu, 11 Jan 2018 17:32:13 +0800 Message-ID: <20180111093215.12636-4-wen.he_1@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180111093215.12636-1-wen.he_1@nxp.com> References: <20180111093215.12636-1-wen.he_1@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131601378743737721; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(396003)(376002)(346002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(5660300001)(8936002)(356003)(8676002)(36756003)(48376002)(106466001)(81156014)(316002)(16586007)(86362001)(85426001)(77096006)(110136005)(76176011)(50226002)(81166006)(47776003)(68736007)(8656006)(97736004)(53936002)(50466002)(54906003)(4326008)(1076002)(6666003)(2950100002)(51416003)(305945005)(498600001)(2906002)(104016004)(105606002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2359; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11OLC004; 1:QpNRLxbt1kB5U1lPEc/XoyzC9iMbVpVbRh3v1wtRpnLbWKX9mGWoMBfWCxxO91DS7z8M920lG/z8sMAXJYpKVRiF66pm3YHEfLctT9ByBqMToZ/2C4ICFXqIXyMrLdCj MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 79c74706-b937-4548-dd79-08d558d8da6f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:CO2PR03MB2359; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2359; 3:ZQWRHqEAT0yAUfKXYaY97N451GADeiiiDoDvI3y2AMwyE8GJ0rr+V/t2a+9xra8Fiirbh5kSrqUCn6qHii/2ucZibPpqhxnt1tKKwcITT42TFeq7W5B9tDuAAxqj4CB1YYjTv+Fa1WqCpyqycSMb7Kg4upbKHudMT3SWKRqASM9wmeuVeGxSEp7lVo2SyfKFCOvyMDswJLy9+21JN8Zb9JwfjQ8LpO3WKftNS4GCkAJbDLAALt0/Ez8QUe0uw8Jrag4P1K2aOG2G3APGuc8TzjvdoJSacjFkwB0mgYfjZIzyxuvVfNG+/+0YClptanKWL8KF+V1+DrjLnBs2VkVwfq1s8HSAmr5gbADKUNQE3do=; 25:7l8zSuny/ic8ZhSv+VutJ2pRHJQqGXWS54s2FZJIyUBA9arMYSdh9ZGLO++SbWaLVP5RkSQynRRVsGCNw7DfYhwt3CAV/owGPkbbKRQgMnhks1PHHKDAq+enz+zsNUHD5hMwKc0VAAXKMzLeIVzfDvuZ8y7h7uP13yDpojvRhEQzwSlJmPcmILhT/pBA6s8ZB2tEUIvkKef7vmWPEN0EZ1IxOXPVgr46iYgGOXRckC+1zI0k8IpHLclImMV2I7Qiq/NpcgxDEBbIFGKww0xXJQ0deHq2LhwYt06bSspQGREqiXnENlcpeDmThH638VUKIazv3IiONOR2K7bjMMJQ2A== X-MS-TrafficTypeDiagnostic: CO2PR03MB2359: X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2359; 31:S4Uww+lgt+buZ3MzBxLnqw+EjVFia0SHS4vpfBySkujO1Sgm1gnVHXqSbhRlB7NfKLJoKmP0vnDcAQ/n+FDg914kybGYQz1Hg62IQ7dEuCd3dDsVEx1g4S0J1e1S/rXmH95on4t76U3xBbzhaDba2J/lPFXfawogVmsmGjJ9kA69QD8zTMYhI7zLYwV4YWCmxX3cQVO64ASK50uMyabGFpshwLKRwAvWWh2RENgsOLw=; 4:rYt2jq5LIDFmpGF5UWq62+20xQgKReWFLScmqwO5qJ72ldSSE2ZvazoLncXECoZC0s61kExiULFRw7aTcJVFNph37GXQod+FcQWrA1ocSsD0aVU7WkDOAlMv6nxrZbv6wqJE2o37ZVUVkbSLzMmahGCs/9bSDkTeIcLVvQ3x0Db/R6YkrcwG7jweYYvu0TsxrPOwHq5QRQD2p6kmE4t1+HjjXatY6lAR6XyrnXMHrqXcuvLhEo9kN8Z9LUefgiBtlxPnuWaVITCGo4wo1K0/2CEcuZwh3pleUMQaIsSsmQh+Th0qAEDgcXJ8Dj5fTnFhg3KCho8zAXvf8tCBt0vcbQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231023)(944510075)(944921075)(946801075)(946901075)(6055026)(6096035)(20161123565025)(20161123559100)(20161123563025)(20161123561025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123556025)(201708071742011); SRVR:CO2PR03MB2359; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CO2PR03MB2359; X-Forefront-PRVS: 0549E6FD50 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2359; 23:baRddnB7MCYmDLTLVp7POd3M2Jskr//leRQkbGOau?= =?us-ascii?Q?21kMvw/4Cds9DsftlaHaY+80dEgvt1+hsK21t5YoyHu6vNoSi5uRCkKMOwMI?= =?us-ascii?Q?VHKm3W6iDJNG/DehcP+qESyhJ3UWm5ZsEonuBCG6XPR63liQgDhOvkj3Mpvs?= =?us-ascii?Q?SxV90yTsL5V5IJG/cn4vWuYyAxSQZkrt3lqtz4n89LB46uUYAcE5ryuSXvjG?= =?us-ascii?Q?iV+djmpS1+C2vfmqBOfPBMxIbtG0EeMyHUmAchxwF55wIioDUBde1c0OnMGK?= =?us-ascii?Q?L+W2B25617ZuPTAS9cPyHqUNKQSlOjBkqeRwHRZj3eyFKMdopuH2TQ/zf6Us?= =?us-ascii?Q?/lfOKGg2P1MqmkacbtBrvzAxLTUAB66jV30N5NJSP+5nGWAPqe29r+C8eIqN?= =?us-ascii?Q?NBPb8cdng24fH4M7w2ldW/7oQkzVYNs3KgwbH5ZUYQTBpulC3ZyrTWdaoQAy?= =?us-ascii?Q?EyzKVsVgAMetQQBc5R2bbqpt1xkk4PKvVkA5szWdihmdtGdSi8Yuuk6k7oMS?= =?us-ascii?Q?CcMosXG7FHZoojrOQ7Gwlg6Tsv6suw9G3m9VouRtdi3pu9D74yx+OMJUUwBy?= =?us-ascii?Q?9LKOKT+AJWSfpzo+bTG48ePl9cTBRzQVCH3GG+uW1f8tvHFhxGVtIL1V08Au?= =?us-ascii?Q?EguISWYHVnAJnnVLIWQcgeeWv40nbViwezFwsE1X72oe9MCdCGoV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Qd3ljQUrAjwR1f9UvzYp9t1yZVUJAym5b/Hx5R4jPsYyp4nTwpRxYZZbQEcrQedtoPPNCUhsr9i9PhAlEYZB3vpfersCr/eAtxM=; 7:4J8F0V8UVICBKscyJCJpzrJwceaQu4D0eDPsCoedzZCEpjE8hSr+NeDwwlBe4WXO2Zl8seutBl9bj6Wbj7un5XcELRx7MfsoL7cL6mUHHQLsNWaou5fFxQIEdxdGf66FaRINOkoes08vVWTU/ZeaBWrz2LuBl+vaaaVLeuzSlBVG/kcqmMx2mok+ljLi+UPSDMU+TL3895meacAPKGytBOpDwQQxMlDI5KyGsE45KPDBmddNT1e27plwSVnOB+bz SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2018 09:51:14.2021 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 79c74706-b937-4548-dd79-08d558d8da6f 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: CO2PR03MB2359 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP add the qDMA device tree nodes for LS1043A devices. Signed-off-by: Wen He --- change in v3: - no change change in v2: - Add commits messages - Replace 'channels' by 'dma-channels' - Replace 'qdma@8380000' by 'dma-controller@8380000' arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 380e7c7..c4bbaa4 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -652,6 +652,21 @@ dma-coherent; }; + qdma: dma-controller@8380000 { + compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-qdma"; + reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */ + <0x0 0x8390000 0x0 0x10000>, /* Status regs */ + <0x0 0x83a0000 0x0 0x40000>; /* Block regs */ + interrupts = , + ; + interrupt-names = "qdma-error", "qdma-queue"; + dma-channels = <8>; + queues = <2>; + status-sizes = <64>; + queue-sizes = <64 64>; + big-endian; + }; + msi1: msi-controller1@1571000 { compatible = "fsl,ls1043a-msi"; reg = <0x0 0x1571000 0x0 0x8>;