From patchwork Mon Apr 1 12:53:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 10879895 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C46E13B5 for ; Mon, 1 Apr 2019 13:00:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05A8028644 for ; Mon, 1 Apr 2019 13:00:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE1D228658; Mon, 1 Apr 2019 13:00:29 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 1065528644 for ; Mon, 1 Apr 2019 13:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726421AbfDANA1 (ORCPT ); Mon, 1 Apr 2019 09:00:27 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:37844 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726752AbfDANA1 (ORCPT ); Mon, 1 Apr 2019 09:00:27 -0400 X-IronPort-AV: E=Sophos;i="5.60,296,1549897200"; d="scan'208";a="11929195" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Apr 2019 22:00:25 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 8035B401070B; Mon, 1 Apr 2019 22:00:22 +0900 (JST) From: Biju Das To: Rob Herring , Mark Rutland Cc: Biju Das , Greg Kroah-Hartman , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Yoshihiro Shimoda , Chris Paterson , Fabrizio Castro , linux-renesas-soc@vger.kernel.org Subject: [PATCH 03/12] dt-bindings: usb: ehci-r8a77470 devicetree binding document Date: Mon, 1 Apr 2019 13:53:43 +0100 Message-Id: <1554123232-58942-4-git-send-email-biju.das@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554123232-58942-1-git-send-email-biju.das@bp.renesas.com> References: <1554123232-58942-1-git-send-email-biju.das@bp.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 device tree binding document for Renesas r8a77470(a.k.a RZ/G1C) on-chip EHCI controller driver. Signed-off-by: Biju Das Reviewed-by: Rob Herring --- V1-->V2 * New patch --- .../devicetree/bindings/usb/ehci-r8a77470.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ehci-r8a77470.txt diff --git a/Documentation/devicetree/bindings/usb/ehci-r8a77470.txt b/Documentation/devicetree/bindings/usb/ehci-r8a77470.txt new file mode 100644 index 0000000..4646adcf --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ehci-r8a77470.txt @@ -0,0 +1,35 @@ +Renesas R8A77470(RZ/G1C) USB EHCI controller + +Required properties: + - compatible : must be "renesas,r8a77470" + - reg : physical base addresses of the controller and length + of memory mapped region + - interrupts : one EHCI interrupt should be described here + - clocks : a list of phandle + clock specifier pairs. + - phys : see usb-hcd.txt in the current directory + - resets : phandle + reset specifier pair + +Additionally the properties from usb-hcd.txt (in the current directory) are +supported. + +Example: + + ehci0: usb@ee080100 { + compatible = "renesas,ehci-r8a77470"; + reg = <0 0xee080100 0 0x800>; + interrupts = ; + clocks = <&cpg CPG_MOD 703>; + phys = <&usb0 0>; + phy-names = "usb"; + resets = <&cpg 703>; + }; + + ehci1: usb@ee0c0100 { + compatible = "renesas,ehci-r8a77470"; + reg = <0 0xee0c0100 0 0x800>; + interrupts = ; + clocks = <&cpg CPG_MOD 705>; + phys = <&usb0 1>, <&usb1 0>; + phy-names = "usb"; + resets = <&cpg 705>; + };