On 03/01/2025 06:14, Varadarajan Narayanan wrote:
Add initial support for the QCS9100 (derived from SA8775p) Ride platforms.
Define memory layout statically.

Signed-off-by: Varadarajan Narayanan <quic_var...@quicinc.com>
---
  arch/arm/dts/sa8775p-ride-r3-u-boot.dtsi | 22 ++++++++++++++++++++++
  arch/arm/dts/sa8775p-ride-u-boot.dtsi    | 11 +++++++++++
  2 files changed, 33 insertions(+)
  create mode 100644 arch/arm/dts/sa8775p-ride-r3-u-boot.dtsi
  create mode 100644 arch/arm/dts/sa8775p-ride-u-boot.dtsi

diff --git a/arch/arm/dts/sa8775p-ride-r3-u-boot.dtsi 
b/arch/arm/dts/sa8775p-ride-r3-u-boot.dtsi
new file mode 100644
index 0000000000..7d01d5f6a1
--- /dev/null
+++ b/arch/arm/dts/sa8775p-ride-r3-u-boot.dtsi
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2025, Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/ {
+       model = "Qualcomm QCS9100 Ride Rev3";
+       compatible = "qcom,qcs9100-ride-r3", "qcom,qcs9100", "qcom,sa8775p";

Why do you redefine those ? they are already defined in the upstream 
sa8775p-ride-r3.dts

+
+       /* Will be removed when bootloader updates later */
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x0 0x80000000 0x0 0x3ee00000>,
+                     <0x0 0xc0000000 0x0 0x04d00000>,
+                     <0xD 0x00000000 0x2 0x54100000>,
+                     <0xA 0x80000000 0x1 0x52d00000>,
+                     <0x9 0x00000000 0x1 0x80000000>,
+                     <0x1 0x00000000 0x2 0xf7500000>,
+                     <0x0 0xd0000000 0x0 0x00100000>,
+                     <0x0 0xd3500000 0x0 0x07c00000>;
+       };

Ack, this should be removed once the SMEM code is merged.

+};
diff --git a/arch/arm/dts/sa8775p-ride-u-boot.dtsi 
b/arch/arm/dts/sa8775p-ride-u-boot.dtsi
new file mode 100644
index 0000000000..979462dfec
--- /dev/null
+++ b/arch/arm/dts/sa8775p-ride-u-boot.dtsi
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2025, Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+/dts-v1/;
+
+#include "sa8775p-ride.dts"

Why ? this file will be automatically appended to sa8775p-ride.dts, no need to 
import is before.

+/ {
+       model = "Qualcomm QCS9100 Ride";
+       compatible = "qcom,qcs9100-ride", "qcom,qcs9100", "qcom,sa8775p";

Same, unneeded.

In fact, this file is completely unneeded.

+};

Neil

Reply via email to