mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
arm64: dts: rockchip: rk3588-evb: Add dsm/spdif sound node
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Change-Id: Id6092de38839391cdf006b3d633de04699777ffe
This commit is contained in:
@@ -52,6 +52,24 @@
|
||||
};
|
||||
};
|
||||
|
||||
spdif_tx1_dc: spdif-tx1-dc {
|
||||
status = "disabled";
|
||||
compatible = "linux,spdif-dit";
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
|
||||
spdif_tx1_sound: spdif-tx1-sound {
|
||||
status = "disabled";
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,name = "rockchip,spdif-tx1";
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&spdif_tx1>;
|
||||
};
|
||||
simple-audio-card,codec {
|
||||
sound-dai = <&spdif_tx1_dc>;
|
||||
};
|
||||
};
|
||||
|
||||
test-power {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -9,6 +9,21 @@
|
||||
#include "rk806-double.dtsi"
|
||||
|
||||
/ {
|
||||
dsm_sound: dsm-sound {
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,mclk-fs = <256>;
|
||||
simple-audio-card,name = "rockchip,dsm-sound";
|
||||
simple-audio-card,bitclock-master = <&sndcodec>;
|
||||
simple-audio-card,frame-master = <&sndcodec>;
|
||||
sndcpu: simple-audio-card,cpu {
|
||||
sound-dai = <&i2s3_2ch>;
|
||||
};
|
||||
sndcodec: simple-audio-card,codec {
|
||||
sound-dai = <&acdcdig_dsm>;
|
||||
};
|
||||
};
|
||||
|
||||
pcie20_avdd0v85: pcie20-avdd0v85 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "pcie20_avdd0v85";
|
||||
@@ -57,6 +72,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
&acdcdig_dsm {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
gt1x: gt1x@14 {
|
||||
@@ -69,6 +88,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
&i2s3_2ch {
|
||||
status = "okay";
|
||||
/delete-property/ pinctrl-names;
|
||||
/delete-property/ pinctrl-0;
|
||||
};
|
||||
|
||||
&pcie2x1l0 {
|
||||
reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
|
||||
vpcie3v3-supply = <&vcc3v3_pcie30>;
|
||||
@@ -110,6 +135,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
&spdif_tx1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spdif1m0_tx>;
|
||||
};
|
||||
|
||||
&spdif_tx1_dc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spdif_tx1_sound {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -48,6 +48,24 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spdif_tx1_dc: spdif-tx1-dc {
|
||||
status = "disabled";
|
||||
compatible = "linux,spdif-dit";
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
|
||||
spdif_tx1_sound: spdif-tx1-sound {
|
||||
status = "disabled";
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,name = "rockchip,spdif-tx1";
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&spdif_tx1>;
|
||||
};
|
||||
simple-audio-card,codec {
|
||||
sound-dai = <&spdif_tx1_dc>;
|
||||
};
|
||||
};
|
||||
|
||||
vcc12v_dcin: vcc12v-dcin {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc12v_dcin";
|
||||
|
||||
@@ -302,6 +302,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
&spdif_tx1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spdif1m1_tx>;
|
||||
};
|
||||
|
||||
&spdif_tx1_dc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spdif_tx1_sound {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy2_host {
|
||||
phy-supply = <&vcc5v0_host>;
|
||||
};
|
||||
|
||||
@@ -262,6 +262,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
&spdif_tx1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spdif1m1_tx>;
|
||||
};
|
||||
|
||||
&spdif_tx1_dc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spdif_tx1_sound {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy2_host {
|
||||
phy-supply = <&vcc5v0_host>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user