blob: 37e52419c042b3f2ac46e94c1925975d444fbd09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* Copyright (c) 2016 Scalys B.V. <u-boot@scalys.com>
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _MPC8XXX_GPIO_H
#define _MPC8XXX_GPIO_H
struct mpc8xxx_gpio_platdata {
const char *bank_name;
ccsr_gpio_t *regs;
int gpio_count;
#if defined(CONFIG_MPC8572) || defined(CONFIG_MPC8536)
/* shadowed data register used to work around errata on
* MPC8572 and MPC8535 where it is not possible to read the
* state of an output pin */
uint32_t data;
#endif
};
#endif
|