diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-01-07 10:55:11 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-01-08 10:45:24 +0100 |
commit | 6177d228380e4bc4267a09e7ce8a3e228e54981f (patch) | |
tree | 75571806bb82099c02477ed412708d215e4a2bae /arch/arm/mach-bcm283x/include | |
parent | 2bc68fd0e11380bcfa5002c144ed51f73c231e43 (diff) | |
download | barebox-6177d228380e4bc4267a09e7ce8a3e228e54981f.tar.gz barebox-6177d228380e4bc4267a09e7ce8a3e228e54981f.tar.xz |
gpio: Add raspberrypi exp gpio driver
Taken from the kernel adopted to barebox.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-bcm283x/include')
-rw-r--r-- | arch/arm/mach-bcm283x/include/mach/mbox.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h index 6db961b807..f10f5bc148 100644 --- a/arch/arm/mach-bcm283x/include/mach/mbox.h +++ b/arch/arm/mach-bcm283x/include/mach/mbox.h @@ -126,6 +126,10 @@ struct bcm2835_mbox_tag_hdr { */ #define BCM2835_MBOX_TAG_GET_BOARD_REV 0x00010002 +#define BCM2835_MBOX_TAG_GET_GPIO_STATE 0x00030041 +#define BCM2835_MBOX_TAG_SET_GPIO_STATE 0x00038041 +#define BCM2835_MBOX_TAG_GET_GPIO_CONFIG 0x00030043 +#define BCM2835_MBOX_TAG_SET_GPIO_CONFIG 0x00038043 /* * ids |