[PATCH v4 1/9] ARM: dts: sti: Add fixed clock for ehci and ohci nodes in stih410-b2260.dtsi

Patrick DELAUNAY patrick.delaunay at foss.st.com
Thu Jan 30 13:56:06 CET 2025


Hi,


On 1/23/25 15:47, Patrice Chotard wrote:
> On STi platforms, all clocks are enabled by BOOTROM, so CONFIG_CLK is
> not set as no clock driver for STI exists.
>
> As ehci-generic and ohci-generic drivers are used on platforms where
> CONFIG_CLK is set, clk_get_bulk() returns-ENOSYS in case of
> stih410-b2260.
> To avoid this error, add fixed clocks for ehci and ohci nodes for
> stih410-b2260 to fix the following errors:
>
> Bus usb at 9a03c00: ohci_generic usb at 9a03c00: Failed to get clocks (ret=-19)
> Port not available.
> Bus usb at 9a03e00: ehci_generic usb at 9a03e00: Failed to get clocks (ret=-19)
> Port not available.
> Bus usb at 9a83c00: ohci_generic usb at 9a83c00: Failed to get clocks (ret=-19)
> Port not available.
> Bus usb at 9a83e00: ehci_generic usb at 9a83e00: Failed to get clocks (ret=-19)
> Port not available.
> scanning bus dwc3 at 9900000 for devices... 1 USB Device(s) found
>         scanning usb for storage devices... 0 Storage Device(s) found
>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Marek Vasut <marex at denx.de>
> ---
>
> (no changes since v1)
>
>   arch/arm/dts/stih410-b2260-u-boot.dtsi | 10 ++++++++++
>   1 file changed, 10 insertions(+)
>


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick




More information about the U-Boot mailing list