[PATCH 3/3] mips: dts: mt7621: remove binding for defining gpio function for pin groups
Arınç ÜNAL
arinc.unal at arinc9.com
Sun Apr 10 13:31:38 PDT 2022
All pin groups function as gpio unless set otherwise. Therefore, remove
this unnecessary binding.
Tested on UniElec U7621-06-16M on OpenWrt.
Signed-off-by: Arınç ÜNAL <arinc.unal at arinc9.com>
---
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts | 12 ------------
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 12 ------------
2 files changed, 24 deletions(-)
diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts
index 75f3b0425487..c307a0edb91f 100644
--- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts
+++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts
@@ -97,18 +97,6 @@ &pcie {
status = "okay";
};
-&pinctrl {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: state-default {
- gpio-pinmux {
- groups = "uart3", "wdt";
- function = "gpio";
- };
- };
-};
-
&gmac1 {
status = "okay";
phy-handle = <ðphy4>;
diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts
index b427ae9e081f..8268d738e74f 100644
--- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts
+++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts
@@ -81,18 +81,6 @@ &pcie {
status = "okay";
};
-&pinctrl {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: state-default {
- gpio-pinmux {
- groups = "wdt";
- function = "gpio";
- };
- };
-};
-
&gmac1 {
status = "okay";
phy-handle = <ðphy7>;
--
2.25.1
More information about the Linux-mediatek
mailing list