From patchwork Thu Mar 14 18:20:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leonidas P. Papadakos" X-Patchwork-Id: 10853381 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95B2915AC for ; Thu, 14 Mar 2019 18:21:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F4CB29AC0 for ; Thu, 14 Mar 2019 18:21:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71FF12A455; Thu, 14 Mar 2019 18:21:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 22F0E29AC0 for ; Thu, 14 Mar 2019 18:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=sSbE0HfbJsJxpTr4FfER+rVN+2hTxYYsdRFygXevk40=; b=Lq3IlVpcLINa+p iCy3bcHToAyFHpx+88zfbd2sBrviub4pHjr6/2NOpw6JA42wFqIXQGHYrSv3KpZGvG4PS0v1rjWPM Vj/ZUDjRxqIzRlVglPbfvjUiJA1WgTobUW53ZPsHLcGZmn5+sbvowCuRezwx88l+vcF9EVrMaRLP1 2/HxpSqv/L8ExOA+FujmJvoneqpPSvBmZjYing/yaMxUJWP+Sq9sfDWWZu40Rgp4EO2u4IjpJjuSt O+hwhyvTEZ4+2qI1nsRBYatj7vXIEP0kPQj/ng/lThxY1mwnqkJpg7sKf2A6tE6muRPDBlo6t0kH+ iFlQrolk/wXO31izi9Aw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4UyV-00089m-IT; Thu, 14 Mar 2019 18:21:03 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4UyM-00084M-2l; Thu, 14 Mar 2019 18:20:57 +0000 Received: by mail-wr1-x442.google.com with SMTP id i8so6949741wrm.0; Thu, 14 Mar 2019 11:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HARPHOiOHlQrD9sg1fTXPUw7S821XomDBtBpLyPcMNA=; b=gkxW7EZ4/zXFCvtb9gUAd2aKDScopTG6EFN+moDoVZqgS15YAILohAdgoELEQWuPNT SXCTIv9/76t29qxXPvMUZ65/gh96Rs6qHs0DBhDzXLtsgVgN4J0696vh9iRgPpx3OCW9 BbIeiCBvfLnnVNAkjDNwu3b664gwEoeMSHTJsoyKMjzV766/1kB2m+niU0LIvAtJAShX hdES6l31t2PKvpd6BewKPmmn7Jt6XfE1Kt18KF1hSjrnJvQW5TmK47m0V5F0K2nPtGKd Ep9SlKhQObrx2hWzpgYa2yUeDoFs5fCTi2s9CUS0L44bCh+9o3qC03oZaQfpBf1oCeek xg0w== 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:mime-version :content-transfer-encoding; bh=HARPHOiOHlQrD9sg1fTXPUw7S821XomDBtBpLyPcMNA=; b=nwrSXjfqlMbBJHOUhwAXLRGEWsWNJdVttMIkG4DTJwSm27NGkXFO/uc79imM0Pwjtq B0F8wcUvNK5BI/+3h91kRqW2UHVA/UXM2toWMWErTNqp/8qW+U7G2UnrTbF2NDhMnG14 tQSA1ZfXa5vk7wjf5bgeuB3XYFYRU2vgqqx4g942S85Vae1AfyrRFVLBTLh+MCDHmUuk GJZssA/Trc6PcNu+uaXzO1gpxRIT9kuxqJqtyWAoSFjc1IcMwKLsGNwY1dOgBWjAhZ0p ItHDYHNEk5A74VLDbzLjb87bv/uyWt6CEok1REeLJReMhWojofYDJZx9JrpsYhgW8+br GkoQ== X-Gm-Message-State: APjAAAVf2gzxOsZIby+6PnfKUYECq1i6FsFK8NMqQNhME2R5joZHsL0z QL8CzfO5WFq2tCMf5TXmMzE= X-Google-Smtp-Source: APXvYqxkZ51u8iL9qrYnXpmniszaJDLoS9uqmBmwUqzZbn+85+s3DuV4m/Zl7ajU19jliFaiRwTTGA== X-Received: by 2002:adf:f14f:: with SMTP id y15mr17485859wro.223.1552587652297; Thu, 14 Mar 2019 11:20:52 -0700 (PDT) Received: from X555LD.home ([2a02:85f:52f:5e00:19d3:6f5:23e1:ad40]) by smtp.gmail.com with ESMTPSA id z9sm16523127wrv.59.2019.03.14.11.20.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Mar 2019 11:20:51 -0700 (PDT) From: "Leonidas P. Papadakos" To: Rob Herring , Mark Rutland Subject: [PATCH] arm64: dts: rockchip: add usb3 controller node for RK3328 SoCs Date: Thu, 14 Mar 2019 20:20:35 +0200 Message-Id: <20190314182035.7101-1-papadakospan@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190314_112054_121542_83D373CE X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, william.wu@rock-chips.com, "Leonidas P. Papadakos" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: William Wu RK3328 has 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: Leonidas P. Papadakos --- 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 84f14b132..f5c1ab596 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -917,6 +917,33 @@ status = "disabled"; }; + usbdrd3: usb@ff600000 { + compatible = "rockchip,rk3328-dwc3", "rockchip,rk3399-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: dwc3@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>;