Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp583053ybs; Sun, 24 May 2020 14:42:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQvhKA5y9JEiJRxhKHDzS1mCjltSRKC7+IAdY7iTbvMCo6MtvOIhlFkJbwHjxJdWii5+Zy X-Received: by 2002:a50:a782:: with SMTP id i2mr12497704edc.33.1590356551160; Sun, 24 May 2020 14:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590356551; cv=none; d=google.com; s=arc-20160816; b=NzMvglX/j/p2wmh3uobyw+aPFJ8E89wLXhpWHNiQsiUK/H+1Ul0eYQtOSAIzvMVcWZ QAVQT7bsuTTg7vOpxSl/9GhdQZqyjOC2dGwVb6Mj6HB2MjDK/lyfu2IztQW7QMkU0S9p zCK9xYNCiLUntjyZB11/ckGK9r2nKJcQaNHYW3Li+ukNB1kWiOBDLuNywz2pFf+06EBG RDS5cRJFJSpBtTdcOVK5PJxCrqPfGrYT0QUnkXCasmMTUQ/EDVufqwnyhwne6kmrWpbq 8tOlR2UtUN2y+rPD66XovZR7bW3G4C5xtPvsYQwuIcJ8Lv0E8PCNfqFg/Aw5m0MAQWJ8 XQZg== 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=6A+jdbyf68OjkOLyvrDE39yxH6w0iOw+cFApLgpErUg=; b=QyrtidKH/rAmMJa+mP9kj1JxSz56AaWzDRRJw3XSAivFQRqrYVClXI+cn8gAjsWcDV /8il4fdfuv3GJ50pOiC5QKT57Gkcx8PNBvsu8y8q+pap1AypBfPVkFes2cqz3REsXkOp W9m0OiLdYiprr+6nyCkm8W2pYuhnlHeRC16OgPyGdqszyfW2VXfVNRfDWM52lWQnkK61 3qbgXcvaF9wMx4jlMr8uqvbMBqsfq7BWoFBbmnmSuyAO5AmCSLs057JhjbP4LzI7RwgF yr8y/wSph1deeIDt73vmOedULoRSSuy95w52fGX8ftXJzIq3+kyvksdYokQ6/8qZ/vnp r7KA== 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 h11si8601888ejq.577.2020.05.24.14.42.08; Sun, 24 May 2020 14:42:31 -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 S2388534AbgEXVkO (ORCPT + 99 others); Sun, 24 May 2020 17:40:14 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:17462 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387879AbgEXVkN (ORCPT ); Sun, 24 May 2020 17:40:13 -0400 X-IronPort-AV: E=Sophos;i="5.73,431,1583161200"; d="scan'208";a="47678236" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 25 May 2020 06:40:12 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id C5E3740E3D5C; Mon, 25 May 2020 06:40:08 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Vinod Koul , Rob Herring , Bjorn Helgaas , Kishon Vijay Abraham I , Greg Kroah-Hartman , Magnus Damm Cc: dmaengine@vger.kernel.org, linux-pci@vger.kernel.org, linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 7/8] ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes Date: Sun, 24 May 2020 22:37:56 +0100 Message-Id: <1590356277-19993-8-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590356277-19993-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1590356277-19993-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 on RZ/G1H SoC dtsi. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 5be3da7..cbf3d85 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -505,6 +505,23 @@ status = "disabled"; }; + hsusb: usb@e6590000 { + compatible = "renesas,usbhs-r8a7742", + "renesas,rcar-gen2-usbhs"; + reg = <0 0xe6590000 0 0x100>; + interrupts = ; + clocks = <&cpg CPG_MOD 704>; + dmas = <&usb_dmac0 0>, <&usb_dmac0 1>, + <&usb_dmac1 0>, <&usb_dmac1 1>; + dma-names = "ch0", "ch1", "ch2", "ch3"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 704>; + renesas,buswait = <4>; + phys = <&usb0 1>; + phy-names = "usb"; + status = "disabled"; + }; + usbphy: usb-phy@e6590100 { compatible = "renesas,usb-phy-r8a7742", "renesas,rcar-gen2-usb-phy"; @@ -527,6 +544,34 @@ }; }; + usb_dmac0: dma-controller@e65a0000 { + compatible = "renesas,r8a7742-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65a0000 0 0x100>; + interrupts = , + ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 330>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 330>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac1: dma-controller@e65b0000 { + compatible = "renesas,r8a7742-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65b0000 0 0x100>; + interrupts = , + ; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 331>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 331>; + #dma-cells = <1>; + dma-channels = <2>; + }; + dmac0: dma-controller@e6700000 { compatible = "renesas,dmac-r8a7742", "renesas,rcar-dmac"; -- 2.7.4