Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1784427pxa; Sun, 16 Aug 2020 10:59:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3vmuIgvPQYGkANCJj8qxoU4+T8DbRGSXFh9yf0lqXyWv9XmSbLOurEjKTOXjUeV5BN8C5 X-Received: by 2002:a05:6402:b1b:: with SMTP id bm27mr11953059edb.140.1597600768769; Sun, 16 Aug 2020 10:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597600768; cv=none; d=google.com; s=arc-20160816; b=Q12xN7NK0Mp2RuxCuTHUIlOdpj/dtzcUcpY5HvoS4WpR0I3zXFYlwhEy7ESiQxkQAp jNxsBi//L/uyD7TTxk9k2GzAgRmqA2A8oq5xDd5UgVXeeD7Ra/qa8TgM3jczzud9De9U zh2wMIcHps6oMe26ckwlbKKuPUp3SZ4H1hd5558+Jw3eAlAa5ENUi775S4hRPWE3iAgP nUns7ZM1x2PnKKQfz8cFilP0gAEDaNiugNaUPQxJWaqwXyOAXRX3KVL0Ugg7RCZtTHLN 6/qKsF8XrB27YvNaeMpE4Ya+gwwGgN12yAt1wWlbKhCTUQ1ucaBGoSzO0ho5Z7LPNlit Cknw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :subject:references:in-reply-to:message-id:cc:to:from:date :dkim-signature; bh=Ts7Ttd5K3DBpu12TNijg7qgS/999Myo7TYEvq9J4U2E=; b=Xip2cDMkpwRzDpB1EGrhd7a/OqbYVfC81pUn2FkB9JQh1X7UkW3ICwJYAJqprXmyOi X9s4KM4Y24ETGUt25F5YFd7SvJ/qu5HkJyqoVcgvwurAY1MFu73b/VBShKZqHIKSGkKj S/sIny76QpjF0eDqG37DSsb79/HlDHOLSTJS4ImD6UXeUgyD/OrkAQ6ZWA4Odpl3mibw WesITaHcVU5pCaS5hzY999UAw7E8l/zjFPTY29wfkiL8oABOPa3zlFp6/n1P9KpHib+D A08pY8UGSRFv+VAtoSHql6jIZoE8MgzZFAGB9HqlcgQHgtSzC7BaQvNJJ+06jQOa2ZJN I2ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@tutanota.com header.s=s1 header.b=lKxB7YFk; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tutanota.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs14si9394914ejb.615.2020.08.16.10.59.05; Sun, 16 Aug 2020 10:59:28 -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; dkim=fail header.i=@tutanota.com header.s=s1 header.b=lKxB7YFk; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tutanota.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729334AbgHPRSS (ORCPT + 99 others); Sun, 16 Aug 2020 13:18:18 -0400 Received: from w1.tutanota.de ([81.3.6.162]:39564 "EHLO w1.tutanota.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbgHPRSQ (ORCPT ); Sun, 16 Aug 2020 13:18:16 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id F3C85FA03D5; Sun, 16 Aug 2020 17:18:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1597598293; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=Ts7Ttd5K3DBpu12TNijg7qgS/999Myo7TYEvq9J4U2E=; b=lKxB7YFk88HcohnIG8pB+IC2u5Jbf1goGY0Q1k72Ux5fNXDB5pC10A3VDiN6ZsUS ajTFIlGBpo4Tm0O8EZHj6Js4e7mtkuzoVPgNW0k35olHyCBAD9hXqVKRAHQqe5BasdV vIg72LeKQfWAwhy+BlQY/S4Wzn9iEek2UWDPyKMmPyWVmmCS8ZxzGesmY523eyCcPaD c+i41ZHKiHeg6imBu9dPl87Y+/wgjvQoREvuaSs2yXmkrjALvyE77HnKZ2soMTIh6Hv 5Y05A8Z06G1sYb0y7zM5dZtjsAwbk5WXdmUmsXDFP/fMdypcKJLPkXHtEddm2gjyV8A GQBHrjrl9Q== Date: Sun, 16 Aug 2020 19:18:13 +0200 (CEST) From: Cameron Nemo To: Devicetree , Linux Arm Kernel , Linux Rockchip , Linux Kernel , Linux Usb Cc: Robh+dt , Heiko , Balbi , Gregkh Message-ID: In-Reply-To: References: Subject: [PATCH 2/3] arm64: dts: rockchip: rk3328 usb3 controller node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RK3328 SoCs have one USB 3.0 OTG controller which uses DWC_USB3 core's general architecture. It can act as static xHCI host controller, static device controller, USB 3.0/2.0 OTG basing on ID of USB3.0 PHY. Signed-off-by: William Wu Signed-off-by: Heiko Stuebner Signed-off-by: Cameron Nemo --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts= /rockchip/rk3328.dtsi index bbdb19a3e85d..27e86bf06d3e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -983,6 +983,33 @@ usb_host0_ohci: usb@ff5d0000 { status =3D "disabled"; }; +=09usbdrd3: usb@ff600000 { +=09=09compatible =3D "rockchip,rk3328-dwc3"; +=09=09clocks =3D <&cru SCLK_USB3OTG_REF>, <&cru SCLK_USB3OTG_SUSPEND>, +=09=09=09 <&cru ACLK_USB3OTG>; +=09=09clock-names =3D "ref_clk", "suspend_clk", +=09=09=09=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "bus_clk"; +=09=09#address-cells =3D <2>; +=09=09#size-cells =3D <2>; +=09=09ranges; +=09=09status =3D "disabled"; + +=09=09usbdrd_dwc3: dwc3@ff600000 { +=09=09=09compatible =3D "snps,dwc3"; +=09=09=09reg =3D <0x0 0xff600000 0x0 0x100000>; +=09=09=09interrupts =3D ; +=09=09=09dr_mode =3D "otg"; +=09=09=09phy_type =3D "utmi_wide"; +=09=09=09snps,dis_enblslpm_quirk; +=09=09=09snps,dis-u2-freeclk-exists-quirk; +=09=09=09snps,dis_u2_susphy_quirk; +=09=09=09snps,dis_u3_susphy_quirk; +=09=09=09snps,dis-del-phy-power-chg-quirk; +=09=09=09snps,dis-tx-ipgap-linecheck-quirk; +=09=09=09status =3D "disabled"; +=09=09}; +=09}; + gic: interrupt-controller@ff811000 { compatible =3D "arm,gic-400"; #interrupt-cells =3D <3>; -- 2.28.0