aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx8mm-cl-iot-gate-ied-adc1.dts
blob: bb0f848718fa232926527e3f762a7819895dc989 (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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2021 Linaro
 */

/dts-v1/;
/plugin/;

&{/} {
	vref_adc: regulator-vref-adc {
		compatible = "regulator-fixed";
		regulator-name = "vref_adc";
		regulator-min-microvolt = <2400000>;
		regulator-max-microvolt = <2400000>;
		regulator-always-on;
	};
};

&ecspi3 {
	#address-cells = <1>;
	#size-cells = <0>;

	adc1: adc@0 {
		compatible = "maxim,max11108";
		reg = <0>;
		vref-supply = <&vref_adc>;
		spi-max-frequency = <20000000>;
		status = "okay";
	};
};