fb78a95e22
The GPIOs are described in device tree using a list, without names. Add defines to indicate what each index in the list means. These defines should also be used by platform devices passing GPIOs via a GPIO lookup table. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
9 lines
177 B
C
9 lines
177 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __LINUX_MDIO_GPIO_H
|
|
#define __LINUX_MDIO_GPIO_H
|
|
|
|
#define MDIO_GPIO_MDC 0
|
|
#define MDIO_GPIO_MDIO 1
|
|
#define MDIO_GPIO_MDO 2
|
|
|
|
#endif
|