diff options
| -rw-r--r-- | drivers/gpio/gpio-tegra186.c | 2 | ||||
| -rw-r--r-- | include/dt-bindings/gpio/tegra194-gpio.h | 64 |
2 files changed, 33 insertions, 33 deletions
diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c index 37abb02bb..0b8774d0d 100644 --- a/drivers/gpio/gpio-tegra186.c +++ b/drivers/gpio/gpio-tegra186.c | |||
| @@ -373,6 +373,7 @@ static struct tegra_gpio_port_soc_info tegra_aon_gpio_cinfo[] = { | |||
| 373 | 373 | ||
| 374 | static struct tegra_gpio_port_soc_info tegra194_gpio_cinfo[] = { | 374 | static struct tegra_gpio_port_soc_info tegra194_gpio_cinfo[] = { |
| 375 | TEGRA194_MAIN_GPIO_PORT_INFO(A, 1, 2, 8), | 375 | TEGRA194_MAIN_GPIO_PORT_INFO(A, 1, 2, 8), |
| 376 | TEGRA194_MAIN_GPIO_PORT_INFO(B, 4, 7, 2), | ||
| 376 | TEGRA194_MAIN_GPIO_PORT_INFO(C, 4, 3, 8), | 377 | TEGRA194_MAIN_GPIO_PORT_INFO(C, 4, 3, 8), |
| 377 | TEGRA194_MAIN_GPIO_PORT_INFO(D, 4, 4, 4), | 378 | TEGRA194_MAIN_GPIO_PORT_INFO(D, 4, 4, 4), |
| 378 | TEGRA194_MAIN_GPIO_PORT_INFO(E, 4, 5, 8), | 379 | TEGRA194_MAIN_GPIO_PORT_INFO(E, 4, 5, 8), |
| @@ -402,7 +403,6 @@ static struct tegra_gpio_port_soc_info tegra194_gpio_cinfo[] = { | |||
| 402 | }; | 403 | }; |
| 403 | 404 | ||
| 404 | static struct tegra_gpio_port_soc_info tegra194_aon_gpio_cinfo[] = { | 405 | static struct tegra_gpio_port_soc_info tegra194_aon_gpio_cinfo[] = { |
| 405 | TEGRA194_AON_GPIO_PORT_INFO(B, 0, 5, 2), | ||
| 406 | TEGRA194_AON_GPIO_PORT_INFO(AA, 0, 3, 8), | 406 | TEGRA194_AON_GPIO_PORT_INFO(AA, 0, 3, 8), |
| 407 | TEGRA194_AON_GPIO_PORT_INFO(BB, 0, 4, 4), | 407 | TEGRA194_AON_GPIO_PORT_INFO(BB, 0, 4, 4), |
| 408 | TEGRA194_AON_GPIO_PORT_INFO(CC, 0, 1, 8), | 408 | TEGRA194_AON_GPIO_PORT_INFO(CC, 0, 1, 8), |
diff --git a/include/dt-bindings/gpio/tegra194-gpio.h b/include/dt-bindings/gpio/tegra194-gpio.h index 84bc84e67..cc38d28ab 100644 --- a/include/dt-bindings/gpio/tegra194-gpio.h +++ b/include/dt-bindings/gpio/tegra194-gpio.h | |||
| @@ -14,43 +14,43 @@ | |||
| 14 | 14 | ||
| 15 | /* GPIOs implemented by main GPIO controller */ | 15 | /* GPIOs implemented by main GPIO controller */ |
| 16 | #define TEGRA194_MAIN_GPIO_PORT_A 0 | 16 | #define TEGRA194_MAIN_GPIO_PORT_A 0 |
| 17 | #define TEGRA194_MAIN_GPIO_PORT_C 1 | 17 | #define TEGRA194_MAIN_GPIO_PORT_B 1 |
| 18 | #define TEGRA194_MAIN_GPIO_PORT_D 2 | 18 | #define TEGRA194_MAIN_GPIO_PORT_C 2 |
| 19 | #define TEGRA194_MAIN_GPIO_PORT_E 3 | 19 | #define TEGRA194_MAIN_GPIO_PORT_D 3 |
| 20 | #define TEGRA194_MAIN_GPIO_PORT_F 4 | 20 | #define TEGRA194_MAIN_GPIO_PORT_E 4 |
| 21 | #define TEGRA194_MAIN_GPIO_PORT_G 5 | 21 | #define TEGRA194_MAIN_GPIO_PORT_F 5 |
| 22 | #define TEGRA194_MAIN_GPIO_PORT_H 6 | 22 | #define TEGRA194_MAIN_GPIO_PORT_G 6 |
| 23 | #define TEGRA194_MAIN_GPIO_PORT_I 7 | 23 | #define TEGRA194_MAIN_GPIO_PORT_H 7 |
| 24 | #define TEGRA194_MAIN_GPIO_PORT_J 8 | 24 | #define TEGRA194_MAIN_GPIO_PORT_I 8 |
| 25 | #define TEGRA194_MAIN_GPIO_PORT_K 9 | 25 | #define TEGRA194_MAIN_GPIO_PORT_J 9 |
| 26 | #define TEGRA194_MAIN_GPIO_PORT_L 10 | 26 | #define TEGRA194_MAIN_GPIO_PORT_K 10 |
| 27 | #define TEGRA194_MAIN_GPIO_PORT_M 11 | 27 | #define TEGRA194_MAIN_GPIO_PORT_L 11 |
| 28 | #define TEGRA194_MAIN_GPIO_PORT_N 12 | 28 | #define TEGRA194_MAIN_GPIO_PORT_M 12 |
| 29 | #define TEGRA194_MAIN_GPIO_PORT_O 13 | 29 | #define TEGRA194_MAIN_GPIO_PORT_N 13 |
| 30 | #define TEGRA194_MAIN_GPIO_PORT_P 14 | 30 | #define TEGRA194_MAIN_GPIO_PORT_O 14 |
| 31 | #define TEGRA194_MAIN_GPIO_PORT_Q 15 | 31 | #define TEGRA194_MAIN_GPIO_PORT_P 15 |
| 32 | #define TEGRA194_MAIN_GPIO_PORT_R 16 | 32 | #define TEGRA194_MAIN_GPIO_PORT_Q 16 |
| 33 | #define TEGRA194_MAIN_GPIO_PORT_S 17 | 33 | #define TEGRA194_MAIN_GPIO_PORT_R 17 |
| 34 | #define TEGRA194_MAIN_GPIO_PORT_T 18 | 34 | #define TEGRA194_MAIN_GPIO_PORT_S 18 |
| 35 | #define TEGRA194_MAIN_GPIO_PORT_U 19 | 35 | #define TEGRA194_MAIN_GPIO_PORT_T 19 |
| 36 | #define TEGRA194_MAIN_GPIO_PORT_V 20 | 36 | #define TEGRA194_MAIN_GPIO_PORT_U 20 |
| 37 | #define TEGRA194_MAIN_GPIO_PORT_W 21 | 37 | #define TEGRA194_MAIN_GPIO_PORT_V 21 |
| 38 | #define TEGRA194_MAIN_GPIO_PORT_X 22 | 38 | #define TEGRA194_MAIN_GPIO_PORT_W 22 |
| 39 | #define TEGRA194_MAIN_GPIO_PORT_Y 23 | 39 | #define TEGRA194_MAIN_GPIO_PORT_X 23 |
| 40 | #define TEGRA194_MAIN_GPIO_PORT_Z 24 | 40 | #define TEGRA194_MAIN_GPIO_PORT_Y 24 |
| 41 | #define TEGRA194_MAIN_GPIO_PORT_FF 25 | 41 | #define TEGRA194_MAIN_GPIO_PORT_Z 25 |
| 42 | #define TEGRA194_MAIN_GPIO_PORT_GG 26 | 42 | #define TEGRA194_MAIN_GPIO_PORT_FF 26 |
| 43 | #define TEGRA194_MAIN_GPIO_PORT_GG 27 | ||
| 43 | 44 | ||
| 44 | #define TEGRA194_MAIN_GPIO(port, offset) \ | 45 | #define TEGRA194_MAIN_GPIO(port, offset) \ |
| 45 | ((TEGRA194_MAIN_GPIO_PORT_##port * 8) + offset) | 46 | ((TEGRA194_MAIN_GPIO_PORT_##port * 8) + offset) |
| 46 | 47 | ||
| 47 | /* GPIOs implemented by AON GPIO controller */ | 48 | /* GPIOs implemented by AON GPIO controller */ |
| 48 | #define TEGRA194_AON_GPIO_PORT_B 0 | 49 | #define TEGRA194_AON_GPIO_PORT_AA 0 |
| 49 | #define TEGRA194_AON_GPIO_PORT_AA 1 | 50 | #define TEGRA194_AON_GPIO_PORT_BB 1 |
| 50 | #define TEGRA194_AON_GPIO_PORT_BB 2 | 51 | #define TEGRA194_AON_GPIO_PORT_CC 2 |
| 51 | #define TEGRA194_AON_GPIO_PORT_CC 3 | 52 | #define TEGRA194_AON_GPIO_PORT_DD 3 |
| 52 | #define TEGRA194_AON_GPIO_PORT_DD 4 | 53 | #define TEGRA194_AON_GPIO_PORT_EE 4 |
| 53 | #define TEGRA194_AON_GPIO_PORT_EE 5 | ||
| 54 | 54 | ||
| 55 | #define TEGRA194_AON_GPIO(port, offset) \ | 55 | #define TEGRA194_AON_GPIO(port, offset) \ |
| 56 | ((TEGRA194_AON_GPIO_PORT_##port * 8) + offset) | 56 | ((TEGRA194_AON_GPIO_PORT_##port * 8) + offset) |
