]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pinctrl: sunxi: add I2C3 mux for D1/T113-s3 (PG10/PG11)
authorLukas Schmid <lukas.schmid@netcube.li>
Wed, 25 Mar 2026 19:26:09 +0000 (20:26 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 30 Apr 2026 21:31:03 +0000 (23:31 +0200)
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@netcube.li>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
drivers/pinctrl/sunxi/pinctrl-sunxi.c

index fd357ab0d4edec2e1e4f3ee3c2e1afc907eb0a7a..a8632aeaf8f28309c8f13c1d766c7957bffd7031 100644 (file)
@@ -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 */