diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2020-10-26 17:19:34 +0300 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2020-11-17 03:42:21 +0300 |
commit | 8c51c65273628a3da3c18b258cecb27835e52727 (patch) | |
tree | 9d0c643a3c66bf23f694f801bcdba7de3ff4ff4a /arch | |
parent | 6ffdc43cc5e6070edf91bac653cc8a0449dbe545 (diff) | |
download | u-boot-8c51c65273628a3da3c18b258cecb27835e52727.tar.xz |
sunxi: allow to use AXP20[39] attached to I2C0 on V3 series
The reference design of Allwinner V3 series uses an
AXP203 or AXP209 PMIC attached to the I2C0 bus of the SoC, although the
first community-available V3s board, Lichee Pi Zero, omitted it.
Allow to introduce support for the PMIC on boards with it.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h index a646ea6a3c..f817d328f4 100644 --- a/arch/arm/include/asm/arch-sunxi/gpio.h +++ b/arch/arm/include/asm/arch-sunxi/gpio.h @@ -158,6 +158,7 @@ enum sunxi_gpio_number { #define SUN5I_GPB_TWI1 2 #define SUN4I_GPB_TWI2 2 #define SUN5I_GPB_TWI2 2 +#define SUN8I_V3S_GPB_TWI0 2 #define SUN4I_GPB_UART0 2 #define SUN5I_GPB_UART0 2 #define SUN8I_GPB_UART2 2 |