summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/tegra-seaboard.dts
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-12-22 16:33:13 +0000
committerStephen Warren <swarren@nvidia.com>2012-05-03 14:49:11 -0600
commit45dbe9dd2cea5be9fe6997442aa703800ea145c8 (patch)
tree02ccce030853b972338278d74034e0eae0c4394c /arch/arm/boot/dts/tegra-seaboard.dts
parent802a849948789b6059899d79a4c8e71db19a6029 (diff)
downloadblackbird-op-linux-45dbe9dd2cea5be9fe6997442aa703800ea145c8.tar.gz
blackbird-op-linux-45dbe9dd2cea5be9fe6997442aa703800ea145c8.zip
ARM: dt: tegra seaboard: add i2c devices
Add the known i2c devices on seaboard to the i2c table. Also rename the temperature sensor device node, and mark it as a nct1008 instead of an adt7461 (which it is -- the chips are compatible though). Signed-off-by: Olof Johansson <olof@lixom.net> [swarren: Removed isl29018 from patch; it's already there now. Fixed interrupts properties now that Tegra GPIO is an interrupt controller. Moved smart-battery to the correct I2C bus.] Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra-seaboard.dts')
-rw-r--r--arch/arm/boot/dts/tegra-seaboard.dts25
1 files changed, 23 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts
index 60c94295e594..4e19dd174309 100644
--- a/arch/arm/boot/dts/tegra-seaboard.dts
+++ b/arch/arm/boot/dts/tegra-seaboard.dts
@@ -282,10 +282,24 @@
interrupt-parent = <&gpio>;
interrupts = < 202 0x04 >; /* GPIO PZ2 */
};
+
+ gyrometer@68 {
+ compatible = "invn,mpu3050";
+ reg = <0x68>;
+ interrupt-parent = <&gpio>;
+ interrupts = <204 0x04>; /* gpio PZ4 */
+ };
};
i2c@7000c400 {
clock-frequency = <100000>;
+
+ smart-battery@b {
+ compatible = "ti,bq20z75", "smart-battery-1.1";
+ reg = <0xb>;
+ ti,i2c-retry-count = <2>;
+ ti,poll-retry-count = <10>;
+ };
};
i2c@7000c500 {
@@ -295,10 +309,17 @@
i2c@7000d000 {
clock-frequency = <400000>;
- adt7461@4c {
- compatible = "adt7461";
+ temperature-sensor@4c {
+ compatible = "nct1008";
reg = <0x4c>;
};
+
+ magnetometer@c {
+ compatible = "ak8975";
+ reg = <0xc>;
+ interrupt-parent = <&gpio>;
+ interrupts = <109 0x04>; /* gpio PN5 */
+ };
};
i2s@70002a00 {
OpenPOWER on IntegriCloud