ARM: dts: at91: sama7g5ek: disable slew rate for GMACs non MDIO pins

Non GMAC's MDIO pins should have slew rate disabled for R(G)MII modes. Set
them accordingly in DT.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Tested-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
This commit is contained in:
Codrin Ciubotariu 2022-01-28 13:10:10 +02:00 committed by Eugen Hristev
parent df887a045a
commit 17a9f3f53d

View file

@ -125,7 +125,9 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gmac0_default &pinctrl_gmac0_txc_default>; pinctrl-0 = <&pinctrl_gmac0_default
&pinctrl_gmac0_mdio_default
&pinctrl_gmac0_txc_default>;
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
status = "okay"; status = "okay";
@ -138,7 +140,7 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gmac1_default>; pinctrl-0 = <&pinctrl_gmac1_default &pinctrl_gmac1_mdio_default>;
phy-mode = "rmii"; phy-mode = "rmii";
status = "okay"; status = "okay";
@ -235,14 +237,20 @@
<PIN_PA15__G0_TXEN>, <PIN_PA15__G0_TXEN>,
<PIN_PA30__G0_RXCK>, <PIN_PA30__G0_RXCK>,
<PIN_PA18__G0_RXDV>, <PIN_PA18__G0_RXDV>,
<PIN_PA22__G0_MDC>,
<PIN_PA23__G0_MDIO>,
<PIN_PA25__G0_125CK>; <PIN_PA25__G0_125CK>;
slew-rate = <0>;
bias-disable;
};
pinctrl_gmac0_mdio_default: gmac0_mdio_default {
pinmux = <PIN_PA22__G0_MDC>,
<PIN_PA23__G0_MDIO>;
bias-disable; bias-disable;
}; };
pinctrl_gmac0_txc_default: gmac0_txc_default { pinctrl_gmac0_txc_default: gmac0_txc_default {
pinmux = <PIN_PA24__G0_TXCK>; pinmux = <PIN_PA24__G0_TXCK>;
slew-rate = <0>;
bias-pull-up; bias-pull-up;
}; };
@ -254,8 +262,13 @@
<PIN_PD25__G1_RX0>, <PIN_PD25__G1_RX0>,
<PIN_PD26__G1_RX1>, <PIN_PD26__G1_RX1>,
<PIN_PD27__G1_RXER>, <PIN_PD27__G1_RXER>,
<PIN_PD24__G1_RXDV>, <PIN_PD24__G1_RXDV>;
<PIN_PD28__G1_MDC>, slew-rate = <0>;
bias-disable;
};
pinctrl_gmac1_mdio_default: gmac1_mdio_default {
pinmux = <PIN_PD28__G1_MDC>,
<PIN_PD29__G1_MDIO>; <PIN_PD29__G1_MDIO>;
bias-disable; bias-disable;
}; };