Commit e5578a1a authored by Jędrzej Boczar's avatar Jędrzej Boczar
Browse files

zcu104/platform: change I2C number to 0

parent ac1f1cd6
...@@ -43,7 +43,7 @@ _io = [ ...@@ -43,7 +43,7 @@ _io = [
IOStandard("LVCMOS18") IOStandard("LVCMOS18")
), ),
("i2c", 1, ("i2c", 0,
Subsignal("sda", Pins("P12")), Subsignal("sda", Pins("P12")),
Subsignal("scl", Pins("N12")), Subsignal("scl", Pins("N12")),
IOStandard("LVCMOS33") IOStandard("LVCMOS33")
......
...@@ -78,7 +78,7 @@ class BaseSoC(SoCCore): ...@@ -78,7 +78,7 @@ class BaseSoC(SoCCore):
l2_cache_reverse = True l2_cache_reverse = True
) )
self.submodules.i2c = I2CMaster(platform.request("i2c", 1)) self.submodules.i2c = I2CMaster(platform.request("i2c"))
self.add_csr("i2c") self.add_csr("i2c")
# Leds ------------------------------------------------------------------------------------- # Leds -------------------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment