zephyr/tests/drivers/build_all/sensor/adc.dtsi

35 lines
713 B
Text
Raw Normal View History

/*
* Copyright (c) 2023 FTP Technologies
* Copyright (c) 2023, Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*
* Application overlay for ADC devices
*/
test_adc_mcp9700a: mcp9700a {
status = "okay";
compatible = "microchip,mcp970x";
family = "MCP9700/9700A";
io-channels = <&test_adc 0>;
};
test_adc_emul: adc {
compatible = "zephyr,adc-emul";
nchannels = <2>;
ref-internal-mv = <3300>;
ref-external1-mv = <5000>;
#io-channel-cells = <1>;
status = "okay";
};
test_epcos_b57861s0103a039: epcos-b57861s0103a039 {
compatible = "epcos,b57861s0103a039";
io-channels = <&adc0 0>;
r25-ohm = <10000>;
pullup-uv = <3300000>;
pullup-ohm = <0>;
pulldown-ohm = <10000>;
connected-positive;
};