dts: ipq9574-rdp433-u-boot: add override dtsi
authorVaradarajan Narayanan <quic_varada@quicinc.com>
Wed, 26 Feb 2025 06:45:00 +0000 (12:15 +0530)
committerCaleb Connolly <caleb.connolly@linaro.org>
Mon, 17 Mar 2025 13:38:16 +0000 (13:38 +0000)
Add initial support for the IPQ9574 MMC based RDP platforms.
Define memory layout statically.

Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Link: https://lore.kernel.org/r/20250226064505.1178054-3-quic_varada@quicinc.com
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/dts/ipq9574-rdp433-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/ipq9574-rdp433-u-boot.dtsi b/arch/arm/dts/ipq9574-rdp433-u-boot.dtsi
new file mode 100644 (file)
index 0000000..390e233
--- /dev/null
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2025, Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/ {
+       /* Will be removed when SMEM parsing is updated */
+       memory@40000000 {
+               device_type = "memory";
+               reg = <0x0 0x40000000 0x0 0x40000000>,
+                     <0x0 0x4a500000 0x0 0x00100000>;
+       };
+};
+
+&sdhc_1 {
+       sdhci-caps-mask = <0x0 0x04000000>;
+       sdhci-caps = <0x0 0x04000000>;  /* SDHCI_CAN_VDD_180 */
+
+       /*
+        * This reset is needed to clear out the settings done by
+        * previous boot loader. Without this the SDHCI_RESET_ALL
+        * reset done sdhci_init() times out.
+        */
+       resets = <&gcc GCC_SDCC_BCR>;
+};