mirror of https://github.com/hak5/openwrt.git
ath79: dts: Unify naming of gpio-keys 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]openwrt-19.07
parent
c2bcdabf2a
commit
a012b3dfa8
|
@ -80,7 +80,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <100>;
|
poll-interval = <100>;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
led-upgrade = &diag;
|
led-upgrade = &diag;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
led-upgrade = &power;
|
led-upgrade = &power;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
led-upgrade = &led_system;
|
led-upgrade = &led_system;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
led-upgrade = &led_system;
|
led-upgrade = &led_system;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
led-upgrade = &power;
|
led-upgrade = &power;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
clock-frequency = <40000000>;
|
clock-frequency = <40000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
led-upgrade = &led_system;
|
led-upgrade = &led_system;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
led-upgrade = &system;
|
led-upgrade = &system;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
led-upgrade = &system;
|
led-upgrade = &system;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue