From patchwork Mon Feb 9 08:24:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 5799141 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A093C9F36A for ; Mon, 9 Feb 2015 08:24:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4FFE32012D for ; Mon, 9 Feb 2015 08:24:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 676742010F for ; Mon, 9 Feb 2015 08:24:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759937AbbBIIYx (ORCPT ); Mon, 9 Feb 2015 03:24:53 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:63786 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759710AbbBIIYw (ORCPT ); Mon, 9 Feb 2015 03:24:52 -0500 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 09 Feb 2015 17:24:51 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 3CAAC442D0; Mon, 9 Feb 2015 17:24:51 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 21CE08002D; Mon, 9 Feb 2015 17:24:51 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 01F3980030; Mon, 9 Feb 2015 17:24:51 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id TAN22798; Mon, 9 Feb 2015 17:24:50 +0900 X-IronPort-AV: E=Sophos;i="5.09,542,1418050800"; d="scan'208";a="180594449" Received: from mail-sg1lp0085.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.85]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 09 Feb 2015 17:24:49 +0900 Received: from SIXPR06MB333.apcprd06.prod.outlook.com (10.141.120.15) by SIXPR06MB0541.apcprd06.prod.outlook.com (25.160.238.147) with Microsoft SMTP Server (TLS) id 15.1.81.19; Mon, 9 Feb 2015 08:24:48 +0000 Received: from localhost (211.11.155.147) by SIXPR06MB333.apcprd06.prod.outlook.com (10.141.120.15) with Microsoft SMTP Server (TLS) id 15.1.81.19; Mon, 9 Feb 2015 08:24:47 +0000 From: Yoshihiro Shimoda To: , , , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes Date: Mon, 9 Feb 2015 17:24:38 +0900 Message-ID: <1423470279-6340-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1423470279-6340-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1423470279-6340-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: HKNPR06CA0035.apcprd06.prod.outlook.com (10.141.16.25) To SIXPR06MB333.apcprd06.prod.outlook.com (10.141.120.15) Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB333; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:SIXPR06MB333; X-Forefront-PRVS: 04825EA361 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(42186005)(66066001)(50466002)(92566002)(47776003)(48376002)(76506005)(33646002)(50226001)(46102003)(42382002)(19580405001)(19580395003)(78352002)(229853001)(50986999)(87976001)(77096005)(2950100001)(77156002)(36756003)(76176999)(62966003)(122386002)(40100003); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB333; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB333; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2015 08:24:47.9541 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB333 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB0541; X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Yoshihiro Shimoda --- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index afba8af..9343548 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -364,6 +364,28 @@ reg = <0 0xec740000 0 0x200>; }; + usb_dmac0: dma-controller@e65a0000 { + compatible = "renesas,usb-dmac"; + reg = <0 0xe65a0000 0 0x100>; + interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH + 0 109 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&mstp3_clks R8A7791_CLK_USBDMAC0>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac1: dma-controller@e65b0000 { + compatible = "renesas,usb-dmac"; + reg = <0 0xe65b0000 0 0x100>; + interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH + 0 110 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&mstp3_clks R8A7791_CLK_USBDMAC1>; + #dma-cells = <1>; + dma-channels = <2>; + }; + /* The memory map in the User's Manual maps the cores to bus numbers */ i2c0: i2c@e6508000 { #address-cells = <1>;