From 02deda83286a712b7a4825059d27f6417c480ca6 Mon Sep 17 00:00:00 2001 From: Rajkumar Ayyasamy Date: Fri, 9 Feb 2018 17:18:44 +0530 Subject: [PATCH] ipq806x: 8033 PHY reset through GPIO32 for the 11ad dock In case of 11ad dock (AK01), 8033 phy needs to be reset, before switch initialization. GPIO32 is configured to reset phy. Change-Id: I18a7f05b57c9a02adb27d58d8b4098d44edb49bd Signed-off-by: Rajkumar Ayyasamy --- arch/arm/dts/ipq806x-ak01.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/dts/ipq806x-ak01.dts b/arch/arm/dts/ipq806x-ak01.dts index 6d86cc3c2a..d95778d12c 100644 --- a/arch/arm/dts/ipq806x-ak01.dts +++ b/arch/arm/dts/ipq806x-ak01.dts @@ -23,4 +23,27 @@ console = "/serial@16340000"; nand = "/nand@1A600000"; }; + + ak01_gmac_reset_gpio { + gpio32 { + gpio = <32>; + func = <0>; + out = ; + pull = ; + drvstr = ; + oe = ; + }; + }; + + ak01_gmac_config_gpio { + gpio32 { + gpio = <32>; + func = <0>; + out = ; + pull = ; + drvstr = ; + oe = ; + }; + }; + };