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:
parent
87ccc38e2f
commit
ebb8ba5495
|
@ -45,7 +45,7 @@
|
|||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
key-reset {
|
||||
label = "reset";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&gpiosb 20 GPIO_ACTIVE_LOW>;
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
pinctrl-0 = <&cp0_gpio_reset_pins &cp1_wps_button_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
button_0 {
|
||||
button-0 {
|
||||
/* The rear button */
|
||||
label = "Rear Button";
|
||||
gpios = <&cp0_gpio2 7 GPIO_ACTIVE_LOW>;
|
||||
|
@ -102,7 +102,7 @@
|
|||
linux,code = <BTN_0>;
|
||||
};
|
||||
|
||||
button_1 {
|
||||
button-1 {
|
||||
/* The wps button */
|
||||
label = "WPS Button";
|
||||
gpios = <&cp1_gpio1 30 GPIO_ACTIVE_LOW>;
|
||||
|
|
Loading…
Reference in New Issue