# SPDX-License-Identifier: Apache-2.0 # # MAVLink v2 protocol link over a UART. # # Example: # # mavlink0: mavlink { # compatible = "misaki,mavlink"; # uart = <&usart3>; # system-id = <1>; /* this vehicle */ # component-id = <1>; /* MAV_COMP_ID_AUTOPILOT1 */ # target-system = <255>; /* ground station / broadcast */ # target-component = <0>; # status = "okay"; # }; description: | MAVLink v2 protocol link over a UART, using the vendored official MAVLink C library. The driver parses received frames and dispatches them to handlers registered through the public API. compatible: "misaki,mavlink" include: [base.yaml] properties: uart: type: phandle required: true description: UART device used for the MAVLink link. system-id: type: int default: 1 description: MAVLink system id reported/generated by this node. component-id: type: int default: 1 description: MAVLink component id (1 = MAV_COMP_ID_AUTOPILOT1). target-system: type: int default: 255 description: Default target system id (255 = broadcast). target-component: type: int default: 0 description: Default target component id (0 = broadcast).