ramips: mt7621: fixes gpio config

Fixes: 4561705 ("ramips: add support for OpenFi 5Pro")
This commit is contained in:
aiamadeus 2024-05-30 23:25:19 +08:00
parent 3d715feecc
commit 8d664879c5
2 changed files with 7 additions and 7 deletions

View File

@ -88,10 +88,10 @@
reg = <0x50000 0x1e00000>;
};
partition@1f00000 {
label = "sysinfo";
reg = <0x1f00000 0x10000>;
};
partition@1f00000 {
label = "sysinfo";
reg = <0x1f00000 0x10000>;
};
};
};
};
@ -137,7 +137,7 @@
&state_default {
gpio {
groups = "jtag", "wdt";
groups = "jtag", "uart3", "wdt";
function = "gpio";
};
};

4
target/linux/ramips/dts/mt7621_openfi_5pro.dts Executable file → Normal file
View File

@ -118,7 +118,7 @@
};
&pcie1 {
wifi1: mt76@0,0 {
mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
@ -147,7 +147,7 @@
&state_default {
gpio {
groups = "wdt", "i2c", "jtag";
groups = "wdt", "jtag";
function = "gpio";
};
};