1/* 2 * Copyright (c) 2025 Analog Devices, Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&arduino_spi { 8 status = "okay"; 9 10 adc4052_eval_ad4052_ardz: adc4052@0 { 11 reg = <0>; 12 spi-max-frequency = <DT_FREQ_M(2)>; 13 gp1-gpios = <&arduino_header 14 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>; 14 gp0-gpios = <&arduino_header 15 (GPIO_PULL_DOWN)>; 15 conversion-gpios = <&arduino_header 13 (GPIO_ACTIVE_HIGH | MAX32_GPIO_VSEL_VDDIOH)>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 #io-channel-cells = <1>; 19 status = "okay"; 20 compatible = "adi,ad405x-adc"; 21 22 channel@0 { 23 reg = <0>; 24 zephyr,gain = "ADC_GAIN_1"; 25 zephyr,reference = "ADC_REF_INTERNAL"; 26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 27 zephyr,resolution = <16>; 28 zephyr,vref-mv = <2500>; 29 }; 30 }; 31}; 32