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 * Open drain configuration allows communication by simply connecting the bus
10 * line to:
11 * a) the UART RX pin as well as the TX pin.
12 * b) the UART TX pin only, while the single wire half-duplex mode is enabled.
13 * An external pull-up should be added anyways.
14 */
15
16#include "serial_overlay.dtsi"
17
18&usart1_tx_pc4 {
19	drive-open-drain;
20	bias-pull-up;
21};
22