[PATCH] mips: bmips: bcm6358/6368: define required brcm,bmips-cbr-reg

From: Christian Marangi
Date: Tue Oct 01 2024 - 11:25:12 EST


For the bcm6358/6368 SoC the brcm,bmips-cbr-reg due to bootloader
misconfiguration or HW bug from running the system from TP1.

A workaround is now present to handle broken system that suffer from
this bug hence add the now required property.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202409251520.pE12GzHd-lkp@xxxxxxxxx/
Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
---
arch/mips/boot/dts/brcm/bcm6358.dtsi | 1 +
arch/mips/boot/dts/brcm/bcm6368.dtsi | 1 +
2 files changed, 2 insertions(+)

diff --git a/arch/mips/boot/dts/brcm/bcm6358.dtsi b/arch/mips/boot/dts/brcm/bcm6358.dtsi
index 777c4379ed03..5e487f66c343 100644
--- a/arch/mips/boot/dts/brcm/bcm6358.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm6358.dtsi
@@ -13,6 +13,7 @@ cpus {
#size-cells = <0>;

mips-hpt-frequency = <150000000>;
+ brcm,bmips-cbr-reg = <0xff400000>;

cpu@0 {
compatible = "brcm,bmips4350";
diff --git a/arch/mips/boot/dts/brcm/bcm6368.dtsi b/arch/mips/boot/dts/brcm/bcm6368.dtsi
index fc15e200877d..087f3295a14b 100644
--- a/arch/mips/boot/dts/brcm/bcm6368.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm6368.dtsi
@@ -13,6 +13,7 @@ cpus {
#size-cells = <0>;

mips-hpt-frequency = <200000000>;
+ brcm,bmips-cbr-reg = <0xff400000>;

cpu@0 {
compatible = "brcm,bmips4350";
--
2.45.2