1/ { 2 mcp9700a: mcp9700a { 3 status = "okay"; 4 compatible = "microchip,mcp970x"; 5 family = "MCP9700/9700A"; 6 io-channels = <&adc 7>; 7 }; 8 9 aliases { 10 ambient-temp0 = &mcp9700a; 11 }; 12}; 13 14&adc { 15 #address-cells = <1>; 16 #size-cells = <0>; 17 18 channel@7 { 19 reg = <7>; 20 zephyr,gain = "ADC_GAIN_1_3"; 21 zephyr,reference = "ADC_REF_INTERNAL"; 22 zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS,10)>; 23 zephyr,input-positive = <NRF_SAADC_AIN7>; 24 zephyr,resolution = <12>; /* 0.055C per ADC step */ 25 zephyr,oversampling = <2>; /* x4 */ 26 }; 27}; 28