mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 01:17:39 +00:00
7efe195096
Distinguish more clearly between source files meant for producing .dtb from those meant for producing .dtbo. No functional change, as we currently have rules for producing a foo.dtbo from either foo.dts or foo.dtso. Note that in the linux tree, all device tree overlay sources have been renamed to .dtso, and the .dts->.dtbo rule is gone since v6.5 (commit 81d362732bac). So this is also a step towards staying closer to linux with respect to both Kbuild and device tree sources. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
30 lines
517 B
Text
30 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;
|
|
};
|
|
};
|
|
|
|
&ecspi2 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
adc0: adc@0 {
|
|
compatible = "maxim,max11108";
|
|
reg = <0>;
|
|
vref-supply = <&vref_adc>;
|
|
spi-max-frequency = <20000000>;
|
|
status = "okay";
|
|
};
|
|
};
|