diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-10-15 13:07:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:52:55 -0500 |
commit | b6e6d120c8dd9c9cd888645b01299e2a55d873a4 (patch) | |
tree | a4d5944980e61ec2c6819131cbb8269e340e58c1 /arch/mips/include | |
parent | 8402a1588a4f63465079e98481dd83d1d9cc9a98 (diff) |
MIPS: Alchemy: get rid of superfluous UART definitions
Remove unused uart bit definitions and base macros.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/mach-au1x00/au1000.h | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/arch/mips/include/asm/mach-au1x00/au1000.h b/arch/mips/include/asm/mach-au1x00/au1000.h index e11756d9aaa2..2c524a87ecb6 100644 --- a/arch/mips/include/asm/mach-au1x00/au1000.h +++ b/arch/mips/include/asm/mach-au1x00/au1000.h | |||
@@ -916,8 +916,6 @@ enum soc_au1200_ints { | |||
916 | #ifdef CONFIG_SOC_AU1000 | 916 | #ifdef CONFIG_SOC_AU1000 |
917 | 917 | ||
918 | #define UART0_ADDR 0xB1100000 | 918 | #define UART0_ADDR 0xB1100000 |
919 | #define UART1_ADDR 0xB1200000 | ||
920 | #define UART2_ADDR 0xB1300000 | ||
921 | #define UART3_ADDR 0xB1400000 | 919 | #define UART3_ADDR 0xB1400000 |
922 | 920 | ||
923 | #define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */ | 921 | #define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */ |
@@ -952,7 +950,6 @@ enum soc_au1200_ints { | |||
952 | #ifdef CONFIG_SOC_AU1100 | 950 | #ifdef CONFIG_SOC_AU1100 |
953 | 951 | ||
954 | #define UART0_ADDR 0xB1100000 | 952 | #define UART0_ADDR 0xB1100000 |
955 | #define UART1_ADDR 0xB1200000 | ||
956 | #define UART3_ADDR 0xB1400000 | 953 | #define UART3_ADDR 0xB1400000 |
957 | 954 | ||
958 | #define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */ | 955 | #define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */ |
@@ -966,8 +963,6 @@ enum soc_au1200_ints { | |||
966 | 963 | ||
967 | #ifdef CONFIG_SOC_AU1550 | 964 | #ifdef CONFIG_SOC_AU1550 |
968 | #define UART0_ADDR 0xB1100000 | 965 | #define UART0_ADDR 0xB1100000 |
969 | #define UART1_ADDR 0xB1200000 | ||
970 | #define UART3_ADDR 0xB1400000 | ||
971 | 966 | ||
972 | #define USB_OHCI_BASE 0x14020000 /* phys addr for ioremap */ | 967 | #define USB_OHCI_BASE 0x14020000 /* phys addr for ioremap */ |
973 | #define USB_OHCI_LEN 0x00060000 | 968 | #define USB_OHCI_LEN 0x00060000 |
@@ -985,7 +980,6 @@ enum soc_au1200_ints { | |||
985 | #ifdef CONFIG_SOC_AU1200 | 980 | #ifdef CONFIG_SOC_AU1200 |
986 | 981 | ||
987 | #define UART0_ADDR 0xB1100000 | 982 | #define UART0_ADDR 0xB1100000 |
988 | #define UART1_ADDR 0xB1200000 | ||
989 | 983 | ||
990 | #define USB_UOC_BASE 0x14020020 | 984 | #define USB_UOC_BASE 0x14020020 |
991 | #define USB_UOC_LEN 0x20 | 985 | #define USB_UOC_LEN 0x20 |
@@ -1262,14 +1256,6 @@ enum soc_au1200_ints { | |||
1262 | #define MAC_RX_BUFF3_STATUS 0x30 | 1256 | #define MAC_RX_BUFF3_STATUS 0x30 |
1263 | #define MAC_RX_BUFF3_ADDR 0x34 | 1257 | #define MAC_RX_BUFF3_ADDR 0x34 |
1264 | 1258 | ||
1265 | /* UARTS 0-3 */ | ||
1266 | #define UART_BASE UART0_ADDR | ||
1267 | #ifdef CONFIG_SOC_AU1200 | ||
1268 | #define UART_DEBUG_BASE UART1_ADDR | ||
1269 | #else | ||
1270 | #define UART_DEBUG_BASE UART3_ADDR | ||
1271 | #endif | ||
1272 | |||
1273 | #define UART_RX 0 /* Receive buffer */ | 1259 | #define UART_RX 0 /* Receive buffer */ |
1274 | #define UART_TX 4 /* Transmit buffer */ | 1260 | #define UART_TX 4 /* Transmit buffer */ |
1275 | #define UART_IER 8 /* Interrupt Enable Register */ | 1261 | #define UART_IER 8 /* Interrupt Enable Register */ |
@@ -1282,84 +1268,6 @@ enum soc_au1200_ints { | |||
1282 | #define UART_CLK 0x28 /* Baud Rate Clock Divider */ | 1268 | #define UART_CLK 0x28 /* Baud Rate Clock Divider */ |
1283 | #define UART_MOD_CNTRL 0x100 /* Module Control */ | 1269 | #define UART_MOD_CNTRL 0x100 /* Module Control */ |
1284 | 1270 | ||
1285 | #define UART_FCR_ENABLE_FIFO 0x01 /* Enable the FIFO */ | ||
1286 | #define UART_FCR_CLEAR_RCVR 0x02 /* Clear the RCVR FIFO */ | ||
1287 | #define UART_FCR_CLEAR_XMIT 0x04 /* Clear the XMIT FIFO */ | ||
1288 | #define UART_FCR_DMA_SELECT 0x08 /* For DMA applications */ | ||
1289 | #define UART_FCR_TRIGGER_MASK 0xF0 /* Mask for the FIFO trigger range */ | ||
1290 | #define UART_FCR_R_TRIGGER_1 0x00 /* Mask for receive trigger set at 1 */ | ||
1291 | #define UART_FCR_R_TRIGGER_4 0x40 /* Mask for receive trigger set at 4 */ | ||
1292 | #define UART_FCR_R_TRIGGER_8 0x80 /* Mask for receive trigger set at 8 */ | ||
1293 | #define UART_FCR_R_TRIGGER_14 0xA0 /* Mask for receive trigger set at 14 */ | ||
1294 | #define UART_FCR_T_TRIGGER_0 0x00 /* Mask for transmit trigger set at 0 */ | ||
1295 | #define UART_FCR_T_TRIGGER_4 0x10 /* Mask for transmit trigger set at 4 */ | ||
1296 | #define UART_FCR_T_TRIGGER_8 0x20 /* Mask for transmit trigger set at 8 */ | ||
1297 | #define UART_FCR_T_TRIGGER_12 0x30 /* Mask for transmit trigger set at 12 */ | ||
1298 | |||
1299 | /* | ||
1300 | * These are the definitions for the Line Control Register | ||
1301 | */ | ||
1302 | #define UART_LCR_SBC 0x40 /* Set break control */ | ||
1303 | #define UART_LCR_SPAR 0x20 /* Stick parity (?) */ | ||
1304 | #define UART_LCR_EPAR 0x10 /* Even parity select */ | ||
1305 | #define UART_LCR_PARITY 0x08 /* Parity Enable */ | ||
1306 | #define UART_LCR_STOP 0x04 /* Stop bits: 0=1 stop bit, 1= 2 stop bits */ | ||
1307 | #define UART_LCR_WLEN5 0x00 /* Wordlength: 5 bits */ | ||
1308 | #define UART_LCR_WLEN6 0x01 /* Wordlength: 6 bits */ | ||
1309 | #define UART_LCR_WLEN7 0x02 /* Wordlength: 7 bits */ | ||
1310 | #define UART_LCR_WLEN8 0x03 /* Wordlength: 8 bits */ | ||
1311 | |||
1312 | /* | ||
1313 | * These are the definitions for the Line Status Register | ||
1314 | */ | ||
1315 | #define UART_LSR_TEMT 0x40 /* Transmitter empty */ | ||
1316 | #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ | ||
1317 | #define UART_LSR_BI 0x10 /* Break interrupt indicator */ | ||
1318 | #define UART_LSR_FE 0x08 /* Frame error indicator */ | ||
1319 | #define UART_LSR_PE 0x04 /* Parity error indicator */ | ||
1320 | #define UART_LSR_OE 0x02 /* Overrun error indicator */ | ||
1321 | #define UART_LSR_DR 0x01 /* Receiver data ready */ | ||
1322 | |||
1323 | /* | ||
1324 | * These are the definitions for the Interrupt Identification Register | ||
1325 | */ | ||
1326 | #define UART_IIR_NO_INT 0x01 /* No interrupts pending */ | ||
1327 | #define UART_IIR_ID 0x06 /* Mask for the interrupt ID */ | ||
1328 | #define UART_IIR_MSI 0x00 /* Modem status interrupt */ | ||
1329 | #define UART_IIR_THRI 0x02 /* Transmitter holding register empty */ | ||
1330 | #define UART_IIR_RDI 0x04 /* Receiver data interrupt */ | ||
1331 | #define UART_IIR_RLSI 0x06 /* Receiver line status interrupt */ | ||
1332 | |||
1333 | /* | ||
1334 | * These are the definitions for the Interrupt Enable Register | ||
1335 | */ | ||
1336 | #define UART_IER_MSI 0x08 /* Enable Modem status interrupt */ | ||
1337 | #define UART_IER_RLSI 0x04 /* Enable receiver line status interrupt */ | ||
1338 | #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */ | ||
1339 | #define UART_IER_RDI 0x01 /* Enable receiver data interrupt */ | ||
1340 | |||
1341 | /* | ||
1342 | * These are the definitions for the Modem Control Register | ||
1343 | */ | ||
1344 | #define UART_MCR_LOOP 0x10 /* Enable loopback test mode */ | ||
1345 | #define UART_MCR_OUT2 0x08 /* Out2 complement */ | ||
1346 | #define UART_MCR_OUT1 0x04 /* Out1 complement */ | ||
1347 | #define UART_MCR_RTS 0x02 /* RTS complement */ | ||
1348 | #define UART_MCR_DTR 0x01 /* DTR complement */ | ||
1349 | |||
1350 | /* | ||
1351 | * These are the definitions for the Modem Status Register | ||
1352 | */ | ||
1353 | #define UART_MSR_DCD 0x80 /* Data Carrier Detect */ | ||
1354 | #define UART_MSR_RI 0x40 /* Ring Indicator */ | ||
1355 | #define UART_MSR_DSR 0x20 /* Data Set Ready */ | ||
1356 | #define UART_MSR_CTS 0x10 /* Clear to Send */ | ||
1357 | #define UART_MSR_DDCD 0x08 /* Delta DCD */ | ||
1358 | #define UART_MSR_TERI 0x04 /* Trailing edge ring indicator */ | ||
1359 | #define UART_MSR_DDSR 0x02 /* Delta DSR */ | ||
1360 | #define UART_MSR_DCTS 0x01 /* Delta CTS */ | ||
1361 | #define UART_MSR_ANY_DELTA 0x0F /* Any of the delta bits! */ | ||
1362 | |||
1363 | /* SSIO */ | 1271 | /* SSIO */ |
1364 | #define SSI0_STATUS 0xB1600000 | 1272 | #define SSI0_STATUS 0xB1600000 |
1365 | # define SSI_STATUS_BF (1 << 4) | 1273 | # define SSI_STATUS_BF (1 << 4) |