xref: /kernel/linux/linux-6.6/arch/powerpc/include/asm/serial.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/powerpc/include/asm/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci */
462306a36Sopenharmony_ci#ifndef _ASM_POWERPC_SERIAL_H
562306a36Sopenharmony_ci#define _ASM_POWERPC_SERIAL_H
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci/*
862306a36Sopenharmony_ci * Serial ports are not listed here, because they are discovered
962306a36Sopenharmony_ci * through the device tree.
1062306a36Sopenharmony_ci */
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci/* Default baud base if not found in device-tree */
1362306a36Sopenharmony_ci#define BASE_BAUD ( 1843200 / 16 )
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#ifdef CONFIG_PPC_UDBG_16550
1662306a36Sopenharmony_ciextern void find_legacy_serial_ports(void);
1762306a36Sopenharmony_ci#else
1862306a36Sopenharmony_ci#define find_legacy_serial_ports()	do { } while (0)
1962306a36Sopenharmony_ci#endif
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif /* _PPC64_SERIAL_H */
22

Indexes created Thu Nov 07 10:32:03 CST 2024