]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm/boot/dts/overlays/googlevoicehat-soundcard-overlay.dts
BCM2708: Add core Device Tree support
[mirror_ubuntu-artful-kernel.git] / arch / arm / boot / dts / overlays / googlevoicehat-soundcard-overlay.dts
1 // Definitions for Google voiceHAT v1 soundcard overlay
2 /dts-v1/;
3 /plugin/;
4
5 / {
6 compatible = "brcm,bcm2708";
7
8 fragment@0 {
9 target = <&i2s>;
10 __overlay__ {
11 status = "okay";
12 };
13 };
14
15 fragment@1 {
16 target = <&gpio>;
17 __overlay__ {
18 googlevoicehat_pins: googlevoicehat_pins {
19 brcm,pins = <16>;
20 brcm,function = <1>; /* out */
21 brcm,pull = <0>; /* up */
22 };
23 };
24 };
25
26
27 fragment@2 {
28 target-path = "/";
29 __overlay__ {
30 voicehat-codec {
31 #sound-dai-cells = <0>;
32 compatible = "google,voicehat";
33 pinctrl-names = "default";
34 pinctrl-0 = <&googlevoicehat_pins>;
35 sdmode-gpios= <&gpio 16 0>;
36 status = "okay";
37 };
38 };
39 };
40
41 fragment@3 {
42 target = <&sound>;
43 __overlay__ {
44 compatible = "googlevoicehat,googlevoicehat-soundcard";
45 i2s-controller = <&i2s>;
46 status = "okay";
47 };
48 };
49 };