Skip to contentSkip to conversation

ARM: dts: k3-j721s2: Correct timer frequency

PATCH In review Vignesh Raghavendra 2 participants 4 messages Mar 7, 2022 – Apr 11, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: k3-j721s2: Correct timer frequency

MCU Timer0 runs at 250MHz, and the clock-frequency defined in DT appears incorrect.

Without this delays in R5 SPL are 10x off.

---
 arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi +1 -1
index 749bc717f3..a17e61eccf 100644
@@ -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;
 	};
 
Signature · 1 line
2.35.1
#1 lore raw
Quoted 15 lines · Vignesh Raghavendra

MCU Timer0 runs at 250MHz, and the clock-frequency defined in DT appears incorrect.

Without this delays in R5 SPL are 10x off.

---
 arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi +0 -0
index 749bc717f3..a17e61eccf 100644

arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi line 46

Quoted 8 lines
arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi +1 -1
@@ -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...

#2 lore raw
Quoted 13 lines · Vignesh Raghavendra
Quoted 10 lines · Vignesh Raghavendra

MCU Timer0 runs at 250MHz, and the clock-frequency defined in DT appears incorrect.

Without this delays in R5 SPL are 10x off.

---
 arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi line 45

Quoted 12 lines
arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi +1 -1
index 749bc717f3..a17e61eccf 100644
@@ -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.

Signature · 1 line
Tom