Loongson-2K1000 I2S controller
Schema identifier ($id): "http://devicetree.org/schemas/sound/loongson,ls2k1000-i2s.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Binbin Zhou <zhoubinbin@loongson.cn>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "loongson,ls2k1000-i2s"
reg — required here #
Array item rules (items) #
Item 1
Loongson I2S controller Registers.
Item 2
APB DMA config register for Loongson I2S controller.
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
dmas — required here #
Maximum number of items (maxItems): 2
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
#sound-dai-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "dmas", "dma-names", "#sound-dai-cells"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/loongson,ls2k-clk.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2s@1fe2d000 {
compatible = "loongson,ls2k1000-i2s";
reg = <0x1fe2d000 0x14>,
<0x1fe00438 0x8>;
interrupt-parent = <&liointc0>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk LOONGSON2_APB_CLK>;
dmas = <&apbdma2 0>, <&apbdma3 0>;
dma-names = "tx", "rx";
#sound-dai-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)