[openwrt/openwrt] qualcommax: eap623od-hd-v1: fix phy node and LED config

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 11 01:04:38 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c166cb96615d8a74e91d0de40da01ffa10a89c27

commit c166cb96615d8a74e91d0de40da01ffa10a89c27
Author: Yang Xiwen <forbidden405 at outlook.com>
AuthorDate: Thu Apr 10 19:09:42 2025 +0800

    qualcommax: eap623od-hd-v1: fix phy node and LED config
    
    The reason phy fails to probe without explicitly overrided phy id is
    that the reset timing fails to match. Fix it with proper `reset-delay-us` and
    `reset-post-delay-us`.
    
    While at it, change LED settings to match EAP610-Outdoor.
    
    Signed-off-by: Yang Xiwen <forbidden405 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/18450
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../arm64/boot/dts/qcom/ipq6018-eap623od-hd-v1.dts | 23 +++++++++++-----------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-eap623od-hd-v1.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-eap623od-hd-v1.dts
index a4e49c9d6f..f54593a08b 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-eap623od-hd-v1.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-eap623od-hd-v1.dts
@@ -16,10 +16,10 @@
 
 	aliases {
 		serial0 = &blsp1_uart3;
-		led-boot = &led_system;
-		led-failsafe = &led_system;
-		led-running = &led_system;
-		led-upgrade = &led_system;
+		led-boot = &led_sys_green;
+		led-failsafe = &led_sys_yellow;
+		led-running = &led_sys_green;
+		led-upgrade = &led_sys_yellow;
 	};
 
 	chosen {
@@ -40,15 +40,15 @@
 	leds {
 		compatible = "gpio-leds";
 
-		led_system: system {
+		led_sys_green: led-0 {
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
 		};
 
-		wlan {
+		led_sys_yellow: led-1 {
 			color = <LED_COLOR_ID_YELLOW>;
-			function = LED_FUNCTION_WLAN;
+			function = LED_FUNCTION_STATUS;
 			gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
 		};
 	};
@@ -86,15 +86,14 @@
 
 &mdio {
 	status = "okay";
-	pinctrl-0 = <&mdio_pins>;
+	reset-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
+	reset-delay-us = <10000>;
+	reset-post-delay-us = <50000>;
+	pinctrl-0 = <&mdio_pins>, <&phy_pins>;
 	pinctrl-names = "default";
 
 	rtl8211f: ethernet-phy at 4 {
-		compatible = "ethernet-phy-id001c.c916";
 		reg = <4>;
-		reset-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
-		pinctrl-0 = <&phy_pins>;
-		pinctrl-names = "default";
 
 		realtek,clkout-disable;
 		realtek,aldps-enable;




More information about the lede-commits mailing list