diff mbox series

ARM: dts: k3-j721s2: Correct timer frequency

Message ID 20220307092551.670963-1-vigneshr@ti.com
State Accepted
Commit 7262ff7e564c8b7d81f940af242c20f832ee7511
Delegated to: Tom Rini
Headers show
Series ARM: dts: k3-j721s2: Correct timer frequency | expand

Commit Message

Raghavendra, Vignesh March 7, 2022, 9:25 a.m. UTC
MCU Timer0 runs at 250MHz, and the clock-frequency defined in DT appears
incorrect.

Without this delays in R5 SPL are 10x off.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Raghavendra, Vignesh April 9, 2022, 4:16 p.m. UTC | #1
On 07/03/22 2:55 pm, Vignesh Raghavendra wrote:
> MCU Timer0 runs at 250MHz, and the clock-frequency defined in DT appears
> incorrect.
> 
> Without this delays in R5 SPL are 10x off.
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> ---
>  arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
> index 749bc717f3..a17e61eccf 100644
> --- a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
> +++ b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
> @@ -40,7 +40,7 @@
>  		compatible = "ti,omap5430-timer";
>  		reg = <0x0 0x40400000 0x0 0x80>;
>  		ti,timer-alwon;
> -		clock-frequency = <25000000>;
> +		clock-frequency = <250000000>;
>  		u-boot,dm-spl;
>  	};
>  


Gentle ping...
Tom Rini April 9, 2022, 7:50 p.m. UTC | #2
On Sat, Apr 09, 2022 at 09:46:58PM +0530, Vignesh Raghavendra wrote:
> 
> 
> On 07/03/22 2:55 pm, Vignesh Raghavendra wrote:
> > MCU Timer0 runs at 250MHz, and the clock-frequency defined in DT appears
> > incorrect.
> > 
> > Without this delays in R5 SPL are 10x off.
> > 
> > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> > ---
> >  arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
> > index 749bc717f3..a17e61eccf 100644
> > --- a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
> > +++ b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
> > @@ -40,7 +40,7 @@
> >  		compatible = "ti,omap5430-timer";
> >  		reg = <0x0 0x40400000 0x0 0x80>;
> >  		ti,timer-alwon;
> > -		clock-frequency = <25000000>;
> > +		clock-frequency = <250000000>;
> >  		u-boot,dm-spl;
> >  	};
> 
> 
> Gentle ping...

Thanks for the reminder, was mislabled in patchwork.
Tom Rini April 11, 2022, 8:14 p.m. UTC | #3
On Mon, Mar 07, 2022 at 02:55:51PM +0530, Vignesh Raghavendra wrote:

> MCU Timer0 runs at 250MHz, and the clock-frequency defined in DT appears
> incorrect.
> 
> Without this delays in R5 SPL are 10x off.
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
index 749bc717f3..a17e61eccf 100644
--- a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
@@ -40,7 +40,7 @@ 
 		compatible = "ti,omap5430-timer";
 		reg = <0x0 0x40400000 0x0 0x80>;
 		ti,timer-alwon;
-		clock-frequency = <25000000>;
+		clock-frequency = <250000000>;
 		u-boot,dm-spl;
 	};