serial.h 718 B

1234567891011121314151617181920212223
  1. /*
  2. * include/asm-ppc64/serial.h
  3. */
  4. #ifndef _PPC64_SERIAL_H
  5. #define _PPC64_SERIAL_H
  6. /*
  7. * This assumes you have a 1.8432 MHz clock for your UART.
  8. *
  9. * It'd be nice if someone built a serial card with a 24.576 MHz
  10. * clock, since the 16550A is capable of handling a top speed of 1.5
  11. * megabits/second; but this requires the faster clock.
  12. *
  13. * This program is free software; you can redistribute it and/or
  14. * modify it under the terms of the GNU General Public License
  15. * as published by the Free Software Foundation; either version
  16. * 2 of the License, or (at your option) any later version.
  17. */
  18. /* Default baud base if not found in device-tree */
  19. #define BASE_BAUD ( 1843200 / 16 )
  20. #endif /* _PPC64_SERIAL_H */