/* * SPDX-License-Identifier: Apache-2.0 * * Copyright (c) 2023 Benjamin Björnsson */ #include / { zephyr,user { io-channels = <&lpadc0 0>, <&lpadc0 1>; }; }; &lpadc0 { #address-cells = <1>; #size-cells = <0>; channel@0 { reg = <0>; zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_EXTERNAL0"; zephyr,acquisition-time = ; zephyr,resolution = <12>; zephyr,input-positive = ; }; channel@1 { reg = <1>; zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_EXTERNAL0"; zephyr,acquisition-time = ; zephyr,resolution = <12>; zephyr,input-positive = ; }; };