18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci */ 48c2ecf20Sopenharmony_ci#ifndef _ASM_POWERPC_SERIAL_H 58c2ecf20Sopenharmony_ci#define _ASM_POWERPC_SERIAL_H 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/* 88c2ecf20Sopenharmony_ci * Serial ports are not listed here, because they are discovered 98c2ecf20Sopenharmony_ci * through the device tree. 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci/* Default baud base if not found in device-tree */ 138c2ecf20Sopenharmony_ci#define BASE_BAUD ( 1843200 / 16 ) 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifdef CONFIG_PPC_UDBG_16550 168c2ecf20Sopenharmony_ciextern void find_legacy_serial_ports(void); 178c2ecf20Sopenharmony_ci#else 188c2ecf20Sopenharmony_ci#define find_legacy_serial_ports() do { } while (0) 198c2ecf20Sopenharmony_ci#endif 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* _PPC64_SERIAL_H */ 22