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