]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: aspeed: FWSPICS1 and SPI1CS1 pin support
authorChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Fri, 19 Aug 2022 09:01:03 +0000 (17:01 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 13 Sep 2022 16:08:40 +0000 (12:08 -0400)
Add FWSPICS1 and SPI1CS1 in AST2500 pinctrl group.
On AST2500 EVB, FWSPICS1 can be supported by default.
An extra jumper, J45, should be configured before
enabling SPI1CS1.

Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
drivers/pinctrl/aspeed/pinctrl_ast2500.c

index 3c2e10b88e8687e731e30b74f70080ef8094aaae..93920a6389bfb04b329d04fbbcae95e604f75811 100644 (file)
@@ -61,6 +61,8 @@ static const struct ast2500_group_config ast2500_groups[] = {
        { "MDIO2", 5, (1 << 2) },
        { "SD1", 5, (1 << 0) },
        { "SD2", 5, (1 << 1) },
+       { "FWSPICS1", 3, (1 << 24) },
+       { "SPI1CS1", 1, (1 << 15) },
 };
 
 static int ast2500_pinctrl_get_groups_count(struct udevice *dev)