Skip to content

Commit

Permalink
ayufan: dts: rock64: fix sound nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed May 6, 2021
1 parent b925693 commit c3625b7
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
spdif_dit: spdif-dit {
compatible = "linux,spdif-dit";
#sound-dai-cells = <0>;

port {
dit_p0_0: endpoint {
remote-endpoint = <&spdif_p0_0>;
};
};
};
};

Expand All @@ -133,6 +139,12 @@
&codec {
mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>;
status = "okay";

port@0 {
codec_p0_0: endpoint {
remote-endpoint = <&i2s1_p0_0>;
};
};
};

&cpu0 {
Expand Down Expand Up @@ -202,18 +214,6 @@
status = "okay";
};

&i2s0 {
status = "okay";

i2s0_p0: port {
i2s0_p0_0: endpoint {
dai-format = "i2s";
mclk-fs = <256>;
remote-endpoint = <&hdmi_p0_0>;
};
};
};

&i2c1 {
status = "okay";

Expand Down Expand Up @@ -339,6 +339,14 @@

&i2s1 {
status = "okay";

i2s1_p0: port {
i2s1_p0_0: endpoint {
dai-format = "i2s";
mclk-fs = <256>;
remote-endpoint = <&codec_p0_0>;
};
};
};

&io_domains {
Expand Down Expand Up @@ -391,6 +399,12 @@
&spdif {
pinctrl-0 = <&spdifm0_tx>;
status = "okay";

spdif_p0: port {
spdif_p0_0: endpoint {
remote-endpoint = <&dit_p0_0>;
};
};
};

&spi0 {
Expand Down

0 comments on commit c3625b7

Please sign in to comment.