Skip to content

Instantly share code, notes, and snippets.

@amazingfate
Created March 5, 2023 09:13
Show Gist options
  • Save amazingfate/aacae8f0050586c4798912c6d85143df to your computer and use it in GitHub Desktop.
Save amazingfate/aacae8f0050586c4798912c6d85143df to your computer and use it in GitHub Desktop.
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target-path = "/";
__overlay__ {
dp0_sound: dp0-sound {
compatible = "rockchip,hdmi";
rockchip,card-name= "rockchip-dp0";
rockchip,mclk-fs = <512>;
rockchip,cpu = <&spdif_tx2>;
rockchip,codec = <&dp0 1>;
rockchip,jack-det;
};
};
};
fragment@1 {
target-path = <&dp0_sound>;
__overlay__ {
status = "disabled";
};
};
fragment@2 {
target-path = "/";
__overlay__ {
hdmi0_sound: hdmi0-sound {
compatible = "rockchip,hdmi";
rockchip,mclk-fs = <128>;
rockchip,card-name = "rockchip-hdmi0";
rockchip,cpu = <&i2s5_8ch>;
rockchip,codec = <&hdmi0>;
rockchip,jack-det;
};
};
};
fragment@3 {
target-path = <&hdmi0_sound>;
__overlay__ {
status = "disabled";
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment