From 1df46d157182000011b248dfbe57bba7b789a929 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 6 Mar 2023 09:03:12 +0100 Subject: [PATCH] platforms/sipeed_tang_nano_9k: Review SPI RGB LCD addition. --- litex_boards/platforms/sipeed_tang_nano_9k.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/litex_boards/platforms/sipeed_tang_nano_9k.py b/litex_boards/platforms/sipeed_tang_nano_9k.py index 4ef5181..6a381c7 100644 --- a/litex_boards/platforms/sipeed_tang_nano_9k.py +++ b/litex_boards/platforms/sipeed_tang_nano_9k.py @@ -74,13 +74,13 @@ _io = [ Misc("PULL_MODE=NONE"), ), - # TODO: SPI/RGB LCD - ("spilcd", 0, - Subsignal("clk", Pins("79")), - Subsignal("mosi", Pins("77")), - Subsignal("cs", Pins("48")), + # SPI RGB LCD. + ("spilcd", 0, Subsignal("reset", Pins("47")), - Subsignal("rs", Pins("47")), + Subsignal("cs", Pins("48")), + Subsignal("clk", Pins("79")), + Subsignal("mosi", Pins("77")), + Subsignal("rs", Pins("47")), IOStandard("LVCMOS33"), ), ]