From nobody Wed Feb 11 08:36:04 2026 Received: from fout-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B90A11713; Wed, 29 Jan 2025 04:53:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.145 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738126443; cv=none; b=DtTdTG805kpdSvyISUkadaUFWIdJPbpTp138umT46bRcSGRJKLOJZ2sl1tLh6Mrgpk+pl+YmwmO79SY0BfPJEIvDn1yNG7D4TXykqiGOBhb2v6i4WAm55GjQHnixlZBu9PCZ7gO80oYqdJmxn/U7PkQGtejnzd3C4kq0E3P563w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738126443; c=relaxed/simple; bh=VJ3g843QZp3CIXcfvo0qGyNGFQEdP4kBr+lewXtIiJA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R6Y0WZtb688RpFzh/E+F65UHRxvNmwTBvLLptsqyHPKcN8EvSN5FwB4DoRQdwBwzdotkuGzhuOuTjfiLq4SbfB3+IwF4sfjZUUN+FU09oLvqT6/l+4f/PENv9EH4T3R+8CZYMhBZMy38glH/9uxNS4Y7K4xR+41dGDlqUowpBJA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=traverse.com.au; spf=pass smtp.mailfrom=traverse.com.au; dkim=pass (2048-bit key) header.d=traverse.com.au header.i=@traverse.com.au header.b=pc3Ep6c8; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=wYiJ4UIS; arc=none smtp.client-ip=202.12.124.145 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=traverse.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=traverse.com.au header.i=@traverse.com.au header.b="pc3Ep6c8"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="wYiJ4UIS" Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 0738A11401BD; Tue, 28 Jan 2025 23:53:59 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Tue, 28 Jan 2025 23:53:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1738126438; x=1738212838; bh=eMyQJwJhmV S3FVKPKH5yOTL3X3dY5nNNbnJgYKK3EIg=; b=pc3Ep6c8WKGOT0jQNPJZEKNP0Z L2I8T9E96YJhKYx8I8BAvQ61oqb9U2ayuuUeN95O9BVike+q9xFYplJMfh6eF5LK 2pmNWHNDYQ7rSL2E9xyFW7cphTQIc/1ovNWTLmEQ1DgPMQzdGKTm3QZANJCXGcae TfrjItuhqOArSW27O0ZZFHYxmyTHi1OUphoHxppmoKHFSkfwXvUX5WwLuvLTGj9h NEITZI4nnx2628+64/r7N3IYJ/lJV7ZKOtvMgHEWMzY8COLsGc5M6Sm9sAIEUrUG 8NpdKE16NMGvYgpXbn5Ecydd9mTQquMvoEQFw+QnFcOeYcpDPposZQrJw03g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738126438; x=1738212838; bh=eMyQJwJhmVS3FVKPKH5yOTL3X3dY5nNNbnJ gYKK3EIg=; b=wYiJ4UISqkuI/hGv6BV6qz/+UWg2dQmbwI4+F98jVUhsoshDCdn DBj6T4K+4jjyC8ksA8cC0xBtnfq+AfVr0LjjpW6EyYN7FLXXuxnbpdN8MUkg1lL8 6jvnk+h/pXM5g6jJqW+5nX9JlYWslxJqrlKsVDeKF+Hgq+jsorSDaaSw0NLf8lB6 XnWeewRJQyYYjR0WCwO/8DAci3xrawTYzandiZDICM1/7ljCrEVRni/EAvydkejy 2z5ICu9M1l9cNtNAgfUCF8o6+LZHM3HJX4NyvzilxLAdIRwa25vzGRdnfKVDRkkt uoxaVziL87UFyt6gSle+NmvFtm/tnw/mL0w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfh rhhomhepofgrthhhvgifucfotgeurhhiuggvuceomhgrthhtsehtrhgrvhgvrhhsvgdrtg homhdrrghuqeenucggtffrrghtthgvrhhnpefgkeetgedufffgtdevvdejjefftdfghfet fefgueehhfeljeffgfefueeujeelffenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruhdpnhgs pghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggvvhhitg gvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidq rghrmhdqkhgvrhhnvghlsehlihhsthhsrdhinhhfrhgruggvrggurdhorhhgpdhrtghpth htoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghp thhtohepshhhrgifnhhguhhosehkvghrnhgvlhdrohhrghdprhgtphhtthhopehrohgshh eskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkhhriihkodgutheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepmhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghu X-ME-Proxy: Feedback-ID: i426947f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Jan 2025 23:53:55 -0500 (EST) From: Mathew McBride To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Shawn Guo , Rob Herring , Krzysztof Kozlowski Cc: Mathew McBride Subject: [PATCH] arm64: dts: freescale: ten64: add usb hub definition Date: Wed, 29 Jan 2025 15:53:52 +1100 Message-ID: <20250129045352.10728-1-matt@traverse.com.au> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" A device tree binding for the Microchip USB5744 hub controller was added in commit 02be19e914b8 ("dt-bindings: usb: Add support for Microchip usb5744 hub controller"). U-Boot will consume this binding in order to perform the necessary actions to enable the USB hub ports over I2C. (We previously used our own out-of-tree driver for this task) The Ten64 board does not have any switchable supplies for the voltage rails utilized by the USB5744, so a pair of dummy supplies have been added to facilitate operation with U-Boot's hub driver. Signed-off-by: Mathew McBride --- .../boot/dts/freescale/fsl-ls1088a-ten64.dts | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts b/arch/arm= 64/boot/dts/freescale/fsl-ls1088a-ten64.dts index bc0d89427fbe5..fc15c83d222f6 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts @@ -87,6 +87,22 @@ sfp_xg1: dpmac1-sfp { los-gpios =3D <&sfpgpio 7 GPIO_ACTIVE_HIGH>; maximum-power-milliwatt =3D <2000>; }; + + usb1v2_supply: regulator { + compatible =3D "regulator-fixed"; + regulator-name =3D "usbhub_1v2"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-always-on; + }; + + system3v3_supply: regulator { + compatible =3D "regulator-fixed"; + regulator-name =3D "system_3v3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + }; }; =20 /* XG1 - Upper SFP */ @@ -231,6 +247,12 @@ at97sc: tpm@29 { compatible =3D "atmel,at97sc3204t"; reg =3D <0x29>; }; + + usbhub: usb-hub@2d { + compatible =3D "microchip,usb5744"; + reg =3D <0x2d>; + }; + }; =20 &i2c2 { @@ -378,10 +400,33 @@ partition@9400000 { }; }; =20 +/* LS1088A USB Port 0 - direct to bottom USB-A port */ &usb0 { status =3D "okay"; }; =20 +/* LS1088A USB Port 1 - to Microchip USB5744 USB Hub */ &usb1 { + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "okay"; + + hub_2_0: hub@1 { + compatible =3D "usb424,2744"; + reg =3D <1>; + peer-hub =3D <&hub_3_0>; + i2c-bus =3D <&usbhub>; + vdd-supply =3D <&system3v3_supply>; + vdd2-supply =3D <&usb1v2_supply>; + }; + + hub_3_0: hub@2 { + compatible =3D "usb424,5744"; + reg =3D <2>; + peer-hub =3D <&hub_2_0>; + i2c-bus =3D <&usbhub>; + vdd-supply =3D <&system3v3_supply>; + vdd2-supply =3D <&usb1v2_supply>; + }; }; --=20 2.45.1