Add a interface-name string for the CDC-ACM node, this allow setting a
string that is then set as iInterface, which can then be used downstream
in an udev rule such as:
SUBSYSTEM=="tty", ACTION=="add",
ATTRS{interface}=="my interface descriptor",
SYMLINK+="tty-my-device"
To create known aliases for these ports.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
13 lines
206 B
Plaintext
13 lines
206 B
Plaintext
/*
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&zephyr_udc0 {
|
|
cdc_acm_uart0 {
|
|
compatible = "zephyr,cdc-acm-uart";
|
|
label = "Zephyr USB CDC-ACM";
|
|
};
|
|
};
|