summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-16 03:53:31 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-27 11:52:42 +0300
commit17413b15ed9398e5d7f01f0da0da6043bb8392c7 (patch)
tree68fd35b6a583a3e3c876b877af85f3f9a9d8a3ba /arch/arm/boot/dts/at91sam9g20ek_common.dtsi
parent54ab5f367142577b8280f5b03eeb36616980cd68 (diff)
downloadlinux-17413b15ed9398e5d7f01f0da0da6043bb8392c7.tar.xz
ARM: dts: at91: 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> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220616005333.18491-38-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm/boot/dts/at91sam9g20ek_common.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9g20ek_common.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
index 85c17dd1c8d5..60d61291f344 100644
--- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
+++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
@@ -234,17 +234,17 @@
};
};
- gpio_keys {
+ gpio-keys {
compatible = "gpio-keys";
- btn3 {
+ button-3 {
label = "Button 3";
gpios = <&pioA 30 GPIO_ACTIVE_LOW>;
linux,code = <0x103>;
wakeup-source;
};
- btn4 {
+ button-4 {
label = "Button 4";
gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>;