2013-03-01 20:59:19 +08:00
|
|
|
common-obj-$(CONFIG_MAX7310) += max7310.o
|
|
|
|
common-obj-$(CONFIG_PL061) += pl061.o
|
|
|
|
common-obj-$(CONFIG_PUV3) += puv3_gpio.o
|
2013-02-05 23:36:44 +08:00
|
|
|
common-obj-$(CONFIG_ZAURUS) += zaurus.o
|
2014-10-01 21:52:12 +08:00
|
|
|
common-obj-$(CONFIG_E500) += mpc8xxx.o
|
2016-03-31 00:27:22 +08:00
|
|
|
common-obj-$(CONFIG_GPIO_KEY) += gpio_key.o
|
2013-02-05 23:36:44 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_OMAP) += omap_gpio.o
|
2015-09-14 21:39:49 +08:00
|
|
|
obj-$(CONFIG_IMX) += imx_gpio.o
|
2017-02-28 22:55:10 +08:00
|
|
|
obj-$(CONFIG_RASPI) += bcm2835_gpio.o
|
2019-01-07 23:23:47 +08:00
|
|
|
obj-$(CONFIG_NRF51_SOC) += nrf51_gpio.o
|
hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500
GPIO pins are arranged in groups of 8 pins labeled A,B,..,Y,Z,AA,AB,AC.
(Note that the ast2400 controller only goes up to group AB).
A set has four groups (except set AC which only has one) and is
referred to by the groups it is composed of (eg ABCD,EFGH,...,YZAAAB).
Each set is accessed and controlled by a bank of 14 registers.
These registers operate on a per pin level where each bit in the register
corresponds to a pin, except for the command source registers. The command
source registers operate on a per group level where bits 24, 16, 8 and 0
correspond to each group in the set.
eg. registers for set ABCD:
|D7...D0|C7...C0|B7...B0|A7...A0| <- GPIOs
|31...24|23...16|15....8|7.....0| <- bit position
Note that there are a couple of groups that only have 4 pins.
There are two ways that this model deviates from the behaviour of the
actual controller:
(1) The only control source driving the GPIO pins in the model is the ARM
model (as there currently aren't models for the LPC or Coprocessor).
(2) None of the registers in the model are reset tolerant (needs
integration with the watchdog).
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Tested-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20190904070506.1052-2-clg@kaod.org
[clg: fixed missing header files
made use of HWADDR_PRIx to fix compilation on windows ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-09-04 15:04:57 +08:00
|
|
|
obj-$(CONFIG_ASPEED_SOC) += aspeed_gpio.o
|