Pārlūkot izejas kodu

ARM: dts: AM33XX: Add temperature sensor device tree data to am335x-evm

Add temperature sensor DT data to am335x-evm.dts. In AM335x EVM
tmp275 temperature sensor is connected to I2C2 bus. So this patch
adds child node inside i2c2 node with i2c slave address. This patch
is tested on AM335x EVM.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
AnilKumar Ch 13 gadi atpakaļ
vecāks
revīzija
bf078553e0
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      arch/arm/boot/dts/am335x-evm.dts

+ 5 - 0
arch/arm/boot/dts/am335x-evm.dts

@@ -69,6 +69,11 @@
 				st,max-limit-y = <550>;
 				st,max-limit-z = <750>;
 			};
+
+			tmp275: tmp275@48 {
+				compatible = "ti,tmp275";
+				reg = <0x48>;
+			};
 		};
 	};