svn commit: r346789 - head/sys/arm/allwinner/a10

Emmanuel Vadot manu at FreeBSD.org
Sat Apr 27 14:59:09 UTC 2019


Author: manu
Date: Sat Apr 27 14:59:08 2019
New Revision: 346789
URL: https://svnweb.freebsd.org/changeset/base/346789

Log:
  arm: allwinner: a10: Correct pin functions
  
  PB20 and PB21 alternate function 1 is i2c2 not i2c1
  
  Reported by:	Horiki Mori (yamori813 at yahoo.co.jp)
  PR:	 237401
  MFC after:	1 week

Modified:
  head/sys/arm/allwinner/a10/a10_padconf.c

Modified: head/sys/arm/allwinner/a10/a10_padconf.c
==============================================================================
--- head/sys/arm/allwinner/a10/a10_padconf.c	Sat Apr 27 14:56:24 2019	(r346788)
+++ head/sys/arm/allwinner/a10/a10_padconf.c	Sat Apr 27 14:59:08 2019	(r346789)
@@ -77,8 +77,8 @@ const static struct allwinner_pins a10_pins[] = {
 	{"PB17", 1, 17, {"gpio_in", "gpio_out", "spi2", "jtag", NULL, NULL, NULL, NULL}},
 	{"PB18", 1, 18, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
 	{"PB19", 1, 19, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
-	{"PB20", 1, 20, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
-	{"PB21", 1, 21, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
+	{"PB20", 1, 20, {"gpio_in", "gpio_out", "i2c2", NULL, NULL, NULL, NULL, NULL}},
+	{"PB21", 1, 21, {"gpio_in", "gpio_out", "i2c2", NULL, NULL, NULL, NULL, NULL}},
 	{"PB22", 1, 22, {"gpio_in", "gpio_out", "uart0", "ir1", NULL, NULL, NULL, NULL}},
 	{"PB23", 1, 23, {"gpio_in", "gpio_out", "uart0", "ir1", NULL, NULL, NULL, NULL}},
 


More information about the svn-src-head mailing list