qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-arm] Adding sp804 timer to the virtboard


From: Jintack Lim
Subject: [Qemu-arm] Adding sp804 timer to the virtboard
Date: Wed, 3 Feb 2016 15:57:56 -0500


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]