Skip to contentSkip to conversation

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

PATCH Applied Christian Marangi 3 participants 3 messages Oct 1, 2024 – Oct 30, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

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.

---
 arch/mips/boot/dts/brcm/bcm6358.dtsi | 1 +
 arch/mips/boot/dts/brcm/bcm6368.dtsi | 1 +
 2 files changed, 2 insertions(+)
arch/mips/boot/dts/brcm/bcm6358.dtsi +1 -0
index 777c4379ed03..5e487f66c343 100644
@@ -13,6 +13,7 @@ cpus {
 		#size-cells = <0>;
 
 		mips-hpt-frequency = <150000000>;
+		brcm,bmips-cbr-reg = <0xff400000>;
 
 		cpu@0 {
 			compatible = "brcm,bmips4350";
arch/mips/boot/dts/brcm/bcm6368.dtsi +1 -0
index fc15e200877d..087f3295a14b 100644
@@ -13,6 +13,7 @@ cpus {
 		#size-cells = <0>;
 
 		mips-hpt-frequency = <200000000>;
+		brcm,bmips-cbr-reg = <0xff400000>;
 
 		cpu@0 {
 			compatible = "brcm,bmips4350";
Signature · 1 line
2.45.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Christian Marangi

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.

--
Florian

maintainer Applied
#2 lore raw
In reply to Christian Marangi
Quoted 6 lines · Christian Marangi

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.

Quoted 7 lines
---
 arch/mips/boot/dts/brcm/bcm6358.dtsi | 1 +
 arch/mips/boot/dts/brcm/bcm6368.dtsi | 1 +
 2 files changed, 2 insertions(+)

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]