rockchip: add driver for hardware RNG
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_netgear_wndr.dtsi
index c4faec8ef140db5c76bff5f6a6884d3d64cde0ae..757fdfe650ae21573220bb605b9bb00ec00ed275 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
                pinctrl-0 = <&jtag_disable_pins>;
 
                led_power_green: power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
                led_power_amber: power_amber {
-                       label = "amber:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                wan_green {
-                       label = "green:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
 
                wan_amber {
-                       label = "amber:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
@@ -76,7 +81,8 @@
                };
 
                wps_green {
-                       label = "green:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
        };