Thread (10 messages) flat view 10 messages, 2 authors, 2012-06-24

[PATCH 4/7] ARM: LPC32xx: Update DTS file for EA3250 board

From: Alexandre Pereira da Silva <hidden>
Date: 2012-06-24 14:03:15
Also in: lkml

On Sun, Jun 24, 2012 at 10:47 AM, Roland Stigge [off-list ref] wrote:
This DTS file update adds:
* 3-channel ADC (for AD-IN on AD2, or 3-axis-accelerometer)
* Interrupt key

Signed-off-by: Roland Stigge <redacted>
Acked-by: Alexandre Pereira da Silva <redacted>
quoted hunk ↗ jump to hunk
---
?arch/arm/boot/dts/ea3250.dts | ? 17 +++++++++++++++++
?1 file changed, 17 insertions(+)
--- linux-2.6.orig/arch/arm/boot/dts/ea3250.dts
+++ linux-2.6/arch/arm/boot/dts/ea3250.dts
@@ -152,6 +152,23 @@
? ? ? ? ? ? ? ? ? ? ? ?uart1: serial at 40014000 {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?status = "okay";
? ? ? ? ? ? ? ? ? ? ? ?};
+
+ ? ? ? ? ? ? ? ? ? ? ? /* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
+ ? ? ? ? ? ? ? ? ? ? ? adc at 40048000 {
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? status = "okay";
+ ? ? ? ? ? ? ? ? ? ? ? };
+ ? ? ? ? ? ? ? };
+ ? ? ? };
+
+ ? ? ? gpio_keys {
+ ? ? ? ? ? ? ? compatible = "gpio-keys";
+ ? ? ? ? ? ? ? #address-cells = <1>;
+ ? ? ? ? ? ? ? #size-cells = <0>;
+ ? ? ? ? ? ? ? autorepeat;
+ ? ? ? ? ? ? ? button at 21 {
+ ? ? ? ? ? ? ? ? ? ? ? label = "GPIO Key UP";
+ ? ? ? ? ? ? ? ? ? ? ? linux,code = <103>;
+ ? ? ? ? ? ? ? ? ? ? ? gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
? ? ? ? ? ? ? ?};
? ? ? ?};
?};
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help