diff options
author | Amit Daniel Kachhap <amit.kachhap@arm.com> | 2017-10-30 13:09:55 +0530 |
---|---|---|
committer | Arvind Chauhan <arvind.chauhan@arm.com> | 2017-10-31 13:06:40 +0530 |
commit | 31a46f178b9a46818640e65fab287b3ad101a29e (patch) | |
tree | 5b195bd9d44e8f6fb629397c7eeda05d81fad7d1 | |
parent | 941d932ffd9f02da71e8565e4bd6229826e70fc7 (diff) |
dts: arm64: add nodes for sound and soc_i2s
Change-Id: I3e3e2a0ccba55e479072ba01fa0a8919526d5fe1
Signed-off-by: Arvind Chauhan <arvind.chauhan@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
-rw-r--r-- | arch/arm64/boot/dts/arm/juno-base.dtsi | 40 |
1 files 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 <dt-bindings/display/tda998x.h> /* * 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 = <TDA998x_I2S 0x03 + TDA998x_SPDIF 0x04>; 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>; |