arm64: dts: mt8192: Fix CPU map for single-cluster SoC
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 26 Jan 2023 10:35:22 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:42 +0000 (09:32 +0100)
[ Upstream commit 160ce54d635455ffb5e9b42c5ba9cb9aaa98cdb2 ]

MT8192 features the ARM DynamIQ technology and combines both four
Cortex-A76 (big) and four Cortex-A55 (LITTLE) CPUs in one cluster:
fix the CPU map to reflect that.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: 48489980e27e ("arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile")
Link: https://lore.kernel.org/r/20230126103526.417039-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt8192.dtsi

index 7da2219..ef1294d 100644 (file)
                                core3 {
                                        cpu = <&cpu3>;
                                };
-                       };
-
-                       cluster1 {
-                               core0 {
+                               core4 {
                                        cpu = <&cpu4>;
                                };
-                               core1 {
+                               core5 {
                                        cpu = <&cpu5>;
                                };
-                               core2 {
+                               core6 {
                                        cpu = <&cpu6>;
                                };
-                               core3 {
+                               core7 {
                                        cpu = <&cpu7>;
                                };
                        };