From: Luke Kenneth Casson Leighton Date: Tue, 12 May 2020 12:01:31 +0000 (+0100) Subject: add dummy LPC interface X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acd8ed57bb919fd8c24a55154c5844d500f7c053;p=pinmux.git add dummy LPC interface --- diff --git a/src/spec/pinfunctions.py b/src/spec/pinfunctions.py index cdfaab4..1cb7f12 100644 --- 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),