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]
master
Petr Štetiar 6 years ago committed by Christian Lamparter
parent e8eaf794ec
commit dd3ec40d3d
  1. 2
      target/linux/ramips/dts/11ACNAS.dts
  2. 2
      target/linux/ramips/dts/3G-6200N.dts
  3. 2
      target/linux/ramips/dts/3G-6200NL.dts
  4. 2
      target/linux/ramips/dts/3G150B.dts
  5. 2
      target/linux/ramips/dts/3G300M.dts
  6. 2
      target/linux/ramips/dts/A5-V11.dts
  7. 2
      target/linux/ramips/dts/AC1200RM.dts
  8. 2
      target/linux/ramips/dts/AI-BR100.dts
  9. 2
      target/linux/ramips/dts/AIR3GII.dts
  10. 2
      target/linux/ramips/dts/ALL0256N.dtsi
  11. 2
      target/linux/ramips/dts/ALL5002.dts
  12. 2
      target/linux/ramips/dts/ALL5003.dts
  13. 2
      target/linux/ramips/dts/AR670W.dts
  14. 2
      target/linux/ramips/dts/AR725W.dts
  15. 2
      target/linux/ramips/dts/ASL26555.dtsi
  16. 2
      target/linux/ramips/dts/ATP-52B.dts
  17. 2
      target/linux/ramips/dts/AWAPN2403.dts
  18. 2
      target/linux/ramips/dts/AWM002-EVB.dtsi
  19. 2
      target/linux/ramips/dts/AWUSFREE1.dts
  20. 2
      target/linux/ramips/dts/ArcherC2-v1.dts
  21. 2
      target/linux/ramips/dts/ArcherC20i.dts
  22. 2
      target/linux/ramips/dts/ArcherC20v1.dts
  23. 2
      target/linux/ramips/dts/ArcherC20v4.dts
  24. 2
      target/linux/ramips/dts/ArcherC50.dts
  25. 2
      target/linux/ramips/dts/ArcherC50V3.dts
  26. 2
      target/linux/ramips/dts/ArcherMR200.dts
  27. 2
      target/linux/ramips/dts/BC2.dts
  28. 2
      target/linux/ramips/dts/BDCOM-WAP2100-SK.dts
  29. 2
      target/linux/ramips/dts/BR-6475ND.dts
  30. 2
      target/linux/ramips/dts/BR-6478AC-V2.dts
  31. 2
      target/linux/ramips/dts/BROADWAY.dts
  32. 2
      target/linux/ramips/dts/C108.dts
  33. 2
      target/linux/ramips/dts/CF-WR800N.dts
  34. 2
      target/linux/ramips/dts/CS-QR10.dts
  35. 2
      target/linux/ramips/dts/CY-SWR1100.dts
  36. 2
      target/linux/ramips/dts/D105.dts
  37. 2
      target/linux/ramips/dts/D240.dts
  38. 2
      target/linux/ramips/dts/DAP-1350.dts
  39. 2
      target/linux/ramips/dts/DAP-1522-A1.dts
  40. 2
      target/linux/ramips/dts/DB-WRT01.dts
  41. 2
      target/linux/ramips/dts/DCH-M225.dts
  42. 2
      target/linux/ramips/dts/DCS-930.dts
  43. 2
      target/linux/ramips/dts/DCS-930L-B1.dts
  44. 2
      target/linux/ramips/dts/DIR-300-B1.dts
  45. 2
      target/linux/ramips/dts/DIR-300-B7.dts
  46. 2
      target/linux/ramips/dts/DIR-320-B1.dts
  47. 2
      target/linux/ramips/dts/DIR-600-B1.dts
  48. 2
      target/linux/ramips/dts/DIR-610-A1.dts
  49. 2
      target/linux/ramips/dts/DIR-615-D.dts
  50. 2
      target/linux/ramips/dts/DIR-615-H1.dts
  51. 2
      target/linux/ramips/dts/DIR-620-A1.dts
  52. 2
      target/linux/ramips/dts/DIR-620-D1.dts
  53. 2
      target/linux/ramips/dts/DIR-645.dts
  54. 2
      target/linux/ramips/dts/DIR-810L.dts
  55. 2
      target/linux/ramips/dts/DIR-860L-B1.dts
  56. 2
      target/linux/ramips/dts/DWR-116-A1.dts
  57. 2
      target/linux/ramips/dts/DWR-118-A1.dts
  58. 2
      target/linux/ramips/dts/DWR-118-A2.dts
  59. 2
      target/linux/ramips/dts/DWR-512-B.dts
  60. 2
      target/linux/ramips/dts/DWR-921-C1.dts
  61. 2
      target/linux/ramips/dts/E1700.dts
  62. 2
      target/linux/ramips/dts/ESR-9753.dts
  63. 2
      target/linux/ramips/dts/EW1200.dts
  64. 2
      target/linux/ramips/dts/EX2700.dts
  65. 2
      target/linux/ramips/dts/EX3700.dts
  66. 2
      target/linux/ramips/dts/F5D8235_V1.dts
  67. 2
      target/linux/ramips/dts/F5D8235_V2.dts
  68. 2
      target/linux/ramips/dts/F7C027.dts
  69. 2
      target/linux/ramips/dts/FIREWRT.dts
  70. 2
      target/linux/ramips/dts/FONERA20N.dts
  71. 2
      target/linux/ramips/dts/FREESTATION5.dts
  72. 2
      target/linux/ramips/dts/GB-PC1.dts
  73. 2
      target/linux/ramips/dts/GB-PC2.dts
  74. 2
      target/linux/ramips/dts/GL-MT300A.dts
  75. 2
      target/linux/ramips/dts/GL-MT300N-V2.dts
  76. 2
      target/linux/ramips/dts/GL-MT300N.dts
  77. 2
      target/linux/ramips/dts/GL-MT750.dts
  78. 2
      target/linux/ramips/dts/HC5661.dts
  79. 2
      target/linux/ramips/dts/HC5661A.dts
  80. 2
      target/linux/ramips/dts/HC5761.dts
  81. 2
      target/linux/ramips/dts/HC5861.dts
  82. 2
      target/linux/ramips/dts/HC5861B.dts
  83. 2
      target/linux/ramips/dts/HC5962.dts
  84. 2
      target/linux/ramips/dts/HG255D.dts
  85. 2
      target/linux/ramips/dts/HPM.dts
  86. 2
      target/linux/ramips/dts/HT-TM02.dts
  87. 2
      target/linux/ramips/dts/HW550-3G.dts
  88. 2
      target/linux/ramips/dts/IP2202.dts
  89. 2
      target/linux/ramips/dts/JHR-N805R.dts
  90. 2
      target/linux/ramips/dts/JHR-N825R.dts
  91. 2
      target/linux/ramips/dts/JHR-N926R.dts
  92. 2
      target/linux/ramips/dts/K2G.dts
  93. 2
      target/linux/ramips/dts/K2P.dts
  94. 2
      target/linux/ramips/dts/LINKIT7688.dts
  95. 2
      target/linux/ramips/dts/LR-25G001.dts
  96. 2
      target/linux/ramips/dts/M2M.dts
  97. 2
      target/linux/ramips/dts/M3.dts
  98. 2
      target/linux/ramips/dts/M4.dtsi
  99. 2
      target/linux/ramips/dts/MAC1200RV2.dts
  100. 2
      target/linux/ramips/dts/MINIEMBPLUG.dts
  101. Some files were not shown because too many files have changed in this diff Show More

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -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

Loading…
Cancel
Save