]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/arm/boot/dts/overlays/allo-piano-dac-plus-pcm512x-audio-overlay.dts
Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi.
[mirror_ubuntu-zesty-kernel.git] / arch / arm / boot / dts / overlays / allo-piano-dac-plus-pcm512x-audio-overlay.dts
1 // Definitions for Piano DAC
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 = <&i2c1>;
17 __overlay__ {
18 #address-cells = <1>;
19 #size-cells = <0>;
20 status = "okay";
21
22 pcm5122_4c: pcm5122@4c {
23 #sound-dai-cells = <0>;
24 compatible = "ti,pcm5122";
25 reg = <0x4c>;
26 status = "okay";
27 };
28 pcm5122_4d: pcm5122@4d {
29 #sound-dai-cells = <0>;
30 compatible = "ti,pcm5122";
31 reg = <0x4d>;
32 status = "okay";
33 };
34 };
35 };
36
37 fragment@2 {
38 target = <&sound>;
39 piano_dac: __overlay__ {
40 compatible = "allo,piano-dac-plus";
41 audio-codec = <&pcm5122_4c &pcm5122_4d>;
42 i2s-controller = <&i2s>;
43 status = "okay";
44 };
45 };
46
47 __overrides__ {
48 24db_digital_gain =
49 <&piano_dac>,"piano,24db_digital_gain?";
50 };
51 };