Merge "ipq6018: configuring SDHC1_AHB_CBCR clock"

This commit is contained in:
Linux Build Service Account 2019-03-28 02:06:02 -07:00 committed by Gerrit - the friendly Code Review server
commit 53b01bbfd0
2 changed files with 2 additions and 0 deletions

View file

@ -146,6 +146,7 @@ void emmc_clock_config()
writel(readl(GCC_SDCC1_APPS_CBCR)|0x1, GCC_SDCC1_APPS_CBCR);
/* Add 10us delay for CLK_OFF to get cleared */
udelay(10);
writel(readl(GCC_SDCC1_AHB_CBCR)|0x1, GCC_SDCC1_AHB_CBCR);
/* PLL0 - 192Mhz */
writel(0x20B, GCC_SDCC1_APPS_CFG_RCGR);
/* Delay for clock operation complete */

View file

@ -30,6 +30,7 @@
#define GCC_SDCC1_APPS_D 0x1842014
#define GCC_BLSP1_UART1_APPS_CBCR 0x0180203c
#define GCC_SDCC1_BCR 0x01842000
#define GCC_SDCC1_AHB_CBCR 0x0184201C
#define GCC_BLSP1_UART2_APPS_CFG_RCGR 0x01803038
#define GCC_BLSP1_UART2_APPS_M 0x0180303C