diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-05-25 19:49:23 +0200 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-05-25 19:49:23 +0200 |
| commit | 7b1070087f866f0bb7a262ad2d3cde30d28a8314 (patch) | |
| tree | 13f58ddf373a2a5228229052c05d7a65a86cf9cd | |
| parent | 2412340c9045fd191cc79c88e4add65dec1c439e (diff) | |
| download | exynos-gpio-tool-7b1070087f866f0bb7a262ad2d3cde30d28a8314.tar.gz exynos-gpio-tool-7b1070087f866f0bb7a262ad2d3cde30d28a8314.tar.bz2 exynos-gpio-tool-7b1070087f866f0bb7a262ad2d3cde30d28a8314.zip | |
Add GPX GPIO registers
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
| -rw-r--r-- | exynos4412_gpios_data.c | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/exynos4412_gpios_data.c b/exynos4412_gpios_data.c index 9ec2a97..e0143be 100644 --- a/exynos4412_gpios_data.c +++ b/exynos4412_gpios_data.c @@ -155,10 +155,6 @@ static char *gpio_power_down_str(int value) return ""; /* Avoid -Werror=return-type */ } -/* TODO: */ -/* "gpx1", */ -/* "gpx3", */ - struct gpio_bank_data gpio_banks_data[] = { { .name = "gpf0", @@ -245,6 +241,30 @@ struct gpio_bank_data gpio_banks_data[] = { .offset = 0x02e0, }, { + .name = "gpx0", + .nr_gpios = 8, + .base = 0x11000000, + .offset = 0x0c00, + }, + { + .name = "gpx1", + .nr_gpios = 8, + .base = 0x11000000, + .offset = 0x0c20, + }, + { + .name = "gpx2", + .nr_gpios = 8, + .base = 0x11000000, + .offset = 0x0c40, + }, + { + .name = "gpx3", + .nr_gpios = 8, + .base = 0x11000000, + .offset = 0x0c60, + }, + { /* Sentinel */ }, }; |
