Skip to content

Instantly share code, notes, and snippets.

@yannick
Created May 25, 2024 17:33
Show Gist options
  • Save yannick/863aa86cbd387251074eca5bcd621e90 to your computer and use it in GitHub Desktop.
Save yannick/863aa86cbd387251074eca5bcd621e90 to your computer and use it in GitHub Desktop.
/dts-v1/;
/plugin/;
/ {
metadata {
title = "Enable hifiberry";
category = "misc";
compatible = "radxa,zero3";
description = "enable hifiberry";
};
fragment@0 {
target-path ="/sound-simple-card";
__overlay__ {
status = "disabled";
};
};
fragment@1 {
target = <&i2c1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
wm8804@3b {
#sound-dai-cells = <0>;
compatible = "wlf,wm8804";
reg = <0x3b>;
PVDD-supply = <&vdd_3v3_reg>;
DVDD-supply = <&vdd_3v3_reg>;
status = "okay";
};
};
};
fragment@2 {
target-path = "/sound-ext-card";
__overlay__ {
compatible = "hifiberry,hifiberry-digi";
i2s-controller = <&i2s>;
status = "okay";
};
};
fragment@3 {
target = <&hdmi>;
__overlay__ {
hdmi-i2s-audio-disable;
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment