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