summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--exynos4412_gpios_data.c31
-rw-r--r--exynos4412_gpios_data.h1
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;
};