mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
4f0e44e466
This driver uses Generic Pinctrl framework and is compatible with the Linux driver for ast2500: it uses the same device tree configuration. Not all pins are supported by the driver at the moment, so it actually compatible with ast2400. In general, however, there are differences that in the future would be easier to maintain separately. Signed-off-by: Maxim Sloyko <maxims@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>
52 lines
894 B
C
52 lines
894 B
C
/*
|
|
* Copyright (c) 2017 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef _ASM_ARCH_PERIPH_H
|
|
#define _ASM_ARCH_PERIPH_H
|
|
|
|
/*
|
|
* Peripherals supported by the hardware.
|
|
* These are used to specify pinctrl settings.
|
|
*/
|
|
|
|
enum periph_id {
|
|
PERIPH_ID_UART1,
|
|
PERIPH_ID_UART2,
|
|
PERIPH_ID_UART3,
|
|
PERIPH_ID_UART4,
|
|
PERIPH_ID_LPC,
|
|
PERIPH_ID_PWM0,
|
|
PERIPH_ID_PWM1,
|
|
PERIPH_ID_PWM2,
|
|
PERIPH_ID_PWM3,
|
|
PERIPH_ID_PWM4,
|
|
PERIPH_ID_PWM5,
|
|
PERIPH_ID_PWM6,
|
|
PERIPH_ID_PWM7,
|
|
PERIPH_ID_PWM8,
|
|
PERIPH_ID_MAC1,
|
|
PERIPH_ID_MAC2,
|
|
PERIPH_ID_VIDEO,
|
|
PERIPH_ID_SPI1,
|
|
PERIPH_ID_SPI2,
|
|
PERIPH_ID_I2C1,
|
|
PERIPH_ID_I2C2,
|
|
PERIPH_ID_I2C3,
|
|
PERIPH_ID_I2C4,
|
|
PERIPH_ID_I2C5,
|
|
PERIPH_ID_I2C6,
|
|
PERIPH_ID_I2C7,
|
|
PERIPH_ID_I2C8,
|
|
PERIPH_ID_I2C9,
|
|
PERIPH_ID_I2C10,
|
|
PERIPH_ID_I2C11,
|
|
PERIPH_ID_I2C12,
|
|
PERIPH_ID_I2C13,
|
|
PERIPH_ID_I2C14,
|
|
PERIPH_ID_SD1,
|
|
PERIPH_ID_SD2,
|
|
};
|
|
|
|
#endif /* _ASM_ARCH_SCU_AST2500_H */
|