Yu Chien Peter Lin
ef9f02e7fb
lib: utils/timer: Add Andes fdt timer support
Since we can get the PLMT base address and timer frequency from
device tree, move plmt timer device to fdt timer framework.
dts example (Quad-core AX45MP):
cpus {
...
timebase-frequency = <0x3938700>;
...
}
soc {
...
plmt0@e6000000 {
compatible = "andestech,plmt0";
reg = <0x00 0xe6000000 0x00 0x100000>;
interrupts-extended = <&cpu0_intc 0x07
&cpu1_intc 0x07
&cpu2_intc 0x07
&cpu3_intc 0x07>;
};
...
}
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
2022-10-23 10:26:39 +05:30
..
2022-10-23 10:26:39 +05:30
2022-05-13 09:27:12 +05:30
2021-11-12 10:19:45 +05:30
2022-08-08 09:33:45 +05:30
2022-08-08 09:33:52 +05:30
2022-08-08 09:33:26 +05:30
2022-09-13 18:24:42 +05:30
2022-01-11 18:17:49 +05:30
2022-10-23 10:26:39 +05:30