mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
platforms/orangecrab: add spisdcard pins.
This commit is contained in:
parent
87fd4dc059
commit
6e6b6dac55
1 changed files with 19 additions and 3 deletions
|
@ -53,6 +53,14 @@ _io_r0_1 = [
|
||||||
Subsignal("mosi", Pins("A10"), Misc("PULLMODE=UP")),
|
Subsignal("mosi", Pins("A10"), Misc("PULLMODE=UP")),
|
||||||
IOStandard("LVCMOS33"), Misc("SLEWRATE=SLOW")
|
IOStandard("LVCMOS33"), Misc("SLEWRATE=SLOW")
|
||||||
),
|
),
|
||||||
|
|
||||||
|
("spisdcard", 0,
|
||||||
|
Subsignal("clk", Pins("K1")),
|
||||||
|
Subsignal("mosi", Pins("K2"), Misc("PULLMODE=UP")),
|
||||||
|
Subsignal("cs_n", Pins("M1"), Misc("PULLMODE=UP")),
|
||||||
|
Subsignal("miso", Pins("J1"), Misc("PULLMODE=UP")),
|
||||||
|
IOStandard("LVCMOS33"), Misc("SLEW=FAST")
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
_io_r0_2 = [
|
_io_r0_2 = [
|
||||||
|
@ -112,6 +120,14 @@ _io_r0_2 = [
|
||||||
Subsignal("wp", Pins("R18"), IOStandard("LVCMOS33")),
|
Subsignal("wp", Pins("R18"), IOStandard("LVCMOS33")),
|
||||||
Subsignal("hold", Pins("N18"), IOStandard("LVCMOS33")),
|
Subsignal("hold", Pins("N18"), IOStandard("LVCMOS33")),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
("spisdcard", 0,
|
||||||
|
Subsignal("clk", Pins("K1")),
|
||||||
|
Subsignal("mosi", Pins("K2"), Misc("PULLMODE=UP")),
|
||||||
|
Subsignal("cs_n", Pins("M1"), Misc("PULLMODE=UP")),
|
||||||
|
Subsignal("miso", Pins("J1"), Misc("PULLMODE=UP")),
|
||||||
|
IOStandard("LVCMOS33"), Misc("SLEW=FAST")
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Connectors ---------------------------------------------------------------------------------------
|
# Connectors ---------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue