aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnilKumar Ch <anilkumar@ti.com>2012-09-21 11:49:11 -0400
committerBenoit Cousson <b-cousson@ti.com>2012-10-29 11:56:27 -0400
commitcd5cfac26d00b4e00f785ee22dc54fb3ea203f6f (patch)
tree2394ac9d1830498cb56612e8cc843e57f46c74c2
parentbf078553e049b8874d3e26fc36e1e2cc14614187 (diff)
ARM: dts: AM33XX: Add tsl2550 ambient light sensor DT data
In AM335x EVM tsl2550 ambient light sensor is connected to I2C2 bus. Add child node inside i2c2 node with i2c slave address. TAOS tsl2550 sensor is using a two-wire SMBus serial interface. Reduce I2C2 clock frequency to 100kHz from 400kHz because the maximum clock frequency of SMBus is 100kHz. Signed-off-by: AnilKumar Ch <anilkumar@ti.com> [b-cousson@ti.com: Clean the changelog] Signed-off-by: Benoit Cousson <b-cousson@ti.com>
-rw-r--r--arch/arm/boot/dts/am335x-evm.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index a5c4c62530a4..513284fc66b9 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -40,7 +40,7 @@
40 40
41 i2c2: i2c@4802a000 { 41 i2c2: i2c@4802a000 {
42 status = "okay"; 42 status = "okay";
43 clock-frequency = <400000>; 43 clock-frequency = <100000>;
44 44
45 lis331dlh: lis331dlh@18 { 45 lis331dlh: lis331dlh@18 {
46 compatible = "st,lis331dlh", "st,lis3lv02d"; 46 compatible = "st,lis331dlh", "st,lis3lv02d";
@@ -70,6 +70,11 @@
70 st,max-limit-z = <750>; 70 st,max-limit-z = <750>;
71 }; 71 };
72 72
73 tsl2550: tsl2550@39 {
74 compatible = "taos,tsl2550";
75 reg = <0x39>;
76 };
77
73 tmp275: tmp275@48 { 78 tmp275: tmp275@48 {
74 compatible = "ti,tmp275"; 79 compatible = "ti,tmp275";
75 reg = <0x48>; 80 reg = <0x48>;