projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e07cd1
)
update i_class pinspec
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 31 Jul 2018 07:42:04 +0000
(08:42 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 31 Jul 2018 07:42:04 +0000
(08:42 +0100)
src/spec/i_class.py
patch
|
blob
|
history
diff --git
a/src/spec/i_class.py
b/src/spec/i_class.py
index 6401538f9e2d1605a3bb0863402c39d4cab31679..81872fc9b70ed54b023adb16cb565dcfc6dc4be4 100644
(file)
--- a/
src/spec/i_class.py
+++ b/
src/spec/i_class.py
@@
-8,9
+8,9
@@
from spec.ifaceprint import display_fixed
def pinspec():
pinbanks = {
- 'A':
28
,
- 'B':
18
,
- 'C':
24
,
+ 'A':
(28, 4)
,
+ 'B':
(18, 4)
,
+ 'C':
(24, 1)
,
}
fixedpins = {
'CTRL_SYS': [
@@
-98,8
+98,7
@@
def pinspec():
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)
# 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