mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
ARM: dts: xilinx: 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-31-krzysztof.kozlowski@linaro.org Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
f2906aa863
commit
c8b35008b4
|
|
@ -30,14 +30,14 @@ chosen {
|
|||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
autorepeat;
|
||||
sw14 {
|
||||
switch-14 {
|
||||
label = "sw14";
|
||||
gpios = <&gpio0 12 0>;
|
||||
linux,code = <108>; /* down */
|
||||
wakeup-source;
|
||||
autorepeat;
|
||||
};
|
||||
sw13 {
|
||||
switch-13 {
|
||||
label = "sw13";
|
||||
gpios = <&gpio0 14 0>;
|
||||
linux,code = <103>; /* up */
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ usr-led2 {
|
|||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
autorepeat;
|
||||
K1 {
|
||||
key {
|
||||
label = "K1";
|
||||
gpios = <&gpio0 0x32 0x1>;
|
||||
linux,code = <0x66>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user