From ec675fb7446f25e1dbbdbf72d525ba7f771b0cb1 Mon Sep 17 00:00:00 2001 From: Markus Stockhausen Date: Mon, 3 Oct 2022 14:49:35 +0200 Subject: realtek: timer driver: activate for RTL838X devices Use the new timer driver for the RTL838X devices. Remove the no longer needed modules. Signed-off-by: Markus Stockhausen [correct timer compatible order, update selected symbols] Signed-off-by: Sander Vanheule --- target/linux/realtek/dts-5.10/rtl838x.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target/linux/realtek/dts-5.10/rtl838x.dtsi') diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi index 256efb1c05..64e13e1ff3 100644 --- a/target/linux/realtek/dts-5.10/rtl838x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi @@ -152,6 +152,16 @@ #size-cells = <0>; }; + timer0: timer@3100 { + compatible = "realtek,rtl8380-timer", "realtek,otto-timer"; + reg = <0x3100 0x10>, <0x3110 0x10>, <0x3120 0x10>, + <0x3130 0x10>, <0x3140 0x10>; + + interrupt-parent = <&intc>; + interrupts = <29 4>, <28 4>, <17 4>, <16 4>, <15 4>; + clocks = <&ccu CLK_LXB>; + }; + uart0: uart@2000 { compatible = "ns16550a"; reg = <0x2000 0x100>; -- cgit v1.2.3