devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mips: bmips: bcm6358/6368: define required brcm,bmips-cbr-reg
@ 2024-10-01 15:23 Christian Marangi
  2024-10-04 17:11 ` Florian Fainelli
  2024-10-30 11:18 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Marangi @ 2024-10-01 15:23 UTC (permalink / raw)
  To: Florian Fainelli, Broadcom internal kernel review list,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Thomas Bogendoerfer, linux-mips, devicetree, linux-kernel
  Cc: Christian Marangi, kernel test robot

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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409251520.pE12GzHd-lkp@intel.com/
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-30 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-01 15:23 [PATCH] mips: bmips: bcm6358/6368: define required brcm,bmips-cbr-reg Christian Marangi
2024-10-04 17:11 ` Florian Fainelli
2024-10-30 11:18 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).