summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2024-01-28 00:32:47 +0800
committerJernej Skrabec <jernej.skrabec@gmail.com>2024-02-23 21:04:01 +0100
commitfe5128a11f9b5c41a0d8ab8c30c93814a9d47cd6 (patch)
treea8627c1efcb10ffb1ecc7bd61ac488adc4e7b831 /arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
parent238f65fc31f79fe0dcfbb43288304ee86bcbcc65 (diff)
downloadlinux-fe5128a11f9b5c41a0d8ab8c30c93814a9d47cd6.tar.gz
linux-fe5128a11f9b5c41a0d8ab8c30c93814a9d47cd6.tar.bz2
linux-fe5128a11f9b5c41a0d8ab8c30c93814a9d47cd6.zip
arm64: dts: allwinner: h616: Add SPDIF device node
The H616 SoC has an SPDIF transmitter hardware block, which has the same layout as the one in the H6, minus the receiver side. Add a device node for it, and a default pinmux. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20240127163247.384439-8-wens@kernel.org Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
index 885809137b9d..b1bf4fb5fc58 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
@@ -253,6 +253,11 @@
function = "spi1";
};
+ spdif_tx_pin: spdif-tx-pin {
+ pins = "PH4";
+ function = "spdif";
+ };
+
uart0_ph_pins: uart0-ph-pins {
pins = "PH0", "PH1";
function = "uart0";
@@ -550,6 +555,21 @@
};
};
+ spdif: spdif@5093000 {
+ compatible = "allwinner,sun50i-h616-spdif";
+ reg = <0x05093000 0x400>;
+ interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
+ clock-names = "apb", "spdif";
+ resets = <&ccu RST_BUS_SPDIF>;
+ dmas = <&dma 2>;
+ dma-names = "tx";
+ pinctrl-names = "default";
+ pinctrl-0 = <&spdif_tx_pin>;
+ #sound-dai-cells = <0>;
+ status = "disabled";
+ };
+
usbotg: usb@5100000 {
compatible = "allwinner,sun50i-h616-musb",
"allwinner,sun8i-h3-musb";