Skip to content

Commit d244d6c

Browse files
knaerzchemmind
authored andcommitted
ARM: dts: rockchip: Add spdif node for RK3128
The SoC has a S/PDIF TX controller which is fully compatible with older generation Rockchip SoCs. Signed-off-by: Alex Bee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent f874271 commit d244d6c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/arm/boot/dts/rockchip/rk3128.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,20 @@
411411
status = "disabled";
412412
};
413413

414+
spdif: spdif@10204000 {
415+
compatible = "rockchip,rk3128-spdif", "rockchip,rk3066-spdif";
416+
reg = <0x10204000 0x1000>;
417+
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
418+
clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>;
419+
clock-names = "mclk", "hclk";
420+
dmas = <&pdma 13>;
421+
dma-names = "tx";
422+
pinctrl-names = "default";
423+
pinctrl-0 = <&spdif_tx>;
424+
#sound-dai-cells = <0>;
425+
status = "disabled";
426+
};
427+
414428
sdmmc: mmc@10214000 {
415429
compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
416430
reg = <0x10214000 0x4000>;

0 commit comments

Comments
 (0)