From 7f874a0c1b618f5d9ef32cc07617124132d050d0 Mon Sep 17 00:00:00 2001 From: Selvam Sathappan Periakaruppan Date: Tue, 17 May 2022 09:08:18 +0530 Subject: [PATCH] arm: dts: ipq9574: Add support for qca8084 in AL03 In AL03, we have qca8084 support instead of qca807X and this patch adds support for the same. Note that there are only 5 ethernet ports in AL03. 4x2.5G -> qca8084 port 1x10G -> Aquantia port Change-Id: I824169cb972dd0fbd28c7d8648df3691ca93432f Signed-off-by: Selvam Sathappan Periakaruppan --- arch/arm/dts/ipq9574-al03-c1.dts | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/ipq9574-al03-c1.dts b/arch/arm/dts/ipq9574-al03-c1.dts index 6cdf49f7fa..8a1f5ade9a 100644 --- a/arch/arm/dts/ipq9574-al03-c1.dts +++ b/arch/arm/dts/ipq9574-al03-c1.dts @@ -38,4 +38,38 @@ }; }; }; + + 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 = ; + }; + /* Port 5 is unused in al03-c1 */ + port@4 { + phy_address = <0xff>; + phy_type = ; + }; + }; + }; };