Remove includes of adc dt-bindings header since these are now already included in the root .dtsi file that adds an adc node. Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
25 lines
433 B
Text
25 lines
433 B
Text
/*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>
|
|
*/
|
|
|
|
/ {
|
|
zephyr,user {
|
|
io-channels = <&adc0 15>;
|
|
};
|
|
};
|
|
|
|
&adc0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
channel@f {
|
|
reg = <15>;
|
|
zephyr,gain = "ADC_GAIN_1";
|
|
zephyr,reference = "ADC_REF_INTERNAL";
|
|
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
|
|
zephyr,resolution = <12>;
|
|
};
|
|
};
|