summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-16 02:53:06 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-27 10:43:13 +0200
commit41340053cc72180e9095ca02418a5ab80794983c (patch)
tree23938333fe568d196d42848ecc4b7c9a5eacb1ad /arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
parentARM: dts: omap: adjust whitespace around '=' (diff)
downloadlinux-41340053cc72180e9095ca02418a5ab80794983c.tar.xz
linux-41340053cc72180e9095ca02418a5ab80794983c.zip
ARM: dts: marvell: align gpio-key node names with dtschema
The node names should be generic and DT schema expects certain pattern (e.g. with key/button/switch). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220616005333.18491-13-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi')
-rw-r--r--arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi b/arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
index b52634ecf1d9..cf7bffdd1c21 100644
--- a/arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
+++ b/arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
@@ -111,19 +111,19 @@
#address-cells = <1>;
#size-cells = <0>;
- power {
+ button-power {
label = "Power button";
linux,code = <KEY_POWER>;
gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
debounce-interval = <100>;
};
- backup {
+ button-backup {
label = "Backup button";
linux,code = <KEY_OPTION>;
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
debounce-interval = <100>;
};
- reset {
+ button-reset {
label = "Reset Button";
linux,code = <KEY_RESTART>;
gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;