[PATCH 4.4 019/312] MIPS: BMIPS: Adjust mips-hpt-frequency for BCM7435

From: Greg Kroah-Hartman
Date: Fri May 08 2020 - 09:24:24 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>

commit 80fa40acaa1dad5a0a9c15ed2e5d2e72461843f5 upstream.

The CPU actually runs at 1405Mhz which gives us a 175625000 Hz MIPS timer
frequency (CPU frequency / 8).

Fixes: e4c7d009654a ("MIPS: BMIPS: Add BCM7435 dtsi")
Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
Cc: john@xxxxxxxxxxx
Cc: cernekee@xxxxxxxxx
Cc: jaedon.shin@xxxxxxxxx
Patchwork: https://patchwork.linux-mips.org/patch/13132/
Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
arch/mips/boot/dts/brcm/bcm7435.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/mips/boot/dts/brcm/bcm7435.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7435.dtsi
@@ -7,7 +7,7 @@
#address-cells = <1>;
#size-cells = <0>;

- mips-hpt-frequency = <163125000>;
+ mips-hpt-frequency = <175625000>;

cpu@0 {
compatible = "brcm,bmips5200";