X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fspec%2Fi_class.py;h=780decd39376b8318ecb808f4e6efe37644c7448;hb=533aeace8a6542358837d7945df95266ad12720a;hp=3e4b6783f4bc0da07672dcba0eb2f3768f9a0520;hpb=48993171d8f12bd30d5921e86310248d343ef151;p=pinmux.git diff --git a/src/spec/i_class.py b/src/spec/i_class.py index 3e4b678..780decd 100644 --- a/src/spec/i_class.py +++ b/src/spec/i_class.py @@ -8,9 +8,10 @@ from spec.ifaceprint import display_fixed def pinspec(): pinbanks = { - 'A': 28, - 'B': 32, - 'C': 24, + 'A': (28, 4), + 'B': (18, 4), + 'C': (24, 1), + 'D': (92, 1), } fixedpins = { 'CTRL_SYS': [ @@ -60,7 +61,7 @@ def pinspec(): } ps = PinSpec(pinbanks, fixedpins, function_names, - ['lcd', 'jtag', 'fb' ]) + ['lcd', 'jtag', 'fb', 'sdr']) # Bank A, 0-27 ps.gpio("", ('A', 0), 0, 0, 28) @@ -98,8 +99,10 @@ 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) + + ps.sdram1("", ('D', 0), 0) + ps.sdram3("", ('D', 35), 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