From patchwork Sun Sep 1 15:57:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13786542 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 213E2CD3420 for ; Sun, 1 Sep 2024 16:04:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xLI6E86Pd+rLiDpAMzs0yyOFhgf2TdCupbACQnH+AxY=; b=ft1VhZwkthQ4XUa7ImbR7yyYg0 ++SERsINkeAA5tam9pk3NiDFQ2qMiFiUkEK+9cTRUBTluNB2G3SNx4IbNx4Xveqs3g+UEQ8ZPpAz9 AeDu6kuI9b419Vl8yktYaZ5N/zC4VhigcNAjzLrJ/LgwNsDado+Nh7LbIMuPkSuy3y1JbZ0P+0wv4 4PQZwG/fe+cj62TerfiLmFC0d+u3/muvrDo+ewriyV2kB+CXjiDZIkXMCfw1RB/uP9zMRNbnVVs2c 7OdeZqakidLOZCtEpzaMSnA+C8kXOhD9bxl3xRiurJp4I72e/qnkyAemZeamPNkbNESVMqXfFB3bc CbeSp+BA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skn3S-0000000Bu1A-3POS; Sun, 01 Sep 2024 16:03:54 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skmxW-0000000Bskl-0nnS for linux-arm-kernel@lists.infradead.org; Sun, 01 Sep 2024 15:57:48 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 200161FA90; Sun, 1 Sep 2024 17:57:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1725206259; bh=xLI6E86Pd+rLiDpAMzs0yyOFhgf2TdCupbACQnH+AxY=; h=From:To:Subject; b=Ku/ueXl3vVHOI9m0MudUaWOSKSSHGZkq2QjUqirBC/ebWD/ki1bzga30EtCxuUvro rOzbHolF6a1+W1EBY+e1NDxfO8xLbQitQIqoNLs3mrHeADg3T46xG1e58bWFqNKGRn 9SOZNEUNDZn8/kZCkufqW8/zDL5u8j05v/5WWaq3p5dIN3I4xhz5w8lzenNqQzORsi Z2aotMXi6qUxHfBIIvz/bwxdVBLE3GNbyKZOk/oIv+B6x0Pkyi/6Jy+yTIPET3n3XV atVgdLZE7ItgAi2YQomAxvV7/2qGHQ7TEtRO3YWUpFU6m67Vwg9IDKTmF8nx0uJ1wU Nu3hcU1jzAA7g== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 06/10] arm64: dts: colibri-imx8x: Add USB3803 HUB Date: Sun, 1 Sep 2024 17:57:17 +0200 Message-Id: <20240901155721.7912-7-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240901155721.7912-1-francesco@dolcini.it> References: <20240901155721.7912-1-francesco@dolcini.it> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240901_085746_416432_2DE33A12 X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Francesco Dolcini Add USB3803 HUB, this is required for Bluetooth and USB functionalities. Signed-off-by: Francesco Dolcini --- v2: no changes --- .../boot/dts/freescale/imx8x-colibri.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index bc1577b5f1ea..f929c5f07e64 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -113,6 +113,26 @@ &i2c0 { pinctrl-0 = <&pinctrl_i2c0>, <&pinctrl_sgtl5000_usb_clk>; status = "okay"; + /* USB HUB USB3803 */ + usb-hub@8 { + compatible = "smsc,usb3803"; + reg = <0x8>; + assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&mclkout0_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <786432000>, <49152000>, <12000000>, <12000000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb3503a>; + bypass-gpios = <&gpio_expander_43 5 GPIO_ACTIVE_LOW>; + clocks = <&mclkout0_lpcg IMX_LPCG_CLK_0>; + clock-names = "refclk"; + disabled-ports = <2>; + initial-mode = <1>; + intn-gpios = <&lsio_gpio3 4 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio_expander_43 4 GPIO_ACTIVE_LOW>; + }; + sgtl5000_a: audio-codec@a { compatible = "fsl,sgtl5000"; reg = <0xa>;