X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fspec%2Fi_class.py;h=81872fc9b70ed54b023adb16cb565dcfc6dc4be4;hb=0cc6c6d4ec0b5bbcf00e9f3c0eb9a08256bebd40;hp=6401538f9e2d1605a3bb0863402c39d4cab31679;hpb=0e07cd1c35e098cac02d0278ed18f1e3d8090352;p=pinmux.git diff --git a/src/spec/i_class.py b/src/spec/i_class.py index 6401538..81872fc 100644 --- a/src/spec/i_class.py +++ b/src/spec/i_class.py @@ -8,9 +8,9 @@ from spec.ifaceprint import display_fixed def pinspec(): pinbanks = { - 'A': 28, - 'B': 18, - 'C': 24, + 'A': (28, 4), + 'B': (18, 4), + 'C': (24, 1), } fixedpins = { 'CTRL_SYS': [ @@ -98,8 +98,7 @@ def pinspec(): ps.gpio("", ('B', 0), 0, 0, 18) ps.flexbus1("", ('B', 0), 1, spec=flexspec) - ps.gpio("", ('C', 0), 0, 0, 24) - ps.flexbus2("", ('C', 0), 1) + ps.flexbus2("", ('C', 0), 0) # Scenarios below can be spec'd out as either "find first interface" # by name/number e.g. SPI1, or as "find in bank/mux" which must be