model = "I-O DATA WN-AG300DGR";
aliases {
- led-boot = &router;
- led-failsafe = &router;
- led-running = &router;
- led-upgrade = &router;
+ led-boot = &led_router;
+ led-failsafe = &led_router;
+ led-running = &led_router;
+ led-upgrade = &led_router;
};
leds {
compatible = "gpio-leds";
- router: router {
+ led_router: router {
label = "wn-ag300dgr:green:router";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
&spi {
- num-cs = <1>;
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
&wmac {
status = "okay";
+
qca,no-eeprom;
};
compatible = "sitecom,wlr-7100", "qca,ar9344";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
keys {
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
- power: power {
+ led_power: power {
label = "wlr-7100:amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
};
&spi {
- num-cs = <1>;
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
};
aliases {
- led-boot = &led_green_status;
- led-failsafe = &led_yellow_status;
- led-running = &led_green_status;
- led-upgrade = &led_yellow_status;
+ led-boot = &led_status_green;
+ led-failsafe = &led_status_yellow;
+ led-running = &led_status_green;
+ led-upgrade = &led_status_yellow;
};
leds {
linux,default-trigger = "phy0tpt";
};
- led_green_status: green_status {
+ led_status_green: status_green {
label = "bluesocket:green:status";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
- led_yellow_status: yellow_status {
+ led_status_yellow: status_yellow {
label = "bluesocket:yellow:status";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &power_green;
- led-failsafe = &power_red;
- led-running = &power_green;
- led-upgrade = &power_green;
+ led-boot = &led_power_green;
+ led-failsafe = &led_power_red;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_green;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- power_green: power_green {
+ led_power_green: power_green {
label = "ap-105:green:power";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
- power_red: power_red {
+ led_power_red: power_red {
label = "ap-105:red:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
panic-indicator;
};
- wifi_2g_red: wifi_2g_red {
+ wifi_2g_red {
label = "ap-105:red:wlan2g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
- wifi_5g_red: wifi_5g_red {
+ wifi_5g_red {
label = "ap-105:red:wlan5g";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
model = "Buffalo WZR-HP-AG300H/WZR-600DHP";
aliases {
- led-boot = &diag;
- led-failsafe = &diag;
- led-upgrade = &diag;
+ led-boot = &led_diag;
+ led-failsafe = &led_diag;
+ led-upgrade = &led_diag;
};
chosen {
clock-frequency = <40000000>;
};
- gpio-leds {
+ leds {
compatible = "gpio-leds";
- diag: diag {
+ led_diag: diag {
label = "buffalo:red:diag";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
ath9k-leds {
- // those leds are indeed attached to the wifi chips
-
compatible = "gpio-leds";
+
band2g_a {
label = "buffalo:amber:band2g";
gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>;
&spi {
status = "okay";
+
num-cs = <2>;
cs-gpios = <0>, <0>;
model = "D-Link DIR825B1";
aliases {
- led-boot = &orange_power;
- led-failsafe = &orange_power;
- led-running = &blue_power;
- led-upgrade = &orange_power;
+ led-boot = &led_power_orange;
+ led-failsafe = &led_power_orange;
+ led-running = &led_power_blue;
+ led-upgrade = &led_power_orange;
};
chosen {
leds {
compatible = "gpio-leds";
- blue_usb {
+
+ usb {
label = "d-link:blue:usb";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
trigger-sources = <&usb_ochi_port>, <&usb_echi_port>;
linux,default-trigger = "usbport";
};
- orange_power: orange_power {
+ led_power_orange: power_orange {
label = "d-link:orange:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- blue_power: blue_power {
+ led_power_blue: power_blue {
label = "d-link:blue:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
- blue_wps {
+ wps {
label = "d-link:blue:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
- orange_planet {
+ planet_orange {
label = "d-link:orange:planet";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
- blue_planet {
+ planet_blue {
label = "d-link:blue:planet";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
ð0 {
status = "okay";
+
pll-data = <0x11110000 0x00001099 0x00991099>;
fixed-link {
ð1 {
status = "okay";
+
pll-data = <0x11110000 0x00001099 0x00991099>;
phy-handle = <&phy4>;
};
aliases {
- led-boot = &d2;
- led-failsafe = &d2;
- led-running = &d2;
- led-upgrade = &d2;
+ led-boot = &led_d2;
+ led-failsafe = &led_d2;
+ led-running = &led_d2;
+ led-upgrade = &led_d2;
};
extosc: ref {
leds {
compatible = "gpio-leds";
- d2: d2 {
+ led_d2: d2 {
label = "ja76pf2:green:d2";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
/ {
aliases {
- led-boot = &power_orange;
- led-failsafe = &power_orange;
- led-running = &power_green;
- led-upgrade = &power_orange;
+ led-boot = &led_power_orange;
+ led-failsafe = &led_power_orange;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_orange;
label-mac-device = ð0;
};
};
};
- gpio-leds {
+ leds {
compatible = "gpio-leds";
wps {
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
- power_green: power_green {
+ led_power_green: power_green {
label = "netgear:green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
- power_orange: power_orange {
+ led_power_orange: power_orange {
label = "netgear:orange:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "on";
ath9k-leds {
compatible = "gpio-leds";
+
wlan2g {
label = "netgear:green:wlan2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
rtl8366s {
compatible = "realtek,rtl8366s";
+
gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &rf;
- led-failsafe = &rf;
- led-running = &rf;
- led-upgrade = &rf;
+ led-boot = &led_rf;
+ led-failsafe = &led_rf;
+ led-running = &led_rf;
+ led-upgrade = &led_rf;
};
extosc: ref {
leds {
compatible = "gpio-leds";
- rf: rf_green {
+ led_rf: rf_green {
label = "ubnt:green:rf";
gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
};
model = "Buffalo WHR-G301N";
aliases {
- led-boot = &diag;
- led-failsafe = &diag;
- led-upgrade = &diag;
+ led-boot = &led_diag;
+ led-failsafe = &led_diag;
+ led-upgrade = &led_diag;
};
keys {
};
};
- gpio-leds {
+ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&switch_led_pins>;
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
- diag: diag {
+ led_diag: diag {
label = "whr-g301n:red:diag";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &power_amber;
- led-failsafe = &power_amber;
- led-running = &power_green;
- led-upgrade = &power_amber;
+ led-boot = &led_power_amber;
+ led-failsafe = &led_power_amber;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_amber;
label-mac-device = ð1;
};
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
- power_green: power_green {
+ led_power_green: power_green {
label = "netgear:green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
- power_amber: power_amber {
+ led_power_amber: power_amber {
label = "netgear:amber:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
/ {
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = ð1;
};
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
- power: power {
+ led_power: power {
label = "netgear:green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
ath9k-leds {
compatible = "gpio-leds";
- wlan: wlan {
+ wlan {
label = "netgear:green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
};
- gpio-leds {
+ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&switch_led_pins>;
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &power_amber;
- led-failsafe = &power_amber;
- led-running = &power_green;
- led-upgrade = &power_amber;
+ led-boot = &led_power_amber;
+ led-failsafe = &led_power_amber;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_amber;
label-mac-device = ð1;
};
ath9k-leds {
compatible = "gpio-leds";
- power_green: power_green {
+ led_power_green: power_green {
label = "netgear:green:power";
gpios = <&ath9k 3 GPIO_ACTIVE_LOW>;
};
- power_amber: power_amber {
+ led_power_amber: power_amber {
label = "netgear:amber:power";
gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &power_amber;
- led-failsafe = &power_amber;
- led-running = &power_green;
- led-upgrade = &power_amber;
+ led-boot = &led_power_amber;
+ led-failsafe = &led_power_amber;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_amber;
label-mac-device = ð1;
};
ath9k-leds {
compatible = "gpio-leds";
- power_green: power_green {
+ led_power_green: power_green {
label = "netgear:green:power";
gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
};
- power_amber: power_amber {
+ led_power_amber: power_amber {
label = "netgear:amber:power";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
};
- gpio_leds: gpio-leds {
+ leds: leds {
compatible = "gpio-leds";
led_system: system {
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
};
-&gpio_leds {
+&leds {
led3g {
label = "tp-link:green:3g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
};
- gpio-leds {
+ leds {
compatible = "gpio-leds";
led_system: system {
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
model = "Ubiquiti AirRouter";
aliases {
- led-boot = &globe;
- led-failsafe = &globe;
- led-running = &globe;
- led-upgrade = &globe;
+ led-boot = &led_globe;
+ led-failsafe = &led_globe;
+ led-running = &led_globe;
+ led-upgrade = &led_globe;
label-mac-device = &wifi;
};
airrouter-leds {
compatible = "gpio-leds";
- globe: globe {
+ led_globe: globe {
label = "ubnt:green:globe";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
model = "Ubiquiti UniFi AP";
aliases {
- led-boot = &dome_green;
- led-failsafe = &dome_green;
- led-running = &dome_green;
- led-upgrade = &dome_green;
+ led-boot = &led_dome_green;
+ led-failsafe = &led_dome_green;
+ led-running = &led_dome_green;
+ led-upgrade = &led_dome_green;
label-mac-device = &wifi;
};
leds {
compatible = "gpio-leds";
- dome_green: dome-green {
+
+ led_dome_green: dome_green {
label = "ubnt:green:dome";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
- dome-orange {
+ dome_orange {
label = "ubnt:orange:dome";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "ar7241_ubnt_xm.dtsi"
/ {
aliases {
- led-boot = &link4;
- led-failsafe = &link4;
+ led-boot = &led_link4;
+ led-failsafe = &led_link4;
label-mac-device = &wifi;
};
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
- link4: link4 {
+ led_link4: link4 {
label = "ubnt:green:link4";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
model = "AVM FRITZ!WLAN Repeater 300E";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = &ath9k;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "fritz300e:green:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
model = "Buffalo BHR-4GRV";
};
-ð0 {
- mtd-mac-address = <&art 0x0>;
+&leds {
+ sec_vpn {
+ label = "buffalo:orange:vpn";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ };
};
-&sec_vpn {
- label = "buffalo:orange:vpn";
+ð0 {
+ mtd-mac-address = <&art 0x0>;
};
/ {
aliases {
- led-boot = &diag;
- led-failsafe = &diag;
- led-upgrade = &diag;
+ led-boot = &led_diag;
+ led-failsafe = &led_diag;
+ led-upgrade = &led_diag;
};
extosc: ref {
};
};
- leds {
+ leds: leds {
compatible = "gpio-leds";
- sec_vpn: sec_vpn {
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- };
-
- diag: diag {
+ led_diag: diag {
label = "buffalo:red:diag";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
cs-gpios = <0>, <0>;
num-cs = <2>;
model = "Buffalo WZR-HP-G302H A1A0";
aliases {
- led-boot = &diag;
- led-failsafe = &diag;
- led-upgrade = &diag;
+ led-boot = &led_diag;
+ led-failsafe = &led_diag;
+ led-upgrade = &led_diag;
};
extosc: ref {
leds {
compatible = "gpio-leds";
- diag: diag {
+ led_diag: diag {
label = "buffalo:red:diag";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
cs-gpios = <0>, <0>;
num-cs = <2>;
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "ar7242_buffalo_wzr-bhr.dtsi"
/ {
};
};
-ð0 {
- mtd-mac-address = <&art 0x1002>;
+&leds {
+ sec_vpn {
+ label = "buffalo:orange:security";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ };
};
-&sec_vpn {
- label = "buffalo:orange:security";
+ð0 {
+ mtd-mac-address = <&art 0x1002>;
};
&pcie {
model = "TP-Link TL-WR2543N/ND";
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_wps;
+ led-failsafe = &led_wps;
+ led-running = &led_wps;
+ led-upgrade = &led_wps;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- system: wps {
+ led_wps: wps {
label = "tplink:green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
model = "TP-Link TL-WA901ND v2";
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
model = "TP-Link TL-WR1043ND v1";
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
+
usb {
label = "tp-link:green:usb";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
};
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
aliases {
serial0 = &uart;
- led-boot = &wlan;
- led-failsafe = &wlan;
- led-upgrade = &wlan;
+ led-boot = &led_wlan;
+ led-failsafe = &led_wlan;
+ led-upgrade = &led_wlan;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- wlan: wlan {
+ led_wlan: wlan {
label = "gl-ar150:orange:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
&spi {
- num-chipselects = <1>;
status = "okay";
+ num-chipselects = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&art 0x0>;
};
aliases {
serial0 = &uart;
- led-boot = &wlan;
- led-failsafe = &wlan;
- led-upgrade = &wlan;
+ led-boot = &led_wlan;
+ led-failsafe = &led_wlan;
+ led-upgrade = &led_wlan;
};
leds {
compatible = "gpio-leds";
- wlan: wlan {
+ led_wlan: wlan {
label = "air-pen:blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
&spi {
- num-cs = <1>;
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
ð1 {
status = "okay";
+
compatible = "syscon", "simple-mfd";
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&art 0x2>;
};
aliases {
label-mac-device = &wmac;
- led-boot = &vpn;
- led-failsafe = &vpn;
- led-upgrade = &vpn;
+ led-boot = &led_vpn;
+ led-failsafe = &led_vpn;
+ led-upgrade = &led_vpn;
serial0 = &uart;
};
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
- vpn: vpn {
+ led_vpn: vpn {
label = "ap121f:green:vpn";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
ð0 {
status = "okay";
+
mtd-mac-address = <&art 0x0>;
gmac-config {
ð1 {
status = "okay";
+
compatible = "syscon", "simple-mfd";
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};
compatible = "embeddedwireless,dorin", "qca,ar9331";
aliases {
- led-boot = &status;
- led-failsafe = &status;
- led-running = &status;
- led-upgrade = &status;
+ led-boot = &led_status;
+ led-failsafe = &led_status;
+ led-running = &led_status;
+ led-upgrade = &led_status;
serial0 = &uart;
};
leds {
compatible = "gpio-leds";
- status: status {
+ led_status: status {
label = "dorin:green:status";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
&spi {
- num-chipselects = <1>;
status = "okay";
+ num-chipselects = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};
aliases {
serial0 = &uart;
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_wps;
+ led-failsafe = &led_wps;
+ led-running = &led_wps;
+ led-upgrade = &led_wps;
label-mac-device = ð0;
};
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
- system: wps {
+ led_wps: wps {
label = "tp-link:green:wps";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
};
&spi {
- num-chipselects = <1>;
status = "okay";
+ num-chipselects = <1>;
+
/* Spansion S25FL032PIF SPI flash */
flash@0 {
compatible = "jedec,spi-nor";
ð1 {
status = "okay";
+
compatible = "syscon", "simple-mfd";
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
leds {
compatible = "gpio-leds";
+
pinctrl-names = "default";
pinctrl-0 = <&switch_led_disable_pins>;
};
&spi {
- num-chipselects = <1>;
status = "okay";
+ num-chipselects = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
ð1 {
status = "okay";
+
compatible = "syscon", "simple-mfd";
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
/ {
aliases {
serial0 = &uart;
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tl-wr703n:blue:system";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
read-only;
};
- firmware: partition@20000 {
+ partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
ð1 {
status = "okay";
+
compatible = "syscon", "simple-mfd";
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
aliases {
serial0 = &uart;
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = &wmac;
};
leds {
compatible = "gpio-leds";
+
pinctrl-names = "default";
pinctrl-0 = <&switch_led_disable_pins>;
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
aliases {
serial0 = &uart;
- led-boot = &status;
- led-failsafe = &status;
- led-running = &status;
- led-upgrade = &status;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
keys {
leds {
compatible = "gpio-leds";
- status: power {
+ led_power: power {
label = "pcs:amber:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "on";
aliases {
serial0 = &uart;
- led-boot = &wifi;
- led-failsafe = &wifi;
- led-running = &wifi;
- led-upgrade = &wifi;
+ led-boot = &led_wifi;
+ led-failsafe = &led_wifi;
+ led-running = &led_wifi;
+ led-upgrade = &led_wifi;
};
i2c {
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
- wifi: wifi {
+ led_wifi: wifi {
label = "wmb001n:blue:wifi";
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
/ {
aliases {
serial0 = &uart;
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = &wmac;
};
leds: leds {
compatible = "gpio-leds";
- system: power {
+ led_power: power {
label = "tp-link:green:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
model = "I-O DATA ETG3-R";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "etg3-r:green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
};
&spi {
- num-cs = <1>;
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
model = "Ubiquiti Networks XW board";
aliases {
- led-boot = &system;
- led-running = &system;
- led-upgrade = &system;
- led-failsafe = &system;
+ led-boot = &led_link4;
+ led-running = &led_link4;
+ led-upgrade = &led_link4;
+ led-failsafe = &led_link4;
label-mac-device = &wmac;
};
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- system: link4 {
+ led_link4: link4 {
label = "ubnt:green:link4";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
model = "Aerohive HiveAP 121";
aliases {
- led-boot = &power_white;
- led-failsafe = &power_orange;
- led-running = &power_white;
- led-upgrade = &power_orange;
+ led-boot = &led_power_white;
+ led-failsafe = &led_power_orange;
+ led-running = &led_power_white;
+ led-upgrade = &led_power_orange;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- power_orange: power_orange {
+ led_power_orange: power_orange {
label = "hiveap-121:orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- power_white: power_white {
+ led_power_white: power_white {
label = "hiveap-121:white:power";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
aliases {
serial0 = &uart;
- led-boot = &wan;
- led-failsafe = &wan;
- led-upgrade = &wan;
+ led-boot = &led_wan;
+ led-failsafe = &led_wan;
+ led-upgrade = &led_wan;
label-mac-device = ð0;
};
pinctrl-names = "default";
pinctrl-0 = <&led_rssimediumhigh_pin>;
- wan: wan {
+ led_wan: wan {
label = "cf-e120a-v3:green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
&pinmux {
- led_rssimediumhigh_pin: pinmux_rssimediumhigh_pin {
- pinctrl-single,bits = <0x10 0x0 0xff>;
- };
+ led_rssimediumhigh_pin: pinmux_rssimediumhigh_pin {
+ pinctrl-single,bits = <0x10 0x0 0xff>;
+ };
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
- uboot: partition@0 {
+ partition@0 {
label = "u-boot";
reg = <0x000000 0x010000>;
read-only;
read-only;
};
- firmware: partition@20000 {
+ partition@20000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
- nvram: partition@7f0000 {
+ partition@7f0000 {
label = "nvram";
reg = <0x7f0000 0x010000>;
read-only;
compatible = "dlink,dir-825-c1", "qca,ar9344";
aliases {
- led-boot = &orange_power;
- led-failsafe = &orange_power;
- led-running = &blue_power;
- led-upgrade = &orange_power;
+ led-boot = &led_power_orange;
+ led-failsafe = &led_power_orange;
+ led-running = &led_power_blue;
+ led-upgrade = &led_power_orange;
serial0 = &uart;
};
pinctrl-names = "default";
pinctrl-0 = <&enable_gpio_11>;
- blue_power: blue_power {
+ led_power_blue: power_blue {
label = "d-link:blue:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
- blue_usb {
+ usb {
label = "d-link:blue:usb";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port1>;
};
- blue_wan {
+ wan_blue {
label = "d-link:blue:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
- blue_wlan2g {
+ wlan2g {
label = "d-link:blue:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
- blue_wps {
+ wps {
label = "d-link:blue:wps";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
- orange_power: orange_power {
+ led_power_orange: power_orange {
label = "d-link:orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- orange_wan {
+ wan_orange {
label = "d-link:orange:wan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
leds-ath9k {
compatible = "gpio-leds";
- blue_wlan5g {
+ wlan5g {
label = "d-link:blue:wlan5g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
compatible = "dlink,dir-835-a1", "qca,ar9344";
aliases {
- led-boot = &orange_power;
- led-failsafe = &orange_power;
- led-running = &green_power;
- led-upgrade = &orange_power;
+ led-boot = &led_power_orange;
+ led-failsafe = &led_power_orange;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_orange;
serial0 = &uart;
};
leds {
compatible = "gpio-leds";
- green_power: green_power {
+ led_power_green: power_green {
label = "d-link:green:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
- green_wan {
+ wan_green {
label = "d-link:green:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
- green_wps {
+ wps {
label = "d-link:green:wps";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
- orange_power: orange_power {
+ led_power_orange: power_orange {
label = "d-link:orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- orange_wan {
+ wan_orange {
label = "d-link:orange:wan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
aliases {
- led-boot = &power_amber;
- led-failsafe = &power_amber;
- led-running = &power_green;
- led-upgrade = &power_amber;
+ led-boot = &led_power_amber;
+ led-failsafe = &led_power_amber;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_amber;
label-mac-device = ð0;
};
pinctrl-names = "default";
pinctrl-0 = <&enable_gpio_11>;
- power_green: power_green {
+ led_power_green: power_green {
label = "netgear:green:power";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
- power_amber: power_amber {
+ led_power_amber: power_amber {
label = "netgear:amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
leds {
linux,default-trigger = "phy0tpt";
};
- system: system {
+ led_system: system {
label = "raccoon:blue:sys";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
aliases {
serial0 = &uart;
- led-boot = &status;
- led-failsafe = &status;
- led-running = &running;
- led-upgrade = &status;
+ led-boot = &led_power_amber;
+ led-failsafe = &led_power_amber;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_amber;
};
keys {
leds {
compatible = "gpio-leds";
- status: power_amber {
+ led_power_amber: power_amber {
label = "pcs:amber:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- running: power_green {
+ led_power_green: power_green {
label = "pcs:green:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
aliases {
serial0 = &uart;
- led-boot = &status;
- led-failsafe = &status;
- led-running = &status;
- led-upgrade = &status;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
keys {
leds {
compatible = "gpio-leds";
- status: power {
+ led_power: power {
label = "pcs:amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>,
<&gpio 4 GPIO_ACTIVE_LOW>;
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
/ {
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
leds {
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
- system: link4 {
+ led_system: link4 {
label = "tp-link:green:link4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
compatible = "tplink,cpe610-v1", "qca,ar9344";
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-upgrade = &system;
+ led-boot = &led_lan;
+ led-failsafe = &led_lan;
+ led-upgrade = &led_lan;
};
leds {
compatible = "gpio-leds";
- system: lan {
+ led_lan: lan {
label = "tp-link:green:lan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
ð1 {
status = "okay";
+
compatible = "syscon", "simple-mfd";
};
/ {
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
leds: leds {
linux,default-trigger = "phy0tpt";
};
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
- power: power {
+ led_power: power {
label = "mynet-n750:blue:power";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
&wmac {
status = "okay";
+
qca,no-eeprom;
};
&mdio0 {
status = "okay";
+
phy-mask = <0>;
switch0@1f {
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "mynet-wifi-rangeextender:blue:power";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
/* LED has no off state. It's either on or it blinks */
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = /* "s25fl064k", */ "jedec,spi-nor";
reg = <0>;
aliases {
serial0 = &uart;
- led-boot = &rssihigh;
- led-failsafe = &rssihigh;
- led-upgrade = &rssihigh;
+ led-boot = &led_rssihigh;
+ led-failsafe = &led_rssihigh;
+ led-upgrade = &led_rssihigh;
label-mac-device = ð1;
};
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- rssihigh: rssihigh {
+ led_rssihigh: rssihigh {
label = "cf-e313ac:green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
aliases {
serial0 = &uart;
- led-boot = &system;
- led-failsafe = &system;
- led-upgrade = &system;
+ led-boot = &led_rssihigh;
+ led-failsafe = &led_rssihigh;
+ led-upgrade = &led_rssihigh;
};
leds {
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- system: rssihigh {
+ led_rssihigh: rssihigh {
label = "cf-e314n-v2:green:signal4";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
compatible = "engenius,ews511ap", "qca,qca9531";
model = "EnGenius EWS511AP";
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ };
+
keys {
compatible = "gpio-keys";
};
};
- aliases {
- led-boot = &power_led;
- led-failsafe = &power_led;
- led-running = &power_led;
- led-upgrade = &power_led;
- };
-
leds {
compatible = "gpio-leds";
- power_led: power {
+ led_power: power {
label = "ews511ap:amber:power";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <0>;
flash@0 {
ð0 {
status = "okay";
+
phy-handle = <&swphy4>;
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};
model = "TP-Link Archer D50 v1";
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = &wmac;
};
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- system: system {
+ led_system: system {
label = "tp-link:white:system";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
ð0 {
status = "okay";
+
phy-handle = <&swphy4>;
mtd-mac-address = <&romfile 0xf100>;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&romfile 0xf100>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca953x_tplink_tl-wr810n.dtsi"
/ {
compatible = "yuncore,a770", "qca,qca9531";
aliases {
- led-boot = &status;
- led-failsafe = &status;
- led-running = &status;
- led-upgrade = &status;
+ led-boot = &led_status;
+ led-failsafe = &led_status;
+ led-running = &led_status;
+ led-upgrade = &led_status;
};
chosen {
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
- status: status {
+ led_status: status {
label = "a770:green:status";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "keep";
aliases {
serial0 = &uart;
- led-boot = &wan;
- led-failsafe = &wan;
- led-upgrade = &wan;
+ led-boot = &led_wan;
+ led-failsafe = &led_wan;
+ led-upgrade = &led_wan;
};
leds {
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &led_rssilow_pin &led_rssimediumhigh_pin &led_rssihigh_pin>;
- wan: wan {
+ led_wan: wan {
label = "cf-e110n-v2:green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
ð0 {
status = "okay";
+
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
};
ð1 {
status = "okay";
+
mtd-mac-address = <&art 0x1002>;
gmac-config {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&art 0x6>;
};
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð0;
};
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
- system: link4 {
+ led_system: link4 {
label = "tp-link:green:link4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca953x_tplink_tl-wr810n.dtsi"
/ {
model = "TP-Link TL-WR841N/ND v10";
aliases {
- led-boot = &qss_led;
- led-failsafe = &qss_led;
- led-running = &qss_led;
- led-upgrade = &qss_led;
+ led-boot = &led_qss;
+ led-failsafe = &led_qss;
+ led-running = &led_qss;
+ led-upgrade = &led_qss;
};
};
/ {
aliases {
- led-boot = &system_led;
- led-failsafe = &system_led;
- led-running = &system_led;
- led-upgrade = &system_led;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
};
-&gpio_leds {
- system_led: system {
+&leds {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
model = "TP-Link TL-WR841N/ND v9";
aliases {
- led-boot = &qss_led;
- led-failsafe = &qss_led;
- led-running = &qss_led;
- led-upgrade = &qss_led;
+ led-boot = &led_qss;
+ led-failsafe = &led_qss;
+ led-running = &led_qss;
+ led-upgrade = &led_qss;
};
};
label-mac-device = &wmac;
};
- gpio_leds: leds {
+ leds: leds {
compatible = "gpio-leds";
wifi {
linux,default-trigger = "phy0tpt";
};
- qss_led: qss {
+ led_qss: qss {
label = "tp-link:green:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
ð0 {
status = "okay";
+
phy-handle = <&swphy4>;
mtd-mac-address = <&uboot 0x1fc00>;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
model = "TP-Link TL-WR842N v3";
aliases {
- led-boot = &power_led;
- led-failsafe = &power_led;
- led-running = &power_led;
- led-upgrade = &power_led;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = ð1;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
- power_led: power {
+ led_power: power {
label = "tp-link:green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
ð0 {
status = "okay";
+
phy-handle = <&swphy4>;
mtd-mac-address = <&uboot 0x1fc00>;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
label-mac-device = ð1;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
led_system: system {
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
ð0 {
status = "okay";
+
phy-handle = <&swphy4>;
mtd-mac-address = <&uboot 0x1fc00>;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
model = "Buffalo BHR-4GRV2";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
chosen {
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "bhr-4grv2:green:power";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
/ {
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
chosen {
leds: leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "iodata:green:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
qca,no-eeprom;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_devolo_dvl1xxx.dtsi"
/ {
model = "devolo WiFi pro 1200e";
aliases {
- led-boot = &status_blue;
- led-failsafe = &status_red;
- led-running = &status_blue;
- led-upgrade = &status_red;
+ led-boot = &led_status_blue;
+ led-failsafe = &led_status_red;
+ led-running = &led_status_blue;
+ led-upgrade = &led_status_red;
};
leds {
compatible = "gpio-leds";
- status_blue: status_blue {
+ led_status_blue: status_blue {
label = "dvl1200e:blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- status_red: status_red {
+ led_status_red: status_red {
label = "dvl1200e:red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_devolo_dvl1xxx.dtsi"
/ {
model = "devolo WiFi pro 1200i";
aliases {
- led-boot = &status_blue;
- led-failsafe = &status_red;
- led-running = &status_blue;
- led-upgrade = &status_red;
+ led-boot = &led_status_blue;
+ led-failsafe = &led_status_red;
+ led-running = &led_status_blue;
+ led-upgrade = &led_status_red;
};
leds {
compatible = "gpio-leds";
- status_blue: status_blue {
+ led_status_blue: status_blue {
label = "dvl1200i:blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- status_red: status_red {
+ led_status_red: status_red {
label = "dvl1200i:red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_devolo_dvl1xxx.dtsi"
/ {
model = "devolo WiFi pro 1750c";
aliases {
- led-boot = &status_blue;
- led-failsafe = &status_red;
- led-running = &status_blue;
- led-upgrade = &status_red;
+ led-boot = &led_status_blue;
+ led-failsafe = &led_status_red;
+ led-running = &led_status_blue;
+ led-upgrade = &led_status_red;
};
leds {
compatible = "gpio-leds";
- status_blue: status_blue {
+ led_status_blue: status_blue {
label = "dvl1750c:blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- status_red: status_red {
+ led_status_red: status_red {
label = "dvl1750c:red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_devolo_dvl1xxx.dtsi"
/ {
model = "devolo WiFi pro 1750e";
aliases {
- led-boot = &status_blue;
- led-failsafe = &status_red;
- led-running = &status_blue;
- led-upgrade = &status_red;
+ led-boot = &led_status_blue;
+ led-failsafe = &led_status_red;
+ led-running = &led_status_blue;
+ led-upgrade = &led_status_red;
};
keys {
leds {
compatible = "gpio-leds";
- status_blue: status_blue {
+ led_status_blue: status_blue {
label = "dvl1750e:blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- status_red: status_red {
+ led_status_red: status_red {
label = "dvl1750e:red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_devolo_dvl1xxx.dtsi"
/ {
model = "devolo WiFi pro 1750i";
aliases {
- led-boot = &status_blue;
- led-failsafe = &status_red;
- led-running = &status_blue;
- led-upgrade = &status_red;
+ led-boot = &led_status_blue;
+ led-failsafe = &led_status_red;
+ led-running = &led_status_blue;
+ led-upgrade = &led_status_red;
};
leds {
compatible = "gpio-leds";
- status_blue: status_blue {
+ led_status_blue: status_blue {
label = "dvl1750i:blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- status_red: status_red {
+ led_status_red: status_red {
label = "dvl1750i:red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_devolo_dvl1xxx.dtsi"
/ {
model = "devolo WiFi pro 1750x";
aliases {
- led-boot = &status_red;
- led-failsafe = &status_red;
- led-running = &status_red;
- led-upgrade = &status_red;
+ led-boot = &led_status_red;
+ led-failsafe = &led_status_red;
+ led-running = &led_status_red;
+ led-upgrade = &led_status_red;
};
leds {
compatible = "gpio-leds";
- status_red: status_red {
+ led_status_red: status_red {
/* This LED is not visible on the external casing. */
label = "dvl1750x:red:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
ð1 {
mtd-mac-address = <&art 0x00>;
mtd-mac-address-increment = <1>;
+
phy-handle = <&phy1>;
pll-data = <0x03000101 0x00000101 0x00001313>;
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&art 0x00>;
mtd-mac-address-increment = <(-2)>;
};
aliases {
- led-boot = &power_orange;
- led-failsafe = &power_orange;
- led-running = &power_orange;
- led-upgrade = &power_orange;
+ led-boot = &led_power_orange;
+ led-failsafe = &led_power_orange;
+ led-running = &led_power_orange;
+ led-upgrade = &led_power_orange;
};
leds {
compatible = "gpio-leds";
- power_orange: power_orange {
+ led_power_orange: power_orange {
label = "ecb1750:orange:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "epg5000:amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "librerouter-v1:green:system";
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &power_green;
- led-failsafe = &power_amber;
- led-running = &power_green;
- led-upgrade = &power_amber;
+ led-boot = &led_power_green;
+ led-failsafe = &led_power_amber;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_amber;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- power_green: power_green {
+ led_power_green: power_green {
label = "netgear:green:power";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
- power_amber: power_amber {
+ led_power_amber: power_amber {
label = "netgear:amber:power";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð0;
};
linux,default-trigger = "phy0tpt";
};
- system: system {
+ led_system: system {
label = "koala:blue:sys";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_tplink_archer-c7.dtsi"
/ {
model = "TP-Link Archer C5 v1";
};
-&gpio_keys {
+&keys {
rfkill {
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>;
};
};
-&gpio_leds {
+&leds {
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
&mtdparts {
- uboot: u-boot@0 {
+ uboot: partition@0 {
+ label = "u-boot";
reg = <0x000000 0x020000>;
read-only;
};
- firmware@20000 {
+ partition@20000 {
+ label = "firmware";
reg = <0x020000 0xfd0000>;
compatible = "tplink,firmware";
};
- art: art@ff0000 {
+ art: partition@ff0000 {
+ label = "art";
reg = <0xff0000 0x010000>;
read-only;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_tplink_archer-c7.dtsi"
/ {
model = "TP-Link Archer C7 v1";
};
-&gpio_keys {
+&keys {
rfkill {
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>;
};
};
-&gpio_leds {
+&leds {
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
&mtdparts {
- uboot: u-boot@0 {
+ uboot: partition@0 {
+ label = "u-boot";
reg = <0x000000 0x020000>;
read-only;
};
- firmware@20000 {
+ partition@20000 {
+ label = "firmware";
compatible = "tplink,firmware";
reg = <0x020000 0x7d0000>;
};
- art: art@7f0000 {
+ art: partition@7f0000 {
+ label = "art";
reg = <0x7f0000 0x010000>;
read-only;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
#include "qca9558_tplink_archer-c7.dtsi"
/ {
model = "TP-Link Archer C7 v2";
};
-&gpio_keys {
+&keys {
rfkill {
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>;
};
};
-&gpio_leds {
+&leds {
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
&mtdparts {
- uboot: u-boot@0 {
+ uboot: partition@0 {
+ label = "u-boot";
reg = <0x000000 0x020000>;
read-only;
};
- firmware@20000 {
+ partition@20000 {
+ label = "firmware";
reg = <0x020000 0xfd0000>;
compatible = "tplink,firmware";
};
- art: art@ff0000 {
+ art: partition@ff0000 {
+ label = "art";
reg = <0xff0000 0x010000>;
read-only;
};
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð1;
};
- gpio_leds: leds {
+ leds: leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
linux,default-trigger = "usbport";
};
- led_wlan2g: wlan2g {
+ wlan2g {
label = "tp-link:green:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};
- gpio_keys: keys {
+ keys: keys {
compatible = "gpio-keys";
reset {
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
compatible = "tplink,re350k-v1", "qca,qca9558";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
mdio-gpio0 = &mdio2;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "tp-link:green:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- wlan2g-green {
+ wlan2g_green {
label = "tp-link:green:wlan2g";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
- wlan2g-red {
+ wlan2g_red {
label = "tp-link:red:wlan2g";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
- wlan5g-green {
+ wlan5g_green {
label = "tp-link:green:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
- wlan5g-red {
+ wlan5g_red {
label = "tp-link:red:wlan5g";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
label-mac-device = ð1;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
led_system: system {
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <(-1)>;
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = &wmac;
};
leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_power_green;
+ led-failsafe = &led_power_green;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_green;
};
leds {
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- system: power_green {
+ led_power_green: power_green {
label = "trendnet:green:power";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
- uboot: partition@0 {
+ partition@0 {
label = "u-boot";
reg = <0x000000 0x030000>;
read-only;
read-only;
};
- mac: partition@fe0000 {
+ partition@fe0000 {
label = "mac";
reg = <0xfe0000 0x010000>;
read-only;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "nbg6716:white:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
model = "AVM FRITZ!Box 4020";
aliases {
- led-boot = &power;
- led-failsafe = &info_red;
- led-running = &power;
- led-upgrade = &info_red;
+ led-boot = &led_power;
+ led-failsafe = &led_info_red;
+ led-running = &led_power;
+ led-upgrade = &led_info_red;
};
chosen {
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "fritz4020:green:power";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
};
- info_red: info_red {
+ led_info_red: info_red {
label = "fritz4020:red:info";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
qca,no-eeprom;
};
bootargs = "console=ttyS0,115200n8";
};
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ label-mac-device = ð0;
+ };
+
led_spi {
compatible = "spi-gpio";
#address-cells = <1>;
};
};
- aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
- label-mac-device = ð0;
- };
-
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "tp-link:green:power";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
ð0 {
+ status = "okay";
+
phy-mode = "mii";
phy-handle = <&swphy4>;
- status = "okay";
mtd-mac-address = <&info 0x8>;
};
ð1 {
status = "okay";
+
mtd-mac-address = <&info 0x8>;
mtd-mac-address-increment = <1>;
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};
compatible = "tplink,archer-c5x", "qca,qca9560";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = ð1;
};
leds: leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "tp-link:green:power";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "tp-link:green:power";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "on";
model = "D-Link DIR-842 C1";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
- power: power {
+ led_power: power {
label = "dir-842-c1:green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
model = "D-Link DIR-842 C2";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
- power: power {
+ led_power: power {
label = "dir-842-c2:green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
model = "D-Link DIR-842 C3";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds {
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
- power: power {
+ led_power: power {
label = "dir-842-c3:green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
compatible = "dlink,dir-859-a1", "qca,qca9563";
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
chosen {
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
- power: power {
+ led_power: power {
label = "dir-859-a1:green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
&wmac {
status = "okay";
+
qca,no-eeprom;
};
};
&leds {
- power: power {
+ led_power: power {
label = "elecom:blue:power";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
&leds {
- power: power {
+ led_power: power {
label = "elecom:white:power";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds: leds {
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
keys {
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "gl-ar750s:green:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
&spi {
status = "okay";
+
num-cs = <0>;
flash@0 {
&mdio0 {
status = "okay";
+
phy-mask = <0>;
phy0: ethernet-phy@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};
};
aliases {
- led-boot = &power_green;
- led-failsafe = &power_red;
- led-running = &power_green;
- led-upgrade = &power_green;
+ led-boot = &led_power_green;
+ led-failsafe = &led_power_red;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_green;
};
leds {
compatible = "gpio-leds";
/* other LEDs are connected to ath10k (QCA9888) gpiochip */
- power_green: power_green {
+ led_power_green: power_green {
label = "wg1200cr:green:power";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- power_red: power_red {
+ led_power_red: power_red {
label = "wg1200cr:red:power";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
qca,no-eeprom;
};
};
aliases {
- led-boot = &power_green;
- led-failsafe = &power_red;
- led-running = &power_green;
- led-upgrade = &power_green;
+ led-boot = &led_power_green;
+ led-failsafe = &led_power_red;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_green;
};
leds {
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
- power_red: power_red {
+ led_power_red: power_red {
label = "wg800hp:red:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- power_green: power_green {
+ led_power_green: power_green {
label = "wg800hp:green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "on";
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "wr818:red:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};
model = "TP-Link Archer A7 v5";
};
-&gpio_keys {
+&keys {
reset {
label = "Reset button";
linux,code = <KEY_RESTART>;
};
&mtdparts {
- factory-uboot@0 {
+ partition@0 {
label = "factory-uboot";
reg = <0x000000 0x020000>;
read-only;
};
- uboot: u-boot@20000 {
+ uboot: partition@20000 {
label = "u-boot";
reg = <0x020000 0x020000>;
read-only;
};
- firmware@40000 {
+ partition@40000 {
label = "firmware";
reg = <0x040000 0xec0000>;
compatible = "denx,uimage";
};
- info: info@f40000 {
+ info: partition@f40000 {
label = "info";
reg = <0xf40000 0x020000>;
read-only;
};
- config: config@f60000 {
+ config: partition@f60000 {
label = "config";
reg = <0xf60000 0x050000>;
read-only;
read-only;
};
- art: art@ff0000 {
+ art: partition@ff0000 {
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};
model = "TP-Link Archer C7 v5";
};
-&gpio_keys {
+&keys {
reset {
label = "Reset button";
linux,code = <KEY_RESTART>;
};
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "tp-link:green:power";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = ð0;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
linux,default-trigger = "phy0tpt";
};
- led_wlan2g: wlan2g {
+ wlan2g {
label = "tp-link:green:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};
- gpio_keys: keys {
+ keys: keys {
compatible = "gpio-keys";
wps {
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
mdio-gpio0 = &mdio2;
};
leds {
compatible = "gpio-leds";
- system: power {
+ led_power: power {
label = "tp-link:blue:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
label-mac-device = &wmac;
};
- gpio_leds: leds {
+ leds: leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
};
-&gpio_leds {
+&leds {
usb {
label = "tp-link:green:usb";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
/ {
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:blue:system";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "on";
model = "TP-Link TL-WR940N v4";
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:blue:system";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
default-state = "on";