Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0328d68e authored by Sugar Zhang's avatar Sugar Zhang Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: add rk3368 spdif node



This patch add the spdif dt node for rk3368 soc.

Signed-off-by: default avatarSugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 687ef7f2
Loading
Loading
Loading
Loading
+19 −0
Original line number Original line Diff line number Diff line
@@ -700,6 +700,19 @@
		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
	};
	};


	spdif: spdif@ff880000 {
		compatible = "rockchip,rk3368-spdif";
		reg = <0x0 0xff880000 0x0 0x1000>;
		interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
		clock-names = "mclk", "hclk";
		dmas = <&dmac_bus 3>;
		dma-names = "tx";
		pinctrl-names = "default";
		pinctrl-0 = <&spdif_tx>;
		status = "disabled";
	};

	i2s_2ch: i2s-2ch@ff890000 {
	i2s_2ch: i2s-2ch@ff890000 {
		compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
		compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
		reg = <0x0 0xff890000 0x0 0x1000>;
		reg = <0x0 0xff890000 0x0 0x1000>;
@@ -1024,6 +1037,12 @@
			};
			};
		};
		};


		spdif {
			spdif_tx: spdif-tx {
				rockchip,pins =	<2 RK_PC7 RK_FUNC_1 &pcfg_pull_none>;
			};
		};

		spi0 {
		spi0 {
			spi0_clk: spi0-clk {
			spi0_clk: spi0-clk {
				rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>;
				rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>;