482fd1cc98d8033fe463c99aafa96a0d8f095ba0
[openwrt/staging/pepe2k.git] /
1 From 8bd582ae9a71d7f14c4e0c735b2eacaf7516d626 Mon Sep 17 00:00:00 2001
2 From: William Zhang <william.zhang@broadcom.com>
3 Date: Fri, 8 Jul 2022 11:25:07 -0700
4 Subject: [PATCH] arm64: dts: broadcom: bcm4908: Fix cpu node for smp boot
5
6 Add spin-table enable-method and cpu-release-addr properties for
7 cpu0 node. This is required by all ARMv8 SoC. Otherwise some
8 bootloader like u-boot can not update cpu-release-addr and linux
9 fails to start up secondary cpus.
10
11 Fixes: 2961f69f151c ("arm64: dts: broadcom: add BCM4908 and Asus GT-AC5300 early DTS files")
12 Signed-off-by: William Zhang <william.zhang@broadcom.com>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 2 ++
16 1 file changed, 2 insertions(+)
17
18 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
19 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
20 @@ -29,6 +29,8 @@
21 device_type = "cpu";
22 compatible = "brcm,brahma-b53";
23 reg = <0x0>;
24 + enable-method = "spin-table";
25 + cpu-release-addr = <0x0 0xfff8>;
26 next-level-cache = <&l2>;
27 };
28