mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From a65e6523e6dcf1dc4ea167ab78ca6fad01f16d91 Mon Sep 17 00:00:00 2001
|
|
From: Peter Geis <pgwipeout@gmail.com>
|
|
Date: Fri, 15 Oct 2021 13:13:01 +0200
|
|
Subject: [PATCH] arm64: dts: rockchip: add spdif node to rk356x
|
|
|
|
This adds the spdif node to the rk356x device tree.
|
|
|
|
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
|
|
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
|
|
Link: https://lore.kernel.org/r/20211015111303.1365328-1-frattaroli.nicolas@gmail.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 14 ++++++++++++++
|
|
1 file changed, 14 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
@@ -608,6 +608,20 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ spdif: spdif@fe460000 {
|
|
+ compatible = "rockchip,rk3568-spdif";
|
|
+ reg = <0x0 0xfe460000 0x0 0x1000>;
|
|
+ interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clock-names = "mclk", "hclk";
|
|
+ clocks = <&cru MCLK_SPDIF_8CH>, <&cru HCLK_SPDIF_8CH>;
|
|
+ dmas = <&dmac1 1>;
|
|
+ dma-names = "tx";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spdifm0_tx>;
|
|
+ #sound-dai-cells = <0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
dmac0: dmac@fe530000 {
|
|
compatible = "arm,pl330", "arm,primecell";
|
|
reg = <0x0 0xfe530000 0x0 0x4000>;
|