[PATCH 2/9] ARM: dts: omap3-gta04: Add bma180 accelerometer.

2014-01-25 Thread Marek Belisko
From: NeilBrown 

Signed-off-by: NeilBrown 
---
 arch/arm/boot/dts/omap3-gta04.dts | 8 
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts 
b/arch/arm/boot/dts/omap3-gta04.dts
index 9d37184..e315675 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -94,6 +94,14 @@
reg = <0x77>;
};
 
+   /* accelerometer */
+   bma180@41 {
+   compatible = "bosch,bma180";
+   reg = <0x41>;
+   interrupt-parent = <>;
+   interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
+   };
+
/* leds */
tca6507@45 {
compatible = "ti,tca6507";
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/9] ARM: dts: omap3-gta04: Add bma180 accelerometer.

2014-01-25 Thread Marek Belisko
From: NeilBrown ne...@suse.de

Signed-off-by: NeilBrown ne...@suse.de
---
 arch/arm/boot/dts/omap3-gta04.dts | 8 
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts 
b/arch/arm/boot/dts/omap3-gta04.dts
index 9d37184..e315675 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -94,6 +94,14 @@
reg = 0x77;
};
 
+   /* accelerometer */
+   bma180@41 {
+   compatible = bosch,bma180;
+   reg = 0x41;
+   interrupt-parent = gpio3;
+   interrupts = 19 IRQ_TYPE_LEVEL_HIGH;
+   };
+
/* leds */
tca6507@45 {
compatible = ti,tca6507;
-- 
1.8.3.2

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/