zcu104/platform: change I2C number to 0
This commit is contained in:
parent
ac1f1cd6a7
commit
e5578a1ae8
|
@ -43,7 +43,7 @@ _io = [
|
|||
IOStandard("LVCMOS18")
|
||||
),
|
||||
|
||||
("i2c", 1,
|
||||
("i2c", 0,
|
||||
Subsignal("sda", Pins("P12")),
|
||||
Subsignal("scl", Pins("N12")),
|
||||
IOStandard("LVCMOS33")
|
||||
|
|
|
@ -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 -------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue