qualcommax: switch to qca8081 upstream PHY driver
[openwrt/staging/dangole.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-ax880.dts
index 73bc13cf3206319dd7dba2fa6009c6ce047ce287..bb4634d054b3d8141948dcfd392bade2aa2def4c 100644 (file)
@@ -8,6 +8,7 @@
 #include "ipq8074-ess.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Yuncore AX880";
                compatible = "ethernet-phy-id004d.d101";
                reg = <24>;
                reset-gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
+
+               leds {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       led@0 {
+                               reg = <0>;
+                               color = <LED_COLOR_ID_GREEN>;
+                               function = LED_FUNCTION_WAN;
+                               default-state = "keep";
+                       };
+               };
        };
 
        qca8081_28: ethernet-phy@28 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
                reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
+
+               leds {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       led@0 {
+                               reg = <0>;
+                               color = <LED_COLOR_ID_GREEN>;
+                               function = LED_FUNCTION_LAN;
+                               default-state = "keep";
+                       };
+               };
        };
 };