Skip to contentSkip to conversation

arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS control

PATCH In review Emanuele Ghidoli 2 participants 4 messages May 15, 2024 – Jun 7, 2024 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS control

From: Emanuele Ghidoli <[email protected]>

Manually, since SysConfig tool do not have the relevant option, set PHY_LP4_WDQS_OE_EXTEND to 1.
Since WDQS control mode is required on our modules LPDDR4, this enables WDQS control mode 1.

Emanuele Ghidoli (2):
arm: dts: k3-am625-verdin: Update autogenerated LPDDR4 configuration
arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS control

 arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 arm: dts: k3-am625-verdin: Update autogenerated LPDDR4 configuration

From: Emanuele Ghidoli <[email protected]>

Update the autogenerated LPDDR4 configuration using the latest available SysConfig tool.
This changes are cosmetic and are made to track the last used tool version.

---
 arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi +4 -2
index 841541bb2433..ca883ae82c7d 100644
@@ -1,8 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
  * This file was generated with the
- * AM62x SysConfig DDR Subsystem Register Configuration Tool v0.09.10
- * Mon Dec 11 2023 17:07:35 GMT+0100 (Central European Standard Time)
+ * AM62x SysConfig DDR Subsystem Register Configuration Tool v0.10.01
+ * Tue May 14 2024 12:55:28 GMT+0200 (Central European Summer Time)
  * DDR Type: LPDDR4
  * F0 = 50MHz    F1 = NA     F2 = 800MHz
  * Density (per channel): 16Gb
@@ -10,9 +10,11 @@
  * Number of Ranks: 1
 */
 
+
 #define DDRSS_PLL_FHS_CNT 3
 #define DDRSS_PLL_FREQUENCY_1 400000000
 #define DDRSS_PLL_FREQUENCY_2 400000000
+#define DDRSS_SDRAM_IDX 15
 
 
 #define DDRSS_CTL_0_DATA 0x00000B00
Signature · 1 line
2.34.1
#2 lore raw

PATCH 2/2 arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS control

In reply to Emanuele Ghidoli

From: Emanuele Ghidoli <[email protected]>

Manually, since SysConfig tool do not have the relevant option, set PHY_LP4_WDQS_OE_EXTEND to 1.
Since WDQS control mode is required on our modules LPDDR4, this enables WDQS control mode 1.

---
 arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi +2 -2
index ca883ae82c7d..5062447547b6 100644
@@ -850,7 +850,7 @@
 #define DDRSS_PHY_62_DATA 0x00000000
 #define DDRSS_PHY_63_DATA 0x00000000
 #define DDRSS_PHY_64_DATA 0x00000000
-#define DDRSS_PHY_65_DATA 0x00000004
+#define DDRSS_PHY_65_DATA 0x00000104
 #define DDRSS_PHY_66_DATA 0x00000000
 #define DDRSS_PHY_67_DATA 0x00000000
 #define DDRSS_PHY_68_DATA 0x00000000
@@ -1106,7 +1106,7 @@
 #define DDRSS_PHY_318_DATA 0x00000000
 #define DDRSS_PHY_319_DATA 0x00000000
 #define DDRSS_PHY_320_DATA 0x00000000
-#define DDRSS_PHY_321_DATA 0x00000004
+#define DDRSS_PHY_321_DATA 0x00000104
 #define DDRSS_PHY_322_DATA 0x00000000
 #define DDRSS_PHY_323_DATA 0x00000000
 #define DDRSS_PHY_324_DATA 0x00000000
Signature · 1 line
2.34.1
#3 lore raw
In reply to Emanuele Ghidoli
Quoted 8 lines · Emanuele Ghidoli

From: Emanuele Ghidoli <[email protected]>

Manually, since SysConfig tool do not have the relevant option, set PHY_LP4_WDQS_OE_EXTEND to 1.
Since WDQS control mode is required on our modules LPDDR4, this enables WDQS control mode 1.

[...]

Applied to u-boot/next, thanks!

Signature · 1 line
Tom