From: Arınç ÜNAL Date: Tue, 15 Feb 2022 08:17:25 +0000 (+0300) Subject: staging: mt7621-dts: do not use rgmii2_pins for ethernet on GB-PC1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=56f1124a94699e18fde9421cfabed2312e7fc28e;p=linux.git staging: mt7621-dts: do not use rgmii2_pins for ethernet on GB-PC1 GB-PC1 uses some of the rgmii2 pins (22 - 33) as GPIO. Therefore, the rgmii2 bus cannot be used on this device. Overwrite pinctrl-0 property under the ethernet node without rgmii2_pins on the GB-PC1 devicetree. Tested-by: Sergio Paracuellos Signed-off-by: Arınç ÜNAL Link: https://lore.kernel.org/r/20220215081725.3463-2-arinc.unal@arinc9.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-dts/gbpc1.dts b/drivers/staging/mt7621-dts/gbpc1.dts index e38a083811e54..1b5175e6ccf3c 100644 --- a/drivers/staging/mt7621-dts/gbpc1.dts +++ b/drivers/staging/mt7621-dts/gbpc1.dts @@ -114,6 +114,10 @@ }; }; +ðernet { + pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>; +}; + &switch0 { ports { port@0 {