zcu104/platform: change I2C number to 0

This commit is contained in:
Jędrzej Boczar 2020-05-27 14:31:22 +02:00
parent ac1f1cd6a7
commit e5578a1ae8
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ _io = [
IOStandard("LVCMOS18")
),
("i2c", 1,
("i2c", 0,
Subsignal("sda", Pins("P12")),
Subsignal("scl", Pins("N12")),
IOStandard("LVCMOS33")

View File

@ -78,7 +78,7 @@ class BaseSoC(SoCCore):
l2_cache_reverse = True
)
self.submodules.i2c = I2CMaster(platform.request("i2c", 1))
self.submodules.i2c = I2CMaster(platform.request("i2c"))
self.add_csr("i2c")
# Leds -------------------------------------------------------------------------------------