[PATCH 2/5] realtek: Add Lexra bus clock

Sander Vanheule sander at svanheule.net
Thu Nov 4 07:55:41 PDT 2021


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 <sander at svanheule.net>
---
 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




More information about the openwrt-devel mailing list