summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-08-15 14:29:37 -0500
committerPeng Fan <peng.fan@nxp.com>2019-09-05 15:27:31 +0800
commit38c9f08b41ed9e6625b56320b78d4954cbf5fae6 (patch)
treed9b9afa43dbfe8ccb85466f4456864f3243bbfed /drivers/pinctrl
parent6cf8a903c5e6723104b07b0fddc4a703556e558a (diff)
downloadu-boot-38c9f08b41ed9e6625b56320b78d4954cbf5fae6.tar.gz
u-boot-38c9f08b41ed9e6625b56320b78d4954cbf5fae6.tar.bz2
u-boot-38c9f08b41ed9e6625b56320b78d4954cbf5fae6.zip
clk: aspeed: Add support for SD clock
Add code to enable the SD clock on the ast2500 SoC. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Eddie James <eajames@linux.ibm.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/aspeed/pinctrl_ast2500.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/aspeed/pinctrl_ast2500.c b/drivers/pinctrl/aspeed/pinctrl_ast2500.c
index ed333b9c5c..a6e9c0d933 100644
--- a/drivers/pinctrl/aspeed/pinctrl_ast2500.c
+++ b/drivers/pinctrl/aspeed/pinctrl_ast2500.c
@@ -58,6 +58,8 @@ static const struct ast2500_group_config ast2500_groups[] = {
{ "MDIO1", 3, (1 << 31) | (1 << 30) },
{ "MAC2LINK", 1, (1 << 1) },
{ "MDIO2", 5, (1 << 2) },
+ { "SD1", 5, (1 << 0) },
+ { "SD2", 5, (1 << 1) },
};
static int ast2500_pinctrl_get_groups_count(struct udevice *dev)