realtek: timer driver: activate for RTL838X devices
[openwrt/staging/jow.git] / target / linux / realtek / dts-5.10 / rtl838x.dtsi
index 256efb1c059b7913598fe90ea8df71ddbc3603c2..64e13e1ff37af88a294d5e85a378a2a785965ca6 100644 (file)
                        #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>;