From patchwork Thu Nov 30 07:48:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen He X-Patchwork-Id: 10084325 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 BB5B9602B9 for ; Thu, 30 Nov 2017 08:07:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACD7A29EE4 for ; Thu, 30 Nov 2017 08:07:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A195A29EEA; Thu, 30 Nov 2017 08:07: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 3B2DE29EE4 for ; Thu, 30 Nov 2017 08:07:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751560AbdK3IHq (ORCPT ); Thu, 30 Nov 2017 03:07:46 -0500 Received: from mail-bl2nam02on0063.outbound.protection.outlook.com ([104.47.38.63]:36192 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751031AbdK3IHn (ORCPT ); Thu, 30 Nov 2017 03:07:43 -0500 Received: from CY4PR03CA0099.namprd03.prod.outlook.com (10.171.242.168) by MWHPR03MB2703.namprd03.prod.outlook.com (10.168.207.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Thu, 30 Nov 2017 08:07:41 +0000 Received: from BN1BFFO11FD045.protection.gbl (2a01:111:f400:7c10::1:179) by CY4PR03CA0099.outlook.office365.com (2603:10b6:910:4d::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Thu, 30 Nov 2017 08:07:41 +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 BN1BFFO11FD045.mail.protection.outlook.com (10.58.145.0) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.218.12 via Frontend Transport; Thu, 30 Nov 2017 08:07:41 +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 vAU87XOU031747; Thu, 30 Nov 2017 01:07:38 -0700 From: Wen He To: CC: , , Wen He Subject: [PATCH 3/4] arm64: dts: ls1043a/ls1046a add qDMA dts node to dtsi. Date: Thu, 30 Nov 2017 15:48:35 +0800 Message-ID: <20171130074836.1381-3-wen.he_1@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171130074836.1381-1-wen.he_1@nxp.com> References: <20171130074836.1381-1-wen.he_1@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131565028615622491; (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)(7966004)(346002)(39380400002)(376002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(81166006)(2906002)(4326008)(8656006)(1076002)(48376002)(498600001)(81156014)(8676002)(97736004)(50466002)(356003)(77096006)(104016004)(51416003)(53936002)(85426001)(6666003)(305945005)(68736007)(50226002)(8936002)(16586007)(5660300001)(2950100002)(6916009)(86362001)(33646002)(189998001)(106466001)(575784001)(54906003)(2351001)(316002)(36756003)(50986010)(47776003)(76176010)(105606002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2703; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD045; 1:EShAgMUJ6XmWNKemE3G2U6wSuS1u/RimszY/aeMhosoVxNTNPkOC5ua5PubvFjUaO3wONiyBwOIWywq0Bdm4yC/dg/M5HMtMN9RjHBCrGWWIOHwjDNfxCLBRZJ2yV9l6 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4dfab245-e1b6-4ede-2dfc-08d537c96df4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603283); SRVR:MWHPR03MB2703; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2703; 3:sVu/ZVsICoxZ67Wgvj2T4JCtnXXfCu6G/k9v21YNvnSu+LlybNK54w79jpQhmoQz+D3b7vi5VtUwwVo0MiVzjp9dJXcvUw+xh/BFyoGYzR8BSWJteYtnmIBbtqTo01+cMWjYkY/baftLXlgPTSmIYTTv9U3gRERDJ/To4G9q5ggs+0dsE26ZhG8m+By/R4t7Bc1EFGn5Zc2ohzzP6mVx+1IMsUiIY2o7362RAAMTwMj4FFI1cNomx4W/IftIWQd1j+QvgzKnHONgQPSAYtRyhSItV8Z6zFYJqiFhXCJmC6Wxei8gmU3HjBvOhobIl+oyc7lQGSZYzQKk/E7vL2o6loitxIBwx4R2AznR815eICs=; 25:CsqwIk7v6icUGCRtTcz/PsvChzCjkcmq6ciXCRILSV4Rmx8xE05R7F9EdOimIVLZbSx+rmXqQdEjhAsL9b1RDW8g0ky2VW0dtV33jmIyv1tgwKg0BmwZCYYwEHbl5QeJgF6ye+5daGNuLzVQtkZL7hm+ylWxaGhYcA3ElbO1nGryzxjPu/MO734gEMzvA5RXZl86W4ZZ/5y1mGHosyLBqRpcTMW/fwFIQjmeoByP0JO09daaWFPK80w4nZixTHqCynu9LqApl/17rHnwazatLgBTWYMzs4jpWNqBFHOOk69ETlJ8qLt0SW5iFQtgKdVtrQdOiE4SNT5ntsmyBG08Gw== X-MS-TrafficTypeDiagnostic: MWHPR03MB2703: X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2703; 31:7Auy6zHX5RWkcMByQqOPRZfgYSgImtDYSkS7v8ApSm45CELg4LTQw6BFQbrTyi+OK8x3hAMQjymxYJEGi6nFXSVbkPG85tUpzvtdTgUj/yTEHRWTohT8oz3JF9QNBofBpLuZFLJgCLldrd43uhuAu4tiCQid2IE4K1P6UT3pVrkowmTxQAcip9Ij3ouSzA6/wp9qVDXyB1f2DLiz1fAmX8lv5Ott98x3Eg139eH2RyM=; 4:lA2ujPNm8JKwhL0xHhLqfY+vhbeRlVsJMX/JuagwJhuFMmraU84D6XqLUrpBl3AHUDxaeMA2C+/XxVMWTfuflffRc6Y9uRKvy0LS6nwJeA//bDwwKYVohemtbKVZVmRgcX2WkL6M2BpmwiC7HDg5jYZGGjyly8CK6MJ139o17ENjSdeR8epGQOWcnrynKYf8P0GRhR4OewzgZp0SJM/VlKxFvTuHqdZpdFC/CFpqU6oYH0pCiwEuExgh9umybe/LuIOwIRus0f8IGiAJw4UjzYLBaywNLAbnJxetazHXKY59zQyiAmWLxjKrNsS6MbQd X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3231022)(3002001)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123561025)(20161123559100)(20161123565025)(20161123563025)(20161123556025)(201708071742011); SRVR:MWHPR03MB2703; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:MWHPR03MB2703; X-Forefront-PRVS: 05079D8470 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2703; 23:AedCLFIIbLzXS88p0dPxKapqUEzW26k8kFyaJHkbm?= =?us-ascii?Q?wMqrRXJSX5iUlI98t847XcIlnwU88GuXcH5VEQtJ4d5iZqUm4wQvX3kbr0+q?= =?us-ascii?Q?SE6CrrfcbbRoLJ0inPRQSP962AKI6nK6UxmySFBehJuUo1EF7iiSZ0tnB9jL?= =?us-ascii?Q?/eJMQo2FFTTEd+I0RLF3O6c4gC8DopyFU0cm/neQSGXM8Wl/vev+1xiX8ttw?= =?us-ascii?Q?4J2jFhFdBV7RJ2DOtZxGmwtO5ls3v6TW1aSvHyyO9ishVtlzE4DlA6mjm0qy?= =?us-ascii?Q?R5gmOFfQjnXtoMr8N2C7SKPMfXAC87SLRJoWQpASsX4Bha81fMVEeN1dRKqW?= =?us-ascii?Q?8EfCb64+esIax5LJOkxYGWsKTHg8gXE1X2ap7PC9J6MVAwu1ZeO0NNzagzdW?= =?us-ascii?Q?jvlKYmS2ELgRcDXCIrAoyRMOuSOdGWEsPC5d0VA2yGU/KEBXDB+5URsOcmaN?= =?us-ascii?Q?LKwhM/8MYpkEUzKq5dbmE4/ojR7xWv4pl/TuhreR2H68AsQE2TiihKU/ksPJ?= =?us-ascii?Q?1bLnbCtH0T01kwbxrOZtVTaz4QpTwNgo0jT5GVreoBWFMTJdHikwaUUVy6d3?= =?us-ascii?Q?HdapMF2pr6KvjeBAbcNhOqH8hAb+ZUwQKgirjNOIpskEm4DULqUMdcWW5iRQ?= =?us-ascii?Q?bm1MZyVTvpSDPjhHbDD890tEcc8ODLucdxgDJc+OcATVDQO7MG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RsktNM5se0WNcyiXfsTHCflQ5w5k0gXim1HEnvMAvQyayWVcj7Km5SJfgHfMs0dXZQnoTF7Swa0GXEb5ThD5FSRzGbx92WHbAaiwdCkUG0+mI+DcNePDS8Qhn39WDhhTp7ig+lXoUBEviQhjCzKZWEuths4/O3qaig9mw=; 24:667K5dxz3hAAk59fZuRVUFz5aI+jDbyVW5YKsHrGBneUndOBXI2jtDI/Qpp9kYdNNif34S3MrcTLouzv/8bbN0bL/T152rqwoNGG/YrfBlw=; 7:xw2/DyWQ9HCTmcwZ00KthYRDYPybKspYci9w05R71lrSv2lv3sY/CMnXgHGvFxoi9Q7Pr47dtNtCzzrAEOt5rEVZqjdye8p8rgC2vmPqUJcT2VLmE3xLobWdttZBUtM3YdkGlMUl77Ws4zUMy9SJUl/T/KM8btlyCteyWvuGVqb4+bE+utTJ/cwU3EEJrBETRAOVm/t6BW8rxaNg3Ns0qvDZBjRA12KOe9lMzwdNV1xJixQSRGwB0Gn4PMo+7LjU SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2017 08:07:41.3750 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4dfab245-e1b6-4ede-2dfc-08d537c96df4 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: MWHPR03MB2703 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Wen He --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 15 +++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 380e7c713395..7d4ca0e95db4 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: qdma@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"; + 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>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 06b5e12d04d8..2462c339de05 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -595,6 +595,21 @@ <&clockgen 4 1>; }; + qdma: qdma@8380000 { + compatible = "fsl,ls1021a-qdma", "fsl,ls1046a-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"; + channels = <8>; + queues = <2>; + status-sizes = <64>; + queue-sizes = <64 64>; + big-endian; + }; + usb0: usb@2f00000 { compatible = "snps,dwc3"; reg = <0x0 0x2f00000 0x0 0x10000>;