From patchwork Wed Oct 18 13:06:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10014685 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 07F4360211 for ; Wed, 18 Oct 2017 13:12:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E518528B3E for ; Wed, 18 Oct 2017 13:12:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA20528B40; Wed, 18 Oct 2017 13:12:00 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 6BC8428B41 for ; Wed, 18 Oct 2017 13:12:00 +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=2dlVDGM/kNv92I2RfcbmjcdPdMNPAGkelMFd3Lyl9+k=; b=p0UWO+nwI6+adpYE8Lty8cwBiZ Hw+fCr6GZo8bUpuWwp9nr2x8jgdb0A8T5M+FgG9y7XBqwTiVv3G27YOZMV2BfJe6OTvKJwnz9uGk/ XhanQncqkUGnga5Q1GrsXGVdcbDYQ10D1DHjr2qXQdWqfLb6l6QV87yBDoEJbPYODeajM0PbFu/rP j08piQJoFCFltc759TZqLjLSWDOoSRiTWMCle51OGGTSi10qfFwWRa7TIC4LuY34PbR6ah/DLyf6F VlH724jgCwD8mp4WhEiB9yhxHwYAu3ls/2h0FofDugsLr6dTXHpcADM8hvHYlDB05UBjQ5ucOvXrt Y3WnT50Q==; 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 1e4o8J-0007PS-68; Wed, 18 Oct 2017 13:11:39 +0000 Received: from common.maple.relay.mailchannels.net ([23.83.214.38]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e4o6D-0004Q6-5H for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2017 13:09:36 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4E62D5C80C3; Wed, 18 Oct 2017 13:09:05 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.143.180]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id AF5D85C96A9; Wed, 18 Oct 2017 13:09:04 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.63.242]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.14); Wed, 18 Oct 2017 13:09:05 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Lonely-Spot: 35ff7432714c6553_1508332145109_859294600 X-MC-Loop-Signature: 1508332145109:1254910304 X-MC-Ingress-Time: 1508332145108 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id E4BC64B388; Wed, 18 Oct 2017 13:09:00 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 5/5] ARM: sun8i: v40: enable USB host ports for Banana Pi M2 Berry Date: Wed, 18 Oct 2017 21:06:28 +0800 Message-Id: <20171018130628.11298-6-icenowy@aosc.io> In-Reply-To: <20171018130628.11298-1-icenowy@aosc.io> References: <20171018130628.11298-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171018_060929_810623_48EC7820 X-CRM114-Status: UNSURE ( 7.02 ) 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: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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 Banana Pi M2 Berry has an on-board USB Hub that provides 4 USB Type-A ports, and it's connected to the USB1 port of the SoC. Enable it. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts index fe16fc0eb518..45c17c8c5915 100644 --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts @@ -87,6 +87,10 @@ }; }; +&ehci1 { + status = "okay"; +}; + &i2c0 { status = "okay"; @@ -98,6 +102,10 @@ }; }; +&ohci1 { + status = "okay"; +}; + #include "axp22x.dtsi" ®_aldo3 { @@ -171,3 +179,8 @@ pinctrl-0 = <&uart0_pb_pins>; status = "okay"; }; + +&usbphy { + usb1_vbus-supply = <®_vcc5v0>; + status = "okay"; +};