dts: rk3228: add i2s, spdif dts node
authorSugar Zhang <sugar.zhang@rock-chips.com>
Tue, 13 Oct 2015 02:25:47 +0000 (10:25 +0800)
committerSugar Zhang <sugar.zhang@rock-chips.com>
Tue, 13 Oct 2015 06:37:54 +0000 (14:37 +0800)
Change-Id: Icbec983c72b81cc584bf552522e02e9fcbc0c29c
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
arch/arm/boot/dts/rk3228.dtsi

index 1d46bcb..22463d8 100644 (file)
                        #dma-cells = <1>;
                };
        };
+
+       i2s0: i2s0@100c0000 {
+               compatible = "rockchip-i2s";
+               reg = <0x100c0000 0x1000>;
+               i2s-id = <0>;
+               clocks = <&clk_i2s0>, <&clk_gates8 7>;
+               clock-names = "i2s_clk", "i2s_hclk";
+               interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+               dmas = <&pdma 11>, <&pdma 12>;
+               #dma-cells = <2>;
+               dma-names = "tx", "rx";
+       };
+
+       i2s1: i2s1@100b0000 {
+               compatible = "rockchip-i2s";
+               reg = <0x100b0000 0x1000>;
+               i2s-id = <1>;
+               clocks = <&clk_i2s1>, <&clk_i2s1_out>, <&clk_gates8 8>;
+               clock-names = "i2s_clk", "i2s_mclk", "i2s_hclk";
+               interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+               dmas = <&pdma 14>, <&pdma 15>;
+               #dma-cells = <2>;
+               dma-names = "tx", "rx";
+               status = "disabled";
+       };
+
+       i2s2: i2s2@100e0000 {
+               compatible = "rockchip-i2s";
+               reg = <0x100e0000 0x1000>;
+               i2s-id = <2>;
+               clocks = <&clk_i2s2>, <&clk_gates8 9>;
+               clock-names = "i2s_clk", "i2s_hclk";
+               interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+               dmas = <&pdma 0>, <&pdma 1>;
+               #dma-cells = <2>;
+               dma-names = "tx", "rx";
+               status = "disabled";
+       };
+
+       spdif: spdif@100d0000 {
+               compatible = "rockchip-spdif";
+               reg = <0x100d0000 0x1000>;
+               clocks = <&clk_spdif>, <&clk_gates8 10>;
+               clock-names = "spdif_mclk", "spdif_hclk";
+               interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+               dmas = <&pdma 10>;
+               #dma-cells = <1>;
+               dma-names = "tx";
+               status = "disabled";
+       };
 };