The Realtek Otto WDT driver requires a bus clock source definition. Add
a fixed-clock node to provide the 200MHz clock.

Signed-off-by: Sander Vanheule <[email protected]>
---
 target/linux/realtek/dts-5.10/rtl838x.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi 
b/target/linux/realtek/dts-5.10/rtl838x.dtsi
index a33b6d899e2a..9aa646ed968e 100644
--- a/target/linux/realtek/dts-5.10/rtl838x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi
@@ -68,6 +68,12 @@
                bootargs = "console=ttyS0,115200";
        };
 
+       lx_clk: lx_clk {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <200000000>;
+       };
+
        cpuintc: cpuintc {
                compatible = "mti,cpu-interrupt-controller";
                #address-cells = <0>;
-- 
2.31.1


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to