ipq806x: switch default to 6.6
[openwrt/staging/pepe2k.git] / target / linux / ipq806x / files-6.1 / arch / arm / boot / dts / qcom-ipq8064-ad7200.dts
index 6cb21fc4f3f08ae595d13901a2e9cefbcd102fda..6e4c9bc773c85f5302c65c2e5871b4aa06d1b88b 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qcom-ipq8064-ad7200-c2600.dtsi"
 
 / {
@@ -57,7 +59,8 @@
                pinctrl-names = "default";
 
                lan {
-                       label = "blue:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&qcom_pinmux 2 GPIO_ACTIVE_HIGH>;
                };
 
                };
 
                wan_orange {
-                       label = "orange:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
                };
 
                wan_blue {
-                       label = "blue:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "blue:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
                };
 
                };
 
                led_status: status {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
                };
        };
        };
 };
 
+&mdio0 {
+       switch@10 {
+               ports {
+                       port@1 {
+                               label = "wan";
+                       };
+
+                       port@2 {
+                               label = "lan1";
+                       };
+
+                       port@3 {
+                               label = "lan2";
+                       };
+
+                       port@4 {
+                               label = "lan3";
+                       };
+
+                       port@5 {
+                               label = "lan4";
+                       };
+               };
+       };
+};
+
 &pcie2 {
        status = "okay";
        max-link-speed = <1>;