Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296207
b: refs/heads/master
c: 8a087b0
h: refs/heads/master
i:
  296205: 381ea55
  296203: 7db14cc
  296199: 6ae1dbf
  296191: 1f2fc87
v: v3
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD committed Mar 1, 2012
1 parent 0519adf commit 31d0243
Show file tree
Hide file tree
Showing 2 changed files with 51 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: f2ee7acd3d0bfcdaf4a76e0a152f373d415a4e31
refs/heads/master: 8a087b0c15d976a71cafbb12aeac77e304c84db5
50 changes: 50 additions & 0 deletions trunk/arch/arm/boot/dts/at91sam9m10g45ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,54 @@
linux,default-trigger = "mmc0";
};
};

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

left_click {
label = "left_click";
gpios = <&pioB 6 1>;
linux,code = <272>;
gpio-key,wakeup;
};

right_click {
label = "right_click";
gpios = <&pioB 7 1>;
linux,code = <273>;
gpio-key,wakeup;
};

left {
label = "Joystick Left";
gpios = <&pioB 14 1>;
linux,code = <105>;
};

right {
label = "Joystick Right";
gpios = <&pioB 15 1>;
linux,code = <106>;
};

up {
label = "Joystick Up";
gpios = <&pioB 16 1>;
linux,code = <103>;
};

down {
label = "Joystick Down";
gpios = <&pioB 17 1>;
linux,code = <108>;
};

enter {
label = "Joystick Press";
gpios = <&pioB 18 1>;
linux,code = <28>;
};
};
};

0 comments on commit 31d0243

Please sign in to comment.