diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-05-18 12:47:03 +0200 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-05-18 12:50:43 +0200 |
| commit | 68c90fdb10060fdf5455ca6ccbc3a0cde53e70cb (patch) | |
| tree | 67c32973e10585a38d8cc3b06268bd2dda87fba2 | |
| parent | 48625680631e2abab46553b3c348fc6a298c553b (diff) | |
| download | exynos-gpio-tool-68c90fdb10060fdf5455ca6ccbc3a0cde53e70cb.tar.gz exynos-gpio-tool-68c90fdb10060fdf5455ca6ccbc3a0cde53e70cb.tar.bz2 exynos-gpio-tool-68c90fdb10060fdf5455ca6ccbc3a0cde53e70cb.zip | |
exynos4412 gpios: Complete gpm GPIOs data
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
| -rw-r--r-- | exynos4412_gpios_data.c | 31 | ||||
| -rw-r--r-- | exynos4412_gpios_data.h | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/exynos4412_gpios_data.c b/exynos4412_gpios_data.c index 37cfb69..55261b2 100644 --- a/exynos4412_gpios_data.c +++ b/exynos4412_gpios_data.c @@ -180,39 +180,70 @@ struct gpio_bank_data gpio_banks_data[] = { { .name = "gpf0", .nr_gpios = 8, + .base = 0x11400000, .offset = 0x0180, }, { .name = "gpf1", .nr_gpios = 8, + .base = 0x11400000, .offset = 0x01a0, }, { .name = "gpf2", .nr_gpios = 8, + .base = 0x11400000, .offset = 0x01c0, }, { .name = "gpf3", .nr_gpios = 6, + .base = 0x11400000, .offset = 0x01e0, }, { .name = "gpj0", .nr_gpios = 8, + .base = 0x11400000, .offset = 0x0240, }, { .name = "gpj1", .nr_gpios = 5, + .base = 0x11400000, .offset = 0x0260, }, { + .name = "gpm0", + .nr_gpios = 8, + .base = 0x11000000, + .offset = 0x0260, + }, + { + .name = "gpm1", + .nr_gpios = 7, + .base = 0x11000000, + .offset = 0x0280, + }, + { .name = "gpm2", .nr_gpios = 5, + .base = 0x11000000, .offset = 0x02a0, }, { + .name = "gpm3", + .nr_gpios = 8, + .base = 0x11000000, + .offset = 0x02c0, + }, + { + .name = "gpm4", + .nr_gpios = 8, + .base = 0x11000000, + .offset = 0x02e0, + }, + { /* Sentinel */ }, }; diff --git a/exynos4412_gpios_data.h b/exynos4412_gpios_data.h index 8b8bf2c..bfc67e4 100644 --- a/exynos4412_gpios_data.h +++ b/exynos4412_gpios_data.h @@ -21,6 +21,7 @@ struct gpio_bank_data { char *name; uint32_t nr_gpios; + uint32_t base; uint32_t offset; }; |
