summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-370-c200-v2.dts
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-c200-v2.dts
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-c200-v2.dts')
-rw-r--r--arch/arm/boot/dts/armada-370-c200-v2.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/armada-370-c200-v2.dts b/arch/arm/boot/dts/armada-370-c200-v2.dts
index 1a4a09bdde63..84d40e1d70ef 100644
--- a/arch/arm/boot/dts/armada-370-c200-v2.dts
+++ b/arch/arm/boot/dts/armada-370-c200-v2.dts
@@ -75,25 +75,25 @@
pinctrl-0 = <&pmx_buttons>;
pinctrl-names = "default";
- power {
+ button-power {
label = "Power Button";
linux,code = <KEY_POWER>;
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
};
- reset {
+ button-reset {
label = "Reset Button";
linux,code = <KEY_RESTART>;
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
- usb1 {
+ button-usb1 {
label = "USB1 Button";
linux,code = <BTN_0>;
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};
- usb2 {
+ button-usb2 {
label = "USB2 Button";
linux,code = <BTN_1>;
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;