From: Andrey Miroshnikov Date: Tue, 28 Jun 2022 13:46:49 +0000 (+0000) Subject: Added GPIOs to W bank X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6e0377a3fdaa0dfc35bc2ce07536f74c7e6510b;p=pinmux.git Added GPIOs to W bank --- diff --git a/src/spec/ls2.py b/src/spec/ls2.py index 7a93807..f686db9 100644 --- a/src/spec/ls2.py +++ b/src/spec/ls2.py @@ -59,13 +59,15 @@ def pinspec(): ps = PinSpec(pinbanks, fixedpins, function_names) - ps.sdram1("", ('W', 0), 0, 15, 6, rev=True) # AD4-9, turned round + ps.gpio("", ('W', 0), 0, 0, 6) # GPIO 0-5 + ps.sdram1("", ('W', 0), 1, 15, 6, rev=True) # AD4-9, turned round ps.vdd("E", ('W', 6), 0, 0, 1) ps.vss("E", ('W', 7), 0, 0, 1) ps.vdd("I", ('W', 8), 0, 0, 1) ps.vss("I", ('W', 9), 0, 0, 1) - ps.sdram1("", ('W', 10), 0, 0, 15, rev=True) # SDRAM DAM0, D0-7, AD0-3 - ps.mi2c("", ('W', 26), 0, 0, 2) + ps.gpio("", ('W', 10), 0, 6, 18) # GPIO 6-23 + ps.sdram1("", ('W', 10), 1, 0, 15, rev=True) # SDRAM DAM0, D0-7, AD0-3 + ps.mi2c("", ('W', 26), 1, 0, 2) ps.vss("I", ('W', 28), 0, 1, 1) ps.vdd("I", ('W', 29), 0, 1, 1) ps.vss("E", ('W', 30), 0, 1, 1)