9
0
Fork 0

gpio: tegra: add Tegra3 setup

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas Stach 2014-04-13 15:27:44 +02:00 committed by Sascha Hauer
parent f427316ce2
commit 4822592ec8
1 changed files with 9 additions and 0 deletions

View File

@ -175,10 +175,19 @@ static struct tegra_gpio_soc_config tegra20_gpio_config = {
.bank_count = 7,
};
static struct tegra_gpio_soc_config tegra30_gpio_config = {
.bank_stride = 0x100,
.upper_offset = 0x80,
.bank_count = 8,
};
static __maybe_unused struct of_device_id tegra_gpio_dt_ids[] = {
{
.compatible = "nvidia,tegra20-gpio",
.data = (unsigned long)&tegra20_gpio_config
}, {
.compatible = "nvidia,tegra30-gpio",
.data = (unsigned long)&tegra30_gpio_config
}, {
/* sentinel */
},