[PATCH 2/2] arm64: dts: ti: k3-am65: Add general purpose timers for am65

Tony Lindgren tony at atomide.com
Mon Aug 15 05:59:48 PDT 2022


Hi,

* Nishanth Menon <nm at ti.com> [220706 23:16]:
> On 13:47-20220407, Tony Lindgren wrote:
> > diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> > --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> > +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> > @@ -271,6 +271,114 @@ main_spi4: spi at 2140000 {
> >  		#size-cells = <0>;
> >  	};
> >  
> > +	main_timer0: timer at 2400000 {
> > +		compatible = "ti,am6-timer";
> > +		reg = <0x00 0x2400000 0x00 0x400>;
> > +		interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
> > +		clocks = <&k3_clks 23 12>;
> > +		clock-names = "fck";
> > +		ti,timer-pwm;
> > +	};
> 
> Tony,
> Lets hold this back one more window.. ti,am6-timer should come
> in the next rc1, but I still dont see this yet in next-20220706, So, i am
> going to have to skip this window at least.

I'm seeing the clock being too fast although debugfs reports the timer
source clock at 32k. Not quite sure what is wrong, maybe the clock index
should be 1 instead of 12 here. Best to wait with the dts patches until
the clock issue has bee sorted out.

Regards,

Tony



More information about the linux-arm-kernel mailing list