~sircmpwn/linux

linux/arch/arm/boot/dts/cros-adc-thermistors.dtsi -rw-r--r-- 904 bytes
a99d8080 — Linus Torvalds Linux 5.4-rc6 11 months ago
                                                                                
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
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Thermistor dts fragment for devices that use Thermistors as
 * children of the IIO based ADC.
 *
 * Currently, used by Exynos5420 based Peach PIT and
 * Exynos5800 based Peach PI.
 *
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
*/

&adc {
	thermistor3 {
		compatible = "murata,ncp15wb473";
		pullup-uv = <1800000>;
		pullup-ohm = <47000>;
		pulldown-ohm = <0>;
		io-channels = <&adc 3>;
	};
	thermistor4 {
		compatible = "murata,ncp15wb473";
		pullup-uv = <1800000>;
		pullup-ohm = <47000>;
		pulldown-ohm = <0>;
		io-channels = <&adc 4>;
	};
	thermistor5 {
		compatible = "murata,ncp15wb473";
		pullup-uv = <1800000>;
		pullup-ohm = <47000>;
		pulldown-ohm = <0>;
		io-channels = <&adc 5>;
	};
	thermistor6 {
		compatible = "murata,ncp15wb473";
		pullup-uv = <1800000>;
		pullup-ohm = <47000>;
		pulldown-ohm = <0>;
		io-channels = <&adc 6>;
	};
};