/* * SPDX-License-Identifier: Apache-2.0 * * Copyright (c) Benjamin Björnsson */ / { zephyr,user { /* adjust channel number according to pinmux in board.dts */ io-channels = <&adc0 5>; }; }; &adc0 { #address-cells = <1>; #size-cells = <0>; channel@5 { reg = <5>; zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,acquisition-time = ; zephyr,resolution = <12>; }; };