Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4060888pxb; Mon, 1 Feb 2021 11:18:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwv8W0YfCj4CV+cj9trIil4wqQihpBYf7o14KRNRut5lglo7qwOnKof1M3tv6n8FHw/A1gS X-Received: by 2002:a05:6402:34d2:: with SMTP id w18mr21204103edc.102.1612207099049; Mon, 01 Feb 2021 11:18:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612207099; cv=none; d=google.com; s=arc-20160816; b=XLUZXFjupR1uR0BpWOR7ZGCnQ4ozPmMejOC8VtJGzYuJebfnPb3JOOWJI5XWgihxqF sdYUj4meO35I3DYskr9lJh0XeHaiseHp5b0wFWOtkTLiBrWVxqfdei2nwZai4Z5AAa4N gsPx79WvKYBdGOxTdMHiq5q2fPmSx/zUIJPk0GigFi1fV+tbrYIhuPgKyjor+WmgzWvv IMzOk9xXGRIsOlDDbSinMKa0zRFfbiGH44nZdD6OlXajIzsf+8zkMMeS5l+hWzK34Sur 0qo1aXAJkFET8tDbnSlPJjBrO07cFvh5ViUD0cI3OpX3WBySrdIK8fZGMNUl7Qy1CA6E s6vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=X2oJ/oS9W6B6NjUjWeyWWEJnoptgHKF+k6enHUja9os=; b=rLSQt6uoOmsTO9ozonnzPz9qADV+Dc2CDIgxh3NMdT+f7HJDnOc/u1bsuLUmNC1XEd +vRxEOoj4ZsQw2ia4WEabCeV1xfpiyhc5tDUq4f/2XZGwMKfi8KvkpUHLGa/CbhzI1to wVOxp/ov8GXfyV3jPD7fVs78j8kBeZeKjIXUIwAwrh8L287zAgHELKe6Xdx0YsdMFTuk A8vnJKpc1xWLAlA9ubi1gANiiSkilNlhNIcxL21XtBKbzNaDHV/+AKnYLXYY50L5gJQU KQhj/0ozYhRpWhcm0frA5MqfQq3MPN+wMUY45athIhJqAfttBhMBCgI+FdF2c/itbhX5 mgGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e2ZSe5L4; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si1230035edl.211.2021.02.01.11.17.53; Mon, 01 Feb 2021 11:18:19 -0800 (PST) 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=pass header.i=@gmail.com header.s=20161025 header.b=e2ZSe5L4; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231791AbhBATRT (ORCPT + 99 others); Mon, 1 Feb 2021 14:17:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231360AbhBATRK (ORCPT ); Mon, 1 Feb 2021 14:17:10 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 828FFC0613D6; Mon, 1 Feb 2021 11:16:30 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id s3so6481987edi.7; Mon, 01 Feb 2021 11:16:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=X2oJ/oS9W6B6NjUjWeyWWEJnoptgHKF+k6enHUja9os=; b=e2ZSe5L4DqRkHowO7yuhyPs3CMkfnLue4kyX/ln/Ia7m3ahZG//k55NGvjuHnUkxel iwTd8xIyzHn9aMLxJvRbjy9zk+Nyha3uq6Uw99qr0+nr5r+hTj4iDhmS825oSh5ix0Ys iLqa4kUp5I+PNPLCmtXO8XTu33h2XuIdJvr7FEiC51d5kQE6jx88JUGu3hF+cWiY5kHV sLqTnerAh2sU/LJXuAp4ysnFOD7k2si575b/RZ6ezCHjVj2PNk03qMOJ9ZoBYNMv2d2j Fw5P9Aj4iL2SC99cjaRxbs3UfGoSZa/RVXNsOUyUW6Wey50aIfFR5u+az3FS5ydrN1WO Yicw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=X2oJ/oS9W6B6NjUjWeyWWEJnoptgHKF+k6enHUja9os=; b=WA1HRS3icn0EaWCasr/ARGIxsh0WvF0k6ZnWa6tmKiOhdYkLDk5KtGaTNcuyxqocW3 IZc/vm0HmC4zqszeFYWafS+rbU/OeusUy+x0FSWk3YLgdIiBfOxsq902CtWc/RR01M52 7pgXa2soavwKvtECQy3G6CnPh5Gwu3yul3MBvyfI+bt3KHltJ6PH72CPqLgIzjuAOHE6 tGQINWN1Ysk/H7itG6151xuNw68Gl0AGpUIrU+SGOe+emYgfLoftNK9hmhLZirdOxDzh X3VO92zsxsV2Mk71ZV5hoZeuE/Ykfo2HHiTNwrX8bJ0pKkT2sAJZXcZ/E70gYM4DxQG3 ahpg== X-Gm-Message-State: AOAM53062jULvCWeiRuMR3BYrk/hE2z4XCUzMbXe5G9CzSEXOZch6RhG aOGaxorsrOo6wg0Fz+9rOQZWkaOxuVY= X-Received: by 2002:aa7:dace:: with SMTP id x14mr20615282eds.300.1612206989336; Mon, 01 Feb 2021 11:16:29 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id a11sm8243630ejc.64.2021.02.01.11.16.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Feb 2021 11:16:29 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, gregkh@linuxfoundation.org, balbi@kernel.org, linux-usb@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/5] arm64: dts: rockchip: add rk3328 dwc3 usb controller node Date: Mon, 1 Feb 2021 20:16:18 +0100 Message-Id: <20210201191619.32353-4-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210201191619.32353-1-jbx6244@gmail.com> References: <20210201191619.32353-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Cameron Nemo 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 Signed-off-by: Johan Jonker --- 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 17709faf6..2bb666d35 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -987,6 +987,33 @@ status = "disabled"; }; + usbdrd3: usb@ff600000 { + compatible = "rockchip,rk3328-dwc3"; + clocks = <&cru SCLK_USB3OTG_REF>, <&cru SCLK_USB3OTG_SUSPEND>, + <&cru ACLK_USB3OTG>; + clock-names = "ref_clk", "suspend_clk", + "bus_clk"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + status = "disabled"; + + usbdrd_dwc3: usb@ff600000 { + compatible = "snps,dwc3"; + reg = <0x0 0xff600000 0x0 0x100000>; + interrupts = ; + dr_mode = "otg"; + phy_type = "utmi_wide"; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + status = "disabled"; + }; + }; + gic: interrupt-controller@ff811000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; -- 2.11.0