dts: ipq5424-rdp466-u-boot: add override dtsi
authorVaradarajan Narayanan <quic_varada@quicinc.com>
Tue, 4 Mar 2025 11:01:01 +0000 (16:31 +0530)
committerCasey Connolly <casey.connolly@linaro.org>
Mon, 23 Jun 2025 16:50:21 +0000 (18:50 +0200)
Add initial support for the IPQ5424 MMC based RDP platforms.
Define memory layout statically.

Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250304110105.2762124-3-quic_varada@quicinc.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
arch/arm/dts/ipq5424-rdp466-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/ipq5424-rdp466-u-boot.dtsi b/arch/arm/dts/ipq5424-rdp466-u-boot.dtsi
new file mode 100644 (file)
index 0000000..9e4af4d
--- /dev/null
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * IPQ5424 RDP466 board device tree source
+ *
+ * Copyright (c) 2025 The Linux Foundation. All rights reserved.
+ */
+
+/ {
+       /* Will be removed when SMEM parsing is updated */
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x0 0x80000000 0x0 0x20000000>;
+       };
+
+};
+
+       &sdhc {
+               sdhci-caps-mask = <0x0 0x04000000>;
+               sdhci-caps = <0x0 0x04000000>;  /* SDHCI_CAN_VDD_180 */
+               mmc-ddr-1_8v;
+               mmc-hs200-1_8v;
+               max-frequency = <192000000>;
+               bus-width = <4>;
+               pinctrl-0 = <&sdc_default_state>;
+               pinctrl-names = "default";
+               non-removable;
+
+               /*
+                * 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>;
+
+               status = "okay";
+       };
+