]> git.itanic.dy.fi Git - linux-stable/commitdiff
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 8e5a06080ad4e9c6a964aff5deff0c89a07f41fd..37037e4f3c3bc736fb4fc1c3a5d410e8a41b08e4 100644 (file)
@@ -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 = <&ethphy4>;
index 1601baa270a4b423ef22468ee33ed3f51a22400e..a6201a119a1f2674f2d1e4ada9b27518281d0f65 100644 (file)
@@ -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 = <&ethphy7>;