[PATCH 2/6] pinctrl: sunxi: add I2C3 mux for D1/T113-s3 (PG10/PG11)
Andre Przywara
andre.przywara at arm.com
Mon Apr 27 13:04:06 CEST 2026
Hi,
On 3/25/26 20:26, Lukas Schmid wrote:
> Boards based on the Allwinner D1/T113-s3, such as the
> NetCube Systems Nagami, can expose a third I2C controller
> on PG10/PG11. However, the sun20i_d1 pinctrl function table
> lacked an entry for this mux.
>
> Add the "i2c3" function with mux value 3 on PG10/PG11, allowing device
> trees to enable the I2C3 controller.
>
> Signed-off-by: Lukas Schmid <lukas.schmid at netcube.li>
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
Cheers,
Andre
> ---
> drivers/pinctrl/sunxi/pinctrl-sunxi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
> index fd357ab0d4e..a8632aeaf8f 100644
> --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c
> +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
> @@ -603,6 +603,7 @@ static const struct sunxi_pinctrl_function sun20i_d1_pinctrl_functions[] = {
> { "gpio_in", 0 },
> { "gpio_out", 1 },
> { "i2c0", 4 }, /* PB10-PB11 */
> + { "i2c3", 3 }, /* PG10-PG11 */
> { "mmc0", 2 }, /* PF0-PF5 */
> { "mmc1", 2 }, /* PG0-PG5 */
> { "mmc2", 3 }, /* PC2-PC7 */
More information about the U-Boot
mailing list