summaryrefslogtreecommitdiff
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2017-07-27 11:16:04 +0300
committerHeiko Stuebner <heiko@sntech.de>2017-07-30 00:11:00 +0300
commitfc982e0bc3d45650eafe4f5f8fc0bd76e48c679e (patch)
tree5d68167f27dff522b8243d4e27ee15eac26b12e8 /arch/arm64/boot
parent0328d68ea76d6e2e3e85f659a8a56defa2ba564b (diff)
downloadlinux-fc982e0bc3d45650eafe4f5f8fc0bd76e48c679e.tar.xz
arm64: dts: rockchip: add rk3328 spdif node
This patch add the spdif dt node for rk3328. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3328.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index 0fbce2622852..440e6bc8c2d4 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -156,6 +156,19 @@
clock-output-names = "xin24m";
};
+ spdif: spdif@ff030000 {
+ compatible = "rockchip,rk3328-spdif";
+ reg = <0x0 0xff030000 0x0 0x1000>;
+ interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
+ clock-names = "mclk", "hclk";
+ dmas = <&dmac 10>;
+ dma-names = "tx";
+ pinctrl-names = "default";
+ pinctrl-0 = <&spdifm2_tx>;
+ status = "disabled";
+ };
+
grf: syscon@ff100000 {
compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
reg = <0x0 0xff100000 0x0 0x1000>;