Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / justboom-both-overlay.dts
1 // SPDX-License-Identifier: GPL-2.0
2 // Definitions for JustBoom Both (Digi+DAC)
3 /dts-v1/;
4 /plugin/;
5
6 / {
7         compatible = "brcm,bcm2835";
8
9         fragment@0 {
10                 target = <&i2s>;
11                 __overlay__ {
12                         status = "okay";
13                 };
14         };
15
16         fragment@1 {
17                 target = <&i2c1>;
18                 __overlay__ {
19                         #address-cells = <1>;
20                         #size-cells = <0>;
21                         status = "okay";
22
23                         wm8804@3b {
24                                 #sound-dai-cells = <0>;
25                                 compatible = "wlf,wm8804";
26                                 reg = <0x3b>;
27                                 PVDD-supply = <&vdd_3v3_reg>;
28                                 DVDD-supply = <&vdd_3v3_reg>;
29                                 status = "okay";
30                         };
31                 };
32         };
33
34         fragment@2 {
35                 target = <&i2c1>;
36                 __overlay__ {
37                         #address-cells = <1>;
38                         #size-cells = <0>;
39                         status = "okay";
40
41                         pcm5122@4d {
42                                 #sound-dai-cells = <0>;
43                                 compatible = "ti,pcm5122";
44                                 reg = <0x4d>;
45                                 AVDD-supply = <&vdd_3v3_reg>;
46                                 DVDD-supply = <&vdd_3v3_reg>;
47                                 CPVDD-supply = <&vdd_3v3_reg>;
48                                 status = "okay";
49                         };
50                 };
51         };
52
53         fragment@3 {
54                 target = <&sound>;
55                 frag3: __overlay__ {
56                         compatible = "justboom,justboom-both";
57                         i2s-controller = <&i2s>;
58                         status = "okay";
59                 };
60         };
61
62         __overrides__ {
63                 24db_digital_gain = <&frag3>,"justboom,24db_digital_gain?";
64         };
65 };