mpc85xx: fix incorrect CPU node / properties
authorDavid Bauer <mail@david-bauer.net>
Sat, 1 Apr 2023 22:45:31 +0000 (00:45 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 8 Apr 2023 12:41:01 +0000 (14:41 +0200)
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@david-bauer.net>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts

index f28ebf05a1fb530f4c1c1d42592266b25f562040..46561363e93ed099e535bd2a27eadcdda0e826d9 100644 (file)
 
 / {
        cpus {
-               PowerPC,P1010@0 {
+               PowerPC,P1020@0 {
                        bus-frequency = <399999996>;
                        timebase-frequency = <50000000>;
                        clock-frequency = <799999992>;
                        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@1 {
+               PowerPC,P1020@1 {
                        bus-frequency = <399999996>;
                        timebase-frequency = <50000000>;
                        clock-frequency = <799999992>;
                        i-cache-block-size = <0x20>;
                        i-cache-size = <0x8000>;
                        i-cache-sets = <0x80>;
+                       cpu-release-addr = <0x0 0x0ffff2a0>;
+                       status = "disabled";
+                       enable-method = "spin-table";
                };
        };