Go to the documentation of this file.
28 #ifndef ASM_ARM_HARDWARE_AMBA_KMI_H
29 #define ASM_ARM_HARDWARE_AMBA_KMI_H
40 #define KMICR (KMI_BASE + 0x00)
41 #define KMICR_TYPE (1 << 5)
42 #define KMICR_RXINTREN (1 << 4)
43 #define KMICR_TXINTREN (1 << 3)
44 #define KMICR_EN (1 << 2)
45 #define KMICR_FD (1 << 1)
46 #define KMICR_FC (1 << 0)
58 #define KMISTAT (KMI_BASE + 0x04)
59 #define KMISTAT_TXEMPTY (1 << 6)
60 #define KMISTAT_TXBUSY (1 << 5)
61 #define KMISTAT_RXFULL (1 << 4)
62 #define KMISTAT_RXBUSY (1 << 3)
63 #define KMISTAT_RXPARITY (1 << 2)
64 #define KMISTAT_IC (1 << 1)
65 #define KMISTAT_ID (1 << 0)
70 #define KMIDATA (KMI_BASE + 0x08)
76 #define KMICLKDIV (KMI_BASE + 0x0c)
83 #define KMIIR (KMI_BASE + 0x10)
84 #define KMIIR_TXINTR (1 << 1)
85 #define KMIIR_RXINTR (1 << 0)
90 #define KMI_SIZE (0x100)