[PATCH] arm64: zynqmp: Do not expose usbhub nodes

Michal Simek michal.simek at amd.com
Wed Nov 15 15:10:27 CET 2023



On 11/6/23 16:55, Michal Simek wrote:
> 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 at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-sck-kd-g-revA.dtso | 3 ++-
>   arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 3 ++-
>   arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 3 ++-
>   arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 2 ++
>   arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 3 ++-
>   5 files changed, 10 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
> index 5a5c1efd6b96..8d0ddecdc14c 100644
> --- a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
> @@ -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 {
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> index 30a0230d4767..95b1dc5aa571 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> @@ -139,7 +139,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 { /* u43 */
>   		i2c-bus = <&usbhub_i2c0>;
>   		compatible = "microchip,usb5744";
> @@ -150,6 +150,7 @@
>   		compatible = "microchip,usb2244";
>   		reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
>   	};
> +#endif
>   };
>   
>   &dwc3_0 {
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> index 8f4c52d6d643..e2387a2abb8f 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> @@ -139,7 +139,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 { /* u43 */
>   		i2c-bus = <&usbhub_i2c0>;
>   		compatible = "microchip,usb5744";
> @@ -150,6 +150,7 @@
>   		compatible = "microchip,usb2244";
>   		reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
>   	};
> +#endif
>   };
>   
>   &dwc3_0 {
> diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
> index c4f1da92186f..f43c159cdca9 100644
> --- a/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
> @@ -131,10 +131,12 @@
>   	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 {
> diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> index 6c5e0e566061..3643569cc7c8 100644
> --- a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> @@ -113,13 +113,14 @@
>   	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 {

Applied.
M


More information about the U-Boot mailing list