From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 526D4C43461 for ; Mon, 10 May 2021 13:30:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 30940613C5 for ; Mon, 10 May 2021 13:30:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235085AbhEJNbG (ORCPT ); Mon, 10 May 2021 09:31:06 -0400 Received: from foss.arm.com ([217.140.110.172]:57990 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351234AbhEJNDL (ORCPT ); Mon, 10 May 2021 09:03:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2C20F1688; Mon, 10 May 2021 06:02:06 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 461B53F73B; Mon, 10 May 2021 06:02:04 -0700 (PDT) From: Andre Przywara To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: Jernej Skrabec , Icenowy Zheng , Samuel Holland , Corentin Labbe , =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev Subject: [PATCH] arm64: dts: allwinner: Pine H64: Enable USB 3.0 port Date: Mon, 10 May 2021 14:01:19 +0100 Message-Id: <20210510130119.6534-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.14.1 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Pine H64 board features an USB 3.0 type A port, which works just fine. Enable the controller and USB PHY in the .dts to make it usable. Signed-off-by: Andre Przywara --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 1ffd68f43f87..9061c9913f4c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -89,6 +89,10 @@ status = "okay"; }; +&dwc3 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -332,3 +336,8 @@ usb3_vbus-supply = <®_usb_vbus>; status = "okay"; }; + +&usb3phy { + phy-supply = <®_usb_vbus>; + status = "okay"; +}; -- 2.17.5