[PATCH 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

Chuanhong Guo gch981213 at gmail.com
Tue Feb 8 06:20:02 PST 2022


Hi!

On Tue, Feb 8, 2022 at 3:38 AM Arınç ÜNAL <arinc.unal at arinc9.com> wrote:
> diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
> index 9256e118e4..95113d4e11 100644
> --- a/target/linux/ramips/dts/mt7621.dtsi
> +++ b/target/linux/ramips/dts/mt7621.dtsi
> @@ -456,6 +456,9 @@
>
>                 mediatek,ethsys = <&sysc>;
>
> +               pinctrl-names = "default";
> +               pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
> +

There are devices using rgmii2 pins as GPIO. (e.g. PBR-M1)
rgmii2_pins should be excluded from pinctrl-0 in dts of these routers
if you enable it by default here.

-- 
Regards,
Chuanhong Guo



More information about the openwrt-devel mailing list