ath79: correct dts ngpios properties

SoC Model	GPIO number

ar7100		12
ar7240		18(unknown, default)
ar7241		20
ar7242		18
ar9132		22(unknown, default)
ar9331		30
ar934x		23
qca953x		18
qca955x		24
qca956x		23

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/15784
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Shiji Yang 2024-07-04 18:35:50 +08:00 committed by Robert Marko
parent 1664e506ac
commit 731318667d
8 changed files with 9 additions and 11 deletions

View File

@ -67,7 +67,7 @@
reg = <0x18040000 0x28>;
interrupts = <2>;
ngpios = <16>;
ngpios = <12>;
gpio-controller;
#gpio-cells = <2>;

View File

@ -49,12 +49,9 @@
};
&gpio {
ngpios = <31>;
gpio-line-names =
"", "", "", "", "LED", "RDY", "", "MDC",
"MDIO", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "";
"MDIO", "", "", "";
};
&pcie0 {

View File

@ -15,6 +15,10 @@
};
};
&gpio {
ngpios = <18>;
};
&ahb {
usb: usb@1b000000 {
compatible = "generic-ohci";

View File

@ -16,7 +16,7 @@
};
&gpio {
ngpios = <20>;
ngpios = <18>;
};
&ahb {

View File

@ -60,8 +60,6 @@
reg = <0x18040000 0x28>;
interrupts = <2>;
ngpios = <18>;
gpio-controller;
#gpio-cells = <2>;

View File

@ -91,7 +91,6 @@
};
&gpio {
ngpios = <17>;
gpio-line-names =
"","reset-zigbee","reset-zwave","reset",
"LED-orange","","","","","","",

View File

@ -72,7 +72,7 @@
reg = <0x18040000 0x28>;
interrupts = <2>;
ngpios = <20>;
ngpios = <18>;
gpio-controller;
#gpio-cells = <2>;

View File

@ -61,7 +61,7 @@
reg = <0x18040000 0x28>;
interrupts = <2>;
ngpios = <24>;
ngpios = <23>;
gpio-controller;
#gpio-cells = <2>;