Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326721
b: refs/heads/master
c: 25b3ab6
h: refs/heads/master
i:
  326719: df41132
v: v3
  • Loading branch information
Roland Stigge committed Sep 6, 2012
1 parent d9e7248 commit 6ceab99
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 067c182fb5b0db856b532427956b0ecd7a87c170
refs/heads/master: 25b3ab6c7e39e42245d98c27d25d9902baec7b65
109 changes: 108 additions & 1 deletion trunk/arch/arm/boot/dts/ea3250.dts
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,116 @@
#size-cells = <0>;
autorepeat;
button@21 {
label = "GPIO Key UP";
label = "Interrupt Key";
linux,code = <103>;
gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
};
key1 {
label = "KEY1";
linux,code = <1>;
gpios = <&pca9532 0 0>;
};
key2 {
label = "KEY2";
linux,code = <2>;
gpios = <&pca9532 1 0>;
};
key3 {
label = "KEY3";
linux,code = <3>;
gpios = <&pca9532 2 0>;
};
key4 {
label = "KEY4";
linux,code = <4>;
gpios = <&pca9532 3 0>;
};
joy0 {
label = "Joystick Key 0";
linux,code = <10>;
gpios = <&gpio 2 0 0>; /* P2.0 */
};
joy1 {
label = "Joystick Key 1";
linux,code = <11>;
gpios = <&gpio 2 1 0>; /* P2.1 */
};
joy2 {
label = "Joystick Key 2";
linux,code = <12>;
gpios = <&gpio 2 2 0>; /* P2.2 */
};
joy3 {
label = "Joystick Key 3";
linux,code = <13>;
gpios = <&gpio 2 3 0>; /* P2.3 */
};
joy4 {
label = "Joystick Key 4";
linux,code = <14>;
gpios = <&gpio 2 4 0>; /* P2.4 */
};
};

leds {
compatible = "gpio-leds";

/* LEDs on OEM Board */

led1 {
gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */
linux,default-trigger = "timer";
default-state = "off";
};

led2 {
gpios = <&gpio 2 10 1>; /* P2.10, active low */
default-state = "off";
};

led3 {
gpios = <&gpio 2 11 1>; /* P2.11, active low */
default-state = "off";
};

led4 {
gpios = <&gpio 2 12 1>; /* P2.12, active low */
default-state = "off";
};

/* LEDs on Base Board */

lede1 {
gpios = <&pca9532 8 0>;
default-state = "off";
};
lede2 {
gpios = <&pca9532 9 0>;
default-state = "off";
};
lede3 {
gpios = <&pca9532 10 0>;
default-state = "off";
};
lede4 {
gpios = <&pca9532 11 0>;
default-state = "off";
};
lede5 {
gpios = <&pca9532 12 0>;
default-state = "off";
};
lede6 {
gpios = <&pca9532 13 0>;
default-state = "off";
};
lede7 {
gpios = <&pca9532 14 0>;
default-state = "off";
};
lede8 {
gpios = <&pca9532 15 0>;
default-state = "off";
};
};
};

0 comments on commit 6ceab99

Please sign in to comment.