mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 19:43:33 +00:00
31 lines
517 B
Text
31 lines
517 B
Text
|
// 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";
|
||
|
};
|
||
|
};
|