Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / allo-boss2-dac-audio-overlay.dts
1 /* * Definitions for Allo Boss2 DAC boards
2  */
3
4 /dts-v1/;
5 /plugin/;
6
7 / {
8         compatible = "brcm,bcm2835";
9
10         fragment@0 {
11                 target = <&i2s>;
12                 __overlay__ {
13                         #sound-dai-cells = <0>;
14                         status = "okay";
15                         cpu_port: port {
16                                 cpu_endpoint: endpoint {
17                                         remote-endpoint = <&codec_endpoint>;
18                                         bitclock-master = <&codec_endpoint>;
19                                         frame-master = <&codec_endpoint>;
20                                         dai-format = "i2s";
21                                 };
22                         };
23                 };
24         };
25
26         fragment@1 {
27                 target = <&i2c1>;
28                 __overlay__ {
29                         #address-cells = <1>;
30                         #size-cells = <0>;
31                         status = "okay";
32                         allo-cs43130@30 {
33                                 #sound-dai-cells = <0>;
34                                 compatible = "allo,allo-cs43198";
35                                 clock44-gpio = <&gpio 5 0>;
36                                 clock48-gpio = <&gpio 6 0>;
37                                 reg = <0x30>;
38                                 port {
39                                         codec_endpoint: endpoint {
40                                         remote-endpoint = <&cpu_endpoint>;
41                                         };
42                                 };
43                         };
44                 };
45         };
46
47         fragment@2 {
48                 target = <&sound>;
49                 boss2_dac: __overlay__ {
50                         compatible = "audio-graph-card";
51                         label = "Allo Boss2";
52                         dais = <&cpu_port>;
53                         status = "okay";
54                 };
55         };
56 };
57