forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Christian Lamparter <[email protected]> [split up]
- Loading branch information
Showing
243 changed files
with
243 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
reg = <0x0 0x10000000>; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
usb { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_internet: internet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_ap; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_ap: ap { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_ap; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
3grouter { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_power; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
system { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
wlan2g { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_wlan; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
wan { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
ld1 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
ld1 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
eth { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_run: run { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
}; | ||
|
||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_wps: wps { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_system: system { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
lan { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
bootargs = "console=ttyS0,115200"; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
lan { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_power; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
lan { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
bootargs = "console=ttyS0,115200"; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
lan { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
lan { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
bootargs = "console=ttyS0,115200"; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
lan { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
usb { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
bootargs = "console=ttyS0,115200"; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
usb { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
diskmounted { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
sdcard { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
bootargs = "console=ttyS0,115200"; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
ethernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_power; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_wps: wps { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power_blue: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
wps { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_power; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
wifi { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
led-upgrade = &led_power; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
led_power: power { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ | |
}; | ||
}; | ||
|
||
gpio-leds { | ||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
status { | ||
|
Oops, something went wrong.