Tool/software: Linux
Hi,
SDK version is 4.01.00.06 and the SOC is AM5718.
Our system clock choice the 20MHz crystal..
I want to use 20MHz for the timer.
I try timer2~timer16. All clock are 32768Hz. (timer1 already used in the kernel init.)
For the Device Tree,
timer2: timer@48032000 {
compatible = "ti,omap5430-timer";
reg = <0x48032000 0x80>;
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "timer2";
ti,timer-alwon;
};
timer2_gfclk_mux: timer2_gfclk_mux@1738 {
#clock-cells = <0>;
compatible = "ti,mux-clock";
clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
ti,bit-shift = <24>;
reg = <0x1738>;
};
Can you give me a example How to use 20MHz(OMAP_TIMER_SRC_SYS_CLK)?
Thanks.
S.K.