arm64: 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-11-krzysztof.kozlowski@linaro.org
This commit is contained in:
Krzysztof Kozlowski 2022-06-15 17:53:04 -07:00
parent 87ccc38e2f
commit ebb8ba5495
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
reset { key-reset {
label = "reset"; label = "reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpiosb 20 GPIO_ACTIVE_LOW>; gpios = <&gpiosb 20 GPIO_ACTIVE_LOW>;

View File

@ -94,7 +94,7 @@
pinctrl-0 = <&cp0_gpio_reset_pins &cp1_wps_button_pins>; pinctrl-0 = <&cp0_gpio_reset_pins &cp1_wps_button_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
button_0 { button-0 {
/* The rear button */ /* The rear button */
label = "Rear Button"; label = "Rear Button";
gpios = <&cp0_gpio2 7 GPIO_ACTIVE_LOW>; gpios = <&cp0_gpio2 7 GPIO_ACTIVE_LOW>;
@ -102,7 +102,7 @@
linux,code = <BTN_0>; linux,code = <BTN_0>;
}; };
button_1 { button-1 {
/* The wps button */ /* The wps button */
label = "WPS Button"; label = "WPS Button";
gpios = <&cp1_gpio1 30 GPIO_ACTIVE_LOW>; gpios = <&cp1_gpio1 30 GPIO_ACTIVE_LOW>;