]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/dm/platform_data/serial_pl01x.h
dm: move platform data headers to include/dm/platform_data
[people/ms/u-boot.git] / include / dm / platform_data / serial_pl01x.h
CommitLineData
aed2fbef
SG
1/*
2 * Copyright (c) 2014 Google, Inc
3 * SPDX-License-Identifier: GPL-2.0+
4 */
5
6#ifndef __serial_pl01x_h
7#define __serial_pl01x_h
8
9enum pl01x_type {
10 TYPE_PL010,
11 TYPE_PL011,
12};
13
14/*
15 *Information about a serial port
16 *
17 * @base: Register base address
18 * @type: Port type
19 * @clock: Input clock rate, used for calculating the baud rate divisor
20 */
21struct pl01x_serial_platdata {
22 unsigned long base;
23 enum pl01x_type type;
24 unsigned int clock;
25};
26
27#endif