trellisboard: Rename hdmi_i2c to i2c (to have access to i2c_scan in the BIOS).

This commit is contained in:
Florent Kermarrec 2022-02-02 11:08:21 +01:00
parent 0522d8b0c5
commit 6d4fe82179
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ class BaseSoC(SoCCore):
# PHY + TP410 I2C initialization.
hdmi_pads = platform.request("hdmi")
self.submodules.videophy = VideoDVIPHY(hdmi_pads, clock_domain="init")
self.submodules.hdmi_i2c = I2CMaster(hdmi_pads)
self.hdmi_i2c.add_init(addr=0x38, init=[
self.submodules.i2c = I2CMaster(hdmi_pads)
self.i2c.add_init(addr=0x38, init=[
(0x08, 0x35) # CTL_1_MODE: Normal operation, 24-bit, HSYNC/VSYNC.
])