From 9f2501f794b72c560829e92f4b85bae81404522b Mon Sep 17 00:00:00 2001 From: Ram Kumar D Date: Mon, 3 Jul 2023 16:32:49 +0530 Subject: [PATCH] arch: arm: dts: updated qca808x PHY mode support in AL06 This patch updates the following ethernet configuration on ipq9574. Previously, AL06 has qca8075 PHY attached in the UNIPHY0, now it has been replaced with qca808x PHY mode. Change-Id: Ieb5b9ef10bd1ebfd1992cbfa10cb02b2ac4d0534 Signed-off-by: Ram Kumar D --- arch/arm/dts/ipq9574-al06.dts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/dts/ipq9574-al06.dts b/arch/arm/dts/ipq9574-al06.dts index 31eb5cd478..0084f75694 100644 --- a/arch/arm/dts/ipq9574-al06.dts +++ b/arch/arm/dts/ipq9574-al06.dts @@ -17,4 +17,33 @@ / { machid = <0x8050004>; config_name = "config@al06"; + + ess-switch { + /* Overriding config to support QCA8084 PHY instead of + * QCA8075 PHY + */ + /delete-property/qca807x_gpio; + /delete-property/qca807x_gpio_cnt; + qca808x_gpio = <60>; + qca808x_gpio_cnt = <1>; + switch_mac_mode0 = ; + port_phyinfo { + port@0 { + phy_address = <1>; + phy_type = ; + }; + port@1 { + phy_address = <2>; + phy_type = ; + }; + port@2 { + phy_address = <3>; + phy_type = ; + }; + port@3 { + phy_address = <4>; + phy_type = ; + }; + }; + }; };