From patchwork Fri Oct 14 09:26:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 2618 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp84591wrs; Fri, 14 Oct 2022 02:33:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM66PhABldJcgRBuDOgcpPwfm/P6Qi55gVF99cTxgZ/MrYt61UI4aKjTKPX/bMKoaW2ePTdK X-Received: by 2002:a17:907:1ca2:b0:78d:ec49:9c2f with SMTP id nb34-20020a1709071ca200b0078dec499c2fmr2793586ejc.308.1665740026344; Fri, 14 Oct 2022 02:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665740026; cv=none; d=google.com; s=arc-20160816; b=qDXIVTw91MNg1/i78xzLuHRN5x0q2oPaEDUsyzv1bf8QVsLqsc3pwZKpQoC7H1LaQc 8iWVdFp/b4MnjWQg26MY4tl0OWigeL00reGwBfIGXjjP87xEq+JiG0ekYYQg5ybagg2p DOoNeylTa3LsUHIR+jryw+FsCuPnwM8l08ET3gZy6/9Ydk0p1/zAohn9WRjt8tC+XLj4 B7krR5eIVSducfeBglGK9zmvD7Ikc2KBL16GEp47PCEinoiDTRv3EbhHOmZysaP7538e NoRnxQU97NyNbDF23yJ3n15P/gPMyLPXdT5z0CM9CnxTlDkVD2K+V9sS253/Gnj8vQNs A2EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QJkdlha7hhplN6y54cwgCZoQ4JVyU6BQmPtqvBb5nxg=; b=m6PvckskScnka2YHxMhxejBoPwmYIsDUxEP7AbAMGvbmGYG98Tu+XTeB8AiILekbTf Pb9k9QvseMRU+EtFn308qg9xcPXuzRat3eQCGzy42Vh8L4Q+3YkFoF5xon3z+tkAyMKN utXNZo16iazRimkJe09C0Ziz+VwjuubsxgmymM584EW4OBgMkMDJYySYuVf28nQG4eDo 2xLix88Z1fPyEHmgGgKNvtvMEyDUFA6GOTCwthW7kxg7tRCmkGOe75pktG9Gkpn7g0Un axd8oylz+DhnHVoZ/rWZj4hDcFv+OcJFBp2C21dfcIfRXrkBIOqHd1yXdwVfgBMBLfgX hOeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=xwa1gqhy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn17-20020a17090794d100b0078e16203457si1455587ejc.5.2022.10.14.02.33.18; Fri, 14 Oct 2022 02:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=xwa1gqhy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbiJNJ32 (ORCPT + 99 others); Fri, 14 Oct 2022 05:29:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229700AbiJNJ3U (ORCPT ); Fri, 14 Oct 2022 05:29:20 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D128F1C5A5F; Fri, 14 Oct 2022 02:29:14 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29E8cV98008909; Fri, 14 Oct 2022 11:29:04 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=QJkdlha7hhplN6y54cwgCZoQ4JVyU6BQmPtqvBb5nxg=; b=xwa1gqhy7Kk33JnzpoPn/KfujLiN38L7VlvGFC4qjpFyp8Tov86Am3dWXHNSJvvW1bce r9Tz+sYtum+ijxl0ZeEt0q8vJ5Zz19hqRrypvY92JqETNi2pv0var4GqikMaMWHSMUbo 4+foQCJQq1HKhLJQEnN+lrnYE3qpehK0+lfvxjaS8aMXaMNnSQPLpf+Ck34DLHldr/sP MBXDs7j/pkC45OB9hFQJdTXtxVzGg3xA8bS+D39NcyCxVkXv65m70nswIO8OFJO2qHSb iQofXktvdDRhtwJ5XFWJ+eXIDFM4Srk6diwwG5yY/LfxRauIqR5WHtyJd7DpLnXGPhLj nA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3k6h7v7gt9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 11:29:04 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3118510002A; Fri, 14 Oct 2022 11:29:00 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2C34721A904; Fri, 14 Oct 2022 11:29:00 +0200 (CEST) Received: from localhost (10.75.127.44) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 11:28:56 +0200 From: Fabrice Gasnier To: , , CC: , , , , , Subject: [PATCH 07/10] ARM: dts: stm32: enable USB Host EHCI on stm32mp135f-dk Date: Fri, 14 Oct 2022 11:26:48 +0200 Message-ID: <20221014092651.25202-8-fabrice.gasnier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221014092651.25202-1-fabrice.gasnier@foss.st.com> References: <20221014092651.25202-1-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-14_05,2022-10-13_01,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746655013511688438?= X-GMAIL-MSGID: =?utf-8?q?1746655013511688438?= From: Amelie Delaunay USBH Host EHCI controller manages the USB High-Speed hub controller IC offering Type-A CN5 & CN6 connectors available on stm32mp135f-dk. USB Host OHCI controller doesn't need to be enabled as Full-Speed and Low-Speed traffic will be managed by the hub. This USB2514B onboard hub is supplied by a 3v3 PMIC regulator. Signed-off-by: Amelie Delaunay Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp135f-dk.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index af87fb36eabc..02ff2bc664da 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -145,6 +145,19 @@ &uart4 { status = "okay"; }; +&usbh_ehci { + phys = <&usbphyc_port0>; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + /* onboard HUB */ + hub@1 { + compatible = "usb424,2514"; + reg = <1>; + vdd-supply = <&v3v3_sw>; + }; +}; + &usbphyc { status = "okay"; };