zephyr,midi2-device

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in subsys/usb/device_next/class/usbd_midi2.c.

Description

MIDI2 device

Properties

Top level properties

These property descriptions apply to “zephyr,midi2-device” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

(None)

Child node properties

Name

Type

Details

reg

array

First MIDI2 Group number (address) and number of Group Terminals (size)
in this MIDI2 Group Terminal Block.
The MIDI2 Groups 1 to 16 corresponds to address 0x0 to 0xf. There are
at most 16 addressable groups (of 16 chans each) per MIDI2 interface.

This property is required.

See Important properties for more information.

protocol

string

Default MIDI protocol of the Group Terminals in this Block.

Legal values: 'use-midi-ci', 'midi1-up-to-64b', 'midi1-up-to-128b', 'midi2'

terminal-type

string

Type (data direction) of Group Terminals in this Block.

Default value: bidirectional

Legal values: 'bidirectional', 'input-only', 'output-only'