Enable thermal sensor lm90 in the dts file.

Signed-off-by: Wei Ni <[email protected]>
---
 arch/arm/boot/dts/tegra30-cardhu.dtsi |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi 
b/arch/arm/boot/dts/tegra30-cardhu.dtsi
index bdb2a66..15ad1ad 100644
--- a/arch/arm/boot/dts/tegra30-cardhu.dtsi
+++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi
@@ -273,6 +273,13 @@
                                };
                        };
                };
+
+               nct1008: lm90@4c {
+                       compatible = "lm90";
+                       reg = <0x4c>;
+                       interrupt-parent = <&gpio>;
+                       interrupts = <226 0x08>; /* gpio PCC2 */
+               };
        };
 
        spi@7000da00 {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to