Skip to content
Snippets Groups Projects
Commit deaf1cec authored by Sander Vanheule's avatar Sander Vanheule Committed by Bartosz Golaszewski
Browse files

gpio: realtek-otto: Add RTL930x support


The RTL930x SoC series has support for 24 GPIOs, with the port order
reversed compared to RTL838x and RTL839x. The RTL930x series also has
two CPUs (VPEs) and can distribute individual GPIO interrupts between
them.

Signed-off-by: default avatarSander Vanheule <sander@svanheule.net>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent 95fa6dbe
No related branches found
No related tags found
No related merge requests found
......@@ -335,6 +335,10 @@ static const struct of_device_id realtek_gpio_of_match[] = {
{
.compatible = "realtek,rtl8390-gpio",
},
{
.compatible = "realtek,rtl9300-gpio",
.data = (void *)(GPIO_PORTS_REVERSED | GPIO_INTERRUPTS_PER_CPU)
},
{}
};
MODULE_DEVICE_TABLE(of, realtek_gpio_of_match);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment