[openwrt/openwrt] mpc85xx: fix incorrect CPU node / properties

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 8 05:47:20 PDT 2023


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/16e1bf509c43093b42f0a430f2cd0ccc8208de71

commit 16e1bf509c43093b42f0a430f2cd0ccc8208de71
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sun Apr 2 00:45:31 2023 +0200

    mpc85xx: fix incorrect CPU node / properties
    
    This adds properties normally filled by U-Boot. Also it fixes the node
    name, which is incorrectly referring to a P1010 core.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 .../linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts   | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
index f28ebf05a1..46561363e9 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
@@ -255,7 +255,7 @@
 
 / {
 	cpus {
-		PowerPC,P1010 at 0 {
+		PowerPC,P1020 at 0 {
 			bus-frequency = <399999996>;
 			timebase-frequency = <50000000>;
 			clock-frequency = <799999992>;
@@ -265,9 +265,12 @@
 			i-cache-block-size = <0x20>;
 			i-cache-size = <0x8000>;
 			i-cache-sets = <0x80>;
+			cpu-release-addr = <0x0 0x0ffff280>;
+			status = "okay";
+			enable-method = "spin-table";
 		};
 
-		PowerPC,P1010 at 1 {
+		PowerPC,P1020 at 1 {
 			bus-frequency = <399999996>;
 			timebase-frequency = <50000000>;
 			clock-frequency = <799999992>;
@@ -277,6 +280,9 @@
 			i-cache-block-size = <0x20>;
 			i-cache-size = <0x8000>;
 			i-cache-sets = <0x80>;
+			cpu-release-addr = <0x0 0x0ffff2a0>;
+			status = "disabled";
+			enable-method = "spin-table";
 		};
 	};
 




More information about the lede-commits mailing list