]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/rockchip/rk3308/pin.py
fix the erronous pin declarations
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / rockchip / rk3308 / pin.py
index 80c5c7682340697fe2934f52c5a3271578f4253f..11319200051f33a269e3e820bd44c3002f3685e9 100644 (file)
@@ -134,10 +134,12 @@ ADC_IN0 = 1
 
 
 # I2C
+I2C0_SDA = GPIO1_D0
+I2C0_SCL = GPIO1_D1
 I2C1_SDA = GPIO0_B3
 I2C1_SCL = GPIO0_B4
-I2C2_SDA = GPIO1_D0
-I2C2_SCL = GPIO1_D1
+I2C2_SDA = GPIO2_A2
+I2C2_SCL = GPIO2_A3
 I2C3_SDA = GPIO0_B7
 I2C3_SCL = GPIO0_C0
 
@@ -161,6 +163,7 @@ PWM3 = GPIO0_C0
 
 # ordered as i2cId, SCL, SDA
 i2cPorts = (
+    (0, I2C1_SCL, I2C1_SDA),
     (1, I2C1_SCL, I2C1_SDA),
     (2, I2C2_SCL, I2C2_SDA),
     (3, I2C3_SCL, I2C3_SDA),