ipq40xx: 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 98c6c8cdfe
commit 540a7d1ecc
15 changed files with 15 additions and 15 deletions

View File

@ -97,7 +97,7 @@
led-upgrade = &power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
red {

View File

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

View File

@ -111,7 +111,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
power_amber: power_amber {

View File

@ -134,7 +134,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
power: status {

View File

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

View File

@ -100,7 +100,7 @@
led-upgrade = &power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
red {

View File

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

View File

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

View File

@ -101,7 +101,7 @@
led-upgrade = &power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
red {

View File

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

View File

@ -115,7 +115,7 @@
};
};
gpio-leds {
leds {
compatible = "gpio-leds";
power_amber: power_amber {

View File

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

View File

@ -104,7 +104,7 @@
led-upgrade = &power;
};
gpio-leds {
leds {
compatible = "gpio-leds";
red {

View File

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

View File

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