From 478c1fb1d95be2fd0a5de84d6a88e302c966ba3c Mon Sep 17 00:00:00 2001 From: Vandhiadevan Karunamoorthy Date: Thu, 9 Mar 2023 14:39:53 +0530 Subject: [PATCH] arm: dts: ipq5332: add ethernet support in mi04.1 Change-Id: Ie312c243887db5109710c351c03b723a82eda6de Signed-off-by: Vandhiadevan Karunamoorthy --- arch/arm/dts/ipq5332-mi04.1.dts | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm/dts/ipq5332-mi04.1.dts b/arch/arm/dts/ipq5332-mi04.1.dts index f827cc090a..6768ae6671 100644 --- a/arch/arm/dts/ipq5332-mi04.1.dts +++ b/arch/arm/dts/ipq5332-mi04.1.dts @@ -166,4 +166,62 @@ }; }; }; + + ess-switch { + switch_mac_mode0 = ; + switch_mac_mode1 = ; + qca808x_gpio = <51>; + qca808x_gpio_cnt = <1>; + napa_gpio = <22>; + qca8084_switch_enable = <1>; + + port_phyinfo { + port@0 { + phy_address = <1>; + phy_type = ; + uniphy_id = <0>; + uniphy_mode = ; + }; + port@1 { + phy_address = <12>; + phy_type = ; + uniphy_id = <1>; + uniphy_mode = ; + }; + }; + + qca8084_swt_info { + switch_mac_mode0 = ; + switch_mac_mode1 = ; + + port@0 { + phy_address = <0xff>; + phy_type = ; + forced-speed = <2500>; + forced-duplex = <1>; + }; + port@1 { + phy_address = <1>; + phy_type = ; + }; + port@2 { + phy_address = <2>; + phy_type = ; + }; + port@3 { + phy_address = <3>; + phy_type = ; + }; + port@4 { + phy_address = <0x4>; + phy_type = ; + }; + port@5 { + phy_address = <0xff>; + phy_type = ; + forced-speed = <2500>; + forced-duplex = <1>; + }; + }; + }; };