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