15cf934e8SBan Tao# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 25cf934e8SBan Tao%YAML 1.2 35cf934e8SBan Tao--- 45cf934e8SBan Tao$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml# 55cf934e8SBan Tao$schema: http://devicetree.org/meta-schemas/core.yaml# 65cf934e8SBan Tao 75cf934e8SBan Taotitle: Allwinner H6 DMIC 85cf934e8SBan Tao 95cf934e8SBan Taomaintainers: 105cf934e8SBan Tao - Ban Tao <fengzheng923@gmail.com> 115cf934e8SBan Tao 12*58ae9a2aSKrzysztof KozlowskiallOf: 13*58ae9a2aSKrzysztof Kozlowski - $ref: dai-common.yaml# 14*58ae9a2aSKrzysztof Kozlowski 155cf934e8SBan Taoproperties: 165cf934e8SBan Tao compatible: 17b1af5b34SSamuel Holland oneOf: 18b1af5b34SSamuel Holland - items: 19b1af5b34SSamuel Holland - enum: 20b1af5b34SSamuel Holland - allwinner,sun20i-d1-dmic 21b1af5b34SSamuel Holland - const: allwinner,sun50i-h6-dmic 22b1af5b34SSamuel Holland - const: allwinner,sun50i-h6-dmic 235cf934e8SBan Tao 245cf934e8SBan Tao "#sound-dai-cells": 255cf934e8SBan Tao const: 0 265cf934e8SBan Tao 275cf934e8SBan Tao reg: 285cf934e8SBan Tao maxItems: 1 295cf934e8SBan Tao 305cf934e8SBan Tao interrupts: 315cf934e8SBan Tao maxItems: 1 325cf934e8SBan Tao 335cf934e8SBan Tao clocks: 345cf934e8SBan Tao items: 355cf934e8SBan Tao - description: Bus Clock 365cf934e8SBan Tao - description: Module Clock 375cf934e8SBan Tao 385cf934e8SBan Tao clock-names: 395cf934e8SBan Tao items: 405cf934e8SBan Tao - const: bus 415cf934e8SBan Tao - const: mod 425cf934e8SBan Tao 435cf934e8SBan Tao dmas: 445cf934e8SBan Tao items: 455cf934e8SBan Tao - description: RX DMA Channel 465cf934e8SBan Tao 475cf934e8SBan Tao dma-names: 485cf934e8SBan Tao items: 495cf934e8SBan Tao - const: rx 505cf934e8SBan Tao 515cf934e8SBan Tao resets: 525cf934e8SBan Tao maxItems: 1 535cf934e8SBan Tao 545cf934e8SBan Taorequired: 555cf934e8SBan Tao - "#sound-dai-cells" 565cf934e8SBan Tao - compatible 575cf934e8SBan Tao - reg 585cf934e8SBan Tao - interrupts 595cf934e8SBan Tao - clocks 605cf934e8SBan Tao - clock-names 615cf934e8SBan Tao - dmas 625cf934e8SBan Tao - dma-names 635cf934e8SBan Tao - resets 645cf934e8SBan Tao 65*58ae9a2aSKrzysztof KozlowskiunevaluatedProperties: false 665cf934e8SBan Tao 675cf934e8SBan Taoexamples: 685cf934e8SBan Tao - | 695cf934e8SBan Tao #include <dt-bindings/interrupt-controller/arm-gic.h> 705cf934e8SBan Tao #include <dt-bindings/interrupt-controller/irq.h> 715cf934e8SBan Tao 725cf934e8SBan Tao #include <dt-bindings/clock/sun50i-h6-ccu.h> 735cf934e8SBan Tao #include <dt-bindings/reset/sun50i-h6-ccu.h> 745cf934e8SBan Tao 755cf934e8SBan Tao dmic: dmic@5095000 { 765cf934e8SBan Tao #sound-dai-cells = <0>; 775cf934e8SBan Tao compatible = "allwinner,sun50i-h6-dmic"; 785cf934e8SBan Tao reg = <0x05095000 0x400>; 795cf934e8SBan Tao interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 805cf934e8SBan Tao clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>; 815cf934e8SBan Tao clock-names = "bus", "mod"; 825cf934e8SBan Tao dmas = <&dma 7>; 835cf934e8SBan Tao dma-names = "rx"; 845cf934e8SBan Tao resets = <&ccu RST_BUS_DMIC>; 855cf934e8SBan Tao }; 865cf934e8SBan Tao 875cf934e8SBan Tao... 88