cns3xxx: fix register for enabling MMC/SD pins
also fixes a GPIO related regression from the upgrade to 3.10 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42829
This commit is contained in:
parent
b9d3767ada
commit
0563e0225e
1 changed files with 1 additions and 2 deletions
|
@ -818,8 +818,7 @@ static void __init laguna_init(void)
|
||||||
*reg |= BIT(12) | BIT(13);
|
*reg |= BIT(12) | BIT(13);
|
||||||
|
|
||||||
/* Enable MMC/SD pins */
|
/* Enable MMC/SD pins */
|
||||||
reg = MISC_GPIOA_PIN_ENABLE_REG;
|
*reg |= BIT(7) | BIT(8) | BIT(9) | BIT(10) | BIT(11);
|
||||||
*reg |= 0xf80;
|
|
||||||
|
|
||||||
cns3xxx_pwr_clk_en(1 << PM_CLK_GATE_REG_OFFSET_SPI_PCM_I2C);
|
cns3xxx_pwr_clk_en(1 << PM_CLK_GATE_REG_OFFSET_SPI_PCM_I2C);
|
||||||
cns3xxx_pwr_power_up(1 << PM_CLK_GATE_REG_OFFSET_SPI_PCM_I2C);
|
cns3xxx_pwr_power_up(1 << PM_CLK_GATE_REG_OFFSET_SPI_PCM_I2C);
|
||||||
|
|
Loading…
Reference in a new issue