Add U-Boot specific device tree overrides for IPQ9650 RDP488 board.
This includes memory configuration and SDHCI reset configuration.

Changes in v2:
- Fix SPDX license identifier to GPL-2.0-only (reported by Ferass)

Signed-off-by: Badhrinath S <[email protected]>
---
 arch/arm/dts/ipq9650-rdp488-u-boot.dtsi | 29 +++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 arch/arm/dts/ipq9650-rdp488-u-boot.dtsi

diff --git a/arch/arm/dts/ipq9650-rdp488-u-boot.dtsi 
b/arch/arm/dts/ipq9650-rdp488-u-boot.dtsi
new file mode 100644
index 000000000000..4733fc7ccd08
--- /dev/null
+++ b/arch/arm/dts/ipq9650-rdp488-u-boot.dtsi
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * IPQ9650 RDP488 board device tree source
+ *
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/ {
+       /* 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 */
+
+       /*
+        * 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";
+};
-- 
2.34.1

Reply via email to