Skip to content

Commit

Permalink
ARM: LPC32xx: Update DTS file for EA3250 board
Browse files Browse the repository at this point in the history
This DTS file update adds:
* 3-channel ADC (for AD-IN on AD2, or 3-axis-accelerometer)
* Interrupt key

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
  • Loading branch information
Roland Stigge committed Jul 1, 2012
1 parent df07271 commit 7bb71a6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/ea3250.dts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,23 @@
uart1: serial@40014000 {
status = "okay";
};

/* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
adc@40048000 {
status = "okay";
};
};
};

gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
button@21 {
label = "GPIO Key UP";
linux,code = <103>;
gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
};
};
};

0 comments on commit 7bb71a6

Please sign in to comment.