Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1376567ybh; Thu, 16 Jul 2020 10:21:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ5v1tcBlB66flhGYSVeQpTzfE23B16EEeWQ1Rv+MwY0rSDLaRdXfl+DmmAaK3UpYk3vGI X-Received: by 2002:aa7:dc46:: with SMTP id g6mr5273898edu.194.1594920067735; Thu, 16 Jul 2020 10:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594920067; cv=none; d=google.com; s=arc-20160816; b=h6vMyMvdIXJ1D2v7IxtXhnp2D4lWN9kW81M0YQnr/XngjKBzY8o24qxAic6jFaUxPf O00tDr3X4CE71o4iJ/XCBWQlxA0KTZr2V6wkpkm1RlJ9i7Wtt3b9oY08viERwWKsvNWF LDciOj+oTLaRagVnQdWR8ZCd30DRKAN0zQJEUc6m7eOZ/ZBklWDK02x55XSaNJyf7dxu IFwMHoPYJufKmEByDpnYqLBEe6H1jI+6OAOInzrjTHRORVzUdahxJ82+TkQuAs70Ff0x uS2jCv6+y2b/bXMPDus9V+sPaCcf7xSPLpnZofoudimCbSjUHfoCaNM95yjwMCqC5o4U /X9g== 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=FaqWIi0KH970MTtSVj7yRq6WwYs5DYrgVmZLxOMNJC0=; b=aFvE6oZW2i/9R/q5P5Ri6hrhviQW4J3D4SKMc/aYND2AUmXN5qWsUsXNZrUzz+Lgog eTDeNWrlz0YFbDMFxA8V2HYqee23LRTDEuzuH2/ZZvyeFrO87X718gq9rFFVj9js5S2O zTdPLuyTcfE607rYFx8D2EuiMdSrq6guWPRNsVINNJj/vuCkWptyncU0MAK2PhK9H1zq ORtfikSlL/PUrbSk42/v0DD8XKZvduSuueNoW0vPijgimofKBb5BmhiDpozQ0A8Ss9vq J8XD8mQwOS07eAe5NxdLE6n4CZe4i200Q9AK6NCWvaZ82RI16htz44Jkm+Nh0UmFbdc7 qynQ== 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 lz15si3519230ejb.406.2020.07.16.10.20.45; Thu, 16 Jul 2020 10:21:07 -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 S1729685AbgGPRT5 (ORCPT + 99 others); Thu, 16 Jul 2020 13:19:57 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:48708 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729668AbgGPRTx (ORCPT ); Thu, 16 Jul 2020 13:19:53 -0400 X-IronPort-AV: E=Sophos;i="5.75,360,1589209200"; d="scan'208";a="52107245" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 17 Jul 2020 02:19:52 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 3469A40B55ED; Fri, 17 Jul 2020 02:19:47 +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 13/20] arm64: dts: renesas: r8a774e1: Add USB-DMAC and HSUSB device nodes Date: Thu, 16 Jul 2020 18:18:28 +0100 Message-Id: <1594919915-5225-14-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 usb dmac and hsusb device nodes to the RZ/G2H SoC dtsi. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 40 ++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi index 431eea1f3b97..c2797f496e9a 100644 --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi @@ -838,10 +838,48 @@ }; hsusb: usb@e6590000 { + compatible = "renesas,usbhs-r8a774e1", + "renesas,rcar-gen3-usbhs"; reg = <0 0xe6590000 0 0x200>; + interrupts = ; + clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>; + dmas = <&usb_dmac0 0>, <&usb_dmac0 1>, + <&usb_dmac1 0>, <&usb_dmac1 1>; + dma-names = "ch0", "ch1", "ch2", "ch3"; + renesas,buswait = <11>; + phys = <&usb2_phy0 3>; + phy-names = "usb"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 704>, <&cpg 703>; status = "disabled"; + }; - /* placeholder */ + usb_dmac0: dma-controller@e65a0000 { + compatible = "renesas,r8a774e1-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65a0000 0 0x100>; + interrupts = , + ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 330>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 330>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac1: dma-controller@e65b0000 { + compatible = "renesas,r8a774e1-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65b0000 0 0x100>; + interrupts = , + ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 331>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 331>; + #dma-cells = <1>; + dma-channels = <2>; }; usb3_phy0: usb-phy@e65ee000 { -- 2.17.1