1/* 2 * SPDX-License-Identifier: Apache-2.0 3 * 4 * Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com> 5 */ 6 7/ { 8 zephyr,user { 9 io-channels = <&adc0 14>; 10 }; 11}; 12 13&adc0 { 14 #address-cells = <1>; 15 #size-cells = <0>; 16 clk-source = <0>; 17 hw-trigger-src = <4>; 18 continuous-convert; 19 high-speed; 20 periodic-trigger; 21 status = "okay"; 22 23 channel@e { 24 reg = <14>; 25 zephyr,gain = "ADC_GAIN_1"; 26 zephyr,reference = "ADC_REF_INTERNAL"; 27 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 28 zephyr,resolution = <12>; 29 }; 30}; 31 32test_counter: &pit0_channel0 { 33 status = "okay"; 34}; 35 36&edma0 { 37 dma-buf-addr-alignment = <4>; 38}; 39