diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-16 02:53:31 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-27 10:52:42 +0200 |
commit | 17413b15ed9398e5d7f01f0da0da6043bb8392c7 (patch) | |
tree | 68fd35b6a583a3e3c876b877af85f3f9a9d8a3ba /arch/arm/boot/dts/at91-foxg20.dts | |
parent | ARM: dts: omap: correct gpio-keys properties (diff) | |
download | linux-17413b15ed9398e5d7f01f0da0da6043bb8392c7.tar.xz linux-17413b15ed9398e5d7f01f0da0da6043bb8392c7.zip |
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/at91-foxg20.dts')
-rw-r--r-- | arch/arm/boot/dts/at91-foxg20.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/at91-foxg20.dts b/arch/arm/boot/dts/at91-foxg20.dts index 7edf057047f8..9dfd5de808d1 100644 --- a/arch/arm/boot/dts/at91-foxg20.dts +++ b/arch/arm/boot/dts/at91-foxg20.dts @@ -155,10 +155,10 @@ }; }; - gpio_keys { + gpio-keys { compatible = "gpio-keys"; - btn { + button { label = "Button"; gpios = <&pioC 4 GPIO_ACTIVE_LOW>; linux,code = <0x103>; |