blob: e439d4cee07b8f876c97b782d281621baec3b306 [file] [log] [blame]
/*
* Copyright (c) 2020 Phytec Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
&arduino_serial {
status = "okay";
modbus0 {
compatible = "zephyr,modbus-serial";
label = "MODBUS0";
status = "okay";
de-gpios = <&gpiob 22 GPIO_ACTIVE_LOW>; /* red LED */
re-gpios = <&gpioe 26 GPIO_ACTIVE_LOW>; /* green LED */
};
};
&uart2 {
status = "okay";
current-speed = <115200>;
modbus1 {
compatible = "zephyr,modbus-serial";
label = "MODBUS1";
status = "okay";
};
};