File: imx8mm-cl-iot-gate-ied-adc1.dts

package info (click to toggle)
u-boot 2023.01%2Bdfsg-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 167,504 kB
  • sloc: ansic: 2,036,483; python: 39,879; asm: 21,501; makefile: 11,365; perl: 11,111; sh: 3,657; cpp: 1,868; yacc: 1,100; lex: 747; awk: 57; tcl: 28; sed: 24
file content (30 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (2)
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";
	};
};