From patchwork Tue Dec 26 05:47:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen He X-Patchwork-Id: 10132867 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 3AEB46023A for ; Tue, 26 Dec 2017 06:07:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DF762E57B for ; Tue, 26 Dec 2017 06:07:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22A922E594; Tue, 26 Dec 2017 06:07:35 +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 AF0272E57B for ; Tue, 26 Dec 2017 06:07:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750800AbdLZGHe (ORCPT ); Tue, 26 Dec 2017 01:07:34 -0500 Received: from mail-sn1nam01on0053.outbound.protection.outlook.com ([104.47.32.53]:59552 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750705AbdLZGHd (ORCPT ); Tue, 26 Dec 2017 01:07:33 -0500 Received: from MWHPR03CA0029.namprd03.prod.outlook.com (10.174.173.146) by BN6SPR00MB045.namprd03.prod.outlook.com (10.174.239.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.15; Tue, 26 Dec 2017 06:07:31 +0000 Received: from BY2FFO11FD033.protection.gbl (2a01:111:f400:7c0c::144) by MWHPR03CA0029.outlook.office365.com (2603:10b6:301:3b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.366.8 via Frontend Transport; Tue, 26 Dec 2017 06:07:31 +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 BY2FFO11FD033.mail.protection.outlook.com (10.1.14.218) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Tue, 26 Dec 2017 06:07:13 +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 vBQ67LTL012747; Mon, 25 Dec 2017 23:07:28 -0700 From: Wen He To: , CC: , , , , , Wen He Subject: [V2 5/6] arm64: dts: ls1046a: add qdma device tree nodes Date: Tue, 26 Dec 2017 13:47:53 +0800 Message-ID: <20171226054754.14969-3-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: 131587420333945523; (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)(39380400002)(376002)(346002)(39860400002)(396003)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(1076002)(8936002)(36756003)(47776003)(51416003)(50226002)(68736007)(356003)(104016004)(2906002)(85426001)(86362001)(305945005)(97736004)(53936002)(77096006)(2950100002)(106466001)(81156014)(8676002)(110136005)(105606002)(6666003)(81166006)(76176011)(5660300001)(316002)(16586007)(48376002)(54906003)(4326008)(50466002)(498600001)(8656006); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6SPR00MB045; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD033; 1:tmwxRzHgdsPMEpPhlTudBTcoVpo/EHP5nEDlWXm0GXSl/AuOhs/xwL2MFhG7cZWhuX/3+/W/mXOOdhAl0JcIha3UGDe+75rHFcWMfha4V9xfxjg0iznRqigV1EbrsWif MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 06c31016-e1ca-48e9-d152-08d54c26e85e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:BN6SPR00MB045; X-Microsoft-Exchange-Diagnostics: 1; BN6SPR00MB045; 3:FcydpOESh5heaREoOBE7XZvL/bHFHhoJFHf7rz3cbOuVtaEnSXgyJKCheF9yxUfYR0ctJlmP8nOGuxuEszCWQIZtsWrArsND4Kvnq0SdFzX0jTRfvrN3cdP+XImSB4h6zrTx0mEKm7aUQ2csESm0He1Vryo8Dqmu0irU4cEkTPzGukZXxp0HwOPimvvXh2B8DSVq8W09iPYURcE5JQmfBSGlNuOeUHeTHwewg33Pxl/L5LwNPfSkvtIWGQTNhz8cAKw6TPdsghijyK5I3WTcn31n3vDhBlDgP4aZZxxlBh6wyr7XOasj6ROxIlTjr9QMenAFSIa46dY9xmJdNJcMw/ljngrZEN4xocF0oZl4Vxg=; 25:eU9vC+jk/YKdJoRYYvRPqz0W1OZt5SoPNbHD8j5UElJOiMwIm+zUdiPcPO5ObR3/16nzepCoVjmDPSn0V+mW44i9+SSYz9s72mF7rsVrgeWNSUzChOzu3mlMsuN5cyUwYLkR4r5I2w0cV4S6SO8lYma/iZ3x1ayNnY4zSQny4fdRhHNT6gkHFNBmtx8jCKvBaWEqDX14LIEqLUbLTbWgN0fCWId7+op37JIbayRn+0Nex+9tEt/hofLOWMh7vVHXiBmNxCxvtPKl5VjYxJC5jKFdK0gL4LgEESt67ntSGBldIlKPKXrz/mFA8DsXR6LYfe0L1oV3apg80pRmyWch1Q== X-MS-TrafficTypeDiagnostic: BN6SPR00MB045: X-Microsoft-Exchange-Diagnostics: 1; BN6SPR00MB045; 31:5ipVGgz8bW9f/UUUVaqFkyPM4CRWiOGlX4OeC+j6hZmpKcG5v+ieBxPXFcayMyPnZaCTBBby2cugjbe67RIwgUZh7IfCV9C4BuBicSEQ9ehrOfpZ8LS2gh4wVyom+w0zVGbOmCwgwX2Q2QPUKYP+i7bSzsPd4mpW1bJKuclLtIBBd5KHLjQcs+D+gZtL3AKXbGzYdQSGe4rm2C5JZtZJVujovVdu+8ycIYfbGbpiauY=; 4:UmS+JPd1Sxut1/EpezHCGnc1MTsEaerwRLkgYoeDnF2+jDugcREj25QM6PDBWiSqPzLK3JSbU5MGzGhLemaHBfGx5wnHxrJpGxhYqFdWM2brSb8aaFFLWixrMbIbDdWwWZ2WO3Mvn0s3Y0PkZTk2OLpBRebe2b8QWep4s/cZXkjnihbU+y4sSWJaLzLrHVKVXU0yLCzn0KqEQHVe2i6PiSb8ElewxNoQDt7WlPQ/ZeRlxlodx7a9ieo2FATbYT+9tRk1rXEtSB4gm7zWcJ4Dr5V4umVagxML/KWEKg8/VHhdlDwjOKhWU8QzdFyUZw1MU/cgKZmZvBR4yUOHzVsIgA== 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)(3231023)(944510075)(944921075)(946801075)(946901075)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123565025)(20161123559100)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(201708071742011); SRVR:BN6SPR00MB045; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:BN6SPR00MB045; X-Forefront-PRVS: 053315510E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6SPR00MB045; 23:q/+SHTFn5oU9WXlLDPLpseCVbOYZV+1VJEbE0CuLl?= =?us-ascii?Q?y1ojK8xyD6ekhS5eut0ovU2MGY47wBKX+t+s+0AAnQdDGGclwKzOgpdt6rha?= =?us-ascii?Q?JdmpDcstWSJAM4/bosvxX1GZNzwZnDkIF/BmlROYPo5ShiZ3sFQb7R1rhrmy?= =?us-ascii?Q?SaLit2o78EU2g/OsH40dojCkDiLkaaMKPya3HdmyBoz72x3Bjrr0LYugnoCi?= =?us-ascii?Q?NpHeWmGN6MkvaVz6uOHZ9z3jk0K8evuH+SM0d42d8E8y/9jgQsM673GzjbEq?= =?us-ascii?Q?lB9W7d7d0b4+QN/3JfBkkQQBIx9JLspvUHLICwgsdcs6OcCr4Xfz9U/f3BiU?= =?us-ascii?Q?0AHbh/J35uIV21UWyScoS2b+Kj93z5PWae4WokK5hWs+VKkoDwS48LjNkWyn?= =?us-ascii?Q?PwPVbA54vY3pSfgYaY3T0b0v86mNBS3y296Cf48xkK+n4q+pohGoIICxy0Xr?= =?us-ascii?Q?ksOs4mul1Ot5pOQvnvZqg0v0CrJEj8v4BlyNkBTBCx9eTOgzE5Bhb1EfgvGw?= =?us-ascii?Q?b64i0znrvXJ6xT9X/4K/6jli3/CrmNPwdX5kryNob4uDkUwtAvIN04QOlHTF?= =?us-ascii?Q?GWL5ifkP6fJ/LcmyXOlwXdpdDW39xVg6B5IUeDZYURCw/Zdnk/Erj3cYrP/X?= =?us-ascii?Q?l0gGLEMVZFyD25FUzRVGtyYvBKY7cZh3Kg/udIqblPT6jk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RUm7werA4o=; 24:XCziJL52j4FX8i0TtrUJFgMEqdGuRzonVQ50lVQHAp3c2Qm03Dejh1bmATGxAVG2AuwodM5fq+Q1xeIzZT1adNuKoGfVnQcQImpt38QL0zk=; 7:CD2ASRDa3+ed5E+DyTeBR9XGqUv2r+n7oA45g8sQgx3yPRVhAbFk9+8aYk77coaPva95kFP12hKTgylpmzWw/RR/Muv9jwhzXGh4e79SKpz2SXgTVTth3FOJANyBGKplRaTwQUpYjjrYfYw4lTxMMfRpuMdu2eBXUU/avKofUo+rgT/oBRbXqXHJ3jg6yFpoyi6YA0XIUv4ZtCoUYf9aTmuubn6cYlhgJadqWK1ixqdrHZ72X2nFIjPJxkd+jRew SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2017 06:07:13.1917 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 06c31016-e1ca-48e9-d152-08d54c26e85e 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: BN6SPR00MB045 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 LS1046A 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-ls1046a.dtsi | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 06b5e12..b4a0800 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: dma-controller@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"; + dma-channels = <8>; + queues = <2>; + status-sizes = <64>; + queue-sizes = <64 64>; + big-endian; + }; + usb0: usb@2f00000 { compatible = "snps,dwc3"; reg = <0x0 0x2f00000 0x0 0x10000>;