projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7a86b
)
add dummy LPC interface
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 12 May 2020 12:01:31 +0000
(13:01 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 12 May 2020 12:01:31 +0000
(13:01 +0100)
src/spec/pinfunctions.py
patch
|
blob
|
history
diff --git
a/src/spec/pinfunctions.py
b/src/spec/pinfunctions.py
index cdfaab49aa77b4fe5d4aaaa4d79d283288a113e7..1cb7f1270361f13e6bc58dab05f763bb3cfd52d7 100644
(file)
--- a/
src/spec/pinfunctions.py
+++ b/
src/spec/pinfunctions.py
@@
-47,6
+47,17
@@
def i2s(suffix, bank):
[])
+# XXX TODO: correct these. this is a stub for now
+def lpc(suffix, bank, pincount=8):
+ emmcpins = ['CMD+', 'CLK+']
+ inout = []
+ for i in range(pincount):
+ pname = "D%d*" % i
+ emmcpins.append(pname)
+ inout.append(pname)
+ return (emmcpins, inout)
+
+
def emmc(suffix, bank, pincount=8):
emmcpins = ['CMD+', 'CLK+']
inout = []
@@
-252,6
+263,7
@@
def gpio(suffix, bank):
# list functions by name here
pinspec = (('IIS', i2s),
+ ('LPC', lpc),
('EMMC', emmc),
('MMC', sdmmc),
('MSPI', mspi),