Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1375983ybh; Thu, 16 Jul 2020 10:20:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVk7LsytCV9loRWlXRQsH3albNBJD5zVX0MAosqzio3yNJ1d7gc/tBtGc9jreVRpaIuQHr X-Received: by 2002:a05:6402:13d0:: with SMTP id a16mr5347265edx.269.1594920015202; Thu, 16 Jul 2020 10:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594920015; cv=none; d=google.com; s=arc-20160816; b=xifRnm2PNaX1wS+ynf4L/Y+n3+gi2IcB5Iqk7mrNEh+XIGQGuCDdmfmwyDDpPaf0/R jcKXNumeTV6WcZlnPNIOo5S+boX5kD76tn6LAWKvt9a2OfKjsS62d9rcWv2nWBf6oCR5 DMA3hDL3mZiHlDp9Cy6x2Pfw6J+5sunkzQd1cNjd2ypl5O7RgwrSkR4FHpqFX/2PPIqx a/pmU0NCJoSSpzfdd3VL4gFWT3itpkq0GIVHHrRi7rtmBogeLJsaco6nyqe/LzfOO/TZ gPDufUem+Qd/oXRWw/lZYc99j+SgI7wxNzbvYqRYWmcuU416NKDaJYnLmh2fOUYYt6ti D5tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=eiKHx//6zMka4atvkjIblaaZmQgCBBirHpa548RfvOU=; b=UiwDwlsMtbgT4r3y0dVPkkUoh6NZlSDXWuAOyY9V8g2sBqTSNQhJjNfqcu9+2i/7VF 4RuEWg2CLKt9vVcsSBBZFX0/IyE2pm6MErDDCXm9GRDnBK2kVq2n646BteV+dITv48be yDS+mDAgEA5R/zj6gcHbCxG+Hy9kfRoqPErGjLAz6AbH5e82qSj1LV2YfgsDfpUnHGnl 0DYzXK94r8mXybq/5OJJ8s1iLvpK1MJuvqoZivdEOJ1VMwxLU3IJuhNbqIhlOQYngHBD SmbeqpyrJJSon1xtWQ+MKqFCiBakbtonxReH+arNXPhs738tUMze5cVRhPU5qz35/loH txng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si3576052ejb.246.2020.07.16.10.19.52; Thu, 16 Jul 2020 10:20:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729527AbgGPRTS (ORCPT + 99 others); Thu, 16 Jul 2020 13:19:18 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:6141 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729487AbgGPRTQ (ORCPT ); Thu, 16 Jul 2020 13:19:16 -0400 X-IronPort-AV: E=Sophos;i="5.75,360,1589209200"; d="scan'208";a="52318924" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 17 Jul 2020 02:19:14 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 23F5940B55DE; Fri, 17 Jul 2020 02:19:08 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Jens Axboe , Rob Herring , Vinod Koul , Mauro Carvalho Chehab , Marek Vasut , Yoshihiro Shimoda , Mark Brown , Niklas , Bjorn Helgaas , Kishon Vijay Abraham I , Liam Girdwood , Greg Kroah-Hartman , Magnus Damm , devicetree@vger.kernel.org Cc: linux-ide@vger.kernel.org, dmaengine@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, alsa-devel@alsa-project.org, linux-renesas-soc@vger.kernel.org, linux-usb@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 06/20] arm64: dts: renesas: r8a774e1: Add USB2.0 phy and host (EHCI/OHCI) device nodes Date: Thu, 16 Jul 2020 18:18:21 +0100 Message-Id: <1594919915-5225-7-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594919915-5225-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1594919915-5225-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add USB2.0 phy and host (EHCI/OHCI) device nodes on RZ/G2H SoC dtsi. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 55 ++++++++++++++++++----- 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi index 4cd67f360cc0..6f5f82492cee 100644 --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi @@ -1406,45 +1406,76 @@ }; ohci0: usb@ee080000 { + compatible = "generic-ohci"; reg = <0 0xee080000 0 0x100>; + interrupts = ; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + phys = <&usb2_phy0 1>; + phy-names = "usb"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; status = "disabled"; - - /* placeholder */ }; ohci1: usb@ee0a0000 { + compatible = "generic-ohci"; reg = <0 0xee0a0000 0 0x100>; + interrupts = ; + clocks = <&cpg CPG_MOD 702>; + phys = <&usb2_phy1 1>; + phy-names = "usb"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 702>; status = "disabled"; - - /* placeholder */ }; ehci0: usb@ee080100 { + compatible = "generic-ehci"; reg = <0 0xee080100 0 0x100>; + interrupts = ; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + phys = <&usb2_phy0 2>; + phy-names = "usb"; + companion = <&ohci0>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; status = "disabled"; - - /* placeholder */ }; ehci1: usb@ee0a0100 { + compatible = "generic-ehci"; reg = <0 0xee0a0100 0 0x100>; + interrupts = ; + clocks = <&cpg CPG_MOD 702>; + phys = <&usb2_phy1 2>; + phy-names = "usb"; + companion = <&ohci1>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 702>; status = "disabled"; - - /* placeholder */ }; usb2_phy0: usb-phy@ee080200 { + compatible = "renesas,usb2-phy-r8a774e1", + "renesas,rcar-gen3-usb2-phy"; reg = <0 0xee080200 0 0x700>; + interrupts = ; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; + #phy-cells = <1>; status = "disabled"; - - /* placeholder */ }; usb2_phy1: usb-phy@ee0a0200 { + compatible = "renesas,usb2-phy-r8a774e1", + "renesas,rcar-gen3-usb2-phy"; reg = <0 0xee0a0200 0 0x700>; + clocks = <&cpg CPG_MOD 702>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 702>; + #phy-cells = <1>; status = "disabled"; - - /* placeholder */ }; sdhi0: sd@ee100000 { -- 2.17.1