arch: arm64: dts: meson: a1: add assigned-clocks for usb node
authorAlexey Romanov <avromanov@salutedevices.com>
Wed, 24 Jan 2024 13:06:23 +0000 (16:06 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 13 Feb 2024 08:39:56 +0000 (09:39 +0100)
To ensure proper functionality of USB, it is necessary to use
the rate of 64000000 for CLKID_USB_BUS. For instance, adb may
not function correctly without this setting. This information
has been derived from the vendor SDK.

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240124130623.3471236-1-avromanov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/meson-a1.dtsi

index 648e7f49424f1037f68933dd2c8921cc9363614f..c03e207ea6c5d64abf765c42d20651633c234697 100644 (file)
                                 <&clkc_periphs CLKID_USB_BUS>,
                                 <&clkc_periphs CLKID_USB_CTRL_IN>;
                        clock-names = "usb_ctrl", "usb_bus", "xtal_usb_ctrl";
+                       assigned-clocks = <&clkc_periphs CLKID_USB_BUS>;
+                       assigned-clock-rates = <64000000>;
                        resets = <&reset RESET_USBCTRL>;
                        reset-name = "usb_ctrl";