Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / adv7282m-overlay.dts
1 // SPDX-License-Identifier: GPL-2.0-only
2 // Definitions for Analog Devices ADV7282-M video to CSI2 bridge on VC I2C bus
3 /dts-v1/;
4 /plugin/;
5
6 /{
7         compatible = "brcm,bcm2835";
8
9         fragment@0 {
10                 target = <&i2c_csi_dsi>;
11                 __overlay__ {
12                         #address-cells = <1>;
13                         #size-cells = <0>;
14                         status = "okay";
15
16                         adv728x: adv728x@21 {
17                                 compatible = "adi,adv7282-m";
18                                 reg = <0x21>;
19                                 status = "okay";
20                                 clock-frequency = <24000000>;
21                                 port {
22                                         adv728x_0: endpoint {
23                                                 remote-endpoint = <&csi1_ep>;
24                                                 clock-lanes = <0>;
25                                                 data-lanes = <1>;
26                                                 link-frequencies =
27                                                         /bits/ 64 <297000000>;
28
29                                                 mclk-frequency = <12000000>;
30                                         };
31                                 };
32                         };
33                 };
34         };
35         fragment@1 {
36                 target = <&csi1>;
37                 __overlay__ {
38                         status = "okay";
39
40                         port {
41                                 csi1_ep: endpoint {
42                                         remote-endpoint = <&adv728x_0>;
43                                         data-lanes = <1>;
44                                 };
45                         };
46                 };
47         };
48         fragment@2 {
49                 target = <&i2c0if>;
50                 __overlay__ {
51                         status = "okay";
52                 };
53         };
54
55         fragment@3 {
56                 target = <&i2c0mux>;
57                 __overlay__ {
58                         status = "okay";
59                 };
60         };
61
62         fragment@4 {
63                 target = <&csi1>;
64                 __dormant__ {
65                         brcm,media-controller;
66                 };
67         };
68
69         __overrides__ {
70                 addr =                  <&adv728x>,"reg:0";
71                 media-controller = <0>,"=4";
72         };
73 };