driver: timer: Add timer driver initial version of RTS5912.
Add timer driver for Realtek RTS5912. Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
This commit is contained in:
parent
471cc3512d
commit
cfb2074a5e
8 changed files with 363 additions and 0 deletions
|
@ -73,6 +73,25 @@
|
|||
clock-names = "rc25m", "pll";
|
||||
};
|
||||
|
||||
slwtmr0: slwtmr0@4000c200 {
|
||||
compatible = "realtek,rts5912-slwtimer";
|
||||
reg = <0x4000c200 0x10>;
|
||||
interrupts = <202 0>;
|
||||
clocks = <&sccon RTS5912_SCCON_PERIPH_GRP1 PERIPH_GRP1_SLWTMR0_CLKPWR>;
|
||||
clock-names = "slwtmr";
|
||||
max-value = <0xFFFFFFFF>;
|
||||
clock-frequency = <1000000>;
|
||||
prescaler = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
rtmr: rtmr@4000c500 {
|
||||
compatible = "realtek,rts5912-rtmr";
|
||||
reg = <0x4000c500 0x10>;
|
||||
interrupts = <204 0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@40090000 {
|
||||
compatible = "realtek,rts5912-pinctrl";
|
||||
#address-cells = <1>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue