[PATCH u-boot aspeed-dev-v2019.04 3/7] aspeed: pinctrl: Add FSI support
Joel Stanley
joel at jms.id.au
Wed Oct 30 17:32:21 AEDT 2019
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
drivers/pinctrl/aspeed/pinctrl_ast2600.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/pinctrl/aspeed/pinctrl_ast2600.c b/drivers/pinctrl/aspeed/pinctrl_ast2600.c
index b22f280e6979..e87b33687f51 100644
--- a/drivers/pinctrl/aspeed/pinctrl_ast2600.c
+++ b/drivers/pinctrl/aspeed/pinctrl_ast2600.c
@@ -242,6 +242,14 @@ static struct aspeed_sig_desc pcie_rc_reset_link[] = {
{ 0x500, BIT(24), 0 },
};
+static struct aspeed_sig_desc fsi1[] = {
+ { 0xd48, GENMASK(21, 20), 0 },
+};
+
+static struct aspeed_sig_desc fsi2[] = {
+ { 0xd48, GENMASK(23, 22), 0 },
+};
+
static const struct aspeed_group_config ast2600_groups[] = {
{ "MAC1LINK", ARRAY_SIZE(mac1_link), mac1_link },
{ "MAC2LINK", ARRAY_SIZE(mac2_link), mac2_link },
@@ -282,6 +290,8 @@ static const struct aspeed_group_config ast2600_groups[] = {
{ "I2C15", ARRAY_SIZE(i2c15_link), i2c15_link },
{ "I2C16", ARRAY_SIZE(i2c16_link), i2c16_link },
{ "PCIERC", ARRAY_SIZE(pcie_rc_reset_link), pcie_rc_reset_link },
+ { "FSI1", ARRAY_SIZE(fsi1), fsi1 },
+ { "FSI2", ARRAY_SIZE(fsi2), fsi2 },
};
static int ast2600_pinctrl_get_groups_count(struct udevice *dev)
--
2.23.0
More information about the openbmc
mailing list