mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-21 09:54:20 +00:00
zcu104/platform: change I2C number to 0
This commit is contained in:
parent
ac1f1cd6a7
commit
e5578a1ae8
2 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||||
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 -------------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue