chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &adsl;
+ internet = &internet;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ usb2 = &usb2;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpios 21 0>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpios 20 0>;
};
label = "lan4";
gpios = <&gpios 16 0>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpios 15 0>;
};
- adsl {
+ adsl: adsl {
label = "adsl";
gpios = <&gpios 14 0>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpios 13 0>;
};
label = "phone2";
gpios = <&gpios 9 0>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpios 8 0>;
};
- usb2 {
+ usb2: usb2 {
label = "usb2";
gpios = <&gpios 7 0>;
};
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 3 0>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 5 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 6 1>;
};
label = "dsl2";
gpios = <&gpio 8 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpio 19 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 2 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 7 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 6 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 5 1>;
};
label = "online2";
gpios = <&gpio 8 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpio 19 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &adsl;
+ internet = &internet;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 3 1>;
};
- adsl {
+ adsl: adsl {
label = "adsl";
gpios = <&gpio 4 1>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 5 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 6 1>;
};
label = "voice";
gpios = <&gpiomm 4 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpiomm 5 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpiomm 6 1>;
};
/ {
model = "ARV4525PW - Speedport W501V Typ A";
+ chosen {
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ /* we dont have a power led, lets use the online led */
+ power = &online;
+ wifi = &wifi;
+ };
+ };
+
memory@0 {
reg = <0x0 0x2000000>;
};
label = "fxs";
gpios = <&gpio 5 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 6 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 8 1>;
};
- online {
+ online: online {
/*label = "online"; - we dont have a power led, lets use this one */
label = "power";
gpios = <&gpio 9 1>;
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ power1 = &power1;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
label = "power0";
gpios = <&gpio 3 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
label = "isdn";
gpios = <&gpio 5 1>;
};
- power1 {
+ power1: power1 {
label = "power1";
gpios = <&gpio 6 1>;
};
label = "voice";
gpios = <&gpiomm 4 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpiomm 5 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpiomm 6 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &internet;
+ power = &power;
+ wifi = &wlan;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 2 1>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 4 1>;
};
- wlan {
+ wlan: wlan {
label = "wlan";
gpios = <&gpio 10 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 2 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 5 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 6 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 7 1>;
};
label = "online2";
gpios = <&gpio 8 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpio 19 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ power2 = &power2;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 2 1>;
default-state = "off";
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 14 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 3 1>;
};
label = "online2";
gpios = <&gpio 30 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 12 1>;
};
label = "wps3";
gpios = <&gpio 23 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &internet_green;
+ power = &power_green;
+ };
};
memory@0 {
label = "internet_red";
gpios = <&gpio 10 1>;
};
- power_green {
+ power_green: power_green {
label = "power";
gpios = <&gpio 14 1>;
default-state = "on";
label = "internet_orange";
gpios = <&gpio 19 1>;
};
- internet_green {
+ internet_green: internet_green {
label = "internet_green";
gpios = <&gpio 28 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &power;
+ internet = &online;
+ power = &power;
+ power1 = &power1;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 3 1>;
};
- power1 {
+ power1: power1 {
label = "power1";
gpios = <&gpio 4 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 5 1>;
};
label = "voice2";
gpios = <&gpio 8 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 9 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &internet;
+ power = &power;
+ power1 = &power1;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power1 {
+ power1: power1 {
label = "power1";
gpios = <&gpio 3 1>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 4 1>;
};
label = "message";
gpios = <&gpio 5 1>;
};
- power {
+ power: power {
label = "power";
gpios = <&gpio 6 1>;
default-state = "keep";
label = "umts";
gpios = <&gpiomm 3 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpiomm 4 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &internet;
+ power = &power;
+ power1 = &power1;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power1 {
+ power1: power1 {
label = "power1";
gpios = <&gpio 3 1>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 4 1>;
};
label = "message";
gpios = <&gpio 5 1>;
};
- power {
+ power: power {
label = "power";
gpios = <&gpio 6 1>;
default-state = "keep";
label = "umts";
gpios = <&gpiomm 3 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi_rt";
gpios = <&gpiomm 4 1>;
};
/ {
model = "ARV8539PW22 - Speedport W 504V Typ A";
+ chosen {
+ leds {
+ dsl = &dsl_green;
+ internet = &online_green;
+ power = &power_green;
+ wifi = &wireless_green;
+ };
+ };
+
memory@0 {
reg = <0x0 0x4000000>;
};
gpio-leds {
compatible = "gpio-leds";
- power-green {
+ power_green: power-green {
label = "power";
gpios = <&gpio 24 1>;
};
gpios = <&gpio 4 1>;
};
- dsl-green {
+ dsl_green: dsl-green {
label = "soc:green:dsl";
gpios = <&gpio 5 1>;
};
- online-green {
+ online_green: online-green {
label = "soc:green:online";
gpios = <&gpio 6 1>;
};
- wireless-green {
+ wireless_green: wireless-green {
label = "soc:green:wireless";
gpios = <&gpio 8 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &broadband_blue;
+ wifi = &wireless_blue;
+ };
};
memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
label = "soc:orange:wireless";
gpios = <&stp0 8 0>;
};
- wireless-blue {
+ wireless_blue: wireless-blue {
label = "soc:blue:wireless";
gpios = <&stp0 9 0>;
};
label = "soc:orange:broadband";
gpios = <&stp0 11 0>;
};
- broadband-blue {
+ broadband_blue: broadband-blue {
label = "soc:blue:broadband";
gpios = <&stp0 12 0>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &broadband_blue;
+ wifi = &wireless_blue;
+ };
};
memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
label = "soc:orange:wireless";
gpios = <&gpio 6 1>;
};
- wireless-blue {
+ wireless_blue: wireless-blue {
label = "soc:blue:wireless";
gpios = <&gpio 9 1>;
};
label = "soc:orange:broadband";
gpios = <&gpio 0 1>;
};
- broadband-blue {
+ broadband_blue: broadband-blue {
label = "soc:blue:broadband";
gpios = <&gpio 12 1>;
};
label = "soc:orange:power";
gpios = <&gpio 5 1>;
};
- power-blue {
+ ppower-blue {
label = "soc:blue:power";
gpios = <&gpio 1 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &broadband_blue;
+ wifi = &wireless_blue;
+ };
};
memory@0 {
label = "soc:green:broadband";
gpios = <&gpio 3 1>;
};
- broadband-blue {
+ broadband_blue: broadband-blue {
label = "soc:blue:broadband";
gpios = <&gpio 8 1>;
};
label = "soc:green:wireless";
gpios = <&gpio 10 1>;
};
- wireless-blue {
+ wireless_blue: wireless-blue {
label = "soc:blue:wireless";
gpios = <&gpio 11 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 1 1>;
default-state = "on";
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 2 1>;
default-state = "on";
gpios = <&gpio 4 1>;
default-state = "on";
};
- power {
+ power: power {
label = "power";
gpios = <&gpio 13 1>;
default-state = "on";
/ {
chosen {
bootargs-append = "root= console=ttyLTQ0,115200";
+
+ leds {
+ dsl = &dsl;
+ internet = &internet;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 2 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpio 22 1>;
};
- power {
+ power: power {
label = "power";
gpios = <&gpio 34 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 39 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 51 1>;
};
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ power = &power;
+ usb = &usb1;
+ usb2 = &usb2;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&stp 9 0>;
default-state = "on";
label = "fxo";
gpios = <&stp 19 0>;
};
- usb1 {
+ usb1: usb1 {
label = "usb1";
gpios = <&stp 18 0>;
};
- usb2 {
+ usb2: usb2 {
label = "usb2";
gpios = <&stp 15 0>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
+
+ leds {
+ dsl = &dsl;
+ internet = &info_green;
+ power = &power;
+ power2 = &power2;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 32 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 33 1>;
};
label = "info_red";
gpios = <&gpio 34 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 35 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 36 1>;
};
label = "lan";
gpios = <&gpio 38 1>;
};
- info_green {
+ info_green: info_green {
label = "info_green";
gpios = <&gpio 47 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &power;
+ internet = &online;
+ power = &power;
+ wifi = &wlan;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 44 1>;
};
label = "dect";
gpios = <&gpio 38 1>;
};
- wlan {
+ wlan: wlan {
label = "wlan";
gpios = <&gpio 37 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 35 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ internet = &internet;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&stp 4 0>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&stp 2 1>;
default-state = "off";
label = "internet2";
gpios = <&stp 3 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&stp 10 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&stp 15 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 19 1>;
default-state = "on";
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 37 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
label = "wps";
gpios = <&gpio 22 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 6 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpio 14 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ power2 = &power2;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&stp 11 1>;
default-state = "on";
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 29 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&stp 13 1>;
};
label = "online2";
gpios = <&stp 12 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&stp 14 1>;
};
label = "phone2";
gpios = <&stp 8 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&stp 15 1>;
};
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &internet_green;
+ power = &power;
+ power2 = &power2;
+ usb = &usb1;
+ usb2 = &usb2;
+ wifi = &wireless_green;
+ };
};
memory@0 {
label = "internet_red";
gpios = <&stp 16 1>;
};
- internet_green {
+ internet_green: internet_green {
label = "internet_green"; /* green */
gpios = <&stp 17 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&stp 18 1>;
};
label = "wireless_red";
gpios = <&stp 20 1>;
};
- wireless_green { /* green */
+ wireless_green: wireless_green { /* green */
label = "wireless_green";
gpios = <&stp 21 1>;
};
- power { /* red */
+ power: power { /* red */
label = "power";
gpios = <&stp 22 1>;
};
- power2 { /* green */
+ power2: power2 { /* green */
label = "power2";
gpios = <&stp 23 1>;
};
- usb1 { /* green */
+ usb1: usb1 { /* green */
label = "usb1";
gpios = <&gpio 38 1>;
};
- usb2 { /* green */
+ usb2: usb2 { /* green */
label = "usb2";
gpios = <&gpio 44 1>;
};
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &internet;
+ /* the power led can't be controlled, use the wps led instead */
+ power = &wps;
+ usb = &usb0;
+ usb2 = &usb2;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 0>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 5 0>;
};
- usb0 {
+ usb0: usb0 {
label = "usb";
gpios = <&gpio 19 0>;
};
- usb2 {
+ usb2: usb2 {
label = "usb2";
gpios = <&gpio 20 0>;
};
- wps {
+ wps: wps {
label = "wps";
gpios = <&gpio 37 0>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ power = &power;
+ power2 = &power2;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 14 1>;
};
- dsl {
+ dsl: dsl {
label = "bt:green:dsl";
gpios = <&gpio 19 1>;
};
- power {
+ power: power {
label = "power";
gpios = <&gpio 28 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &internet_green;
+ power = &power;
+ power2 = &power2;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 2 1>;
};
gpios = <&gpio 12 1>;
};
- power {
+ power: power {
label = "power"; /* green */
gpios = <&gpio 14 1>;
};
gpios = <&gpio 15 1>;
};
- internet_green {
+ internet_green: internet_green {
label = "internet_green";
gpios = <&gpio 19 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 20 1>;
};
- power2 {
+ power2: power2 {
label = "power2"; /* red */
gpios = <&gpio 28 1>;
};
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &broadband_yellow;
+ internet = &internet_yellow;
+ power = &power;
+ power2 = &power2;
+ wifi = &wireless_yellow;
+ };
};
memory@0 {
label = "tv";
gpios = <&stp 6 1>;
};
- internet_yellow { /* yellow */
+ internet_yellow: internet_yellow { /* yellow */
label = "internet_yellow";
gpios = <&stp 7 1>;
};
label = "broadband_red";
gpios = <&stp 9 1>;
};
- broadband_yellow { /* yellow */
+ broadband_yellow: broadband_yellow { /* yellow */
label = "broadband_yellow";
gpios = <&stp 10 1>;
};
label = "wireless_red";
gpios = <&stp 12 1>;
};
- wireless_yellow { /* yellow */
+ wireless_yellow: wireless_yellow { /* yellow */
label = "wireless_yellow";
gpios = <&stp 13 1>;
};
- power2 { /* yellow */
+ power2: power2 { /* yellow */
label = "power2";
gpios = <&stp 14 1>;
};
- power { /* red */
+ power: power { /* red */
label = "power";
gpios = <&stp 15 1>;
default-state = "on";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 1 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 5 1>;
};
label = "security";
gpios = <&gpio 14 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 15 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 16 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 17 1>;
};
label = "movie";
gpios = <&gpio 20 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpio 28 1>;
default-state = "on";