arm64: zynqmp: Do not expose usbhub nodes
authorMichal Simek <michal.simek@amd.com>
Mon, 6 Nov 2023 15:55:48 +0000 (16:55 +0100)
committerMichal Simek <michal.simek@amd.com>
Wed, 13 Dec 2023 07:58:06 +0000 (08:58 +0100)
Upstream dwc3 U-Boot driver is not able to handle child nodes properly
that's why comment them in DT for now. This patch should be reverted when
dwc3 driver handles it properly.
DT node itself is aligned with dt schema.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/537c91a7ac0843358c4e33aa10d9e035d8e92faf.1699286139.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso

index 5a5c1ef..8d0ddec 100644 (file)
@@ -87,7 +87,7 @@
        phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
        reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
        assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
        usbhub0: usb-hub { /* u36 */
                i2c-bus = <&i2c1>;
                compatible = "microchip,usb5744";
@@ -98,6 +98,7 @@
                compatible = "microchip,usb2244";
                reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
        };
+#endif
 };
 
 &dwc3_0 {
index 30a0230..95b1dc5 100644 (file)
        phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
        reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
        assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
        usbhub0: usb-hub { /* u43 */
                i2c-bus = <&usbhub_i2c0>;
                compatible = "microchip,usb5744";
                compatible = "microchip,usb2244";
                reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
        };
+#endif
 };
 
 &dwc3_0 {
index 8f4c52d..e2387a2 100644 (file)
        phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
        reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
        assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
        usbhub0: usb-hub { /* u43 */
                i2c-bus = <&usbhub_i2c0>;
                compatible = "microchip,usb5744";
                compatible = "microchip,usb2244";
                reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
        };
+#endif
 };
 
 &dwc3_0 {
index c4f1da9..f43c159 100644 (file)
        pinctrl-0 = <&pinctrl_usb0_default>;
        phy-names = "usb3-phy";
        phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
+#if 0
        usbhub: usb5744 { /* u43 */
                compatible = "microchip,usb5744";
                reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
        };
+#endif
 };
 
 &dwc3_0 {
index 6c5e0e5..3643569 100644 (file)
        phy-names = "usb3-phy";
        phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
        assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
        usb5744: usb-hub { /* u43 */
                status = "okay";
                compatible = "microchip,usb5744";
                i2c-bus = <&i2c1>;
                reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
        };
+#endif
 };
 
 &dwc3_0 {