BCM2708: Add core Device Tree support
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / dionaudio-loco-overlay.dts
1 // Definitions for Dion Audio LOCO DAC-AMP
2
3 /*
4  * PCM5242 DAC (in hardware mode) and TPA3118 AMP.
5  */
6
7 /dts-v1/;
8 /plugin/;
9
10 / {
11         compatible = "brcm,bcm2835";
12
13         fragment@0 {
14                 target = <&i2s>;
15                 __overlay__ {
16                         status = "okay";
17                 };
18         };
19
20         fragment@1 {
21                 target-path = "/";
22                 __overlay__ {
23                         pcm5102a-codec {
24                                 #sound-dai-cells = <0>;
25                                 compatible = "ti,pcm5102a";
26                                 status = "okay";
27                         };
28                 };
29         };
30
31         fragment@2 {
32                 target = <&sound>;
33                 __overlay__ {
34                         compatible = "dionaudio,loco-pcm5242-tpa3118";
35                         i2s-controller = <&i2s>;
36                         status = "okay";
37                 };
38         };
39 };