diff options
Diffstat (limited to 'arch/blackfin/mach-bf609')
-rw-r--r-- | arch/blackfin/mach-bf609/Kconfig | 638 | ||||
-rw-r--r-- | arch/blackfin/mach-bf609/scb.c | 157 |
2 files changed, 782 insertions, 13 deletions
diff --git a/arch/blackfin/mach-bf609/Kconfig b/arch/blackfin/mach-bf609/Kconfig index ffc1708c463e..2bcbf94b1edf 100644 --- a/arch/blackfin/mach-bf609/Kconfig +++ b/arch/blackfin/mach-bf609/Kconfig | |||
@@ -1076,6 +1076,644 @@ config SCB0_MI5_SLOT15 | |||
1076 | 1076 | ||
1077 | endif # SCB0_MI5 | 1077 | endif # SCB0_MI5 |
1078 | 1078 | ||
1079 | menuconfig SCB1_MI0 | ||
1080 | bool "SCB1 Master Interface 0" | ||
1081 | default n | ||
1082 | depends on SCB_PRIORITY | ||
1083 | help | ||
1084 | The slave interface id of each slot should be set according following table. | ||
1085 | SPORT0A -- 0 | ||
1086 | SPORT0B -- 1 | ||
1087 | SPORT1A -- 2 | ||
1088 | SPORT1B -- 3 | ||
1089 | SPORT2A -- 4 | ||
1090 | SPORT2B -- 5 | ||
1091 | SPI0TX -- 6 | ||
1092 | SPI0RX -- 7 | ||
1093 | SPI1TX -- 8 | ||
1094 | SPI1RX -- 9 | ||
1095 | |||
1096 | if SCB1_MI0 | ||
1097 | |||
1098 | config SCB1_MI0_SLOT0 | ||
1099 | int "Slot 0 slave interface id" | ||
1100 | default 0 | ||
1101 | range 0 9 | ||
1102 | |||
1103 | config SCB1_MI0_SLOT1 | ||
1104 | int "Slot 1 slave interface id" | ||
1105 | default 1 | ||
1106 | range 0 9 | ||
1107 | |||
1108 | config SCB1_MI0_SLOT2 | ||
1109 | int "Slot 2 slave interface id" | ||
1110 | default 2 | ||
1111 | range 0 9 | ||
1112 | |||
1113 | config SCB1_MI0_SLOT3 | ||
1114 | int "Slot 3 slave interface id" | ||
1115 | default 3 | ||
1116 | range 0 9 | ||
1117 | |||
1118 | config SCB1_MI0_SLOT4 | ||
1119 | int "Slot 4 slave interface id" | ||
1120 | default 4 | ||
1121 | range 0 9 | ||
1122 | |||
1123 | config SCB1_MI0_SLOT5 | ||
1124 | int "Slot 5 slave interface id" | ||
1125 | default 5 | ||
1126 | range 0 9 | ||
1127 | |||
1128 | config SCB1_MI0_SLOT6 | ||
1129 | int "Slot 6 slave interface id" | ||
1130 | default 6 | ||
1131 | range 0 9 | ||
1132 | |||
1133 | config SCB1_MI0_SLOT7 | ||
1134 | int "Slot 7 slave interface id" | ||
1135 | default 7 | ||
1136 | range 0 9 | ||
1137 | |||
1138 | config SCB1_MI0_SLOT8 | ||
1139 | int "Slot 8 slave interface id" | ||
1140 | default 8 | ||
1141 | range 0 9 | ||
1142 | |||
1143 | config SCB1_MI0_SLOT9 | ||
1144 | int "Slot 9 slave interface id" | ||
1145 | default 9 | ||
1146 | range 0 9 | ||
1147 | |||
1148 | config SCB1_MI0_SLOT10 | ||
1149 | int "Slot 10 slave interface id" | ||
1150 | default 0 | ||
1151 | range 0 9 | ||
1152 | |||
1153 | config SCB1_MI0_SLOT11 | ||
1154 | int "Slot 11 slave interface id" | ||
1155 | default 1 | ||
1156 | range 0 9 | ||
1157 | |||
1158 | config SCB1_MI0_SLOT12 | ||
1159 | int "Slot 12 slave interface id" | ||
1160 | default 2 | ||
1161 | range 0 9 | ||
1162 | |||
1163 | config SCB1_MI0_SLOT13 | ||
1164 | int "Slot 13 slave interface id" | ||
1165 | default 3 | ||
1166 | range 0 9 | ||
1167 | |||
1168 | config SCB1_MI0_SLOT14 | ||
1169 | int "Slot 14 slave interface id" | ||
1170 | default 4 | ||
1171 | range 0 9 | ||
1172 | |||
1173 | config SCB1_MI0_SLOT15 | ||
1174 | int "Slot 15 slave interface id" | ||
1175 | default 5 | ||
1176 | range 0 9 | ||
1177 | |||
1178 | config SCB1_MI0_SLOT16 | ||
1179 | int "Slot 16 slave interface id" | ||
1180 | default 6 | ||
1181 | range 0 13 | ||
1182 | |||
1183 | config SCB1_MI0_SLOT17 | ||
1184 | int "Slot 17 slave interface id" | ||
1185 | default 7 | ||
1186 | range 0 13 | ||
1187 | |||
1188 | config SCB1_MI0_SLOT18 | ||
1189 | int "Slot 18 slave interface id" | ||
1190 | default 8 | ||
1191 | range 0 13 | ||
1192 | |||
1193 | config SCB1_MI0_SLOT19 | ||
1194 | int "Slot 19 slave interface id" | ||
1195 | default 9 | ||
1196 | range 0 13 | ||
1197 | |||
1198 | endif # SCB1_MI0 | ||
1199 | |||
1200 | menuconfig SCB2_MI0 | ||
1201 | bool "SCB2 Master Interface 0" | ||
1202 | default n | ||
1203 | depends on SCB_PRIORITY | ||
1204 | help | ||
1205 | The slave interface id of each slot should be set according following table. | ||
1206 | RSI -- 0 | ||
1207 | SDU DMA -- 1 | ||
1208 | SDU -- 2 | ||
1209 | EMAC0 -- 3 | ||
1210 | EMAC1 -- 4 | ||
1211 | |||
1212 | if SCB2_MI0 | ||
1213 | |||
1214 | config SCB2_MI0_SLOT0 | ||
1215 | int "Slot 0 slave interface id" | ||
1216 | default 0 | ||
1217 | range 0 4 | ||
1218 | |||
1219 | config SCB2_MI0_SLOT1 | ||
1220 | int "Slot 1 slave interface id" | ||
1221 | default 1 | ||
1222 | range 0 4 | ||
1223 | |||
1224 | config SCB2_MI0_SLOT2 | ||
1225 | int "Slot 2 slave interface id" | ||
1226 | default 2 | ||
1227 | range 0 4 | ||
1228 | |||
1229 | config SCB2_MI0_SLOT3 | ||
1230 | int "Slot 3 slave interface id" | ||
1231 | default 3 | ||
1232 | range 0 4 | ||
1233 | |||
1234 | config SCB2_MI0_SLOT4 | ||
1235 | int "Slot 4 slave interface id" | ||
1236 | default 4 | ||
1237 | range 0 4 | ||
1238 | |||
1239 | config SCB2_MI0_SLOT5 | ||
1240 | int "Slot 5 slave interface id" | ||
1241 | default 0 | ||
1242 | range 0 4 | ||
1243 | |||
1244 | config SCB2_MI0_SLOT6 | ||
1245 | int "Slot 6 slave interface id" | ||
1246 | default 1 | ||
1247 | range 0 4 | ||
1248 | |||
1249 | config SCB2_MI0_SLOT7 | ||
1250 | int "Slot 7 slave interface id" | ||
1251 | default 2 | ||
1252 | range 0 4 | ||
1253 | |||
1254 | config SCB2_MI0_SLOT8 | ||
1255 | int "Slot 8 slave interface id" | ||
1256 | default 3 | ||
1257 | range 0 4 | ||
1258 | |||
1259 | config SCB2_MI0_SLOT9 | ||
1260 | int "Slot 9 slave interface id" | ||
1261 | default 4 | ||
1262 | range 0 4 | ||
1263 | |||
1264 | endif # SCB2_MI0 | ||
1265 | |||
1266 | menuconfig SCB3_MI0 | ||
1267 | bool "SCB3 Master Interface 0" | ||
1268 | default n | ||
1269 | depends on SCB_PRIORITY | ||
1270 | help | ||
1271 | The slave interface id of each slot should be set according following table. | ||
1272 | LP0 -- 0 | ||
1273 | LP1 -- 1 | ||
1274 | LP2 -- 2 | ||
1275 | LP3 -- 3 | ||
1276 | UART0TX -- 4 | ||
1277 | UART0RX -- 5 | ||
1278 | UART1TX -- 4 | ||
1279 | UART1RX -- 5 | ||
1280 | |||
1281 | if SCB3_MI0 | ||
1282 | |||
1283 | config SCB3_MI0_SLOT0 | ||
1284 | int "Slot 0 slave interface id" | ||
1285 | default 0 | ||
1286 | range 0 7 | ||
1287 | |||
1288 | config SCB3_MI0_SLOT1 | ||
1289 | int "Slot 1 slave interface id" | ||
1290 | default 1 | ||
1291 | range 0 7 | ||
1292 | |||
1293 | config SCB3_MI0_SLOT2 | ||
1294 | int "Slot 2 slave interface id" | ||
1295 | default 2 | ||
1296 | range 0 7 | ||
1297 | |||
1298 | config SCB3_MI0_SLOT3 | ||
1299 | int "Slot 3 slave interface id" | ||
1300 | default 3 | ||
1301 | range 0 7 | ||
1302 | |||
1303 | config SCB3_MI0_SLOT4 | ||
1304 | int "Slot 4 slave interface id" | ||
1305 | default 4 | ||
1306 | range 0 7 | ||
1307 | |||
1308 | config SCB3_MI0_SLOT5 | ||
1309 | int "Slot 5 slave interface id" | ||
1310 | default 5 | ||
1311 | range 0 7 | ||
1312 | |||
1313 | config SCB3_MI0_SLOT6 | ||
1314 | int "Slot 6 slave interface id" | ||
1315 | default 6 | ||
1316 | range 0 7 | ||
1317 | |||
1318 | config SCB3_MI0_SLOT7 | ||
1319 | int "Slot 7 slave interface id" | ||
1320 | default 7 | ||
1321 | range 0 7 | ||
1322 | |||
1323 | config SCB3_MI0_SLOT8 | ||
1324 | int "Slot 8 slave interface id" | ||
1325 | default 0 | ||
1326 | range 0 7 | ||
1327 | |||
1328 | config SCB3_MI0_SLOT9 | ||
1329 | int "Slot 9 slave interface id" | ||
1330 | default 1 | ||
1331 | range 0 7 | ||
1332 | |||
1333 | config SCB3_MI0_SLOT10 | ||
1334 | int "Slot 10 slave interface id" | ||
1335 | default 2 | ||
1336 | range 0 7 | ||
1337 | |||
1338 | config SCB3_MI0_SLOT11 | ||
1339 | int "Slot 11 slave interface id" | ||
1340 | default 3 | ||
1341 | range 0 7 | ||
1342 | |||
1343 | config SCB3_MI0_SLOT12 | ||
1344 | int "Slot 12 slave interface id" | ||
1345 | default 4 | ||
1346 | range 0 7 | ||
1347 | |||
1348 | config SCB3_MI0_SLOT13 | ||
1349 | int "Slot 13 slave interface id" | ||
1350 | default 5 | ||
1351 | range 0 7 | ||
1352 | |||
1353 | config SCB3_MI0_SLOT14 | ||
1354 | int "Slot 14 slave interface id" | ||
1355 | default 6 | ||
1356 | range 0 7 | ||
1357 | |||
1358 | config SCB3_MI0_SLOT15 | ||
1359 | int "Slot 15 slave interface id" | ||
1360 | default 7 | ||
1361 | range 0 7 | ||
1362 | |||
1363 | endif # SCB3_MI0 | ||
1364 | |||
1365 | menuconfig SCB4_MI0 | ||
1366 | bool "SCB4 Master Interface 0" | ||
1367 | default n | ||
1368 | depends on SCB_PRIORITY | ||
1369 | help | ||
1370 | The slave interface id of each slot should be set according following table. | ||
1371 | MDA21 -- 0 | ||
1372 | MDA22 -- 1 | ||
1373 | MDA23 -- 2 | ||
1374 | MDA24 -- 3 | ||
1375 | MDA25 -- 4 | ||
1376 | MDA26 -- 5 | ||
1377 | MDA27 -- 6 | ||
1378 | MDA28 -- 7 | ||
1379 | |||
1380 | if SCB4_MI0 | ||
1381 | |||
1382 | config SCB4_MI0_SLOT0 | ||
1383 | int "Slot 0 slave interface id" | ||
1384 | default 0 | ||
1385 | range 0 7 | ||
1386 | |||
1387 | config SCB4_MI0_SLOT1 | ||
1388 | int "Slot 1 slave interface id" | ||
1389 | default 1 | ||
1390 | range 0 7 | ||
1391 | |||
1392 | config SCB4_MI0_SLOT2 | ||
1393 | int "Slot 2 slave interface id" | ||
1394 | default 2 | ||
1395 | range 0 7 | ||
1396 | |||
1397 | config SCB4_MI0_SLOT3 | ||
1398 | int "Slot 3 slave interface id" | ||
1399 | default 3 | ||
1400 | range 0 7 | ||
1401 | |||
1402 | config SCB4_MI0_SLOT4 | ||
1403 | int "Slot 4 slave interface id" | ||
1404 | default 4 | ||
1405 | range 0 7 | ||
1406 | |||
1407 | config SCB4_MI0_SLOT5 | ||
1408 | int "Slot 5 slave interface id" | ||
1409 | default 5 | ||
1410 | range 0 7 | ||
1411 | |||
1412 | config SCB4_MI0_SLOT6 | ||
1413 | int "Slot 6 slave interface id" | ||
1414 | default 6 | ||
1415 | range 0 7 | ||
1416 | |||
1417 | config SCB4_MI0_SLOT7 | ||
1418 | int "Slot 7 slave interface id" | ||
1419 | default 7 | ||
1420 | range 0 7 | ||
1421 | |||
1422 | config SCB4_MI0_SLOT8 | ||
1423 | int "Slot 8 slave interface id" | ||
1424 | default 0 | ||
1425 | range 0 7 | ||
1426 | |||
1427 | config SCB4_MI0_SLOT9 | ||
1428 | int "Slot 9 slave interface id" | ||
1429 | default 1 | ||
1430 | range 0 7 | ||
1431 | |||
1432 | config SCB4_MI0_SLOT10 | ||
1433 | int "Slot 10 slave interface id" | ||
1434 | default 2 | ||
1435 | range 0 7 | ||
1436 | |||
1437 | config SCB4_MI0_SLOT11 | ||
1438 | int "Slot 11 slave interface id" | ||
1439 | default 3 | ||
1440 | range 0 7 | ||
1441 | |||
1442 | config SCB4_MI0_SLOT12 | ||
1443 | int "Slot 12 slave interface id" | ||
1444 | default 4 | ||
1445 | range 0 7 | ||
1446 | |||
1447 | config SCB4_MI0_SLOT13 | ||
1448 | int "Slot 13 slave interface id" | ||
1449 | default 5 | ||
1450 | range 0 7 | ||
1451 | |||
1452 | config SCB4_MI0_SLOT14 | ||
1453 | int "Slot 14 slave interface id" | ||
1454 | default 6 | ||
1455 | range 0 7 | ||
1456 | |||
1457 | config SCB4_MI0_SLOT15 | ||
1458 | int "Slot 15 slave interface id" | ||
1459 | default 7 | ||
1460 | range 0 7 | ||
1461 | |||
1462 | endif # SCB4_MI0 | ||
1463 | |||
1464 | menuconfig SCB5_MI0 | ||
1465 | bool "SCB5 Master Interface 0" | ||
1466 | default n | ||
1467 | depends on SCB_PRIORITY | ||
1468 | help | ||
1469 | The slave interface id of each slot should be set according following table. | ||
1470 | PPI0 MDA29 -- 0 | ||
1471 | PPI0 MDA30 -- 1 | ||
1472 | PPI2 MDA31 -- 2 | ||
1473 | PPI2 MDA32 -- 3 | ||
1474 | |||
1475 | if SCB5_MI0 | ||
1476 | |||
1477 | config SCB5_MI0_SLOT0 | ||
1478 | int "Slot 0 slave interface id" | ||
1479 | default 0 | ||
1480 | range 0 3 | ||
1481 | |||
1482 | config SCB5_MI0_SLOT1 | ||
1483 | int "Slot 1 slave interface id" | ||
1484 | default 1 | ||
1485 | range 0 3 | ||
1486 | |||
1487 | config SCB5_MI0_SLOT2 | ||
1488 | int "Slot 2 slave interface id" | ||
1489 | default 2 | ||
1490 | range 0 3 | ||
1491 | |||
1492 | config SCB5_MI0_SLOT3 | ||
1493 | int "Slot 3 slave interface id" | ||
1494 | default 3 | ||
1495 | range 0 3 | ||
1496 | |||
1497 | config SCB5_MI0_SLOT4 | ||
1498 | int "Slot 4 slave interface id" | ||
1499 | default 0 | ||
1500 | range 0 3 | ||
1501 | |||
1502 | config SCB5_MI0_SLOT5 | ||
1503 | int "Slot 5 slave interface id" | ||
1504 | default 1 | ||
1505 | range 0 3 | ||
1506 | |||
1507 | config SCB5_MI0_SLOT6 | ||
1508 | int "Slot 6 slave interface id" | ||
1509 | default 2 | ||
1510 | range 0 3 | ||
1511 | |||
1512 | config SCB5_MI0_SLOT7 | ||
1513 | int "Slot 7 slave interface id" | ||
1514 | default 3 | ||
1515 | range 0 3 | ||
1516 | |||
1517 | endif # SCB5_MI0 | ||
1518 | |||
1519 | menuconfig SCB6_MI0 | ||
1520 | bool "SCB6 Master Interface 0" | ||
1521 | default n | ||
1522 | depends on SCB_PRIORITY | ||
1523 | help | ||
1524 | The slave interface id of each slot should be set according following table. | ||
1525 | PPI1 MDA33 -- 0 | ||
1526 | PPI1 MDA34 -- 1 | ||
1527 | |||
1528 | if SCB6_MI0 | ||
1529 | |||
1530 | config SCB6_MI0_SLOT0 | ||
1531 | int "Slot 0 slave interface id" | ||
1532 | default 0 | ||
1533 | range 0 1 | ||
1534 | |||
1535 | config SCB6_MI0_SLOT1 | ||
1536 | int "Slot 1 slave interface id" | ||
1537 | default 1 | ||
1538 | range 0 1 | ||
1539 | |||
1540 | config SCB6_MI0_SLOT2 | ||
1541 | int "Slot 2 slave interface id" | ||
1542 | default 0 | ||
1543 | range 0 1 | ||
1544 | |||
1545 | config SCB6_MI0_SLOT3 | ||
1546 | int "Slot 3 slave interface id" | ||
1547 | default 1 | ||
1548 | range 0 1 | ||
1549 | |||
1550 | endif # SCB6_MI0 | ||
1551 | |||
1552 | menuconfig SCB7_MI0 | ||
1553 | bool "SCB7 Master Interface 0" | ||
1554 | default n | ||
1555 | depends on SCB_PRIORITY | ||
1556 | help | ||
1557 | The slave interface id of each slot should be set according following table. | ||
1558 | PIXC0 -- 0 | ||
1559 | PIXC1 -- 1 | ||
1560 | PIXC2 -- 2 | ||
1561 | |||
1562 | if SCB7_MI0 | ||
1563 | |||
1564 | config SCB7_MI0_SLOT0 | ||
1565 | int "Slot 0 slave interface id" | ||
1566 | default 0 | ||
1567 | range 0 2 | ||
1568 | |||
1569 | config SCB7_MI0_SLOT1 | ||
1570 | int "Slot 1 slave interface id" | ||
1571 | default 1 | ||
1572 | range 0 2 | ||
1573 | |||
1574 | config SCB7_MI0_SLOT2 | ||
1575 | int "Slot 2 slave interface id" | ||
1576 | default 2 | ||
1577 | range 0 2 | ||
1578 | |||
1579 | config SCB7_MI0_SLOT3 | ||
1580 | int "Slot 3 slave interface id" | ||
1581 | default 0 | ||
1582 | range 0 2 | ||
1583 | |||
1584 | config SCB7_MI0_SLOT4 | ||
1585 | int "Slot 4 slave interface id" | ||
1586 | default 1 | ||
1587 | range 0 2 | ||
1588 | |||
1589 | config SCB7_MI0_SLOT5 | ||
1590 | int "Slot 5 slave interface id" | ||
1591 | default 2 | ||
1592 | range 0 2 | ||
1593 | |||
1594 | endif # SCB7_MI0 | ||
1595 | |||
1596 | menuconfig SCB8_MI0 | ||
1597 | bool "SCB8 Master Interface 0" | ||
1598 | default n | ||
1599 | depends on SCB_PRIORITY | ||
1600 | help | ||
1601 | The slave interface id of each slot should be set according following table. | ||
1602 | PVP CPDOB -- 0 | ||
1603 | PVP CPDOC -- 1 | ||
1604 | PVP CPCO -- 2 | ||
1605 | PVP CPCI -- 3 | ||
1606 | |||
1607 | if SCB8_MI0 | ||
1608 | |||
1609 | config SCB8_MI0_SLOT0 | ||
1610 | int "Slot 0 slave interface id" | ||
1611 | default 0 | ||
1612 | range 0 3 | ||
1613 | |||
1614 | config SCB8_MI0_SLOT1 | ||
1615 | int "Slot 1 slave interface id" | ||
1616 | default 1 | ||
1617 | range 0 3 | ||
1618 | |||
1619 | config SCB8_MI0_SLOT2 | ||
1620 | int "Slot 2 slave interface id" | ||
1621 | default 2 | ||
1622 | range 0 3 | ||
1623 | |||
1624 | config SCB8_MI0_SLOT3 | ||
1625 | int "Slot 3 slave interface id" | ||
1626 | default 3 | ||
1627 | range 0 3 | ||
1628 | |||
1629 | config SCB8_MI0_SLOT4 | ||
1630 | int "Slot 4 slave interface id" | ||
1631 | default 0 | ||
1632 | range 0 3 | ||
1633 | |||
1634 | config SCB8_MI0_SLOT5 | ||
1635 | int "Slot 5 slave interface id" | ||
1636 | default 1 | ||
1637 | range 0 3 | ||
1638 | |||
1639 | config SCB8_MI0_SLOT6 | ||
1640 | int "Slot 6 slave interface id" | ||
1641 | default 2 | ||
1642 | range 0 3 | ||
1643 | |||
1644 | config SCB8_MI0_SLOT7 | ||
1645 | int "Slot 7 slave interface id" | ||
1646 | default 3 | ||
1647 | range 0 3 | ||
1648 | |||
1649 | endif # SCB8_MI0 | ||
1650 | |||
1651 | menuconfig SCB9_MI0 | ||
1652 | bool "SCB9 Master Interface 0" | ||
1653 | default n | ||
1654 | depends on SCB_PRIORITY | ||
1655 | help | ||
1656 | The slave interface id of each slot should be set according following table. | ||
1657 | PVP MPDO -- 0 | ||
1658 | PVP MPDI -- 1 | ||
1659 | PVP MPCO -- 2 | ||
1660 | PVP MPCI -- 3 | ||
1661 | PVP CPDOA -- 4 | ||
1662 | |||
1663 | if SCB9_MI0 | ||
1664 | |||
1665 | config SCB9_MI0_SLOT0 | ||
1666 | int "Slot 0 slave interface id" | ||
1667 | default 0 | ||
1668 | range 0 4 | ||
1669 | |||
1670 | config SCB9_MI0_SLOT1 | ||
1671 | int "Slot 1 slave interface id" | ||
1672 | default 1 | ||
1673 | range 0 4 | ||
1674 | |||
1675 | config SCB9_MI0_SLOT2 | ||
1676 | int "Slot 2 slave interface id" | ||
1677 | default 2 | ||
1678 | range 0 4 | ||
1679 | |||
1680 | config SCB9_MI0_SLOT3 | ||
1681 | int "Slot 3 slave interface id" | ||
1682 | default 3 | ||
1683 | range 0 4 | ||
1684 | |||
1685 | config SCB9_MI0_SLOT4 | ||
1686 | int "Slot 4 slave interface id" | ||
1687 | default 4 | ||
1688 | range 0 4 | ||
1689 | |||
1690 | config SCB9_MI0_SLOT5 | ||
1691 | int "Slot 5 slave interface id" | ||
1692 | default 0 | ||
1693 | range 0 4 | ||
1694 | |||
1695 | config SCB9_MI0_SLOT6 | ||
1696 | int "Slot 6 slave interface id" | ||
1697 | default 1 | ||
1698 | range 0 4 | ||
1699 | |||
1700 | config SCB9_MI0_SLOT7 | ||
1701 | int "Slot 7 slave interface id" | ||
1702 | default 2 | ||
1703 | range 0 4 | ||
1704 | |||
1705 | config SCB9_MI0_SLOT8 | ||
1706 | int "Slot 8 slave interface id" | ||
1707 | default 3 | ||
1708 | range 0 4 | ||
1709 | |||
1710 | config SCB9_MI0_SLOT9 | ||
1711 | int "Slot 9 slave interface id" | ||
1712 | default 4 | ||
1713 | range 0 4 | ||
1714 | |||
1715 | endif # SCB9_MI0 | ||
1716 | |||
1079 | endmenu | 1717 | endmenu |
1080 | 1718 | ||
1081 | endif | 1719 | endif |
diff --git a/arch/blackfin/mach-bf609/scb.c b/arch/blackfin/mach-bf609/scb.c index 615c7a554d6b..ac1f07c33594 100644 --- a/arch/blackfin/mach-bf609/scb.c +++ b/arch/blackfin/mach-bf609/scb.c | |||
@@ -212,21 +212,152 @@ struct scb_mi_prio scb_data[] = { | |||
212 | CONFIG_SCB0_MI5_SLOT12, | 212 | CONFIG_SCB0_MI5_SLOT12, |
213 | CONFIG_SCB0_MI5_SLOT13, | 213 | CONFIG_SCB0_MI5_SLOT13, |
214 | CONFIG_SCB0_MI5_SLOT14, | 214 | CONFIG_SCB0_MI5_SLOT14, |
215 | CONFIG_SCB0_MI5_SLOT15, | 215 | CONFIG_SCB0_MI5_SLOT15 |
216 | }, | ||
217 | }, | ||
218 | #endif | ||
219 | #ifdef CONFIG_SCB1_MI0 | ||
220 | { REG_SCB1_ARBR0, REG_SCB1_ARBW0, 20, { | ||
221 | CONFIG_SCB1_MI0_SLOT0, | ||
222 | CONFIG_SCB1_MI0_SLOT1, | ||
223 | CONFIG_SCB1_MI0_SLOT2, | ||
224 | CONFIG_SCB1_MI0_SLOT3, | ||
225 | CONFIG_SCB1_MI0_SLOT4, | ||
226 | CONFIG_SCB1_MI0_SLOT5, | ||
227 | CONFIG_SCB1_MI0_SLOT6, | ||
228 | CONFIG_SCB1_MI0_SLOT7, | ||
229 | CONFIG_SCB1_MI0_SLOT8, | ||
230 | CONFIG_SCB1_MI0_SLOT9, | ||
231 | CONFIG_SCB1_MI0_SLOT10, | ||
232 | CONFIG_SCB1_MI0_SLOT11, | ||
233 | CONFIG_SCB1_MI0_SLOT12, | ||
234 | CONFIG_SCB1_MI0_SLOT13, | ||
235 | CONFIG_SCB1_MI0_SLOT14, | ||
236 | CONFIG_SCB1_MI0_SLOT15, | ||
237 | CONFIG_SCB1_MI0_SLOT16, | ||
238 | CONFIG_SCB1_MI0_SLOT17, | ||
239 | CONFIG_SCB1_MI0_SLOT18, | ||
240 | CONFIG_SCB1_MI0_SLOT19 | ||
241 | }, | ||
242 | }, | ||
243 | #endif | ||
244 | #ifdef CONFIG_SCB2_MI0 | ||
245 | { REG_SCB2_ARBR0, REG_SCB2_ARBW0, 10, { | ||
246 | CONFIG_SCB2_MI0_SLOT0, | ||
247 | CONFIG_SCB2_MI0_SLOT1, | ||
248 | CONFIG_SCB2_MI0_SLOT2, | ||
249 | CONFIG_SCB2_MI0_SLOT3, | ||
250 | CONFIG_SCB2_MI0_SLOT4, | ||
251 | CONFIG_SCB2_MI0_SLOT5, | ||
252 | CONFIG_SCB2_MI0_SLOT6, | ||
253 | CONFIG_SCB2_MI0_SLOT7, | ||
254 | CONFIG_SCB2_MI0_SLOT8, | ||
255 | CONFIG_SCB2_MI0_SLOT9 | ||
256 | }, | ||
257 | }, | ||
258 | #endif | ||
259 | #ifdef CONFIG_SCB3_MI0 | ||
260 | { REG_SCB3_ARBR0, REG_SCB3_ARBW0, 16, { | ||
261 | CONFIG_SCB3_MI0_SLOT0, | ||
262 | CONFIG_SCB3_MI0_SLOT1, | ||
263 | CONFIG_SCB3_MI0_SLOT2, | ||
264 | CONFIG_SCB3_MI0_SLOT3, | ||
265 | CONFIG_SCB3_MI0_SLOT4, | ||
266 | CONFIG_SCB3_MI0_SLOT5, | ||
267 | CONFIG_SCB3_MI0_SLOT6, | ||
268 | CONFIG_SCB3_MI0_SLOT7, | ||
269 | CONFIG_SCB3_MI0_SLOT8, | ||
270 | CONFIG_SCB3_MI0_SLOT9, | ||
271 | CONFIG_SCB3_MI0_SLOT10, | ||
272 | CONFIG_SCB3_MI0_SLOT11, | ||
273 | CONFIG_SCB3_MI0_SLOT12, | ||
274 | CONFIG_SCB3_MI0_SLOT13, | ||
275 | CONFIG_SCB3_MI0_SLOT14, | ||
276 | CONFIG_SCB3_MI0_SLOT15 | ||
277 | }, | ||
278 | }, | ||
279 | #endif | ||
280 | #ifdef CONFIG_SCB4_MI0 | ||
281 | { REG_SCB4_ARBR0, REG_SCB4_ARBW0, 16, { | ||
282 | CONFIG_SCB4_MI0_SLOT0, | ||
283 | CONFIG_SCB4_MI0_SLOT1, | ||
284 | CONFIG_SCB4_MI0_SLOT2, | ||
285 | CONFIG_SCB4_MI0_SLOT3, | ||
286 | CONFIG_SCB4_MI0_SLOT4, | ||
287 | CONFIG_SCB4_MI0_SLOT5, | ||
288 | CONFIG_SCB4_MI0_SLOT6, | ||
289 | CONFIG_SCB4_MI0_SLOT7, | ||
290 | CONFIG_SCB4_MI0_SLOT8, | ||
291 | CONFIG_SCB4_MI0_SLOT9, | ||
292 | CONFIG_SCB4_MI0_SLOT10, | ||
293 | CONFIG_SCB4_MI0_SLOT11, | ||
294 | CONFIG_SCB4_MI0_SLOT12, | ||
295 | CONFIG_SCB4_MI0_SLOT13, | ||
296 | CONFIG_SCB4_MI0_SLOT14, | ||
297 | CONFIG_SCB4_MI0_SLOT15 | ||
298 | }, | ||
299 | }, | ||
300 | #endif | ||
301 | #ifdef CONFIG_SCB5_MI0 | ||
302 | { REG_SCB5_ARBR0, REG_SCB5_ARBW0, 8, { | ||
303 | CONFIG_SCB5_MI0_SLOT0, | ||
304 | CONFIG_SCB5_MI0_SLOT1, | ||
305 | CONFIG_SCB5_MI0_SLOT2, | ||
306 | CONFIG_SCB5_MI0_SLOT3, | ||
307 | CONFIG_SCB5_MI0_SLOT4, | ||
308 | CONFIG_SCB5_MI0_SLOT5, | ||
309 | CONFIG_SCB5_MI0_SLOT6, | ||
310 | CONFIG_SCB5_MI0_SLOT7 | ||
311 | }, | ||
312 | }, | ||
313 | #endif | ||
314 | #ifdef CONFIG_SCB6_MI0 | ||
315 | { REG_SCB6_ARBR0, REG_SCB6_ARBW0, 4, { | ||
316 | CONFIG_SCB6_MI0_SLOT0, | ||
317 | CONFIG_SCB6_MI0_SLOT1, | ||
318 | CONFIG_SCB6_MI0_SLOT2, | ||
319 | CONFIG_SCB6_MI0_SLOT3 | ||
320 | }, | ||
321 | }, | ||
322 | #endif | ||
323 | #ifdef CONFIG_SCB7_MI0 | ||
324 | { REG_SCB7_ARBR0, REG_SCB7_ARBW0, 6, { | ||
325 | CONFIG_SCB7_MI0_SLOT0, | ||
326 | CONFIG_SCB7_MI0_SLOT1, | ||
327 | CONFIG_SCB7_MI0_SLOT2, | ||
328 | CONFIG_SCB7_MI0_SLOT3, | ||
329 | CONFIG_SCB7_MI0_SLOT4, | ||
330 | CONFIG_SCB7_MI0_SLOT5 | ||
331 | }, | ||
332 | }, | ||
333 | #endif | ||
334 | #ifdef CONFIG_SCB8_MI0 | ||
335 | { REG_SCB8_ARBR0, REG_SCB8_ARBW0, 8, { | ||
336 | CONFIG_SCB8_MI0_SLOT0, | ||
337 | CONFIG_SCB8_MI0_SLOT1, | ||
338 | CONFIG_SCB8_MI0_SLOT2, | ||
339 | CONFIG_SCB8_MI0_SLOT3, | ||
340 | CONFIG_SCB8_MI0_SLOT4, | ||
341 | CONFIG_SCB8_MI0_SLOT5, | ||
342 | CONFIG_SCB8_MI0_SLOT6, | ||
343 | CONFIG_SCB8_MI0_SLOT7 | ||
344 | }, | ||
345 | }, | ||
346 | #endif | ||
347 | #ifdef CONFIG_SCB9_MI0 | ||
348 | { REG_SCB9_ARBR0, REG_SCB9_ARBW0, 10, { | ||
349 | CONFIG_SCB9_MI0_SLOT0, | ||
350 | CONFIG_SCB9_MI0_SLOT1, | ||
351 | CONFIG_SCB9_MI0_SLOT2, | ||
352 | CONFIG_SCB9_MI0_SLOT3, | ||
353 | CONFIG_SCB9_MI0_SLOT4, | ||
354 | CONFIG_SCB9_MI0_SLOT5, | ||
355 | CONFIG_SCB9_MI0_SLOT6, | ||
356 | CONFIG_SCB9_MI0_SLOT7, | ||
357 | CONFIG_SCB9_MI0_SLOT8, | ||
358 | CONFIG_SCB9_MI0_SLOT9 | ||
216 | }, | 359 | }, |
217 | }, | 360 | }, |
218 | #endif | 361 | #endif |
219 | /* | ||
220 | { REG_SCB1_ARBR0, REG_SCB1_ARBW0, scb1_mi0, 20 }, | ||
221 | { REG_SCB2_ARBR0, REG_SCB2_ARBW0, scb2_mi0, 10 }, | ||
222 | { REG_SCB3_ARBR0, REG_SCB3_ARBW0, scb3_mi0, 16 }, | ||
223 | { REG_SCB4_ARBR0, REG_SCB4_ARBW0, scb4_mi0, 16 }, | ||
224 | { REG_SCB5_ARBR0, REG_SCB5_ARBW0, scb5_mi0, 8 }, | ||
225 | { REG_SCB6_ARBR0, REG_SCB6_ARBW0, scb6_mi0, 4 }, | ||
226 | { REG_SCB7_ARBR0, REG_SCB7_ARBW0, scb7_mi0, 6 }, | ||
227 | { REG_SCB8_ARBR0, REG_SCB8_ARBW0, scb8_mi0, 8 }, | ||
228 | { REG_SCB9_ARBR0, REG_SCB9_ARBW0, scb9_mi0, 10 }, | ||
229 | { REG_SCB10_ARBR0, REG_SCB10_ARBW0, scb20_mi0, 16 }, | ||
230 | */ | ||
231 | { 0, } | 362 | { 0, } |
232 | }; | 363 | }; |