arm64: dts: rockchip: add rk3328 spdif node
authorSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 27 Jul 2017 08:16:04 +0000 (16:16 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 29 Jul 2017 21:11:00 +0000 (23:11 +0200)
This patch add the spdif dt node for rk3328.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index 0fbce2622852ff99575793fdacdd1272ea16d1a8..440e6bc8c2d43451a0aa9ed4a6f9b7ece6db4b5d 100644 (file)
                clock-output-names = "xin24m";
        };
 
+       spdif: spdif@ff030000 {
+               compatible = "rockchip,rk3328-spdif";
+               reg = <0x0 0xff030000 0x0 0x1000>;
+               interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
+               clock-names = "mclk", "hclk";
+               dmas = <&dmac 10>;
+               dma-names = "tx";
+               pinctrl-names = "default";
+               pinctrl-0 = <&spdifm2_tx>;
+               status = "disabled";
+       };
+
        grf: syscon@ff100000 {
                compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
                reg = <0x0 0xff100000 0x0 0x1000>;