1/* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <dt-bindings/usb/audio.h> 8 9/ { 10 uac2_headphones: usb_audio2 { 11 compatible = "zephyr,uac2"; 12 status = "okay"; 13 full-speed; 14 audio-function = <AUDIO_FUNCTION_OTHER>; 15 16 uac_aclk: aclk { 17 compatible = "zephyr,uac2-clock-source"; 18 clock-type = "internal-programmable"; 19 frequency-control = "host-programmable"; 20 sampling-frequencies = <48000>; 21 }; 22 23 out_terminal: out_terminal { 24 compatible = "zephyr,uac2-input-terminal"; 25 clock-source = <&uac_aclk>; 26 terminal-type = <USB_TERMINAL_STREAMING>; 27 front-left; 28 front-right; 29 }; 30 31 headphones_output: headphones { 32 compatible = "zephyr,uac2-output-terminal"; 33 data-source = <&out_terminal>; 34 clock-source = <&uac_aclk>; 35 terminal-type = <OUTPUT_TERMINAL_HEADPHONES>; 36 }; 37 38 as_iso_out: out_interface { 39 compatible = "zephyr,uac2-audio-streaming"; 40 linked-terminal = <&out_terminal>; 41 subslot-size = <2>; 42 bit-resolution = <16>; 43 }; 44 }; 45}; 46