Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp639628yba; Fri, 5 Apr 2019 14:00:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/wJpXxcZ/kCs5unisOZM12SNI0cX0xm++Y4BNufPFugQNQMItSaVOUWpGsLP7SOXEff4k X-Received: by 2002:a63:720e:: with SMTP id n14mr14038648pgc.93.1554498041099; Fri, 05 Apr 2019 14:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554498041; cv=none; d=google.com; s=arc-20160816; b=B6PAfm9HkkJn4o5Y5wheYN8JGwnwAzxiCd9TC9PzKsaN7Foe+VmTv7FJtGoYTeGBBr 5wcToEn/VAQEg2E79BWKzdZxhkpV0nyW+2uHrK4d8ub+OSel4CJSFzkfYBsDLT+f8fRB Upa3YB8A2VJ3jLKRvkMQkmSg5HxL0fcjJJyLEWbBWviwQ0n/ep9ozIY7ueXIqvYAfA+/ GeLmnWL9z3B3+PI8kGpknGq5A/HMgi0eP72V/+EZoWGBIQOi6SE5VUZrcg09rsQQrIFL WgjTCpsPZzWhSEGUo2qOeOE58V40twKe07Zt4PcnlqQXizkld/lP1tS2Q4oQyBdb2F4d F9rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=R+GAZYQfjKVMbJ0Fe7XTSxaPfBXf54wjXWXx68tmvyE=; b=Z3WAsw7c9tXENkE5VgpcZm0fsOFKjglgkam9oYzD2kSmL59Xtjai143LMUlXJKVSp3 s/rZeu7cNfY5jVQlal4O2RhfoH0lW1EnayrJiY4dut0lZSRCS9O4s1lzDHNW580jMCT5 N+CA9+1HePMd0rTqwNXeNFlmAT6Q5tZ+NpB4sveOJECn6RGmROHH+kX0bOM+NBTFtW7c Iro7hZR0fKwYd9Sll/KkIVgyFLG113gNn/uDUHozl0Q6qubImEql1ltb33wNDjotIF3+ AB9Lgzo5FkwUxNlfwqZ2sHifrZWmmLWTX0AMfPpZ7JkSphIQpFigctmtnmfKp64ygskX KQxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b23si17822418pgm.517.2019.04.05.14.00.25; Fri, 05 Apr 2019 14:00:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726716AbfDEU6O (ORCPT + 99 others); Fri, 5 Apr 2019 16:58:14 -0400 Received: from hermes.aosc.io ([199.195.250.187]:37026 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbfDEU6M (ORCPT ); Fri, 5 Apr 2019 16:58:12 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 21DD66CE00; Fri, 5 Apr 2019 20:58:08 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Kishon Vijay Abraham I , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v5 5/5] arm64: allwinner: dts: h6: enable USB3 port on Pine H64 Date: Sat, 6 Apr 2019 04:57:36 +0800 Message-Id: <20190405205736.55177-6-icenowy@aosc.io> In-Reply-To: <20190405205736.55177-1-icenowy@aosc.io> References: <20190405205736.55177-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pine H64 board have a USB3 port, which is connected to the USB3 pins of the H6 SoC, and the 5V power supply is controlled via GPIO (shared with the power USB ports). Enable this port. Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai --- Changes in v5: - Migrated to connector subnode. No changes in v4. Changes in v3: - Added Chen-Yu's Review tag. .../arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 13 +++++++++++++ 1 file changed, 13 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 bdb8470fc8dc..d03e20ee1cc3 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -95,6 +95,10 @@ }; }; +&dwc3 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -267,3 +271,12 @@ usb3_vbus-supply = <®_usb_vbus>; status = "okay"; }; + +&usb3phy { + status = "okay"; + + connector { + compatible = "usb-a-connector"; + vbus-supply = <®_usb_vbus>; + }; +}; -- 2.18.1