Skip to content

Commit

Permalink
ARM: kirkwood: fix buttons on lsxl boards
Browse files Browse the repository at this point in the history
Change event type to switch for the power and autopower switches.
Additionally, this patch aligns the keycodes with the other linkstation
boards already supported by linux.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
Michael Walle authored and Jason Cooper committed Oct 18, 2012
1 parent a54841e commit 1243163
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions arch/arm/boot/dts/kirkwood-lsxl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,19 @@
#size-cells = <0>;
button@1 {
label = "Function Button";
linux,code = <132>;
linux,code = <357>;
gpios = <&gpio1 9 1>;
};
button@2 {
label = "Power-on Switch";
linux,code = <116>;
linux,code = <0>;
linux,input-type = <5>;
gpios = <&gpio1 10 1>;
};
button@3 {
label = "Power-auto Switch";
linux,code = <142>;
linux,code = <1>;
linux,input-type = <5>;
gpios = <&gpio1 11 1>;
};
};
Expand Down

0 comments on commit 1243163

Please sign in to comment.