From: Sugar Zhang Date: Fri, 12 May 2017 09:17:04 +0000 (+0800) Subject: ARM: dts: rk322x: add spdif node X-Git-Tag: release-20171130_firefly~4^2~580 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f35cb4ad31f7dbb2af5f8807ed7c23a4f678b856;p=firefly-linux-kernel-4.4.55.git ARM: dts: rk322x: add spdif node Change-Id: Id8ccff720d3e42e0df8fa8fd5007127fa9af2147 Signed-off-by: Sugar Zhang --- diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index d2fd2358b370..80569fc8fb09 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -197,6 +197,20 @@ status = "disabled"; }; + spdif: spdif@100d0000 { + compatible = "rockchip,rk3228-spdif"; + reg = <0x100d0000 0x1000>; + interrupts = ; + clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>; + clock-names = "mclk", "hclk"; + dmas = <&pdma 10>; + #dma-cells = <1>; + 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>; @@ -930,6 +944,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>;