xref: /linux/Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
15d814b2cSPhilipp Zabel# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25d814b2cSPhilipp Zabel# Copyright 2019 BayLibre, SAS
35d814b2cSPhilipp Zabel%YAML 1.2
45d814b2cSPhilipp Zabel---
5*a65f2cf6SRob Herring$id: http://devicetree.org/schemas/reset/amlogic,meson-axg-audio-arb.yaml#
6*a65f2cf6SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
75d814b2cSPhilipp Zabel
85d814b2cSPhilipp Zabeltitle: Amlogic audio memory arbiter controller
95d814b2cSPhilipp Zabel
105d814b2cSPhilipp Zabelmaintainers:
115d814b2cSPhilipp Zabel  - Jerome Brunet <jbrunet@baylibre.com>
125d814b2cSPhilipp Zabel
135d814b2cSPhilipp Zabeldescription: The Amlogic Audio ARB is a simple device which enables or disables
145d814b2cSPhilipp Zabel  the access of Audio FIFOs to DDR on AXG based SoC.
155d814b2cSPhilipp Zabel
165d814b2cSPhilipp Zabelproperties:
175d814b2cSPhilipp Zabel  compatible:
185d814b2cSPhilipp Zabel    enum:
195d814b2cSPhilipp Zabel      - amlogic,meson-axg-audio-arb
205d814b2cSPhilipp Zabel      - amlogic,meson-sm1-audio-arb
215d814b2cSPhilipp Zabel
225d814b2cSPhilipp Zabel  reg:
235d814b2cSPhilipp Zabel    maxItems: 1
245d814b2cSPhilipp Zabel
255d814b2cSPhilipp Zabel  clocks:
265d814b2cSPhilipp Zabel    maxItems: 1
275d814b2cSPhilipp Zabel    description: |
285d814b2cSPhilipp Zabel      phandle to the fifo peripheral clock provided by the audio clock
295d814b2cSPhilipp Zabel      controller.
305d814b2cSPhilipp Zabel
315d814b2cSPhilipp Zabel  "#reset-cells":
325d814b2cSPhilipp Zabel    const: 1
335d814b2cSPhilipp Zabel
345d814b2cSPhilipp Zabelrequired:
355d814b2cSPhilipp Zabel  - compatible
365d814b2cSPhilipp Zabel  - reg
375d814b2cSPhilipp Zabel  - clocks
385d814b2cSPhilipp Zabel  - "#reset-cells"
395d814b2cSPhilipp Zabel
405d814b2cSPhilipp ZabeladditionalProperties: false
415d814b2cSPhilipp Zabel
425d814b2cSPhilipp Zabelexamples:
435d814b2cSPhilipp Zabel  - |
445d814b2cSPhilipp Zabel    // on the A113 SoC:
455d814b2cSPhilipp Zabel    #include <dt-bindings/clock/axg-audio-clkc.h>
465d814b2cSPhilipp Zabel    bus {
475d814b2cSPhilipp Zabel        #address-cells = <2>;
485d814b2cSPhilipp Zabel        #size-cells = <2>;
495d814b2cSPhilipp Zabel
505d814b2cSPhilipp Zabel        arb: reset-controller@280 {
515d814b2cSPhilipp Zabel            compatible = "amlogic,meson-axg-audio-arb";
525d814b2cSPhilipp Zabel            reg = <0x0 0x280 0x0 0x4>;
535d814b2cSPhilipp Zabel            #reset-cells = <1>;
545d814b2cSPhilipp Zabel            clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
555d814b2cSPhilipp Zabel        };
565d814b2cSPhilipp Zabel    };
57