From 398dc60dc59f499cf2d19d18a8a1a382ed733100 Mon Sep 17 00:00:00 2001 From: Sugar Zhang Date: Fri, 7 Apr 2017 11:35:57 +0800 Subject: [PATCH] ARM64: dts: rk3328-evb: add support for internal codec sound Change-Id: I8b1705f592d42e2f1d351ce5a7880993f7757b94 Signed-off-by: Sugar Zhang --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts index 94ece6e44ba2..c576bba9c4b0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts @@ -100,6 +100,28 @@ status = "okay"; }; + sound { + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,mclk-fs = <256>; + simple-audio-card,name = "rockchip,rk3328"; + simple-audio-card,cpu { + sound-dai = <&i2s1>; + }; + simple-audio-card,codec { + sound-dai = <&codec>; + }; + }; +}; + +&i2s1 { + #sound-dai-cells = <0>; + status = "okay"; +}; + +&codec { + #sound-dai-cells = <0>; + status = "okay"; }; &cpu0 { -- 2.34.1