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 125cf934e8SBan Taoproperties: 135cf934e8SBan Tao compatible: 14*b1af5b34SSamuel Holland oneOf: 15*b1af5b34SSamuel Holland - items: 16*b1af5b34SSamuel Holland - enum: 17*b1af5b34SSamuel Holland - allwinner,sun20i-d1-dmic 18*b1af5b34SSamuel Holland - const: allwinner,sun50i-h6-dmic 19*b1af5b34SSamuel Holland - const: allwinner,sun50i-h6-dmic 205cf934e8SBan Tao 215cf934e8SBan Tao "#sound-dai-cells": 225cf934e8SBan Tao const: 0 235cf934e8SBan Tao 245cf934e8SBan Tao reg: 255cf934e8SBan Tao maxItems: 1 265cf934e8SBan Tao 275cf934e8SBan Tao interrupts: 285cf934e8SBan Tao maxItems: 1 295cf934e8SBan Tao 305cf934e8SBan Tao clocks: 315cf934e8SBan Tao items: 325cf934e8SBan Tao - description: Bus Clock 335cf934e8SBan Tao - description: Module Clock 345cf934e8SBan Tao 355cf934e8SBan Tao clock-names: 365cf934e8SBan Tao items: 375cf934e8SBan Tao - const: bus 385cf934e8SBan Tao - const: mod 395cf934e8SBan Tao 405cf934e8SBan Tao dmas: 415cf934e8SBan Tao items: 425cf934e8SBan Tao - description: RX DMA Channel 435cf934e8SBan Tao 445cf934e8SBan Tao dma-names: 455cf934e8SBan Tao items: 465cf934e8SBan Tao - const: rx 475cf934e8SBan Tao 485cf934e8SBan Tao resets: 495cf934e8SBan Tao maxItems: 1 505cf934e8SBan Tao 515cf934e8SBan Taorequired: 525cf934e8SBan Tao - "#sound-dai-cells" 535cf934e8SBan Tao - compatible 545cf934e8SBan Tao - reg 555cf934e8SBan Tao - interrupts 565cf934e8SBan Tao - clocks 575cf934e8SBan Tao - clock-names 585cf934e8SBan Tao - dmas 595cf934e8SBan Tao - dma-names 605cf934e8SBan Tao - resets 615cf934e8SBan Tao 625cf934e8SBan TaoadditionalProperties: false 635cf934e8SBan Tao 645cf934e8SBan Taoexamples: 655cf934e8SBan Tao - | 665cf934e8SBan Tao #include <dt-bindings/interrupt-controller/arm-gic.h> 675cf934e8SBan Tao #include <dt-bindings/interrupt-controller/irq.h> 685cf934e8SBan Tao 695cf934e8SBan Tao #include <dt-bindings/clock/sun50i-h6-ccu.h> 705cf934e8SBan Tao #include <dt-bindings/reset/sun50i-h6-ccu.h> 715cf934e8SBan Tao 725cf934e8SBan Tao dmic: dmic@5095000 { 735cf934e8SBan Tao #sound-dai-cells = <0>; 745cf934e8SBan Tao compatible = "allwinner,sun50i-h6-dmic"; 755cf934e8SBan Tao reg = <0x05095000 0x400>; 765cf934e8SBan Tao interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 775cf934e8SBan Tao clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>; 785cf934e8SBan Tao clock-names = "bus", "mod"; 795cf934e8SBan Tao dmas = <&dma 7>; 805cf934e8SBan Tao dma-names = "rx"; 815cf934e8SBan Tao resets = <&ccu RST_BUS_DMIC>; 825cf934e8SBan Tao }; 835cf934e8SBan Tao 845cf934e8SBan Tao... 85