805f61bbb3
This adds a model of the nRF51 GPIO peripheral. Reference Manual: http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf The nRF51 series microcontrollers support up to 32 GPIO pins in various configurations. The pins can be used as input pins with pull-ups or pull-down. Furthermore, three different output driver modes per level are available (disconnected, standard, high-current). The GPIO-Peripheral has a mechanism for detecting level changes which is not featured in this model. Signed-off-by: Steffen Görtz <contrib@steffen-goertz.de> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20190103091119.9367-6-stefanha@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
12 lines
389 B
Makefile
12 lines
389 B
Makefile
common-obj-$(CONFIG_MAX7310) += max7310.o
|
|
common-obj-$(CONFIG_PL061) += pl061.o
|
|
common-obj-$(CONFIG_PUV3) += puv3_gpio.o
|
|
common-obj-$(CONFIG_ZAURUS) += zaurus.o
|
|
common-obj-$(CONFIG_E500) += mpc8xxx.o
|
|
common-obj-$(CONFIG_GPIO_KEY) += gpio_key.o
|
|
|
|
obj-$(CONFIG_OMAP) += omap_gpio.o
|
|
obj-$(CONFIG_IMX) += imx_gpio.o
|
|
obj-$(CONFIG_RASPI) += bcm2835_gpio.o
|
|
obj-$(CONFIG_NRF51_SOC) += nrf51_gpio.o
|