From: Josua Mayer Date: Sun, 24 May 2026 14:54:47 +0000 (+0200) Subject: arm64: dts: lx2160a-cex7: add usb hub X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=76eeabd859b9fbae843dccd44596c03d82c01e5d;p=thirdparty%2Flinux.git arm64: dts: lx2160a-cex7: add usb hub LX2160A CEX-7 module provides a total of 4 USB ports to the carrier board, one from first usb controller, and 3 from a hub behind the second controller. Both controllers currently have their status set okay in the module's dtsi file. However devices should be disabled by default when incomplete. The first USB controller is only completed by a carrier board featuring a device or USB connector. The second controller hosts a USB hub and should therefore be active. Add description for the USB hub, and enable the first controller only in the carrier board description. Signed-off-by: Josua Mayer Signed-off-by: Frank Li --- diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi index 7df93bb37d13..2c86734c39ab 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi @@ -13,6 +13,13 @@ rtc0 = &com_rtc; }; + v_1_2: regulator-1-2 { + compatible = "regulator-fixed"; + regulator-name = "1v2"; + regulator-max-microvolt = <1200000>; + regulator-min-microvolt = <1200000>; + }; + sb_3v3: regulator-sb3v3 { compatible = "regulator-fixed"; regulator-name = "RT7290"; @@ -181,10 +188,24 @@ pinctrl-0 = <&gpio0_14_12_pins>; }; -&usb0 { - status = "okay"; -}; - &usb1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; + + usb_hub_2_0: hub@1 { + compatible = "usb4b4,6502", "usb4b4,6506"; + reg = <1>; + peer-hub = <&usb_hub_3_0>; + vdd2-supply = <&sb_3v3>; + vdd-supply = <&v_1_2>; + }; + + usb_hub_3_0: hub@2 { + compatible = "usb4b4,6500", "usb4b4,6504"; + reg = <2>; + peer-hub = <&usb_hub_2_0>; + vdd2-supply = <&sb_3v3>; + vdd-supply = <&v_1_2>; + }; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-itx.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-itx.dtsi index 170e5b0034f1..4bc151d721dd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-itx.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-itx.dtsi @@ -142,3 +142,7 @@ &uart1 { status = "okay"; }; + +&usb0 { + status = "okay"; +};