summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra124-loki-e2530-a03.dts
blob: 5b8bd375672fc2888620c559982692d6c9993f6d (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
42
43
44
45
46
47
48
49
#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@7000c400 {
		ina3221x@40 {
			channel@0 {
				ti,shunt-resistor-mohm = <5>;
			};
		};
	};

	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";
					};
				};
			};
		};
	};
};