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