From patchwork Fri Feb 17 17:37:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9580453 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 72CBB6043A for ; Fri, 17 Feb 2017 17:43:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 657D2285E7 for ; Fri, 17 Feb 2017 17:43:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58F9C28762; Fri, 17 Feb 2017 17:43:54 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 E6380285E7 for ; Fri, 17 Feb 2017 17:43:53 +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=G/QdEDVVHplx2tfZDF7bzJiW529taxJk5F0ELWEuIWw=; b=qjdG2N27MxeRGQrVSSqTkSSJEm 1NK1BFdwvemGIZogpYVOQ07WXeW//EsqJZkE1l5XGeQeM31xD1DUMvRY5LcSMr9Iy509WSFodfPfs 7D6lph1c3NfrTOoSdzOBHz0DsOL48w4M1IF7SE/JBYiz2yNuMctGaXJMY6cH9j74rmNgQHaw34xMg qm2Yq85EFC7ErYlQ6jsYJ4dpSBEntpgSUlRdi99lBviTOk19rFLSgrLBkMI76DsBqDiQaJJ0Gr50R Hj4NYoFnG5mKJV7tYYkTRok8M+DuTlhJTcZY3GnYEgxfozQV1ARf0/Sj1aJewpo1sH0ceq4WorStM kXHQuJmQ==; 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 1cemZU-0008Eg-3J; Fri, 17 Feb 2017 17:43:52 +0000 Received: from forward15p.cmail.yandex.net ([2a02:6b8:0:1465::bd]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cemZ6-0007kX-0B for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2017 17:43:48 +0000 Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::115]) by forward15p.cmail.yandex.net (Yandex) with ESMTP id 09ECB22A27; Fri, 17 Feb 2017 20:43:05 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 243008C0B2A; Fri, 17 Feb 2017 20:42:57 +0300 (MSK) Received: by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FT0kHVt6CM-gq1u8sJ6; Fri, 17 Feb 2017 20:42:56 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1487353377; bh=pkei+QbLQtm0ES3yYNPUAIuU/GR2cbuJWQVjJ9Rdzlc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=M800nwvMEn9OuKQAT50MrgVM7GEVw/0fvMv8XFENo/ITrgiDklwQJG3lLMFHaPSD0 XQELVtajbHzsY3W86pVnAJlDQCVucQQFJ+iwAoNJkjqLHabhKJCeWzdNIonOTrunP+ J5ioppBElCPuyTqCNcLkBIbQwIabGJ+P0dd9WlQM= Authentication-Results: smtp1h.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Kishon Vijay Abraham I , Linus Walleij Subject: [RFC PATCH 9/9] ARM: dts: sun8i: enable USB host for Banana Pi M2 Ultra Date: Sat, 18 Feb 2017 01:37:22 +0800 Message-Id: <20170217173722.6477-10-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170217173722.6477-1-icenowy@aosc.xyz> References: <20170217173722.6477-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170217_094328_459228_6EAFD92C X-CRM114-Status: UNSURE ( 6.93 ) 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: linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, linux-clk@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 Ultra board features two USB host ports, connected to the two USB host ports on the SoC. Add support for them. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts index 1d824830a1ad..672fb7f0f393 100644 --- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts +++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts @@ -63,6 +63,14 @@ }; }; +&ehci1 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; +}; + &i2c0 { status = "okay"; @@ -154,8 +162,23 @@ status = "okay"; }; +&ohci1 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_0>; status = "okay"; }; + +&usbphy { + pinctrl-names = "default"; + usb1_vbus-supply = <®_vcc5v0>; + usb2_vbus-supply = <®_vcc5v0>; + status = "okay"; +};