arm64: dts: rockchip: rk3588-vehicle-evb: add bt sound support

Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: Ic42c3e0ec7b7cef1cffee0a851aac789ad916c61
This commit is contained in:
Luo Wei
2023-05-11 16:23:03 +08:00
parent fa545e2ead
commit 39b9e26312
2 changed files with 59 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
*
*/
@@ -16,4 +16,33 @@
/ {
model = "Rockchip RK3588 VEHICLE EVB V10 Board";
compatible = "rockchip,rk3588-vehicle-evb-v10", "rockchip,rk3588";
bt-sound {
compatible = "simple-audio-card";
simple-audio-card,format = "dsp_a";
simple-audio-card,bitclock-inversion = <1>;
simple-audio-card,mclk-fs = <256>;
simple-audio-card,name = "rockchip,bt";
simple-audio-card,cpu {
sound-dai = <&i2s2_2ch>;
};
simple-audio-card,codec {
sound-dai = <&bt_sco>;
};
};
bt_sco: bt-sco {
compatible = "delta,dfbmcs320";
#sound-dai-cells = <0>;
status = "okay";
};
};
&i2s2_2ch{
pinctrl-0 = <&i2s2m0_lrck
&i2s2m0_sclk
&i2s2m0_sdi
&i2s2m0_sdo>;
status = "okay";
};

View File

@@ -16,6 +16,27 @@
model = "Rockchip RK3588 VEHICLE EVB V20 Board";
compatible = "rockchip,rk3588-vehicle-evb-v20", "rockchip,rk3588";
bt-sound {
compatible = "simple-audio-card";
simple-audio-card,format = "dsp_a";
simple-audio-card,bitclock-inversion = <1>;
simple-audio-card,mclk-fs = <256>;
simple-audio-card,name = "rockchip,bt";
simple-audio-card,cpu {
sound-dai = <&i2s2_2ch>;
};
simple-audio-card,codec {
sound-dai = <&bt_sco>;
};
};
bt_sco: bt-sco {
compatible = "delta,dfbmcs320";
#sound-dai-cells = <0>;
status = "okay";
};
nvp6188_osc: oscillator {
compatible = "fixed-clock";
#clock-cells = <1>;
@@ -56,3 +77,11 @@
};
};
};
&i2s2_2ch{
pinctrl-0 = <&i2s2m1_lrck
&i2s2m1_sclk
&i2s2m1_sdi
&i2s2m1_sdo>;
status = "okay";
};