Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
angelo@sysam.it | b2d1e2a | 2016-04-27 21:51:13 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2015 Angelo Dureghello <angelo@sysam.it> |
angelo@sysam.it | b2d1e2a | 2016-04-27 21:51:13 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __serial_coldfire_h |
| 7 | #define __serial_coldfire_h |
| 8 | |
| 9 | /* |
Simon Glass | b75b15b | 2020-12-03 16:55:23 -0700 | [diff] [blame] | 10 | * struct coldfire_serial_plat - information about a coldfire port |
angelo@sysam.it | b2d1e2a | 2016-04-27 21:51:13 +0200 | [diff] [blame] | 11 | * |
| 12 | * @base: Uart port base register address |
| 13 | * @port: Uart port index, for cpu with pinmux for uart / gpio |
| 14 | * baudrtatre: Uart port baudrate |
| 15 | */ |
Simon Glass | b75b15b | 2020-12-03 16:55:23 -0700 | [diff] [blame] | 16 | struct coldfire_serial_plat { |
angelo@sysam.it | b2d1e2a | 2016-04-27 21:51:13 +0200 | [diff] [blame] | 17 | unsigned long base; |
| 18 | int port; |
| 19 | int baudrate; |
| 20 | }; |
| 21 | |
| 22 | #endif /* __serial_coldfire_h */ |