dt-bindings: clock: rk3036: add SCLK_USB480M clock-id
authorHeiko Stuebner <heiko@sntech.de>
Sat, 3 May 2025 20:25:29 +0000 (22:25 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 8 May 2025 18:29:02 +0000 (20:29 +0200)
Contrary to how it is implemented right now, the usb480m clock is a
controllable mux that can switch between the 24MHz oscillator and the
clock output of the usb2phy.

Add the needed clock-id to allow setting this mux from DT.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250503202532.992033-2-heiko@sntech.de
include/dt-bindings/clock/rk3036-cru.h

index 99cc617..5cbc0e2 100644 (file)
@@ -47,6 +47,7 @@
 #define SCLK_MACREF            152
 #define SCLK_MACPLL            153
 #define SCLK_SFC               160
+#define SCLK_USB480M           161
 
 /* aclk gates */
 #define ACLK_DMAC2             194