arm64: dts: qcom: sc7280: Fix PMU nodes for Cortex A55 and A78
authorDanila Tikhonov <danila@jiaxyga.com>
Sun, 18 Aug 2024 19:29:05 +0000 (22:29 +0300)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Oct 2024 03:06:55 +0000 (22:06 -0500)
The SC7280, SM7325, and QCM6490 platforms feature an 8-core setup
consisting of:
- 1x Kryo 670 Prime (Cortex-A78) / Kryo 670 Gold Plus (Cortex-A78)
- 3x Kryo 670 Gold (Cortex-A78)
- 4x Kryo 670 Silver (Cortex-A55)
(The CPU cores in the SC7280 are simply called Kryo, but are
nevertheless based on the same Cortex A78 and A55).

Use the correct compatibility.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20240818192905.120477-1-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi

index fbdc9c19242c77b05bfcdbc71d1b30a3ebb58093..d0706224d1ec572e99e92d5c8289e71e197a1302 100644 (file)
                };
        };
 
-       pmu {
-               compatible = "arm,armv8-pmuv3";
+       pmu-a55 {
+               compatible = "arm,cortex-a55-pmu";
+               interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
+       };
+
+       pmu-a78 {
+               compatible = "arm,cortex-a78-pmu";
                interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
        };