1# Copyright (c) 2019 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: Nordic I2S (Inter-IC sound interface)
5
6compatible: "nordic,nrf-i2s"
7
8include: [i2s-controller.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  pinctrl-0:
18    required: true
19
20  pinctrl-names:
21    required: true
22
23  clock-source:
24    type: string
25    default: "PCLK32M_HFXO"
26    description: |
27      Clock source to be used by the I2S peripheral for the master clock
28      (MCK) generator. The generator is only needed when the I2S peripheral
29      is operating in Master mode. The following options are available:
30      - "PCLK32M": 32 MHz peripheral clock, synchronous to HFCLK
31      - "PCLK32M_HFXO": PCLK32M running off the 32 MHz crystal oscillator
32        (HFXO) for better clock accuracy and jitter performance
33      - "ACLK": Audio PLL clock with configurable frequency (frequency for
34        this clock must be set via the "hfclkaudio-frequency" property
35        in the "nordic,nrf-clock" node); this clock source is only available
36        in the nRF53 Series SoCs and it requires the use of HFXO
37    enum:
38      - "PCLK32M"
39      - "PCLK32M_HFXO"
40      - "ACLK"
41