From: Melissa LeBlanc-Williams Date: Fri, 5 Feb 2021 21:14:48 +0000 (-0800) Subject: Merge pull request #409 from b0hne/nanopi-duo2 X-Git-Tag: 6.1.0 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/de89c24eadd6ba05779c92c2861ac9964bed0ea3?hp=519e1728649862beaec9da0865ccf9d2153f9d98 Merge pull request #409 from b0hne/nanopi-duo2 adds pin PG11 i2c, spi, serialUART support for nanoPi Duo2 --- diff --git a/src/adafruit_blinka/microcontroller/bcm283x/pin.py b/src/adafruit_blinka/microcontroller/bcm283x/pin.py index e95364c..5022366 100644 --- a/src/adafruit_blinka/microcontroller/bcm283x/pin.py +++ b/src/adafruit_blinka/microcontroller/bcm283x/pin.py @@ -147,8 +147,10 @@ spiPorts = ( # ordered as uartId, txId, rxId uartPorts = ((1, TXD, RXD),) +# These are the known hardware I2C ports / pins. +# For software I2C ports created with the i2c-gpio overlay, see: +# https://github.com/adafruit/Adafruit_Python_Extended_Bus i2cPorts = ( - (3, SCL, SDA), (1, SCL, SDA), (0, D1, D0), # both pi 1 and pi 2 i2c ports! )