1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 3 * include/asm-m68k/serial.h 4 * 5 * currently this seems useful only for a Q40, 6 * it's an almost exact copy of ../asm-alpha/s 7 * 8 */ 9 10 11 /* 12 * This assumes you have a 1.8432 MHz clock fo 13 * 14 * It'd be nice if someone built a serial card 15 * clock, since the 16550A is capable of handl 16 * megabits/second; but this requires the fast 17 */ 18 #define BASE_BAUD ( 1843200 / 16 ) 19 20 /* Standard COM flags (except for COM4, becaus 21 #ifdef CONFIG_SERIAL_8250_DETECT_IRQ 22 #define STD_COM_FLAGS (UPF_BOOT_AUTOCONF | UPF 23 #define STD_COM4_FLAGS (UPF_BOOT_AUTOCONF | UP 24 #else 25 #define STD_COM_FLAGS (UPF_BOOT_AUTOCONF | UPF 26 #define STD_COM4_FLAGS UPF_BOOT_AUTOCONF 27 #endif 28 29 #ifdef CONFIG_ISA 30 #define SERIAL_PORT_DFNS 31 /* UART CLK PORT IRQ FLAGS 32 { 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAG 33 { 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAG 34 { 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAG 35 { 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLA 36 #endif 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.