1/* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/delete-node/ &zephyr_udc0; 8 9#include <dt-bindings/usb/audio.h> 10 11/ { 12 uac2_headphones: usb_audio2 { 13 compatible = "zephyr,uac2"; 14 status = "okay"; 15 full-speed; 16 audio-function = <AUDIO_FUNCTION_OTHER>; 17 18 uac_aclk: aclk { 19 compatible = "zephyr,uac2-clock-source"; 20 clock-type = "internal-programmable"; 21 frequency-control = "host-programmable"; 22 sampling-frequencies = <48000>; 23 }; 24 25 out_terminal: out_terminal { 26 compatible = "zephyr,uac2-input-terminal"; 27 clock-source = <&uac_aclk>; 28 terminal-type = <USB_TERMINAL_STREAMING>; 29 front-left; 30 front-right; 31 }; 32 33 headphones_output: headphones { 34 compatible = "zephyr,uac2-output-terminal"; 35 data-source = <&out_terminal>; 36 clock-source = <&uac_aclk>; 37 terminal-type = <OUTPUT_TERMINAL_HEADPHONES>; 38 }; 39 40 as_iso_out: out_interface { 41 compatible = "zephyr,uac2-audio-streaming"; 42 linked-terminal = <&out_terminal>; 43 subslot-size = <2>; 44 bit-resolution = <16>; 45 }; 46 }; 47 48 ramdisk0 { 49 compatible = "zephyr,ram-disk"; 50 disk-name = "RAM"; 51 sector-size = <512>; 52 sector-count = <1>; 53 }; 54 55 cdc_ecm_eth0: cdc_ecm_eth0 { 56 compatible = "zephyr,cdc-ecm-ethernet"; 57 remote-mac-address = "00005E005301"; 58 }; 59 60 zephyr_uhc0: uhc_vrt0 { 61 compatible = "zephyr,uhc-virtual"; 62 63 zephyr_udc0: udc_vrt0 { 64 compatible = "zephyr,udc-virtual"; 65 num-bidir-endpoints = <16>; 66 maximum-speed = "high-speed"; 67 }; 68 }; 69 70}; 71 72&zephyr_udc0 { 73 cdc_acm_uart0 { 74 compatible = "zephyr,cdc-acm-uart"; 75 }; 76}; 77