]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/omap4-sdp.dts
arm/dts: omap4-sdp: Add twl6030, i2c3 and i2c4 devices
[karo-tx-linux.git] / arch / arm / boot / dts / omap4-sdp.dts
1 /*
2  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 /dts-v1/;
9
10 /include/ "omap4.dtsi"
11
12 / {
13         model = "TI OMAP4 SDP board";
14         compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x40000000>; /* 1 GB */
19         };
20 };
21
22 &i2c1 {
23         clock-frequency = <400000>;
24
25         twl: twl@48 {
26                 reg = <0x48>;
27                 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
28                 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
29                 interrupt-parent = <&gic>;
30         };
31 };
32
33 /include/ "twl6030.dtsi"
34
35 &i2c2 {
36         clock-frequency = <400000>;
37 };
38
39 &i2c3 {
40         clock-frequency = <400000>;
41
42         /*
43          * Temperature Sensor
44          * http://www.ti.com/lit/ds/symlink/tmp105.pdf
45          */
46         tmp105@48 {
47                 compatible = "ti,tmp105";
48                 reg = <0x48>;
49         };
50
51         /*
52          * Ambient Light Sensor
53          * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
54          */
55         bh1780@29 {
56                 compatible = "rohm,bh1780";
57                 reg = <0x29>;
58         };
59 };
60
61 &i2c4 {
62         clock-frequency = <400000>;
63
64         /*
65          * 3-Axis Digital Compass
66          * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
67          */
68         hmc5843@1e {
69                 compatible = "honeywell,hmc5843";
70                 reg = <0x1e>;
71         };
72 };