From patchwork Tue Apr 7 07:53:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 6167611 X-Patchwork-Delegate: horms@verge.net.au 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 2C8589F389 for ; Tue, 7 Apr 2015 07:54:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 534002013A for ; Tue, 7 Apr 2015 07:54:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C379201E4 for ; Tue, 7 Apr 2015 07:54:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbbDGHyF (ORCPT ); Tue, 7 Apr 2015 03:54:05 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:41439 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752792AbbDGHyE (ORCPT ); Tue, 7 Apr 2015 03:54:04 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 07 Apr 2015 16:54:03 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id A810151490; Tue, 7 Apr 2015 16:54:03 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 86C95480A3; Tue, 7 Apr 2015 16:54:03 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 6C50E48014; Tue, 7 Apr 2015 16:54:03 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id SAE13206; Tue, 7 Apr 2015 16:54:03 +0900 X-IronPort-AV: E=Sophos;i="5.11,536,1422889200"; d="scan'208";a="184698754" Received: from mail-hk1lp0126.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.126]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Apr 2015 16:54:02 +0900 Received: from localhost (211.11.155.147) by HKXPR06MB326.apcprd06.prod.outlook.com (10.141.133.16) with Microsoft SMTP Server (TLS) id 15.1.130.23; Tue, 7 Apr 2015 07:54:01 +0000 From: Yoshihiro Shimoda To: , , , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH v2 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes Date: Tue, 7 Apr 2015 16:53:50 +0900 Message-ID: <1428393231-5272-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1428393231-5272-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1428393231-5272-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: TY1PR01CA0004.jpnprd01.prod.outlook.com (25.161.131.142) To HKXPR06MB326.apcprd06.prod.outlook.com (10.141.133.16) Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB326; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report: BMV:1; SFV:NSPM; SFS:(10019020)(6069001)(6009001)(50986999)(47776003)(76506005)(77096005)(42186005)(19580405001)(92566002)(19580395003)(46102003)(62966003)(66066001)(76176999)(87976001)(77156002)(33646002)(48376002)(122386002)(2950100001)(50466002)(50226001)(229853001)(36756003)(40100003); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB326; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:HKXPR06MB326; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB326; X-Forefront-PRVS: 0539EEBD11 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2015 07:54:01.5214 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB326 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 Acked-by: Geert Uytterhoeven --- 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 3e9f824..db3772e 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -357,6 +357,28 @@ dma-channels = <13>; }; + 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>;