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 audio-function = <AUDIO_FUNCTION_OTHER>; 16 17 uac_aclk: aclk { 18 compatible = "zephyr,uac2-clock-source"; 19 clock-type = "internal-programmable"; 20 frequency-control = "host-programmable"; 21 sampling-frequencies = <48000>; 22 }; 23 24 out_terminal: out_terminal { 25 compatible = "zephyr,uac2-input-terminal"; 26 clock-source = <&uac_aclk>; 27 terminal-type = <USB_TERMINAL_STREAMING>; 28 front-left; 29 front-right; 30 }; 31 32 headphones_output: headphones { 33 compatible = "zephyr,uac2-output-terminal"; 34 data-source = <&out_terminal>; 35 clock-source = <&uac_aclk>; 36 terminal-type = <OUTPUT_TERMINAL_HEADPHONES>; 37 }; 38 39 as_iso_out: out_interface { 40 compatible = "zephyr,uac2-audio-streaming"; 41 linked-terminal = <&out_terminal>; 42 subslot-size = <2>; 43 bit-resolution = <16>; 44 }; 45 }; 46 47 ramdisk0 { 48 compatible = "zephyr,ram-disk"; 49 disk-name = "RAM"; 50 sector-size = <512>; 51 sector-count = <1>; 52 }; 53 54 cdc_ecm_eth0: cdc_ecm_eth0 { 55 compatible = "zephyr,cdc-ecm-ethernet"; 56 remote-mac-address = "00005E005301"; 57 }; 58 59 zephyr_uhc0: uhc_vrt0 { 60 compatible = "zephyr,uhc-virtual"; 61 62 zephyr_udc0: udc_vrt0 { 63 compatible = "zephyr,udc-virtual"; 64 num-bidir-endpoints = <16>; 65 maximum-speed = "high-speed"; 66 }; 67 }; 68 69}; 70 71&zephyr_udc0 { 72 cdc_acm_uart0 { 73 compatible = "zephyr,cdc-acm-uart"; 74 }; 75}; 76