From 28a824be426ce648af5245197c47a669c54cf886 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Sat, 18 Apr 2020 18:06:46 +0200 Subject: [PATCH] ARM: dts: Disable second phy when one ethernet selected. Signed-off-by: Josep Orga --- arch/arm/boot/dts/imx6ull-somdevices.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 { -- 2.17.1