mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-16 07:27:26 +00:00
ath79: resolve GPIO address conflicts
The ar71xx GPIO driver only uses 0x24 registers, all following GPIO registers are using to control pinmux functions, which are not handles by the GPIO driver but the generic Linux pinctrl driver. For some SoC conflicting address ranges were defined for these (AR7240 & AR9330). Resolve these cases and align the address space of the GPIO controller between all SoCs, as the used address space of the driver is identical for all these. Signed-off-by: David Bauer <mail@david-bauer.net> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
21cfb770b2
commit
28eaf230a9
@ -57,7 +57,7 @@
|
||||
|
||||
gpio: gpio@18040000 {
|
||||
compatible = "qca,ar7100-gpio";
|
||||
reg = <0x18040000 0x30>;
|
||||
reg = <0x18040000 0x28>;
|
||||
interrupts = <2>;
|
||||
|
||||
ngpios = <16>;
|
||||
|
@ -50,7 +50,7 @@
|
||||
gpio: gpio@18040000 {
|
||||
compatible = "qca,ar7240-gpio",
|
||||
"qca,ar7100-gpio";
|
||||
reg = <0x18040000 0x30>;
|
||||
reg = <0x18040000 0x28>;
|
||||
interrupts = <2>;
|
||||
|
||||
ngpios = <18>;
|
||||
|
@ -77,7 +77,7 @@
|
||||
gpio: gpio@18040000 {
|
||||
compatible = "qca,ar9132-gpio",
|
||||
"qca,ar7100-gpio";
|
||||
reg = <0x18040000 0x30>;
|
||||
reg = <0x18040000 0x28>;
|
||||
interrupts = <2>;
|
||||
|
||||
ngpios = <22>;
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
gpio: gpio@18040000 {
|
||||
compatible = "qca,ar7100-gpio";
|
||||
reg = <0x18040000 0x34>;
|
||||
reg = <0x18040000 0x28>;
|
||||
interrupts = <2>;
|
||||
|
||||
ngpios = <30>;
|
||||
|
@ -78,7 +78,7 @@
|
||||
|
||||
gpio: gpio@18040000 {
|
||||
compatible = "qca,ar9340-gpio";
|
||||
reg = <0x18040000 0x2c>;
|
||||
reg = <0x18040000 0x28>;
|
||||
|
||||
interrupts = <2>;
|
||||
ngpios = <23>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user