aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-12-22 11:33:13 -0500
committerStephen Warren <swarren@nvidia.com>2012-05-03 16:49:11 -0400
commit45dbe9dd2cea5be9fe6997442aa703800ea145c8 (patch)
tree02ccce030853b972338278d74034e0eae0c4394c /arch/arm/boot/dts
parent802a849948789b6059899d79a4c8e71db19a6029 (diff)
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')
-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 @@
282 interrupt-parent = <&gpio>; 282 interrupt-parent = <&gpio>;
283 interrupts = < 202 0x04 >; /* GPIO PZ2 */ 283 interrupts = < 202 0x04 >; /* GPIO PZ2 */
284 }; 284 };
285
286 gyrometer@68 {
287 compatible = "invn,mpu3050";
288 reg = <0x68>;
289 interrupt-parent = <&gpio>;
290 interrupts = <204 0x04>; /* gpio PZ4 */
291 };
285 }; 292 };
286 293
287 i2c@7000c400 { 294 i2c@7000c400 {
288 clock-frequency = <100000>; 295 clock-frequency = <100000>;
296
297 smart-battery@b {
298 compatible = "ti,bq20z75", "smart-battery-1.1";
299 reg = <0xb>;
300 ti,i2c-retry-count = <2>;
301 ti,poll-retry-count = <10>;
302 };
289 }; 303 };
290 304
291 i2c@7000c500 { 305 i2c@7000c500 {
@@ -295,10 +309,17 @@
295 i2c@7000d000 { 309 i2c@7000d000 {
296 clock-frequency = <400000>; 310 clock-frequency = <400000>;
297 311
298 adt7461@4c { 312 temperature-sensor@4c {
299 compatible = "adt7461"; 313 compatible = "nct1008";
300 reg = <0x4c>; 314 reg = <0x4c>;
301 }; 315 };
316
317 magnetometer@c {
318 compatible = "ak8975";
319 reg = <0xc>;
320 interrupt-parent = <&gpio>;
321 interrupts = <109 0x04>; /* gpio PN5 */
322 };
302 }; 323 };
303 324
304 i2s@70002a00 { 325 i2s@70002a00 {