From: Luke Kenneth Casson Leighton Date: Fri, 6 Nov 2020 11:39:30 +0000 (+0000) Subject: reference correct pads for sl180 pwm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18409e43e4385b4c78eeceb5c875153a85a958cb;p=pinmux.git reference correct pads for sl180 pwm --- diff --git a/src/spec/ls180.py b/src/spec/ls180.py index 827e09c..5dababc 100644 --- a/src/spec/ls180.py +++ b/src/spec/ls180.py @@ -306,7 +306,9 @@ def pinparse(psp, pinspec): # PWM elif name.startswith('pwm'): name = name[:-4] - pad = ['p_' + name, name, name] + i = name[3:] + name2 = 'pwm(%s)' % i + pad = ['p_' + name, name2, name2] iopads.append(pad) else: pad = ['p_' + name, name, name]