qualcommax: switch to qca8081 upstream PHY driver
[openwrt/staging/nbd.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-dl-wrx36.dts
index e2971103c847fb33934a815f478534d2794d1239..4519a7a6bf49acd53a916bde9c7f33f98647dc30 100644 (file)
                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_WAN;
+                               default-state = "keep";
+                       };
+
+                       led@1 {
+                               reg = <1>;
+                               color = <LED_COLOR_ID_YELLOW>;
+                               function = LED_FUNCTION_WAN;
+                               default-state = "keep";
+                       };
+               };
        };
 };
 
        switch_mac_mode2 = <MAC_MODE_SGMII_PLUS>; /* mac mode for uniphy instance2*/
 
        qcom,port_phyinfo {
-               port@0 {
+               port@1 {
                        port_id = <1>;
                        phy_address = <0>;
                };
-               port@1 {
+               port@2 {
                        port_id = <2>;
                        phy_address = <1>;
                };
-               port@2 {
+               port@3 {
                        port_id = <3>;
                        phy_address = <2>;
                };
-               port@3 {
+               port@4 {
                        port_id = <4>;
                        phy_address = <3>;
                };
-               port@5 {
+               port@6 {
                        port_id = <6>;
                        phy_address = <28>;
                        port_mac_sel = "QGMAC_PORT";