Skip to content

Instantly share code, notes, and snippets.

@HiassofT
Created April 19, 2018 11:23
Show Gist options
  • Save HiassofT/5f7aec2407f854e184aecdc7d502779e to your computer and use it in GitHub Desktop.
Save HiassofT/5f7aec2407f854e184aecdc7d502779e to your computer and use it in GitHub Desktop.
/*
* Definitions for Allo Katana DAC boards
*
* NB. The Katana DAC board contains SABER DAC.
*/
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2708";
fragment@0 {
target = <&i2s>;
__overlay__ {
#sound-dai-cells = <0>;
status = "okay";
cpu_port: port {
cpu_endpoint: endpoint {
remote-endpoint = <&codec_endpoint>;
bitclock-master = <&codec_endpoint>;
frame-master = <&codec_endpoint>;
dai-format = "i2s";
};
};
};
};
fragment@1 {
target = <&i2c1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
sabre-ess@30 {
#sound-dai-cells = <0>;
compatible = "saber,sabre-ess";
reg = <0x30>;
port {
codec_endpoint: endpoint {
remote-endpoint = <&cpu_endpoint>;
};
};
};
};
};
fragment@2 {
target = <&sound>;
katana_dac: __overlay__ {
compatible = "audio-graph-card";
label = "Allo Katana";
dais = <&cpu_port>;
status = "okay";
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment