On Fri, Nov 04, 2022 at 06:21:21PM +0100, AngeloGioacchino Del Regno wrote:
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxxx>
This commit adds device trees for MSM8956 and MSM8976 SoCs.
They are *almost* identical, with minor differences, such as
MSM8956 having two A72 cores less.
However, there is a bug in Sony Loire bootloader that requires presence
of all 8 cores in the cpu{} node, so these will not be deleted.
Co-developed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
Co-developed-by: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
Signed-off-by: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxxx>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/msm8956.dtsi | 18 +
arch/arm64/boot/dts/qcom/msm8976.dtsi | 1208 +++++++++++++++++++++++++
2 files changed, 1226 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/msm8956.dtsi
create mode 100644 arch/arm64/boot/dts/qcom/msm8976.dtsi
+ cpu-map {
+ cluster0 {
+ core0 {
+ cpu = <&CPU0>;
+ };
+
+ core1 {
+ cpu = <&CPU1>;
+ };
+
+ core2 {
+ cpu = <&CPU2>;
+ };
+
+ core3 {
+ cpu = <&CPU3>;
+ };
+ };
+
+ cluster1 {
Are you sure that the two clusters should be expressed separately in the
cpu-map?
+ core0 {
+ cpu = <&CPU4>;
+ };
+
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ cont_splash_mem: memory@83000000 {
memory is "reserved", please use specific node names for these regions.
+ reg = <0x0 0x83000000 0x0 0x2800000>;[..]
+ };
+ apcs: syscon@b011000 {
+ compatible = "syscon";
Why not use qcom,msm8976-apcs-kpss-global here?
+ reg = <0x0b011000 0x1000>;[..]
+ };
+
+ imem: imem@8600000 {
+ compatible = "simple-mfd";
sram/qcom,imem.yaml please.