projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f371a27
)
fix litex name map
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 13 Apr 2021 16:33:12 +0000
(17:33 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 13 Apr 2021 16:33:12 +0000
(17:33 +0100)
src/spec/ls180.py
patch
|
blob
|
history
diff --git
a/src/spec/ls180.py
b/src/spec/ls180.py
index c1b004bcfc945eeebb7ba2f8832743e429e5dae8..5c0783c09aeb93b669e662b2a389bd0ed5b17427 100644
(file)
--- a/
src/spec/ls180.py
+++ b/
src/spec/ls180.py
@@
-299,7
+299,9
@@
def pinparse(psp, pinspec):
# I2C master-only
elif name.startswith('mtwi'):
domain = 'MTWI'
- name = 'i2c' + name[4:]
+ suffix = name[4:]
+ litex_name = 'mtwi' + suffix
+ name = 'i2c' + suffix
if name.startswith('i2c_sda'):
name2 = 'i2c_sda_%s'
pad = ['p_'+name, name, name2 % 'o', name2 % 'i', name2 % 'oe']