From patchwork Tue Dec 26 05:47:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen He X-Patchwork-Id: 10132865 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 C25EB6023A for ; Tue, 26 Dec 2017 06:07:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4F9C2E57B for ; Tue, 26 Dec 2017 06:07:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9DDB2E594; Tue, 26 Dec 2017 06:07:32 +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 479342E57B for ; Tue, 26 Dec 2017 06:07:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750781AbdLZGHb (ORCPT ); Tue, 26 Dec 2017 01:07:31 -0500 Received: from mail-by2nam01on0045.outbound.protection.outlook.com ([104.47.34.45]:12384 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750705AbdLZGHa (ORCPT ); Tue, 26 Dec 2017 01:07:30 -0500 Received: from BN6PR03CA0079.namprd03.prod.outlook.com (10.164.122.145) 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.323.15; Tue, 26 Dec 2017 06:07:29 +0000 Received: from BL2FFO11OLC003.protection.gbl (2a01:111:f400:7c09::126) by BN6PR03CA0079.outlook.office365.com (2603:10b6:405:6f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Tue, 26 Dec 2017 06:07:28 +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 BL2FFO11OLC003.mail.protection.outlook.com (10.173.161.187) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Tue, 26 Dec 2017 06:07:10 +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 vBQ67LTK012747; Mon, 25 Dec 2017 23:07:25 -0700 From: Wen He To: , CC: , , , , , Wen He Subject: [V2 4/6] arm64: dts: ls1043a: add qdma device tree nodes Date: Tue, 26 Dec 2017 13:47:52 +0800 Message-ID: <20171226054754.14969-2-wen.he_1@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171226054754.14969-1-wen.he_1@nxp.com> References: <20171226054754.14969-1-wen.he_1@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131587420302042130; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(376002)(346002)(39860400002)(396003)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(498600001)(77096006)(4326008)(68736007)(305945005)(47776003)(5660300001)(2906002)(85426001)(76176011)(50466002)(1076002)(48376002)(104016004)(36756003)(53936002)(51416003)(2950100002)(110136005)(6666003)(97736004)(8656006)(356003)(86362001)(50226002)(106466001)(54906003)(81156014)(81166006)(105606002)(16586007)(316002)(8676002)(8936002); 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; BL2FFO11OLC003; 1:OWK3Hc33Mzx26Bl2gs2stKKpqLUBWNVvAhhzBaeOQswE5jX/U2KF66onVWGAIfbzLUipMEegvg364fQy7/39ekBI9VYWku4BEHQVQSSniKsgCTFrYesxnTYdOmI9oux7 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 36b5b4dc-27a5-45dc-02b5-08d54c26e678 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:MWHPR03MB2703; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2703; 3:3xDpcl0kugasM5oA+VZMLw9FdzzzBcTrOsQa86/kEoMV8t+xwm4+kKigabMn6qNFKbLHbqGl5MsIspLNMeTUTCFKiOEZmddKlZ19+3vaDGgoEgejRMv8p9mJxFy85O3tsgviBLJAILEyClpORg+67doJN/8+g4QgL0/CkzqW7WdLynVl8dirI35gWAN7HSGCLlozCjT8Y5giYcsF46qJ5W6u8UO1vDqtYGmtxwmMJMchJIpbhQmn77+cvaQiSvioYHSY3ploepoEw2jE0tSgpgzcrA+isCJZIzM6hlYXPgczp10kFNCgqByKNmZ9UoGJgN53NJQg4fkrbS3rOKyZHQTmL+R90x9zAfxam69QQGo=; 25:2vR8rBRjcFM2Wf6o9AJiTqz8pz8h/MEm5wtKWSTiCPg5Y60O93I9MO0elvcOkDyVqsEWa0crmnNB7/1M5e9fC3OKfnBIuCycSE6/xonKBRDtrMUqJbhZDAWunStSor4ujgyAXOBSod+QCLBsLw2ixL9Jjh1CNLavfBQLYmeWiej24xa8JQTpVKTvTnv4BTh2cPRoa6fEZGT+5JlhrIeSbWUTAO1yqISNcJ8TE5F7uFGjPe2q3wl1HW2GpxAQVmUQ+/6aDqobTznttQD1Ge5POyzieYR48dd5VSul4tiZNWMaE+YlVNxVXc7FMZgDHmCz9EvdW5HgixJmcxzVWbsZsQ== X-MS-TrafficTypeDiagnostic: MWHPR03MB2703: X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2703; 31:0cFuBSE6QaQDi2FtcT2oRQlCL2jkFN8FdpKv6ClZvNm1cz7IDml3lNNoiOLBbScnWGoI4Xht0ZCIdKHt2RGRtSsoAFGfCb70SQQARjzLAwQ2xXnYu8KW4fVccFQesQoO1VkHZUx33T80FLDR3IzmRmHHEu3OyF5PfkBInjDYW39h48VmrkosvLvQ18FkeKsQ4Br49+J47oe9anuLjNBG9qRzInnmOiiO+BJTjq6iq1E=; 4:awu7nJVXV1bMtGmmNLa5VRe0aAwHrA4FZ0uqFWN2VILUptB7W+vhWHW7V9Rarz4qI1lHB7MF9oOVP0Iw0uLFQyH4Lnw6fPXxGg8c1Ln5zcUCXICoYWg3pM0ezSvvZlshBMORvyIEWsqDxDlLMHAd95LoEYQQL3ip6tWvtSJS2/U3EfDfsbzs4b79d34XdvTXDyWdsO8pOsOTTyesN/5uymY90VITQPZm9iExQavYwvp60rOuDJSKUyHhpZ0C9vdSlNqaSHvNfOi5z8uaZBIxnqfS+Vov0vUWE/0wgAMHDM7Td7mPTBeyB20g/b0AFb4V9Sd4iprdZYaFEEU4vDoK6Q== 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)(8121501046)(5005006)(3002001)(10201501046)(3231023)(944510075)(944921075)(946801075)(946901075)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(20161123559100)(20161123563025)(20161123565025)(201708071742011); SRVR:MWHPR03MB2703; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:MWHPR03MB2703; X-Forefront-PRVS: 053315510E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2703; 23:mPQz9eEacPbg2tEsmFmy7n9SZVPOvDzsM6S5fA35Z?= =?us-ascii?Q?mOGzw3oDDHJm9na4iBhS5dkUWSc7tlAfYACpUbU3sX0JIUXGkUsaFD2vJHr3?= =?us-ascii?Q?f0/nOYfOHfFuAZcTqPmpJwB8g1iDVswCI2lxentbsKgzSAirbJK2fEbktBJP?= =?us-ascii?Q?3V5MKqXmSNAq7yjWXG4yjRl55wi32yNgVdxcC/nK+z3l1v1cVBGFICi5wy6+?= =?us-ascii?Q?oCjnuEn0u4wTW8z2rsNbgzjMFa56418vEPghb+URLqmUjs9f6XNjq0SrUo2T?= =?us-ascii?Q?h9Dw2CDG3jCPBY33wedOhnNm9aRpGrv13l2TD3xyzm28hr5qQfCiLHg15eMP?= =?us-ascii?Q?1eXhH2+xGJNBa0Z1rC4Ur8BSgs+NzEG9PMXFOUgN9jl6aa6YNNORXFuvtd3y?= =?us-ascii?Q?4iPfGC/zsh7Fbd4/1w1cln6B8pfHn+AxPoV4P6TduqyW3sCK5gJ2pnqIsjrP?= =?us-ascii?Q?m/+kdIDiJEyM4SoB13KLhlBUnsaPCarPdNmbEcjcqymG4uNJxHTyHEsXKRR3?= =?us-ascii?Q?0OZ8pTpUYtKLkaiEhJhGodRiv/GGVHgb2uf1GPgw1y6Dotv1heCo9d6RWxLC?= =?us-ascii?Q?vKpjYcwQzJ+vwykp9DH+tIGe+0WJzeI+RxqUWmBmcaqtNGP6OvKGbCRTD7cY?= =?us-ascii?Q?z9AdGQ+B2L80z0fmmwWWl4wLmrmeon+7ufD/vybjfWUstuemRq/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MhcgDhCygZBlJwtIwS9aId1Z4kYjdXwzTAiPONL+fOWWdpPSdnFu3Y1+WfFTT9auI2dJTWCO0n59V4kNhqSit/HTspcVAR8tsJ/v6Tb0=; 7:nHAawR/tI2U0osHniExqT183tw6HCG6fGwK+uUNwxjq2I4LVRuj6r4wJSTpvNvOaikNvvAlgBO7m5kkcu62whBUxgX2mktvIs2B8MfJKyYHzsojDa9fA3tGjyOhT2Q5HB67mE1xRnvreTOV2z4nYKLuSkCvj0CAXz7wE7+qquo57sR8qWcV4V6VTy/B6PpJPFDuXr2V2IZ+pZz9naDsPkr64j8COMX/N/Yeb4gFbbX2zToiz9+aB4LrgmDDgzzmO SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2017 06:07:10.0326 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 36b5b4dc-27a5-45dc-02b5-08d54c26e678 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 add the qDMA device tree nodes for LS1043A devices. Signed-off-by: Wen He --- 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>;