Hi,
I'd like to replace an arm arch timer with sp804 timer in the virtboard.
What would be the easiest way to do that?
I'm thinking to add sp804 node to DT as follows which is from arch/arm/boot/dts/vexpress-v2m.dtsi.
v2m_timer01: address@hidden {
compatible = "arm,sp804", "arm,primecell";
reg = <0x11000 0x1000>;
interrupts = <2>;
clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&smbclk>;
clock-names = "timclken1", "timclken2", "apb_pclk";
};
The values of reg and interrupts will be replaced properly.
About the clock property, should I also add the original clock providers such as sp810 and in turn 32k, 1M and smb clocks?
Or canI just use apb-pclk, which is an existing clock provider in the virtboard, for all three clocks?
Thanks,
Jintack