3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-31 15:22:18 +00:00
Brooklyn/arch/arm/boot/dts/overlays/googlevoicehat-soundcard-overlay.dts
2022-04-02 18:06:56 +05:00

50 lines
836 B
Plaintext

// Definitions for Google voiceHAT v1 soundcard overlay
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&i2s>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&gpio>;
__overlay__ {
googlevoicehat_pins: googlevoicehat_pins {
brcm,pins = <16>;
brcm,function = <1>; /* out */
brcm,pull = <0>; /* up */
};
};
};
fragment@2 {
target-path = "/";
__overlay__ {
voicehat-codec {
#sound-dai-cells = <0>;
compatible = "google,voicehat";
pinctrl-names = "default";
pinctrl-0 = <&googlevoicehat_pins>;
sdmode-gpios= <&gpio 16 0>;
status = "okay";
};
};
};
fragment@3 {
target = <&sound>;
__overlay__ {
compatible = "googlevoicehat,googlevoicehat-soundcard";
i2s-controller = <&i2s>;
status = "okay";
};
};
};