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>; reg = <0x18040000 0x28>;
interrupts = <2>; interrupts = <2>;
ngpios = <16>; ngpios = <12>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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