summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra124-loki-e2530-a01.dts
blob: 1aeea89954f2df1748f68390c79cb10d571e83fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "tegra124-loki-common.dtsi"
#include "tegra124-platforms/tegra124-loki-powermon-e2530-a01.dtsi"
#include "tegra124-platforms/tegra124-loki-pmic-e2530-0000-a01.dtsi"
#include "tegra124-platforms/tegra124-loki-fixed-e2530-0000-a00.dtsi"

/ {
	nvidia,dtsfilename = __FILE__;

	i2c@7000d000 {
		tps65913 {
			gpadc {
				ti,auto-conversion-period-ms = <1000>;
				auto_conv1 {
					ti,adc-channel-number = <4>;
					ti,adc-low-threshold = <748>;
					ti,enable-shutdown;
				};

				iio_map {
					ch1 {
						ti,adc-channel-number = <1>;
						ti,adc-consumer-device = "generic-adc-thermal.0";
						ti,adc-consumer-channel ="thermistor";
					};

					ch3 {
						ti,adc-channel-number = <3>;
						ti,adc-consumer-device = "generic-adc-thermal.1";
						ti,adc-consumer-channel ="tdiode";
					};

					ch4 {
						ti,adc-channel-number = <4>;
						ti,adc-consumer-device = "generic-adc-thermal.2";
						ti,adc-consumer-channel ="tbat";
					};
				};
			};
		};
	};
};