mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm8668] get rid of the UART defines
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34549 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -31,33 +31,6 @@
|
||||
|
||||
/** onboard uart **/
|
||||
#define ADM8668_UARTCLK_FREQ 62500000
|
||||
/* registers */
|
||||
#define UART_DR_REG 0x00
|
||||
#define UART_RSR_REG 0x04
|
||||
#define UART_CR_REG 0x14
|
||||
#define UART_FR_REG 0x18
|
||||
#define UART_IIR_REG 0x1C
|
||||
|
||||
/* rsr reg */
|
||||
#define UART_FRAMING_ERR 0x01
|
||||
#define UART_PARITY_ERR 0x02
|
||||
#define UART_BREAK_ERR 0x04
|
||||
#define UART_OVERRUN_ERR 0x08
|
||||
#define UART_RX_STATUS_MASK 0x0F
|
||||
|
||||
/* cr reg */
|
||||
#define UART_RX_INT_EN 0x10
|
||||
#define UART_TX_INT_EN 0x20
|
||||
#define UART_RX_TIMEOUT_INT_EN 0x40
|
||||
|
||||
/* fr reg */
|
||||
#define UART_RX_FIFO_EMPTY 0x10
|
||||
#define UART_TX_FIFO_FULL 0x20
|
||||
|
||||
/* iir reg */
|
||||
#define UART_RX_INT 0x02
|
||||
#define UART_TX_INT 0x04
|
||||
#define UART_RX_TIMEOUT_INT 0x08
|
||||
|
||||
/* interrupt controller */
|
||||
#define IRQ_STATUS_REG 0x00 /* Read */
|
||||
|
||||
Reference in New Issue
Block a user