From: Josep Orga Date: Sat, 18 Apr 2020 16:06:46 +0000 (+0200) Subject: ARM: dts: Disable second phy when one ethernet selected. X-Git-Tag: rel_imx_4.19.35_1.1.0-somdevices.0~27 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=28a824be426ce648af5245197c47a669c54cf886;p=linux.git ARM: dts: Disable second phy when one ethernet selected. Signed-off-by: Josep Orga --- diff --git a/arch/arm/boot/dts/imx6ull-somdevices.dtsi b/arch/arm/boot/dts/imx6ull-somdevices.dtsi index f3d132225b2a..6c742d71e5ef 100644 --- a/arch/arm/boot/dts/imx6ull-somdevices.dtsi +++ b/arch/arm/boot/dts/imx6ull-somdevices.dtsi @@ -84,6 +84,19 @@ gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; states = <1300000 0x1 1400000 0x0>; }; +#ifndef DUAL_ETH + reg_fec2_reset: regulator-fec2 { + //GPIO to disable FEC2 when one ethernet is selected. + compatible = "regulator-fixed"; + regulator-name = "fec2_reset"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio5 11 GPIO_ACTIVE_LOW>; + off-on-delay = <20000>; + regulator-boot-on; + regulator-always-on; + }; +#endif }; sound {