]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: lx2160a-cex7: add usb hub
authorJosua Mayer <josua@solid-run.com>
Sun, 24 May 2026 14:54:47 +0000 (16:54 +0200)
committerFrank Li <Frank.Li@nxp.com>
Fri, 5 Jun 2026 17:20:13 +0000 (13:20 -0400)
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 <josua@solid-run.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-itx.dtsi

index 7df93bb37d13cde94da7838764e9edeeda2d42eb..2c86734c39ab203319bacdc910737421c4d8b615 100644 (file)
                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";
        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>;
+       };
 };
index 170e5b0034f194fd1bc4cc61379ee3cdfc6fdec1..4bc151d721ddf5a366dc3d50d3da00ca44578efa 100644 (file)
 &uart1 {
        status = "okay";
 };
+
+&usb0 {
+       status = "okay";
+};