From 6d4fe82179d7aa413ffeb9a95f997cc5550138a9 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 2 Feb 2022 11:08:21 +0100 Subject: [PATCH] trellisboard: Rename hdmi_i2c to i2c (to have access to i2c_scan in the BIOS). --- litex_boards/targets/trellisboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex_boards/targets/trellisboard.py b/litex_boards/targets/trellisboard.py index b5d65eb..3fb8ae7 100755 --- a/litex_boards/targets/trellisboard.py +++ b/litex_boards/targets/trellisboard.py @@ -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. ])