mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
stm32mp1: ram: add support for LPDDR2/LPDDR3
Manage power supply configuration for board using stpmic1 with LPDDR2 or with LPDDR3: + VDD_DDR1 = 1.8V with BUCK3 (bypass if possible) + VDD_DDR2 = 1.2V with BUCK2 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
committed by
Patrice Chotard
parent
53bb831658
commit
1767ac2d1f
@@ -234,6 +234,8 @@ struct stm32mp1_ddrphy {
|
||||
|
||||
/* DDRCTRL REGISTERS */
|
||||
#define DDRCTRL_MSTR_DDR3 BIT(0)
|
||||
#define DDRCTRL_MSTR_LPDDR2 BIT(2)
|
||||
#define DDRCTRL_MSTR_LPDDR3 BIT(3)
|
||||
#define DDRCTRL_MSTR_DATA_BUS_WIDTH_MASK GENMASK(13, 12)
|
||||
#define DDRCTRL_MSTR_DATA_BUS_WIDTH_FULL (0 << 12)
|
||||
#define DDRCTRL_MSTR_DATA_BUS_WIDTH_HALF (1 << 12)
|
||||
|
Reference in New Issue
Block a user