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

MT8186 features the ARM DynamIQ technology and combines both two
Cortex-A76 (big) and six 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: 2e78620b1350 ("arm64: dts: Add MediaTek MT8186 dts and evaluation board and Makefile")
Link: https://lore.kernel.org/r/20230126103526.417039-4-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/mt8186.dtsi

index fb32e3e..48e15c8 100644 (file)
                                core5 {
                                        cpu = <&cpu5>;
                                };
-                       };
 
-                       cluster1 {
-                               core0 {
+                               core6 {
                                        cpu = <&cpu6>;
                                };
 
-                               core1 {
+                               core7 {
                                        cpu = <&cpu7>;
                                };
                        };