hw/bsp/pinetime: Setup I2C
Enable the I2C port 1 for the Pinetime. Maximum speed of 400 KHz is set
since connected I2C slave devices are >= 400 KHz.
@@ -62,6 +62,8 @@ syscfg.vals:
SPI_0_MASTER_PIN_MISO: 4 # P0.04: SPI-MISO
# I2C port 1 connected to CST816S touch controller, BMA421 accelerometer, HRS3300 heart rate sensor
+ I2C_1: 1
+ I2C_1_FREQ_KHZ: 400 # BMA421=1000 HRS3300=800 CST816S=400
I2C_1_PIN_SCL: 7 # P0.07: BMA421-SCL, HRS3300-SCL, TP-SCLOUT
I2C_1_PIN_SDA: 6 # P0.06: BMA421-SDA, HRS3300-SDA, TP-SDAI/O
