arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS control
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
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
@@ -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
PATCH 2/2 arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS control
In reply to Emanuele GhidoliFrom: 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
@@ -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
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_EXTENDto 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