blob: 3f2201e4eef4038a313a2df8495d06ea87dcf98f [file] [log] [blame]
Ying-Chun Liu (PaulLiu)e612f682021-11-05 17:13:24 +08001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2021 Linaro
4 */
5
6/dts-v1/;
7/plugin/;
8
9&{/} {
10 vref_adc: regulator-vref-adc {
11 compatible = "regulator-fixed";
12 regulator-name = "vref_adc";
13 regulator-min-microvolt = <2400000>;
14 regulator-max-microvolt = <2400000>;
15 regulator-always-on;
16 };
17};
18
19&ecspi2 {
20 #address-cells = <1>;
21 #size-cells = <0>;
22
23 adc0: adc@0 {
24 compatible = "maxim,max11108";
25 reg = <0>;
26 vref-supply = <&vref_adc>;
27 spi-max-frequency = <20000000>;
28 status = "okay";
29 };
30};