]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sm8350: Use proper CPU compatibles
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Thu, 6 Jul 2023 16:35:37 +0000 (18:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:11 +0000 (09:48 +0200)
[ Upstream commit 4390730cc12af25f7c997f477795f5f4200149c0 ]

The Kryo names (once again) turned out to be fake. The CPUs report:

0x412fd050 (CA55 r2p0) (0 - 3)
0x411fd410 (CA78 r1p1) (4 - 6)
0x411fd440 (CX1  r1p1) (7)

Use the compatibles that reflect that.

Fixes: b7e8f433a673 ("arm64: dts: qcom: Add basic devicetree support for SM8350 SoC")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230706-topic-sm8350-cpu-compat-v1-1-f8d6a1869781@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi

index 1aede15ec1a5bc478d21a11b40552e2fbb0e3a12..f375d960ba85c3398a4b5c7324d973b5955d8723 100644 (file)
@@ -48,7 +48,7 @@
 
                CPU0: cpu@0 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-a55";
                        reg = <0x0 0x0>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
@@ -72,7 +72,7 @@
 
                CPU1: cpu@100 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-a55";
                        reg = <0x0 0x100>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
@@ -91,7 +91,7 @@
 
                CPU2: cpu@200 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-a55";
                        reg = <0x0 0x200>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
 
                CPU3: cpu@300 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-a55";
                        reg = <0x0 0x300>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
 
                CPU4: cpu@400 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-a78";
                        reg = <0x0 0x400>;
                        clocks = <&cpufreq_hw 1>;
                        enable-method = "psci";
 
                CPU5: cpu@500 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-a78";
                        reg = <0x0 0x500>;
                        clocks = <&cpufreq_hw 1>;
                        enable-method = "psci";
 
                CPU6: cpu@600 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-a78";
                        reg = <0x0 0x600>;
                        clocks = <&cpufreq_hw 1>;
                        enable-method = "psci";
 
                CPU7: cpu@700 {
                        device_type = "cpu";
-                       compatible = "qcom,kryo685";
+                       compatible = "arm,cortex-x1";
                        reg = <0x0 0x700>;
                        clocks = <&cpufreq_hw 2>;
                        enable-method = "psci";