From 31a46f178b9a46818640e65fab287b3ad101a29e Mon Sep 17 00:00:00 2001 From: Amit Daniel Kachhap Date: Mon, 30 Oct 2017 13:09:55 +0530 Subject: dts: arm64: add nodes for sound and soc_i2s Change-Id: I3e3e2a0ccba55e479072ba01fa0a8919526d5fe1 Signed-off-by: Arvind Chauhan Signed-off-by: Amit Daniel Kachhap --- arch/arm64/boot/dts/arm/juno-base.dtsi | 40 +++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index 2559e6930f5c..bb560a33c129 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi @@ -1,3 +1,4 @@ +#include /* * Devices shared by all Juno boards */ @@ -507,7 +508,7 @@ /include/ "juno-clocks.dtsi" - dma@7ff00000 { + dma0: dma@7ff00000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0x7ff00000 0 0x1000>; #dma-cells = <1>; @@ -572,9 +573,12 @@ i2c-sda-hold-time-ns = <500>; clocks = <&soc_smc50mhz>; - hdmi-transmitter@70 { + hdmi_transmitter0: hdmi-transmitter@70 { compatible = "nxp,tda998x"; reg = <0x70>; + #sound-dai-cells = <1>; + audio-ports = ; port { tda998x_0_input: tda998x-0-endpoint { remote-endpoint = <&hdlcd0_output>; @@ -582,7 +586,7 @@ }; }; - hdmi-transmitter@71 { + hdmi_transmitter1: hdmi-transmitter@71 { compatible = "nxp,tda998x"; reg = <0x71>; port { @@ -635,6 +639,36 @@ }; }; + soc_i2s: i2s@7ff90000 { + compatible = "snps,designware-i2s"; + reg = <0x0 0x7ff90000 0x0 0x1000>; + clocks = <&scmi_clk 5>, <&soc_refclk100mhz>; + clock-names = "i2sclk", "apb_pclk"; + #sound-dai-cells = <0>; + dmas = <&dma0 5>; + dma-names = "tx"; + }; + + hdmi_audio: hdmi_audio@0 { + compatible = "linux,hdmi-audio"; + #sound-dai-cells = <0>; + status = "okay"; + }; + + sound { + compatible = "simple-audio-card"; + + simple-audio-card,format = "i2s"; + + simple-audio-card,cpu { + sound-dai = <&soc_i2s>; + }; + + simple-audio-card,codec { + sound-dai = <&hdmi_transmitter0 0>; + }; + }; + smb@08000000 { compatible = "simple-bus"; #address-cells = <2>; -- cgit v1.2.3