mips: dts: ralink: mt7621: remove defining gpio function for pin groups
authorArınç ÜNAL <arinc.unal@arinc9.com>
Mon, 11 Apr 2022 11:20:49 +0000 (14:20 +0300)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 27 Apr 2022 08:43:59 +0000 (10:43 +0200)
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@arinc9.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts

index 8e5a060..37037e4 100644 (file)
        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 = <&ethphy4>;
index 1601baa..a6201a1 100644 (file)
        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 = <&ethphy7>;