def pinspec():
pinbanks = {
- 'A': 28,
- 'B': 18,
- 'C': 24,
+ 'A': (28, 4),
+ 'B': (18, 4),
+ 'C': (24, 1),
+ 'D': (92, 1),
}
fixedpins = {
'CTRL_SYS': [
}
ps = PinSpec(pinbanks, fixedpins, function_names,
- ['lcd', 'jtag', 'fb'])
+ ['lcd', 'jtag', 'fb', 'sdr'])
# Bank A, 0-27
ps.gpio("", ('A', 0), 0, 0, 28)
ps.gpio("", ('B', 0), 0, 0, 18)
ps.flexbus1("", ('B', 0), 1, spec=flexspec)
- ps.gpio("", ('C', 0), 0, 0, 24)
- ps.flexbus2("", ('C', 0), 1)
+ ps.flexbus2("", ('C', 0), 0)
+
+ ps.sdram1("", ('D', 0), 0)
+ ps.sdram3("", ('D', 35), 0)
# Scenarios below can be spec'd out as either "find first interface"
# by name/number e.g. SPI1, or as "find in bank/mux" which must be