ARM: dts: animeo: 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-34-krzysztof.kozlowski@linaro.org
This commit is contained in:
parent
b03f15ee98
commit
523b53bb75
@ -168,26 +168,26 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
keyswitch_in {
|
key-switch-in {
|
||||||
label = "keyswitch_in";
|
label = "keyswitch_in";
|
||||||
gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
|
gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <28>;
|
linux,code = <28>;
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
error_in {
|
key-error-in {
|
||||||
label = "error_in";
|
label = "error_in";
|
||||||
gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
|
gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <29>;
|
linux,code = <29>;
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
btn {
|
key-s {
|
||||||
label = "btn";
|
label = "btn";
|
||||||
gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
|
gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <31>;
|
linux,code = <31>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user