Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,7 @@ Activates waveshare 3.5inch lcd(C) on ROCK Pi S V1.2
#### rockpis-dmic-8ch-pdm

Activates dmic on ROCK PI S V1.2

#### rockpis-spdif-out

Activates spdif-out on GPIO0_C1
37 changes: 37 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/rockpis-spdif-out.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/dts-v1/;
/plugin/;

/ {
compatible = "radxa,rockpis", "rockchip,rk3308";

fragment@0 {
target-path = "/";
__overlay__ {
acodec: acodec {
#sound-dai-cells = <0>;
compatible = "rockchip,rk3308-codec";
status = "okay";
};
};
};

fragment@1 {
target = <&spdif_tx>;
__overlay__ {
status = "okay";
};
};

fragment@2 {
target-path = "/";
__overlay__ {
acodec-sound {
compatible = "rockchip,multicodecs-card";
rockchip,card-name = "spdif-out";
rockchip,mclk-fs = <256>;
rockchip,cpu = <&spdif_tx>;
rockchip,codec = <&acodec>;
};
};
};
};