diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-16 02:53:11 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2022-06-17 12:44:05 +0200 |
commit | 4da8b5e9f24a8036660f7a09553c0ddc5db4839a (patch) | |
tree | 8826ec22c7c913148c5734d63c926b98bfcbb3b2 /arch/arm/boot/dts/mt7623a-rfb-emmc.dts | |
parent | ARM: dts: mediatek: adjust whitespace around '=' (diff) | |
download | linux-4da8b5e9f24a8036660f7a09553c0ddc5db4839a.tar.xz linux-4da8b5e9f24a8036660f7a09553c0ddc5db4839a.zip |
ARM: dts: mediatek: 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-18-krzysztof.kozlowski@linaro.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/mt7623a-rfb-emmc.dts')
-rw-r--r-- | arch/arm/boot/dts/mt7623a-rfb-emmc.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/mt7623a-rfb-emmc.dts b/arch/arm/boot/dts/mt7623a-rfb-emmc.dts index 13c86936d1c8..e8b4b6d30d19 100644 --- a/arch/arm/boot/dts/mt7623a-rfb-emmc.dts +++ b/arch/arm/boot/dts/mt7623a-rfb-emmc.dts @@ -45,13 +45,13 @@ pinctrl-names = "default"; pinctrl-0 = <&key_pins_a>; - factory { + button-factory { label = "factory"; linux,code = <BTN_0>; gpios = <&pio 256 GPIO_ACTIVE_LOW>; }; - wps { + button-wps { label = "wps"; linux,code = <KEY_WPS_BUTTON>; gpios = <&pio 257 GPIO_ACTIVE_HIGH>; |