Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339910
b: refs/heads/master
c: 00834b7
h: refs/heads/master
v: v3
  • Loading branch information
AnilKumar Ch authored and Benoit Cousson committed Nov 6, 2012
1 parent 595b89a commit 2078870
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d98258b81721d452d2da98e9fc83c57e6ef70667
refs/heads/master: 00834b783ee3029a96489fae0c2eb3b1a198205d
31 changes: 31 additions & 0 deletions trunk/arch/arm/boot/dts/am335x-evmsk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,37 @@
default-state = "off";
};
};

gpio_buttons: gpio_buttons@0 {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

switch@1 {
label = "button0";
linux,code = <0x100>;
gpios = <&gpio3 3 0>;
};

switch@2 {
label = "button1";
linux,code = <0x101>;
gpios = <&gpio3 2 0>;
};

switch@3 {
label = "button2";
linux,code = <0x102>;
gpios = <&gpio1 30 0>;
gpio-key,wakeup;
};

switch@4 {
label = "button3";
linux,code = <0x103>;
gpios = <&gpio3 5 0>;
};
};
};

/include/ "tps65910.dtsi"
Expand Down

0 comments on commit 2078870

Please sign in to comment.