leds {
compatible = "gpio-leds";
- wps {
- label = "dir-842-c1:green:wps";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
led_power: power {
label = "dir-842-c1:green:power";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
- internet {
- label = "dir-842-c1:green:internet";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ wps {
+ label = "dir-842-c1:green:wps";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wlan {
leds {
compatible = "gpio-leds";
- wps {
- label = "dir-842-c2:green:wps";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
led_power: power {
label = "dir-842-c2:green:power";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
- internet {
- label = "dir-842-c2:green:internet";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ wps {
+ label = "dir-842-c2:green:wps";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wlan {
leds {
compatible = "gpio-leds";
- wps {
- label = "dir-842-c3:green:wps";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
led_power: power {
label = "dir-842-c3:green:power";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
- internet {
- label = "dir-842-c3:green:internet";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ wps {
+ label = "dir-842-c3:green:wps";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wlan {
devolo,magic-2-wifi)
ucidef_set_led_netdev "plcw" "dLAN" "devolo:white:dlan" "eth0.1" "rx"
;;
-dlink,dir-842-c1|\
-dlink,dir-842-c2|\
-dlink,dir-842-c3|\
dlink,dir-859-a1)
ucidef_set_led_switch "internet" "WAN" "$boardname:green:internet" "switch0" "0x20"
;;