summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-02-21 19:31:11 +0100
committerChristophe Leroy <christophe.leroy@csgroup.eu>2023-04-06 14:50:03 +0200
commite1fff66079d29ef59521771cf0aaa5ac4a834b50 (patch)
tree9192e708fcc385e708eddd17731a9f57543ba047 /arch/powerpc
parent34ae2b2abb950e62e64721b14c6ee8c8794c1ca4 (diff)
downloadu-boot-e1fff66079d29ef59521771cf0aaa5ac4a834b50.tar.gz
u-boot-e1fff66079d29ef59521771cf0aaa5ac4a834b50.tar.bz2
u-boot-e1fff66079d29ef59521771cf0aaa5ac4a834b50.zip
gpio: Add QUICC Engine GPIOs driver
The mpc832x has GPIOs handled by the QUICC Engine. The registers are different from the one for the non QE mpc83xx GPIOs. Implement a GPIO driver for those. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/arch-mpc83xx/gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/arch-mpc83xx/gpio.h b/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
index 19c2506c9b..df95d2238f 100644
--- a/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
+++ b/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
@@ -22,6 +22,11 @@ struct mpc8xxx_gpio_plat {
uint ngpios;
};
+struct qe_gpio_plat {
+ ulong addr;
+ unsigned long size;
+};
+
#ifndef DM_GPIO
void mpc83xx_gpio_init_f(void);
void mpc83xx_gpio_init_r(void);