summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ea3250.dts
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-07-01 23:04:17 +0400
committerRoland Stigge <stigge@antcom.de>2012-07-01 23:04:17 +0400
commit7bb71a6c3241b8e20b54fe9978cc9af5eddfd428 (patch)
treeff60d43e6c33cbc16617bd51b9fd18b9eeabe8ed /arch/arm/boot/dts/ea3250.dts
parentdf072717eb0050326f0f63eed98200412c395831 (diff)
downloadlinux-7bb71a6c3241b8e20b54fe9978cc9af5eddfd428.tar.xz
ARM: LPC32xx: Update DTS file for EA3250 board
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>
Diffstat (limited to 'arch/arm/boot/dts/ea3250.dts')
-rw-r--r--arch/arm/boot/dts/ea3250.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
index c07ba8c2cc0d..d79b28d9c963 100644
--- a/arch/arm/boot/dts/ea3250.dts
+++ b/arch/arm/boot/dts/ea3250.dts
@@ -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 */
};
};
};