From 3d8106f84d6f41964506a9395a9fb70db9c3d87d Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Tue, 8 Nov 2022 19:18:24 +0800 Subject: [PATCH] stlv7325: fix Ethernet IO voltages The IO voltages of Ethernet pins is set to 2.5V instead of 1.5V. Fix this in the platform definition. Signed-off-by: Icenowy Zheng --- litex_boards/platforms/sitlinv_stlv7325.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/litex_boards/platforms/sitlinv_stlv7325.py b/litex_boards/platforms/sitlinv_stlv7325.py index 992ba64..2bf0026 100644 --- a/litex_boards/platforms/sitlinv_stlv7325.py +++ b/litex_boards/platforms/sitlinv_stlv7325.py @@ -144,14 +144,14 @@ _io = [ # GMII Ethernet ("eth_clocks", 0, - Subsignal("tx", Pins("E12"), IOStandard("LVCMOS15")), - Subsignal("gtx", Pins("F13"), IOStandard("LVCMOS15")), - Subsignal("rx", Pins("C12"), IOStandard("LVCMOS15")) + Subsignal("tx", Pins("E12"), IOStandard("LVCMOS25")), + Subsignal("gtx", Pins("F13"), IOStandard("LVCMOS25")), + Subsignal("rx", Pins("C12"), IOStandard("LVCMOS25")) ), ("eth_clocks", 1, - Subsignal("tx", Pins("C9"), IOStandard("LVCMOS15")), - Subsignal("gtx", Pins("D8"), IOStandard("LVCMOS15")), - Subsignal("rx", Pins("E10"), IOStandard("LVCMOS15")) + Subsignal("tx", Pins("C9"), IOStandard("LVCMOS25")), + Subsignal("gtx", Pins("D8"), IOStandard("LVCMOS25")), + Subsignal("rx", Pins("E10"), IOStandard("LVCMOS25")) ), ("eth", 0, Subsignal("rst_n", Pins("D11")), @@ -164,7 +164,7 @@ _io = [ Subsignal("tx_en", Pins("F12")), Subsignal("tx_er", Pins("E13")), Subsignal("tx_data", Pins("G12 E11 G11 C14 D14 C13 C11 D13")), - IOStandard("LVCMOS15") + IOStandard("LVCMOS25") ), ("eth", 1, Subsignal("rst_n", Pins("J8")), @@ -177,7 +177,7 @@ _io = [ Subsignal("tx_en", Pins("F8")), Subsignal("tx_er", Pins("D9")), Subsignal("tx_data", Pins("H11 J11 H9 J10 H12 F10 G10 F9")), - IOStandard("LVCMOS15") + IOStandard("LVCMOS25") ), # HDMI out