[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1502700251-8852-1-git-send-email-andy.yan@rock-chips.com>
Date: Mon, 14 Aug 2017 16:44:11 +0800
From: Andy Yan <andy.yan@...k-chips.com>
To: heiko@...ech.de
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org, robh+dt@...nel.org,
linux-arm-kernel@...ts.infradead.org,
Andy Yan <andy.yan@...k-chips.com>
Subject: [PATCH v4 8/8] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb
Add dt node of bosch accelerometer bma250e on rv1108 evb.
Signed-off-by: Andy Yan <andy.yan@...k-chips.com>
---
Changes in v4:
- order it by i2c address.
Changes in v3: None
Changes in v2: None
arch/arm/boot/dts/rv1108-evb.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts
index a1bd95e..32fb09a 100644
--- a/arch/arm/boot/dts/rv1108-evb.dts
+++ b/arch/arm/boot/dts/rv1108-evb.dts
@@ -202,6 +202,13 @@
};
};
};
+
+ bma250: accelerometer@19 {
+ compatible = "bosch,bma250e";
+ reg = <0x19>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
+ };
};
&pwm0 {
--
2.7.4
Powered by blists - more mailing lists