diff options
| author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2022-02-15 11:17:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-15 17:11:45 +0100 |
| commit | 56f1124a94699e18fde9421cfabed2312e7fc28e (patch) | |
| tree | 122d77d5730897e8c23d94cf937619176eb083cb | |
| parent | 25e4f5220efead592c83200241e098e757d37e1f (diff) | |
| download | linux-56f1124a94699e18fde9421cfabed2312e7fc28e.tar.gz linux-56f1124a94699e18fde9421cfabed2312e7fc28e.zip | |
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 <sergio.paracuellos@gmail.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20220215081725.3463-2-arinc.unal@arinc9.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/mt7621-dts/gbpc1.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/mt7621-dts/gbpc1.dts b/drivers/staging/mt7621-dts/gbpc1.dts index e38a083811e5..1b5175e6ccf3 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 { |
