1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip SPDIF transceiver
10 The S/PDIF audio block is a stereo transceiver that allows the
11 processor to receive and transmit digital audio via a coaxial or
15 - Heiko Stuebner <heiko@sntech.de>
20 - const: rockchip,rk3066-spdif
21 - const: rockchip,rk3228-spdif
22 - const: rockchip,rk3328-spdif
23 - const: rockchip,rk3366-spdif
24 - const: rockchip,rk3368-spdif
25 - const: rockchip,rk3399-spdif
28 - rockchip,rk3188-spdif
29 - rockchip,rk3288-spdif
30 - rockchip,rk3308-spdif
31 - const: rockchip,rk3066-spdif
41 - description: clock for SPDIF bus
42 - description: clock for SPDIF controller
59 $ref: /schemas/types.yaml#/definitions/phandle
61 The phandle of the syscon node for the GRF register.
62 Required property on RK3288.
81 const: rockchip,rk3288-spdif
87 additionalProperties: false
91 #include <dt-bindings/clock/rk3188-cru.h>
92 #include <dt-bindings/interrupt-controller/arm-gic.h>
93 spdif: spdif@1011e000 {
94 compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
95 reg = <0x1011e000 0x2000>;
96 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
97 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>;
98 clock-names = "mclk", "hclk";
101 #sound-dai-cells = <0>;