kernel/ipq806x: Restore kernel files for v6.1
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8064-d7800.dts
index 18563c19f7bfdab600e8eb53d7d581cbeadbb388..8077c3a0901242c0177c922af57d80ed22c8a919 100644 (file)
@@ -1,6 +1,7 @@
 #include "qcom-ipq8064-v2.0-smb208.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Netgear Nighthawk X4 D7800";
                };
 
                power_amber: power_amber {
-                       label = "amber:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
                };
 
                wan_white {
-                       label = "white:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
                };
 
                wan_amber {
-                       label = "amber:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
                };
 
                wps {
-                       label = "white:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
                };
 
                };
 
                power_white: power_white {
-                       label = "white:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                };
 
 &pcie0 {
        status = "okay";
-       reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_HIGH>;
+       reset-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_HIGH>;
        pinctrl-0 = <&pcie0_pins>;
        pinctrl-names = "default";
 
 
 &pcie1 {
        status = "okay";
-       reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_HIGH>;
+       reset-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_HIGH>;
        pinctrl-0 = <&pcie1_pins>;
        pinctrl-names = "default";
        max-link-speed = <1>;
 
 &pcie2 {
        status = "okay";
-       reset-gpio = <&qcom_pinmux 63 GPIO_ACTIVE_HIGH>;
+       reset-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_HIGH>;
        pinctrl-0 = <&pcie2_pins>;
        pinctrl-names = "default";
 };