arm64: tegra: Add temperature sensor on P2888

The P2888 processor module contains a TI TMP451 temperature sensor with
two channels. These are used to measure the temperatures at different
locations on the module.

Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Thierry Reding 2018-11-28 18:26:34 +01:00
parent e47ac50885
commit 8b457812f5

View File

@ -248,6 +248,17 @@ ldo7 {
};
};
};
temperature-sensor@4c {
compatible = "ti,tmp451";
reg = <0x4c>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA194_MAIN_GPIO(H, 2)
IRQ_TYPE_LEVEL_LOW>;
#thermal-sensor-cells = <1>;
};
};
};