xref: /openbmc/linux/arch/powerpc/include/asm/serial.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*2874c5fdSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2b8b572e1SStephen Rothwell /*
3b8b572e1SStephen Rothwell  */
4b8b572e1SStephen Rothwell #ifndef _ASM_POWERPC_SERIAL_H
5b8b572e1SStephen Rothwell #define _ASM_POWERPC_SERIAL_H
6b8b572e1SStephen Rothwell 
7b8b572e1SStephen Rothwell /*
8b8b572e1SStephen Rothwell  * Serial ports are not listed here, because they are discovered
9b8b572e1SStephen Rothwell  * through the device tree.
10b8b572e1SStephen Rothwell  */
11b8b572e1SStephen Rothwell 
12b8b572e1SStephen Rothwell /* Default baud base if not found in device-tree */
13b8b572e1SStephen Rothwell #define BASE_BAUD ( 1843200 / 16 )
14b8b572e1SStephen Rothwell 
15b8b572e1SStephen Rothwell #ifdef CONFIG_PPC_UDBG_16550
16b8b572e1SStephen Rothwell extern void find_legacy_serial_ports(void);
17b8b572e1SStephen Rothwell #else
18b8b572e1SStephen Rothwell #define find_legacy_serial_ports()	do { } while (0)
19b8b572e1SStephen Rothwell #endif
20b8b572e1SStephen Rothwell 
21b8b572e1SStephen Rothwell #endif /* _PPC64_SERIAL_H */
22