Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp298638pxb; Thu, 2 Sep 2021 04:31:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyP6PXwja64L7sJkLhLvEJjbD0uuQCct8enTxzmh2EGt1xj/qnIPeZKLs9rNWhhDZHf5NT X-Received: by 2002:a92:d2cd:: with SMTP id w13mr1964825ilg.117.1630582311044; Thu, 02 Sep 2021 04:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630582311; cv=none; d=google.com; s=arc-20160816; b=XTDVo7iOo7Dng+nU5+wsLpp4GiDV+EpVvAOeuhkLwDeHlAa4wkDyojdfxOfna3SqPO r2XGW+ngkYNoE4bek4YJ23QV15N2QSeKKlGNao1qF8GvMX2TTxF67i+5OaDBUHugvAKE oAdOeIttq9Df61i8K6g6t4/hPexdA9Zi+Cbe5eUUuPYbE9ZZGSAGJmcYNIVsdJSu7b5W ERXQ4l6jfmcr+jThK4ayWOg5Qs9xu0Ff3u+UkA0UViM8dag0l4K2kPaHEGZYDGa22XWT FmdIGa+ypM1BP2oMAO53y4jPq+ZNbbfc5ZGExt+VLm3pIhRqHAZvu8sH3l7+Y5QAY/vy XmOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=x62NURquMwHtoBr+gOKKn5bmWcQd36StoLpUQFuHmeo=; b=NfZdY6bkgYLQgJetn24wFB+IIOEILBM8OfIB0L0rLw++x/WOKdC0CN4V8aMAAF4acX ytn1+t3XOjg+sZ+YUdY3vqarMLMdhao8eQVLL83SKXR/FhImn8PtYF9TVUxgDj/8pR29 auS3iRtF/jIvMSgE/uRzY7BmgIhle8lzuh8YtthoQa0Vf9+RLWEF1bDe6MGOXkwIoXYn S2OM4P3uzhODkhoZ0IegIa8D+LzczPHTBe/sm9p/rJ2WSobSiXtFbrLDXfa2EYA2K/5p UDSya7ntqnBEtXTclNXC4+d0qAZV60Zmhju7f/afucUdIHE2HADGmVyVxQUCaX9eYc7Y qi1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VbMBY59G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si2018040ila.78.2021.09.02.04.31.38; Thu, 02 Sep 2021 04:31:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VbMBY59G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343857AbhIBL3y (ORCPT + 99 others); Thu, 2 Sep 2021 07:29:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:37254 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245695AbhIBL3n (ORCPT ); Thu, 2 Sep 2021 07:29:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 382E3610CD; Thu, 2 Sep 2021 11:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630582125; bh=t5jqLXWSCvkoEWBIixIhEk25N1p5VRoDG3iLJpBa4KQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VbMBY59GdRtIBJzGqkWGa0MULEUj8bu5kgXOZogUNioWucm9C5mVX0c7wAAVERUzt Q6P6nGOy3oHhAnONxBpHVXt0uq4ZANPY7oFIK35grJiTelkBDNVXMKSl0DnIwfnGZY pKdtFtKN6cZhQCztV7GPgAzLkYZYNCQFVBUY5z1X62+s7f5A3Zl9fU0a84Bd1N9R9H mhyXjJpkZJ6pR83m/kEPOHdpbXqpWeXUsYIrJAqbYNUkdB5wMLD18IDSos+uSbeWwt N3vG9SCpZoSMj2oKTT84HKPccwtYCx6e8p3U+Y2ayHVP2lmMQxDXB19M0Khlk7JAAO LcHWG9BJ73O0w== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mLktf-0004ZW-A1; Thu, 02 Sep 2021 13:28:43 +0200 From: Mauro Carvalho Chehab To: Rob Herring Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , "John Stultz" , Rob Herring , Wei Xu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/4] arm64: dts: hisilicon: Add usb mux hub for hikey970 Date: Thu, 2 Sep 2021 13:28:36 +0200 Message-Id: <1df0b8f59fb75d6c1f3b5248f74f66b93a072a02.1630581434.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dt bindings for Kirin 970 USB HUB. Such board comes with an integrated USB HUB provided via a TI TUSB8041 4-port USB 3.0 hub. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts b/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts index 60594db07041..0cec08083c4f 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts @@ -53,6 +53,29 @@ wlan_en: wlan-en-1-8v { startup-delay-us = <70000>; enable-active-high; }; + + usb-hub { + compatible = "hisilicon,hikey970-usbhub"; + typec-vbus-gpios = <&gpio26 1 0>; + otg-switch-gpios = <&gpio4 2 0>; + hub-reset-en-gpios = <&gpio0 3 0>; + hub-vdd-supply = <&ldo17>; + usb-role-switch; + + port { + #address-cells = <1>; + #size-cells = <0>; + + hikey_usb_ep0: endpoint@0 { + reg = <0>; + remote-endpoint = <&dwc3_role_switch>; + }; + hikey_usb_ep1: endpoint@1 { + reg = <1>; + remote-endpoint = <&rt1711h_ep>; + }; + }; + }; }; /* -- 2.31.1