From patchwork Thu Aug 17 07:35:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Wu X-Patchwork-Id: 9905167 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BB0736038C for ; Thu, 17 Aug 2017 07:37:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD6D328AB1 for ; Thu, 17 Aug 2017 07:37:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A222428ABC; Thu, 17 Aug 2017 07:37:41 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 17EB028AB1 for ; Thu, 17 Aug 2017 07:37:41 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=ns6hpPpHq5jIauP/3YilYrVXcDeC/N+s4ATHTkfmM0c=; b=V3Fi5rc2bLb7XeeavVtCaZQmoK zWOhUHPGLSGouc6dpEQW/UdcXbVMI1SWGz41LfH/husEx9DfLOj+epuHP0X0zIczH1PZb67GeP2Bf zZ1N30V/KgFh9bm/Koa9TUT3Lilpe78xzbqVCEBDLwJW3LyXdeT0cTf4YcExGjWXTbDqN8vhDgaz4 M9TuT5W1EMPHRtXq8ygCANm2GTKWBOtiIWtjkOM2ysILklBlJoJcggm+1zTbGNq+VsRPU305LLXk1 RyWqB5SgFa/2I+OteK86g/xDQIv8MypkQdPCnpTXK5zYhDw0qdhPZ9DUe7j7YnXWDjUPC+XGVjMxx U649szaQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1diFN1-0007Aq-3k; Thu, 17 Aug 2017 07:37:35 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1diFMz-00079w-AC; Thu, 17 Aug 2017 07:37:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KrjY183xr9kIi93trqQyeiP2JUqhHpBj7qSKPymOQM8=; b=nrzHletxQcmPR5s0D1G622NAE V0DO+HdWFs5secatAHE0/UwMd/Kj2XQBmKFxL3i+ygqKdYES/p3Si0EARsl9IKJp4MGs5dyzkKRkw AMQXxw4QdrPrjbl9UEUt2NYG8vcDdssz2IeJl4av0HSlDQSDCIusw/a7dCVSKmrwIGBS8xl3aTAwU I1UJbI/w8j5mEX1Lx1APO0V/JIbTCvTV/XNFPEtSRDBrxinw0OPh26eKLxIS2BPqHY3g4i4qdp/+V u1dPEBb6wdCqwuNLJxGoKvxQ36razXevpVZOGP1uie3EOx+ReEuBR8vFi7RZaNlF7gL9QsnjeHs4u eVb/5NzyA==; Received: from regular1.263xmail.com ([211.150.99.137]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1diFMI-0001iI-3G; Thu, 17 Aug 2017 07:36:52 +0000 Received: from william.wu?rock-chips.com (unknown [192.168.167.224]) by regular1.263xmail.com (Postfix) with ESMTP id B57C2DBF0; Thu, 17 Aug 2017 15:36:01 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id CD7D03AF; Thu, 17 Aug 2017 15:35:49 +0800 (CST) X-RL-SENDER: william.wu@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: william.wu@rock-chips.com X-UNIQUE-TAG: <68b6a8707975572e0de47a5413c93bf5> X-ATTACHMENT-NUM: 0 X-SENDER: wulf@rock-chips.com X-DNS-TYPE: 0 Received: from unknown (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith SMTP id 9743MTJP1J; Thu, 17 Aug 2017 15:35:51 +0800 (CST) From: William Wu To: heiko@sntech.de Subject: [PATCH 2/2] arm64: dts: rockchip: enable usb3 for RK3328 evaluation board Date: Thu, 17 Aug 2017 15:35:42 +0800 Message-Id: <1502955342-21985-3-git-send-email-william.wu@rock-chips.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1502955342-21985-1-git-send-email-william.wu@rock-chips.com> References: <1502955342-21985-1-git-send-email-william.wu@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170817_083650_599104_BC2FE3D2 X-CRM114-Status: UNSURE ( 5.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, huangtao@rock-chips.com, frank.wang@rock-chips.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, william.wu@rock-chips.com, daniel.meng@rock-chips.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Rockchip's RK3328 evaluation board has one USB 3.0 OTG controller, we enable it and set it act as static xHCI host controller to support USB 3.0 HOST on RK3328 evaluation board. Signed-off-by: William Wu --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts index e7db0dc..fedea73 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts @@ -83,3 +83,12 @@ &usb_host0_ohci { status = "okay"; }; + +&usbdrd3 { + status = "okay"; +}; + +&usbdrd_dwc3 { + dr_mode = "host"; + status = "okay"; +};