mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
ipq806x: 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:
parent
93c30bef7c
commit
6928d06a7e
@ -440,7 +440,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -350,7 +350,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -385,7 +385,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -319,7 +319,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -355,7 +355,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -359,7 +359,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -94,7 +94,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -246,7 +246,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
pinctrl-0 = <&led_pins>;
|
||||
|
@ -349,7 +349,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -454,7 +454,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
Loading…
Reference in New Issue
Block a user