summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm
diff options
context:
space:
mode:
authorShaik Sajida Bhanu <sbhanu@codeaurora.org>2021-08-30 12:09:46 +0530
committerJulius Werner <jwerner@chromium.org>2021-09-16 17:16:14 +0000
commit7bf3d0cbd8c36504795be940acdab9b78c5afa31 (patch)
tree24457a16adcc2ab29c0d5c4917c498b7c69d370b /src/soc/qualcomm
parente3cf008d88447b8a9ee3c08f755dcee4ada80a77 (diff)
mainboard/google: Update the TLMM registers for sdhc
Update the TLMM register values for eMMC and SD card on Trogdor, Herobrine and Mistral boards. BUG=b:196936525 TEST=Validated on qualcomm sc7280 and sc7180 development board and checked basic boot up. Signed-off-by: Shaik Sajida Bhanu <sbhanu@codeaurora.org> Change-Id: Iccdb7757027c6de424a82e4374bad802501ac83c Reviewed-on: https://review.coreboot.org/c/coreboot/+/57450 Reviewed-by: Shelley Chen <shchen@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/addressmap.h3
-rw-r--r--src/soc/qualcomm/sc7180/include/soc/addressmap.h4
-rw-r--r--src/soc/qualcomm/sc7280/include/soc/addressmap.h4
3 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/qualcomm/qcs405/include/soc/addressmap.h b/src/soc/qualcomm/qcs405/include/soc/addressmap.h
index b21ae26b71..637a059b07 100644
--- a/src/soc/qualcomm/qcs405/include/soc/addressmap.h
+++ b/src/soc/qualcomm/qcs405/include/soc/addressmap.h
@@ -9,4 +9,7 @@
#define TLMM_SOUTH_TILE_BASE 0x1000000
#define GCC_BASE 0x01800000
+/* SDHC TLMM Registers */
+#define SDC1_TLMM_CFG_ADDR 0x010C2000
+
#endif /* __SOC_QUALCOMM_QCS405_ADDRESS_MAP_H__ */
diff --git a/src/soc/qualcomm/sc7180/include/soc/addressmap.h b/src/soc/qualcomm/sc7180/include/soc/addressmap.h
index e360e8a30e..f295ceea22 100644
--- a/src/soc/qualcomm/sc7180/include/soc/addressmap.h
+++ b/src/soc/qualcomm/sc7180/include/soc/addressmap.h
@@ -56,4 +56,8 @@
#define GPIO_FUNC_QSPI_DATA_1 GPIO65_FUNC_QSPI_DATA_1
#define GPIO_FUNC_QSPI_CLK GPIO63_FUNC_QSPI_CLK
+/* SDHC TLMM Registers */
+#define SDC1_TLMM_CFG_ADDR 0x03D7A000
+#define SDC2_TLMM_CFG_ADDR 0x03D7B000
+
#endif /* __SOC_QUALCOMM_SC7180_ADDRESS_MAP_H__ */
diff --git a/src/soc/qualcomm/sc7280/include/soc/addressmap.h b/src/soc/qualcomm/sc7280/include/soc/addressmap.h
index 6ef653375e..14c83fe7da 100644
--- a/src/soc/qualcomm/sc7280/include/soc/addressmap.h
+++ b/src/soc/qualcomm/sc7280/include/soc/addressmap.h
@@ -24,4 +24,8 @@
#define GPIO_FUNC_QSPI_DATA_1 GPIO13_FUNC_QSPI_DATA_1
#define GPIO_FUNC_QSPI_CLK GPIO14_FUNC_QSPI_CLK
+/* SDHC TLMM Registers */
+#define SDC1_TLMM_CFG_ADDR 0x0F1B3000
+#define SDC2_TLMM_CFG_ADDR 0x0F1B4000
+
#endif /* __SOC_QUALCOMM_SC7280_ADDRESS_MAP_H__ */