Commit 42f9b48c authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Linus Walleij

pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins

The GPIOAO pins (as well as the two exotic GPIO_BSD_EN and GPIO_TEST_N)
only belong to the pin controller in the AO domain. With the current
definition these pins cannot be referred to in .dts files as group
(which is possible on GXBB and GXL for example).

Add a separate "gpio_aobus" function to fix the mapping between the pin
controller and the GPIO pins in the AO domain. This is similar to how
the GXBB and GXL drivers implement this functionality.

Fixes: 9dab1868 ("pinctrl: amlogic: Make driver independent from two-domain configuration")
Signed-off-by: default avatarMartin Blumenstingl <>
Signed-off-by: Linus Walleij's avatarLinus Walleij <>
parent 9b4924da
......@@ -807,7 +807,9 @@ static const char * const gpio_groups[] = {
"BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_9",
"BOOT_10", "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_14",
"BOOT_15", "BOOT_16", "BOOT_17", "BOOT_18",
static const char * const gpio_aobus_groups[] = {
"GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11",
......@@ -1030,6 +1032,7 @@ static struct meson_pmx_func meson8_cbus_functions[] = {
static struct meson_pmx_func meson8_aobus_functions[] = {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment