Skip to contentSkip to conversation

arm: dts: n5x: User interface for DDR self-refresh configuration

PATCH New Jit Loon Lim 1 participant 1 message Nov 22, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: n5x: User interface for DDR self-refresh configuration

From: Tien Fong Chee <[email protected]>

These are interface for users to customize some settings in DDR self-refresh configuration according to their design requirement.

---
 arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi +13 -0
index 6c1d25fa05..f7f594238a 100644
@@ -13,6 +13,12 @@
 		i2c0 = &i2c1;
 	};
 
+	fs_loader0: fs-loader {
+		u-boot,dm-pre-reloc;
+		compatible = "u-boot,fs-loader";
+		sfconfig = <0 0 100000000 3>;
+	};
+
 	memory {
 		/*
 <<<<<<< HEAD
@@ -41,6 +47,13 @@
 	};
 };
 
+&sdr {
+	intel,ddrcal-qspi-offset = "0x7000000";
+	intel,ddrcal-ddr-offset = "0x100000";
+	firmware-loader = <&fs_loader0>;
+	u-boot,dm-pre-reloc;
+};
+
 &flash0 {
 	compatible = "jedec,spi-nor";
 	spi-tx-bus-width = <4>;
Signature · 1 line
2.26.2