From 932051661352ebf23b9cfe8d53cde31027e3c42f Mon Sep 17 00:00:00 2001 From: Sander Vanheule Date: Sun, 5 Jun 2022 11:55:58 +0200 Subject: ath79: move ethernet phy node for TP-Link EAP devices Move the ethernet phy definition from the eap2x5-1port include to the device-specific DTS files. This is to prepare for new devices that have a different ethernet phy, at another MDIO address. Signed-off-by: Sander Vanheule --- target/linux/ath79/dts/qca9563_tplink_eap225-v3.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/ath79/dts/qca9563_tplink_eap225-v3.dts') diff --git a/target/linux/ath79/dts/qca9563_tplink_eap225-v3.dts b/target/linux/ath79/dts/qca9563_tplink_eap225-v3.dts index ed599815c0..8df6b813eb 100644 --- a/target/linux/ath79/dts/qca9563_tplink_eap225-v3.dts +++ b/target/linux/ath79/dts/qca9563_tplink_eap225-v3.dts @@ -35,6 +35,18 @@ }; }; +ð0 { + phy-handle = <&phy4>; + phy-mode = "sgmii"; +}; + +&mdio0 { + phy4: ethernet-phy@4 { + reg = <4>; + reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>; + }; +}; + &pcie { wifi@0,0 { compatible = "qcom,ath10k"; -- cgit v1.2.3