[openwrt/openwrt] bmips: fix kernel panic caused by missing CBR address

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 1 10:15:49 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/04c5c1ff70467c4230c427328d77667afb8b9668

commit 04c5c1ff70467c4230c427328d77667afb8b9668
Author: Daniel González Cabanelas <dgcbueu at gmail.com>
AuthorDate: Tue Oct 1 15:45:26 2024 +0200

    bmips: fix kernel panic caused by missing CBR address
    
    The cbr-reg DTS property uses a wrong name causing the RAC kernel
    panic again on BCM6358 BCM6368 boards.
    
    Use the correct cbr-reg name property.
    
    Fixes: 7c9644a7b5 ("bmips: backport upstreamed RAC patches")
    Signed-off-by: Daniel González Cabanelas <dgcbueu at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16561
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/bmips/dts/bcm6358.dtsi | 2 +-
 target/linux/bmips/dts/bcm6368.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/bmips/dts/bcm6358.dtsi b/target/linux/bmips/dts/bcm6358.dtsi
index d5dee7d150..fe14055ef7 100644
--- a/target/linux/bmips/dts/bcm6358.dtsi
+++ b/target/linux/bmips/dts/bcm6358.dtsi
@@ -42,7 +42,7 @@
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		mips-cbr-reg = <0xff400000>;
+		brcm,bmips-cbr-reg = <0xff400000>;
 		mips-hpt-frequency = <150000000>;
 
 		cpu at 0 {
diff --git a/target/linux/bmips/dts/bcm6368.dtsi b/target/linux/bmips/dts/bcm6368.dtsi
index 84300c980a..e50f7a1b0c 100644
--- a/target/linux/bmips/dts/bcm6368.dtsi
+++ b/target/linux/bmips/dts/bcm6368.dtsi
@@ -43,7 +43,7 @@
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		mips-cbr-reg = <0xff400000>;
+		brcm,bmips-cbr-reg = <0xff400000>;
 		mips-hpt-frequency = <200000000>;
 
 		cpu at 0 {




More information about the lede-commits mailing list