[PATCH v2 02/11] pinctrl: aspeed: FWSPICS1 and SPI1CS1 pin support

Cédric Le Goater clg at kaod.org
Thu May 19 16:59:52 CEST 2022


On 5/9/22 09:23, Chin-Ting Kuo wrote:
> 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 at aspeedtech.com>

Reviewed-by: Cédric Le Goater <clg at kaod.org>


Thanks,

C.


> ---
>   drivers/pinctrl/aspeed/pinctrl_ast2500.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/pinctrl/aspeed/pinctrl_ast2500.c b/drivers/pinctrl/aspeed/pinctrl_ast2500.c
> index 3c2e10b88e..93920a6389 100644
> --- a/drivers/pinctrl/aspeed/pinctrl_ast2500.c
> +++ b/drivers/pinctrl/aspeed/pinctrl_ast2500.c
> @@ -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)



More information about the U-Boot mailing list