From patchwork Fri Jan 5 18:46:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Brandt X-Patchwork-Id: 10146929 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 C1220602A0 for ; Fri, 5 Jan 2018 18:47:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF5E02845E for ; Fri, 5 Jan 2018 18:47:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A42B5288F4; Fri, 5 Jan 2018 18:47:59 +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 290122845E for ; Fri, 5 Jan 2018 18:47:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752225AbeAESrz (ORCPT ); Fri, 5 Jan 2018 13:47:55 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:24538 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752163AbeAESre (ORCPT ); Fri, 5 Jan 2018 13:47:34 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 06 Jan 2018 03:47:33 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 4C99648544; Sat, 6 Jan 2018 03:47:33 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.46,319,1511794800"; d="scan'208";a="267444313" Received: from unknown (HELO rtamta01.rta.renesas.com) ([143.103.48.75]) by relmlii1.idc.renesas.com with ESMTP; 06 Jan 2018 03:47:31 +0900 Received: from localhost.localdomain (unknown [143.103.58.14]) by rtamta01.rta.renesas.com (Postfix) with ESMTP id 64F31235; Fri, 5 Jan 2018 18:47:22 +0000 (UTC) From: Chris Brandt To: Greg Kroah-Hartman , Rob Herring , Mark Rutland , Simon Horman Cc: linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven , Sergei Shtylyov , Chris Brandt Subject: [PATCH v2 3/3] ARM: dts: r7s72100: add USB device to device tree Date: Fri, 5 Jan 2018 13:46:09 -0500 Message-Id: <20180105184609.24106-4-chris.brandt@renesas.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180105184609.24106-1-chris.brandt@renesas.com> References: <20180105184609.24106-1-chris.brandt@renesas.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add USB device support. Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven --- v2: * Node name is now generic 'usb@' * GIC_SPI (73-32) is now just GIC_SPI 41 * All hex number are lower case * Added Reviewed-by --- arch/arm/boot/dts/r7s72100.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi index ab9645a42eca..f863f74b1b30 100644 --- a/arch/arm/boot/dts/r7s72100.dtsi +++ b/arch/arm/boot/dts/r7s72100.dtsi @@ -667,4 +667,24 @@ power-domains = <&cpg_clocks>; status = "disabled"; }; + + usbhs0: usb@e8010000 { + compatible = "renesas,usbhs-r7s72100"; + reg = <0xe8010000 0x1a0>; + interrupts = ; + clocks = <&mstp7_clks R7S72100_CLK_USB0>; + renesas,buswait = <4>; + power-domains = <&cpg_clocks>; + status = "disabled"; + }; + + usbhs1: usb@e8207000 { + compatible = "renesas,usbhs-r7s72100"; + reg = <0xe8207000 0x1a0>; + interrupts = ; + clocks = <&mstp7_clks R7S72100_CLK_USB1>; + renesas,buswait = <4>; + power-domains = <&cpg_clocks>; + status = "disabled"; + }; };