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

Commit 4b456d20 authored by Sugar Zhang's avatar Sugar Zhang Committed by Heiko Stuebner
Browse files

ARM: dts: rockchip: add rk322x spdif node



This patch add spdif node for rk322x.

Signed-off-by: default avatarSugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 3373c59b
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -196,6 +196,19 @@
		status = "disabled";
	};

	spdif: spdif@100d0000 {
		compatible = "rockchip,rk3228-spdif";
		reg = <0x100d0000 0x1000>;
		interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
		clock-names = "mclk", "hclk";
		dmas = <&pdma 10>;
		dma-names = "tx";
		pinctrl-names = "default";
		pinctrl-0 = <&spdif_tx>;
		status = "disabled";
	};

	i2s2: i2s2@100e0000 {
		compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
		reg = <0x100e0000 0x4000>;
@@ -835,6 +848,12 @@
			};
		};

		spdif {
			spdif_tx: spdif-tx {
				rockchip,pins = <3 31 RK_FUNC_2 &pcfg_pull_none>;
			};
		};

		tsadc {
			otp_gpio: otp-gpio {
				rockchip,pins = <0 24 RK_FUNC_GPIO &pcfg_pull_none>;