do config start addresses
[pinmux.git] / src / spec / i_class.py
index 780decd39376b8318ecb808f4e6efe37644c7448..117d7974b731db85e661601cdd95ced752eaa0c9 100644 (file)
@@ -11,7 +11,7 @@ def pinspec():
         'A': (28, 4),
         'B': (18, 4),
         'C': (24, 1),
-        'D': (92, 1),
+        'D': (93, 1),
     }
     fixedpins = {
         'CTRL_SYS': [
@@ -61,7 +61,16 @@ def pinspec():
                       }
 
     ps = PinSpec(pinbanks, fixedpins, function_names,
-                 ['lcd', 'jtag', 'fb', 'sdr'])
+                 {'lcd': {'bus': 'fastbus',
+                          'mmap': [['Cfg', 0x20000, 10]
+                                   ]},
+                  'jtag': {'bus': 'fastbus'},
+                  'fb': {'bus': 'fastbus'},
+                  'sdr': {'bus': 'fastbus',
+                          'mmap': [['Mem', 0x70000000, 0x400000],
+                                   ['Cfg', 0x17000, 12]
+                                   ]},
+                  })
 
     # Bank A, 0-27
     ps.gpio("", ('A', 0), 0, 0, 28)
@@ -102,7 +111,7 @@ def pinspec():
     ps.flexbus2("", ('C', 0), 0)
 
     ps.sdram1("", ('D', 0), 0)
-    ps.sdram3("", ('D', 35), 0)
+    ps.sdram3("", ('D', 36), 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