1/*
2 * Copyright (c) 2020 Phytec Messtechnik GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&arduino_serial {
8	status = "okay";
9
10	modbus0 {
11		compatible = "zephyr,modbus-serial";
12		status = "okay";
13		de-gpios = <&gpiob 22 GPIO_ACTIVE_LOW>;	/* red LED */
14		re-gpios = <&gpioe 26 GPIO_ACTIVE_LOW>;	/* green LED */
15	};
16};
17
18&uart2 {
19	status = "okay";
20	current-speed = <115200>;
21
22	modbus1 {
23		compatible = "zephyr,modbus-serial";
24		status = "okay";
25	};
26};
27