#include <linux/slab.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/device.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
#include <linux/serial.h>
#include <linux/of_platform.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/gpio.h>
#include <lantiq_soc.h>
Go to the source code of this file.
#define ASC_IRNCR_EIR 0x4 |
#define ASC_IRNCR_RIR 0x2 |
#define ASC_IRNCR_TIR 0x1 |
#define ASC_IRNREN_ERR 0x4 |
#define ASC_IRNREN_RX 0x2 |
#define ASC_IRNREN_TX 0x1 |
#define ASC_IRNREN_TX_BUF 0x8 |
#define ASCCLC_RMCMASK 0x0000FF00 |
#define ASCCLC_RMCOFFSET 8 |
#define ASCCON_BRS 0x00000100 |
#define ASCCON_FDE 0x00000200 |
#define ASCCON_FEN 0x00020000 |
#define ASCCON_M_7ASYNC 0x2 |
#define ASCCON_M_8ASYNC 0x0 |
#define ASCCON_ODD 0x00000020 |
#define ASCCON_R 0x00008000 |
#define ASCCON_ROEN 0x00080000 |
#define ASCCON_STP 0x00000080 |
#define ASCCON_TOEN 0x00100000 |
#define ASCFSTAT_RXFFLMASK 0x003F |
#define ASCFSTAT_TXFFLMASK 0x3F00 |
#define ASCFSTAT_TXFREEMASK 0x3F000000 |
#define ASCFSTAT_TXFREEOFF 24 |
#define ASCRXFCON_RXFEN 0x0001 |
#define ASCRXFCON_RXFFLU 0x0002 |
#define ASCRXFCON_RXFITLMASK 0x3F00 |
#define ASCRXFCON_RXFITLOFF 8 |
#define ASCSTATE_FE 0x00020000 |
#define ASCSTATE_PE 0x00010000 |
#define ASCSTATE_ROE 0x00080000 |
#define ASCTXFCON_TXFEN 0x0001 |
#define ASCTXFCON_TXFFLU 0x0002 |
#define ASCTXFCON_TXFITLMASK 0x3F00 |
#define ASCTXFCON_TXFITLOFF 8 |
#define ASCWHBSTATE_CLRFE 0x00000008 |
#define ASCWHBSTATE_CLRPE 0x00000004 |
#define ASCWHBSTATE_CLRREN 0x00000001 |
#define ASCWHBSTATE_CLRROE 0x00000020 |
#define ASCWHBSTATE_SETREN 0x00000002 |
#define DRVNAME "lantiq,asc" |
#define LTQ_ASC_BG 0x0050 |
#define LTQ_ASC_CLC 0x0000 |
#define LTQ_ASC_CON 0x0010 |
#define LTQ_ASC_FSTAT 0x0048 |
#define LTQ_ASC_ID 0x0008 |
#define LTQ_ASC_IRNCR 0x00F8 |
#define LTQ_ASC_IRNREN 0x00F4 |
#define LTQ_ASC_PISEL 0x0004 |
#define LTQ_ASC_RBUF 0x0024 |
#define LTQ_ASC_RXFCON 0x0040 |
#define LTQ_ASC_STATE 0x0014 |
#define LTQ_ASC_TBUF 0x0020 |
#define LTQ_ASC_TXFCON 0x0044 |
#define LTQ_ASC_WHBSTATE 0x0018 |
#define UART_DUMMY_UER_RX 1 |
console_initcall |
( |
lqasc_console_init |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
ltq_asc_match |
|
|
) |
| |