summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Schmid <[email protected]>2026-03-25 20:26:09 +0100
committerAndre Przywara <[email protected]>2026-04-30 23:31:03 +0200
commit9d3bbc99b9038fa64dda92f97e0c29e4808694ec (patch)
treeb3408bb9629f9664a5e66f2c77af9ff5d67eb497
parent06b3ae910f10c8d13ea733c05ee75cf0a4fec6fd (diff)
pinctrl: sunxi: add I2C3 mux for D1/T113-s3 (PG10/PG11)
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 <[email protected]> Reviewed-by: Andre Przywara <[email protected]>
-rw-r--r--drivers/pinctrl/sunxi/pinctrl-sunxi.c1
1 files changed, 1 insertions, 0 deletions
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 */