Skip to content

Commit

Permalink
ramips: dts: Unify naming of gpio-led nodes
Browse files Browse the repository at this point in the history
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
ynezz authored and chunkeey committed Feb 5, 2019
1 parent e8eaf79 commit dd3ec40
Show file tree
Hide file tree
Showing 243 changed files with 243 additions and 243 deletions.
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/11ACNAS.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
reg = <0x0 0x10000000>;
};

gpio-leds {
leds {
compatible = "gpio-leds";

usb {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/3G-6200N.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/3G-6200NL.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_internet: internet {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/3G150B.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_ap;
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_ap: ap {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/3G300M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_ap;
};

gpio-leds {
leds {
compatible = "gpio-leds";

3grouter {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/A5-V11.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_power;
};

gpio-leds {
leds {
compatible = "gpio-leds";

system {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AC1200RM.dts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

wlan2g {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AI-BR100.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_wlan;
};

gpio-leds {
leds {
compatible = "gpio-leds";

wan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AIR3GII.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
compatible = "airlive,air3gii", "ralink,rt5350-soc";
model = "AirLive Air3GII";

gpio-leds {
leds {
compatible = "gpio-leds";

wlan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ALL0256N.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/ {
compatible = "allnet,all0256n", "ralink,rt3050-soc";

gpio-leds {
leds {
compatible = "gpio-leds";

rssilow {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ALL5002.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

ld1 {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ALL5003.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

ld1 {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AR670W.dts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AR725W.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ASL26555.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

eth {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ATP-52B.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_run: run {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AWAPN2403.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
};


gpio-leds {
leds {
compatible = "gpio-leds";

led_wps: wps {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AWM002-EVB.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/ {
compatible = "asiarf,awm002-evb", "ralink,rt5350-soc";

gpio-leds {
leds {
compatible = "gpio-leds";

tx {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/AWUSFREE1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_system: system {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ArcherC2-v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

lan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ArcherC20i.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};

gpio-leds {
leds {
compatible = "gpio-leds";
lan {
label = "c20i:blue:lan";
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ArcherC20v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};

gpio-leds {
leds {
compatible = "gpio-leds";

lan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ArcherC20v4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_power;
};

gpio-leds {
leds {
compatible = "gpio-leds";

lan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ArcherC50.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};

gpio-leds {
leds {
compatible = "gpio-leds";

lan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ArcherC50V3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

lan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/ArcherMR200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};

gpio-leds {
leds {
compatible = "gpio-leds";

lan {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/BC2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

usb {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/BDCOM-WAP2100-SK.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200";
};

gpio-leds {
leds {
compatible = "gpio-leds";

usb {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/BR-6475ND.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/BR-6478AC-V2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/BROADWAY.dts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

diskmounted {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/C108.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

sdcard {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/CF-WR800N.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
bootargs = "console=ttyS0,115200";
};

gpio-leds {
leds {
compatible = "gpio-leds";

ethernet {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/CS-QR10.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_power;
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/CY-SWR1100.dts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_wps: wps {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/D105.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/D240.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/DAP-1350.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power_blue: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/DAP-1522-A1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

wps {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/DB-WRT01.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_power;
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/DCH-M225.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/DCS-930.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

wifi {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/DCS-930L-B1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
led-upgrade = &led_power;
};

gpio-leds {
leds {
compatible = "gpio-leds";

led_power: power {
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/DIR-300-B1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
};
};

gpio-leds {
leds {
compatible = "gpio-leds";

status {
Expand Down
Loading

0 comments on commit dd3ec40

Please sign in to comment.