diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2022-09-14 14:50:38 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2023-01-28 17:30:26 +0100 |
commit | 68e28cdc47ac805faf2dda58127e848f8ef6efca (patch) | |
tree | f715dfbaa5657760007c45b5b2e38eea0d30326d /target/linux/realtek/dts-5.15 | |
parent | 38cba61bff52f22affa66cc764dab2ac158ab7d3 (diff) | |
download | upstream-68e28cdc47ac805faf2dda58127e848f8ef6efca.tar.gz upstream-68e28cdc47ac805faf2dda58127e848f8ef6efca.tar.bz2 upstream-68e28cdc47ac805faf2dda58127e848f8ef6efca.zip |
realtek: timer: Activate for RTL930x devices
Use the new timer driver for the RTL930x devices.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
[remove old clock provider, select MIPS_EXTERNAL_TIMER and refresh
kernel config]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'target/linux/realtek/dts-5.15')
-rw-r--r-- | target/linux/realtek/dts-5.15/rtl930x.dtsi | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/target/linux/realtek/dts-5.15/rtl930x.dtsi b/target/linux/realtek/dts-5.15/rtl930x.dtsi index c2a992a174..fdec626c9a 100644 --- a/target/linux/realtek/dts-5.15/rtl930x.dtsi +++ b/target/linux/realtek/dts-5.15/rtl930x.dtsi @@ -57,14 +57,6 @@ interrupts = <2>, <3>, <4>, <5>, <6>, <7>; }; - rtl9300clock: rtl9300clock@3200 { - compatible = "realtek,rtl9300clock"; - reg = <0x3200 0x10>, <0x3210 0x10>; - - interrupt-parent = <&intc>; - interrupts = <7 5>, <8 5>; - }; - spi0: spi@1200 { compatible = "realtek,rtl8380-spi"; reg = <0x1200 0x100>; @@ -73,6 +65,16 @@ #size-cells = <0>; }; + timer0: timer@3200 { + compatible = "realtek,rtl930x-timer", "realtek,otto-timer"; + reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>, + <0x3230 0x10>, <0x3240 0x10>; + + interrupt-parent = <&intc>; + interrupts = <7 4>, <8 4>, <9 4>, <10 4>, <11 4>; + clocks = <&lx_clk>; + }; + uart0: uart@2000 { compatible = "ns16550a"; reg = <0x2000 0x100>; |