aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Cooper <codekipper@gmail.com>2018-01-29 04:19:02 -0500
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-02-14 07:18:54 -0500
commit1c92c00908256b736e2ce52562cd3236fcf9a5e9 (patch)
treee9d484100bae1b29a7c39991fb41a595ea520f77
parentfcf7e5fe4933b99c742d5a66acd0eb96c5a7c7e8 (diff)
arm64: dts: allwinner: a64: Add DAI nodes
Add the DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index b9e69657a2e8..1b6dc31e7d91 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -421,6 +421,34 @@
421 status = "disabled"; 421 status = "disabled";
422 }; 422 };
423 423
424 i2s0: i2s@1c22000 {
425 #sound-dai-cells = <0>;
426 compatible = "allwinner,sun50i-a64-i2s",
427 "allwinner,sun8i-h3-i2s";
428 reg = <0x01c22000 0x400>;
429 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>;
431 clock-names = "apb", "mod";
432 resets = <&ccu RST_BUS_I2S0>;
433 dma-names = "rx", "tx";
434 dmas = <&dma 3>, <&dma 3>;
435 status = "disabled";
436 };
437
438 i2s1: i2s@1c22400 {
439 #sound-dai-cells = <0>;
440 compatible = "allwinner,sun50i-a64-i2s",
441 "allwinner,sun8i-h3-i2s";
442 reg = <0x01c22400 0x400>;
443 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
444 clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>;
445 clock-names = "apb", "mod";
446 resets = <&ccu RST_BUS_I2S1>;
447 dma-names = "rx", "tx";
448 dmas = <&dma 4>, <&dma 4>;
449 status = "disabled";
450 };
451
424 uart0: serial@1c28000 { 452 uart0: serial@1c28000 {
425 compatible = "snps,dw-apb-uart"; 453 compatible = "snps,dw-apb-uart";
426 reg = <0x01c28000 0x400>; 454 reg = <0x01c28000 0x400>;