1/*
2 * Copyright (c) 2022, Thomas Stranger
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/*
8 * Example configuration of a DS18B20 device on an Arduino serial bus.
9 * Requires external circuit to provide an open-drain interface.
10 */
11
12&arduino_serial {
13	status = "okay";
14
15	w1_0: w1-zephyr-serial-0 {
16		compatible = "zephyr,w1-serial";
17		#address-cells = <1>;
18		#size-cells = <0>;
19		status = "okay";
20
21		ds18b20 {
22			compatible = "maxim,ds18b20";
23			family-code = <0x28>;
24			resolution = <12>;
25			status = "okay";
26		};
27	};
28};
29