Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: qcom: msm8916: Add include for SMP without PSCI on ARM32

Add a special device tree include for MSM8916 on ARM32 that sets up
SMP and cpuidle without PSCI. This is meant for devices with signed
firmware that does not support PSCI and only allows booting ARM32 kernels.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211004204955.21077-14-stephan@gerhold.net

authored by

Stephan Gerhold and committed by
Bjorn Andersson
d468f825 a22f9a76

+62
+62
arch/arm/boot/dts/qcom-msm8916-smp.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + 3 + / { 4 + cpus { 5 + cpu@0 { 6 + enable-method = "qcom,msm8916-smp"; 7 + }; 8 + cpu@1 { 9 + enable-method = "qcom,msm8916-smp"; 10 + }; 11 + cpu@2 { 12 + enable-method = "qcom,msm8916-smp"; 13 + }; 14 + cpu@3 { 15 + enable-method = "qcom,msm8916-smp"; 16 + }; 17 + 18 + idle-states { 19 + /delete-property/ entry-method; 20 + }; 21 + }; 22 + 23 + psci { 24 + status = "disabled"; 25 + }; 26 + }; 27 + 28 + &CPU_SLEEP_0 { 29 + compatible = "qcom,idle-state-spc"; 30 + }; 31 + 32 + &cpu0_acc { 33 + status = "okay"; 34 + }; 35 + 36 + &cpu0_saw { 37 + status = "okay"; 38 + }; 39 + 40 + &cpu1_acc { 41 + status = "okay"; 42 + }; 43 + 44 + &cpu1_saw { 45 + status = "okay"; 46 + }; 47 + 48 + &cpu2_acc { 49 + status = "okay"; 50 + }; 51 + 52 + &cpu2_saw { 53 + status = "okay"; 54 + }; 55 + 56 + &cpu3_acc { 57 + status = "okay"; 58 + }; 59 + 60 + &cpu3_saw { 61 + status = "okay"; 62 + };