1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2# Copyright 2020 Intel Corporation 3%YAML 1.2 4--- 5$id: http://devicetree.org/schemas/sound/intel,keembay-i2s.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: Intel KeemBay I2S Device Tree Bindings 9 10maintainers: 11 - Sia, Jee Heng <jee.heng.sia@intel.com> 12 13description: | 14 Intel KeemBay I2S 15 16properties: 17 compatible: 18 enum: 19 - intel,keembay-i2s 20 21 "#sound-dai-cells": 22 const: 0 23 24 reg: 25 items: 26 - description: I2S registers 27 - description: I2S gen configuration 28 29 reg-names: 30 items: 31 - const: i2s-regs 32 - const: i2s_gen_cfg 33 34 interrupts: 35 maxItems: 1 36 37 clocks: 38 items: 39 - description: Bus Clock 40 - description: Module Clock 41 42 clock-names: 43 items: 44 - const: osc 45 - const: apb_clk 46 47required: 48 - compatible 49 - "#sound-dai-cells" 50 - reg 51 - clocks 52 - clock-names 53 - interrupts 54 55additionalProperties: false 56 57examples: 58 - | 59 #include <dt-bindings/interrupt-controller/arm-gic.h> 60 #include <dt-bindings/interrupt-controller/irq.h> 61 #define KEEM_BAY_PSS_AUX_I2S3 62 #define KEEM_BAY_PSS_I2S3 63 i2s3: i2s@20140000 { 64 compatible = "intel,keembay-i2s"; 65 #sound-dai-cells = <0>; 66 reg = <0x20140000 0x200>, /* I2S registers */ 67 <0x202a00a4 0x4>; /* I2S gen configuration */ 68 reg-names = "i2s-regs", "i2s_gen_cfg"; 69 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 70 clock-names = "osc", "apb_clk"; 71 clocks = <&scmi_clk KEEM_BAY_PSS_AUX_I2S3>, <&scmi_clk KEEM_BAY_PSS_I2S3>; 72 }; 73