xref: /linux/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
1dab18d3bSKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2dab18d3bSKrzysztof Kozlowski%YAML 1.2
3dab18d3bSKrzysztof Kozlowski---
4dab18d3bSKrzysztof Kozlowski$id: http://devicetree.org/schemas/mfd/samsung,exynos5433-lpass.yaml#
5dab18d3bSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6dab18d3bSKrzysztof Kozlowski
7dab18d3bSKrzysztof Kozlowskititle: Samsung Exynos SoC Low Power Audio Subsystem (LPASS)
8dab18d3bSKrzysztof Kozlowski
9dab18d3bSKrzysztof Kozlowskimaintainers:
108a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
11dab18d3bSKrzysztof Kozlowski  - Sylwester Nawrocki <s.nawrocki@samsung.com>
12dab18d3bSKrzysztof Kozlowski
13dab18d3bSKrzysztof Kozlowskiproperties:
14dab18d3bSKrzysztof Kozlowski  compatible:
15dab18d3bSKrzysztof Kozlowski    const: samsung,exynos5433-lpass
16dab18d3bSKrzysztof Kozlowski
17dab18d3bSKrzysztof Kozlowski  '#address-cells':
18dab18d3bSKrzysztof Kozlowski    const: 1
19dab18d3bSKrzysztof Kozlowski
20dab18d3bSKrzysztof Kozlowski  clocks:
21dab18d3bSKrzysztof Kozlowski    maxItems: 1
22dab18d3bSKrzysztof Kozlowski
23dab18d3bSKrzysztof Kozlowski  clock-names:
24dab18d3bSKrzysztof Kozlowski    items:
25dab18d3bSKrzysztof Kozlowski      - const: sfr0_ctrl
26dab18d3bSKrzysztof Kozlowski
27dab18d3bSKrzysztof Kozlowski  power-domains:
28dab18d3bSKrzysztof Kozlowski    maxItems: 1
29dab18d3bSKrzysztof Kozlowski
30dab18d3bSKrzysztof Kozlowski  ranges: true
31dab18d3bSKrzysztof Kozlowski
32dab18d3bSKrzysztof Kozlowski  reg:
33dab18d3bSKrzysztof Kozlowski    minItems: 2
34dab18d3bSKrzysztof Kozlowski    maxItems: 2
35dab18d3bSKrzysztof Kozlowski
36dab18d3bSKrzysztof Kozlowski  '#size-cells':
37dab18d3bSKrzysztof Kozlowski    const: 1
38dab18d3bSKrzysztof Kozlowski
39dab18d3bSKrzysztof KozlowskipatternProperties:
40dab18d3bSKrzysztof Kozlowski  "^dma-controller@[0-9a-f]+$":
41dab18d3bSKrzysztof Kozlowski    $ref: /schemas/dma/arm,pl330.yaml
42dab18d3bSKrzysztof Kozlowski
43dab18d3bSKrzysztof Kozlowski  "^i2s@[0-9a-f]+$":
44dab18d3bSKrzysztof Kozlowski    $ref: /schemas/sound/samsung-i2s.yaml
45dab18d3bSKrzysztof Kozlowski
46dab18d3bSKrzysztof Kozlowski  "^serial@[0-9a-f]+$":
47dab18d3bSKrzysztof Kozlowski    $ref: /schemas/serial/samsung_uart.yaml
48dab18d3bSKrzysztof Kozlowski
49dab18d3bSKrzysztof Kozlowskirequired:
50dab18d3bSKrzysztof Kozlowski  - compatible
51dab18d3bSKrzysztof Kozlowski  - '#address-cells'
52dab18d3bSKrzysztof Kozlowski  - clocks
53dab18d3bSKrzysztof Kozlowski  - clock-names
54dab18d3bSKrzysztof Kozlowski  - ranges
55dab18d3bSKrzysztof Kozlowski  - reg
56dab18d3bSKrzysztof Kozlowski  - '#size-cells'
57dab18d3bSKrzysztof Kozlowski
58dab18d3bSKrzysztof KozlowskiadditionalProperties: false
59dab18d3bSKrzysztof Kozlowski
60dab18d3bSKrzysztof Kozlowskiexamples:
61dab18d3bSKrzysztof Kozlowski  - |
62dab18d3bSKrzysztof Kozlowski    #include <dt-bindings/clock/exynos5433.h>
63dab18d3bSKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/arm-gic.h>
64dab18d3bSKrzysztof Kozlowski
65dab18d3bSKrzysztof Kozlowski    audio-subsystem@11400000 {
66dab18d3bSKrzysztof Kozlowski        compatible = "samsung,exynos5433-lpass";
67dab18d3bSKrzysztof Kozlowski        reg = <0x11400000 0x100>, <0x11500000 0x08>;
68dab18d3bSKrzysztof Kozlowski        clocks = <&cmu_aud CLK_PCLK_SFR0_CTRL>;
69dab18d3bSKrzysztof Kozlowski        clock-names = "sfr0_ctrl";
70dab18d3bSKrzysztof Kozlowski        power-domains = <&pd_aud>;
71dab18d3bSKrzysztof Kozlowski        #address-cells = <1>;
72dab18d3bSKrzysztof Kozlowski        #size-cells = <1>;
73dab18d3bSKrzysztof Kozlowski        ranges;
74dab18d3bSKrzysztof Kozlowski
75dab18d3bSKrzysztof Kozlowski        dma-controller@11420000 {
76dab18d3bSKrzysztof Kozlowski            compatible = "arm,pl330", "arm,primecell";
77dab18d3bSKrzysztof Kozlowski            reg = <0x11420000 0x1000>;
78dab18d3bSKrzysztof Kozlowski            interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
79dab18d3bSKrzysztof Kozlowski            clocks = <&cmu_aud CLK_ACLK_DMAC>;
80dab18d3bSKrzysztof Kozlowski            clock-names = "apb_pclk";
81dab18d3bSKrzysztof Kozlowski            #dma-cells = <1>;
82380422adSKrzysztof Kozlowski            dma-channels = <8>;
83380422adSKrzysztof Kozlowski            dma-requests = <32>;
84dab18d3bSKrzysztof Kozlowski            power-domains = <&pd_aud>;
85dab18d3bSKrzysztof Kozlowski        };
86dab18d3bSKrzysztof Kozlowski
87dab18d3bSKrzysztof Kozlowski        i2s@11440000 {
88*cb931ee5SKrzysztof Kozlowski            compatible = "samsung,exynos5433-i2s", "samsung,exynos7-i2s";
89dab18d3bSKrzysztof Kozlowski            reg = <0x11440000 0x100>;
90dab18d3bSKrzysztof Kozlowski            dmas = <&adma 0>, <&adma 2>;
91dab18d3bSKrzysztof Kozlowski            dma-names = "tx", "rx";
92dab18d3bSKrzysztof Kozlowski            interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
93dab18d3bSKrzysztof Kozlowski            #address-cells = <1>;
94dab18d3bSKrzysztof Kozlowski            #size-cells = <0>;
95dab18d3bSKrzysztof Kozlowski            clocks = <&cmu_aud CLK_PCLK_AUD_I2S>,
96dab18d3bSKrzysztof Kozlowski                     <&cmu_aud CLK_SCLK_AUD_I2S>,
97dab18d3bSKrzysztof Kozlowski                     <&cmu_aud CLK_SCLK_I2S_BCLK>;
98dab18d3bSKrzysztof Kozlowski            clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
99dab18d3bSKrzysztof Kozlowski            #clock-cells = <1>;
100dab18d3bSKrzysztof Kozlowski            pinctrl-names = "default";
101dab18d3bSKrzysztof Kozlowski            pinctrl-0 = <&i2s0_bus>;
102dab18d3bSKrzysztof Kozlowski            power-domains = <&pd_aud>;
103dab18d3bSKrzysztof Kozlowski            #sound-dai-cells = <1>;
104dab18d3bSKrzysztof Kozlowski        };
105dab18d3bSKrzysztof Kozlowski
106dab18d3bSKrzysztof Kozlowski        serial@11460000 {
107dab18d3bSKrzysztof Kozlowski            compatible = "samsung,exynos5433-uart";
108dab18d3bSKrzysztof Kozlowski            reg = <0x11460000 0x100>;
109dab18d3bSKrzysztof Kozlowski            interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
110dab18d3bSKrzysztof Kozlowski            clocks = <&cmu_aud CLK_PCLK_AUD_UART>,
111dab18d3bSKrzysztof Kozlowski                     <&cmu_aud CLK_SCLK_AUD_UART>;
112dab18d3bSKrzysztof Kozlowski            clock-names = "uart", "clk_uart_baud0";
113dab18d3bSKrzysztof Kozlowski            pinctrl-names = "default";
114dab18d3bSKrzysztof Kozlowski            pinctrl-0 = <&uart_aud_bus>;
115dab18d3bSKrzysztof Kozlowski            power-domains = <&pd_aud>;
116dab18d3bSKrzysztof Kozlowski        };
117dab18d3bSKrzysztof Kozlowski    };
118