From 8d664879c57db0dba325725daaee664209d08a2d Mon Sep 17 00:00:00 2001 From: aiamadeus <2789289348@qq.com> Date: Thu, 30 May 2024 23:25:19 +0800 Subject: [PATCH] ramips: mt7621: fixes gpio config Fixes: 4561705 ("ramips: add support for OpenFi 5Pro") --- target/linux/ramips/dts/mt7621_leigod_a7000.dts | 10 +++++----- target/linux/ramips/dts/mt7621_openfi_5pro.dts | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) mode change 100755 => 100644 target/linux/ramips/dts/mt7621_openfi_5pro.dts diff --git a/target/linux/ramips/dts/mt7621_leigod_a7000.dts b/target/linux/ramips/dts/mt7621_leigod_a7000.dts index 292d22f71..a7b08d527 100644 --- a/target/linux/ramips/dts/mt7621_leigod_a7000.dts +++ b/target/linux/ramips/dts/mt7621_leigod_a7000.dts @@ -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"; }; }; diff --git a/target/linux/ramips/dts/mt7621_openfi_5pro.dts b/target/linux/ramips/dts/mt7621_openfi_5pro.dts old mode 100755 new mode 100644 index 7560d405b..1ef292a78 --- a/target/linux/ramips/dts/mt7621_openfi_5pro.dts +++ b/target/linux/ramips/dts/mt7621_openfi_5pro.dts @@ -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"; }; };