ramips: dts: Unify naming of gpio-led nodes

In DTS Checklist[1] we're now demanding proper generic node names, as
the name of a node should reflect the function of the device and use
generic name for that[2]. Everybody seems to be copy&pasting from DTS
files available in the repository today, so let's unify that naming
there as well and provide proper examples.

1. https://openwrt.org/submitting-patches#dts_checklist
2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [split up]
This commit is contained in:
Petr Štetiar 2018-12-30 12:42:53 +01:00 committed by Christian Lamparter
parent e8eaf794ec
commit dd3ec40d3d
243 changed files with 243 additions and 243 deletions

View File

@ -11,7 +11,7 @@
reg = <0x0 0x10000000>;
};
gpio-leds {
leds {
compatible = "gpio-leds";
usb {

View File

@ -59,7 +59,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -59,7 +59,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_internet: internet {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_ap;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_ap: ap {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_ap;
};
gpio-leds {
leds {
compatible = "gpio-leds";
3grouter {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
system {

View File

@ -61,7 +61,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
wlan2g {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_wlan;
};
gpio-leds {
leds {
compatible = "gpio-leds";
wan {

View File

@ -9,7 +9,7 @@
compatible = "airlive,air3gii", "ralink,rt5350-soc";
model = "AirLive Air3GII";
gpio-leds {
leds {
compatible = "gpio-leds";
wlan {

View File

@ -6,7 +6,7 @@
/ {
compatible = "allnet,all0256n", "ralink,rt3050-soc";
gpio-leds {
leds {
compatible = "gpio-leds";
rssilow {

View File

@ -30,7 +30,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
ld1 {

View File

@ -30,7 +30,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
ld1 {

View File

@ -46,7 +46,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -51,7 +51,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -30,7 +30,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
eth {

View File

@ -51,7 +51,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_run: run {

View File

@ -17,7 +17,7 @@
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_wps: wps {

View File

@ -6,7 +6,7 @@
/ {
compatible = "asiarf,awm002-evb", "ralink,rt5350-soc";
gpio-leds {
leds {
compatible = "gpio-leds";
tx {

View File

@ -63,7 +63,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {

View File

@ -29,7 +29,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
lan {

View File

@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
lan {
label = "c20i:blue:lan";

View File

@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
lan {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
lan {

View File

@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
lan {

View File

@ -33,7 +33,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
lan {

View File

@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
lan {

View File

@ -46,7 +46,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
usb {

View File

@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
usb {

View File

@ -34,7 +34,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -44,7 +44,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -46,7 +46,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
diskmounted {

View File

@ -64,7 +64,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
sdcard {

View File

@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
ethernet {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -85,7 +85,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_wps: wps {

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -70,7 +70,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -63,7 +63,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power_blue: power {

View File

@ -84,7 +84,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
wps {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -33,7 +33,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
wifi {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -70,7 +70,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
status {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_status;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_status;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -70,7 +70,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
status {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_status;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -70,7 +70,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
status {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_status_green;
};
gpio-leds {
leds {
compatible = "gpio-leds";
status {

View File

@ -70,7 +70,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
status {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_status;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -40,7 +40,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
inet {

View File

@ -33,7 +33,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power_green: power {

View File

@ -25,7 +25,7 @@
bootargs = "console=ttyS0,57600";
};
gpio-leds {
leds {
compatible = "gpio-leds";
power {

View File

@ -33,7 +33,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -33,7 +33,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
wan {

View File

@ -31,7 +31,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
wan {

View File

@ -33,7 +33,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
sms {

View File

@ -31,7 +31,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
sms {

View File

@ -43,7 +43,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -42,7 +42,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_run: run {

View File

@ -30,7 +30,7 @@
bootargs = "console=ttyS0,57600";
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power_green: power_g {

View File

@ -22,7 +22,7 @@
bootargs = "console=ttyS0,57600";
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power_green: power_g {

View File

@ -117,7 +117,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
internet {

View File

@ -57,7 +57,7 @@
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
gpio-leds {
leds {
compatible = "gpio-leds";
internet {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_status_orange;
};
gpio-leds {
leds {
compatible = "gpio-leds";
status {

View File

@ -25,7 +25,7 @@
bootargs = "console=ttyS0,57600";
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
wifi {

View File

@ -64,7 +64,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
/*

View File

@ -36,7 +36,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
system {

View File

@ -36,7 +36,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
system {

View File

@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
wan {

View File

@ -25,7 +25,7 @@
reg = <0x0 0x8000000>;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
wan {

View File

@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
wan {

View File

@ -13,7 +13,7 @@
led-upgrade = &led_system;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {

View File

@ -25,7 +25,7 @@
reg = <0x0 0x8000000>;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {

View File

@ -13,7 +13,7 @@
led-upgrade = &led_system;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {

View File

@ -13,7 +13,7 @@
led-upgrade = &led_system;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {

View File

@ -25,7 +25,7 @@
reg = <0x0 0x8000000>;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {

View File

@ -25,7 +25,7 @@
bootargs = "console=ttyS0,115200";
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -59,7 +59,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_power: power {

View File

@ -31,7 +31,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
power {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_wlan;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_wlan: wlan {

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
usb {

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_run: run {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_system;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_system: system {
label = "jhr-n825r:red:power";

View File

@ -53,7 +53,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
wlan1 {

View File

@ -17,7 +17,7 @@
serial0 = &uartlite;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_blue: blue {

View File

@ -25,7 +25,7 @@
bootargs = "console=ttyS0,57600";
};
gpio-leds {
leds {
compatible = "gpio-leds";
stat_r {

View File

@ -35,7 +35,7 @@
status = "okay";
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_wifi: wifi {

View File

@ -33,7 +33,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -20,7 +20,7 @@
bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_wifi: wifi {

View File

@ -16,7 +16,7 @@
led-upgrade = &led_status;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -13,7 +13,7 @@
led-upgrade = &led_status;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {

View File

@ -25,7 +25,7 @@
reg = <0x0 0x2000000>;
};
gpio-leds {
leds {
compatible = "gpio-leds";
led_status: status {
label = "mac1200rv2:green:status";

View File

@ -9,7 +9,7 @@
compatible = "omnima,miniembplug", "ralink,rt5350-soc";
model = "Omnima MiniEMBPlug";
gpio-leds {
leds {
compatible = "gpio-leds";
wlan {

Some files were not shown because too many files have changed in this diff Show More