1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/realtek,rt5514.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: RT5514 audio CODEC 8 9maintainers: 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 11 12description: | 13 This device supports both I2C and SPI. 14 15 Pins on the device (for linking into audio routes) for I2C: 16 * DMIC1L 17 * DMIC1R 18 * DMIC2L 19 * DMIC2R 20 * AMICL 21 * AMICR 22 23allOf: 24 - $ref: /schemas/spi/spi-peripheral-props.yaml# 25 - $ref: dai-common.yaml# 26 27properties: 28 compatible: 29 const: realtek,rt5514 30 31 reg: 32 maxItems: 1 33 34 clocks: 35 items: 36 - description: Master clock to the CODEC 37 38 clock-names: 39 items: 40 - const: mclk 41 42 interrupts: 43 maxItems: 1 44 description: The interrupt number to the cpu. 45 46 realtek,dmic-init-delay-ms: 47 description: Set the DMIC initial delay (ms) to wait it ready for I2C. 48 49 spi-max-frequency: true 50 51 wakeup-source: 52 type: boolean 53 description: Flag to indicate this device can wake system (suspend/resume). 54 55required: 56 - compatible 57 - reg 58 59unevaluatedProperties: false 60 61examples: 62 - | 63 i2c { 64 #address-cells = <1>; 65 #size-cells = <0>; 66 codec@57 { 67 compatible = "realtek,rt5514"; 68 reg = <0x57>; 69 }; 70 }; 71