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

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
...@@ -196,6 +196,19 @@ i2s0: i2s0@100c0000 { ...@@ -196,6 +196,19 @@ i2s0: i2s0@100c0000 {
status = "disabled"; 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 { i2s2: i2s2@100e0000 {
compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s"; compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
reg = <0x100e0000 0x4000>; reg = <0x100e0000 0x4000>;
...@@ -835,6 +848,12 @@ pwm3_pin: pwm3-pin { ...@@ -835,6 +848,12 @@ pwm3_pin: pwm3-pin {
}; };
}; };
spdif {
spdif_tx: spdif-tx {
rockchip,pins = <3 31 RK_FUNC_2 &pcfg_pull_none>;
};
};
tsadc { tsadc {
otp_gpio: otp-gpio { otp_gpio: otp-gpio {
rockchip,pins = <0 24 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 24 RK_FUNC_GPIO &pcfg_pull_none>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment