decided to use new spec
[pinmux.git] / src / spec / microtest.py
index 33a739b0d70cf5b36977a743715c4fb4697f3df2..2a8e66314f0504fbc92f1741034ff562e0499bf4 100644 (file)
@@ -8,7 +8,7 @@ from spec.ifaceprint import display_fixed
 
 def pinspec():
     pinbanks = {
-        'A': 4,
+        'A': (3,  4),
     }
     fixedpins = {
         'CTRL_SYS': [
@@ -47,7 +47,13 @@ def pinspec():
                       'ULPI2': 'ULPI (USB Low Pin-count) 2',
                       }
 
-    ps = PinSpec(pinbanks, fixedpins, function_names)
+    ps = PinSpec(pinbanks, fixedpins, function_names,
+                               { "gpioa" :
+                                       {
+                                               "muxconfig" : "011000"
+                                       }
+                               }
+                                       )
 
     # Bank A, 0-3
     ps.gpio("", ('A', 0), 0, 0, 3)