arm64: dts: rockchip: add spdif node to rk356x
authorPeter Geis <pgwipeout@gmail.com>
Fri, 15 Oct 2021 11:13:01 +0000 (13:13 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 16 Oct 2021 18:42:26 +0000 (20:42 +0200)
This adds the spdif node to the rk356x device tree.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Link: https://lore.kernel.org/r/20211015111303.1365328-1-frattaroli.nicolas@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk356x.dtsi

index b721a34..3fa444b 100644 (file)
                status = "disabled";
        };
 
+       spdif: spdif@fe460000 {
+               compatible = "rockchip,rk3568-spdif";
+               reg = <0x0 0xfe460000 0x0 0x1000>;
+               interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+               clock-names = "mclk", "hclk";
+               clocks = <&cru MCLK_SPDIF_8CH>, <&cru HCLK_SPDIF_8CH>;
+               dmas = <&dmac1 1>;
+               dma-names = "tx";
+               pinctrl-names = "default";
+               pinctrl-0 = <&spdifm0_tx>;
+               #sound-dai-cells = <0>;
+               status = "disabled";
+       };
+
        dmac0: dmac@fe530000 {
                compatible = "arm,pl330", "arm,primecell";
                reg = <0x0 0xfe530000 0x0 0x4000>;