Skip to content

Commit 1f4741c

Browse files
committed
gateware: platform: Removed the old rev2 resource defs, as the hardware is being revised from scratch, again
1 parent fb46d27 commit 1f4741c

File tree

1 file changed

+0
-73
lines changed

1 file changed

+0
-73
lines changed

squishy/gateware/platform/rev2.py

-73
Original file line numberDiff line numberDiff line change
@@ -97,79 +97,6 @@ class SquishyRev2(SquishyCacheMixin, ECP5Platform):
9797
Clock(100e6),
9898
Attrs(IO_TYPE = 'LVDS')
9999
),
100-
101-
Resource('tio', 0,
102-
Subsignal('trigger',
103-
Pins('N16', dir = 'io')
104-
),
105-
Subsignal('refclk',
106-
Pins('M15', dir = 'io')
107-
),
108-
Attrs(IO_TYPE = 'LVCMOS33')
109-
),
110-
111-
Resource('ulpi', 0,
112-
Subsignal('clk',
113-
Pins('P5', dir = 'i'),
114-
Clock(60e6),
115-
Attrs(GLOBAL = True),
116-
),
117-
Subsignal('data',
118-
Pins('P1 R2 R1 T2 T3 R3 T4 R4', dir = 'io')
119-
),
120-
Subsignal('dir',
121-
Pins('N1', dir = 'i')
122-
),
123-
Subsignal('nxt',
124-
Pins('P2', dir = 'i')
125-
),
126-
Subsignal('stp',
127-
Pins('M2', dir = 'o')
128-
),
129-
Subsignal('rst',
130-
PinsN('M1', dir = 'o')
131-
),
132-
133-
Attrs(IO_TYPE = 'LVCMOS33')
134-
),
135-
136-
Resource('termpwr', 0,
137-
Subsignal('adc_rst',
138-
PinsN('B2', dir = 'o')
139-
),
140-
Subsignal('sda',
141-
Pins('C2', dir = 'io')
142-
),
143-
Subsignal('scl',
144-
Pins('B1', dir = 'oe')
145-
),
146-
147-
Attrs(IO_TYPE = 'LVCMOS33')
148-
),
149-
150-
*LEDResources(
151-
pins = [
152-
'R7', # [4] White
153-
'T6', # [5] White
154-
'R6', # [6] Pink
155-
'P8', # [7] Pink
156-
'P7', # [8] Blue
157-
'P6' # [9] Blue
158-
],
159-
attrs = Attrs(IO_TYPE = 'LVCMOS33'),
160-
),
161-
162-
163-
*SPIFlashResources(0,
164-
cs_n = 'R8', clk = 'N9', copi = 'T8', cipo = 'T7',
165-
166-
attrs = Attrs(IO_TYPE = 'LVCMOS33')
167-
),
168-
169-
UARTResource(0,
170-
rx = 'T14', tx = 'R14',
171-
attrs = Attrs(IO_TYPE = 'LVCMOS33')
172-
),
173100
]
174101

175102

0 commit comments

Comments
 (0)