71 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/realtek,rt5514.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: RT5514 audio CODEC8 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 * DMIC1L17 * DMIC1R18 * DMIC2L19 * DMIC2R20 * AMICL21 * AMICR22 23allOf:24 - $ref: /schemas/spi/spi-peripheral-props.yaml#25 - $ref: dai-common.yaml#26 27properties:28 compatible:29 const: realtek,rt551430 31 reg:32 maxItems: 133 34 clocks:35 items:36 - description: Master clock to the CODEC37 38 clock-names:39 items:40 - const: mclk41 42 interrupts:43 maxItems: 144 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: true50 51 wakeup-source:52 type: boolean53 description: Flag to indicate this device can wake system (suspend/resume).54 55required:56 - compatible57 - reg58 59unevaluatedProperties: false60 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