summaryrefslogtreecommitdiff
path: root/overlays/apalis-imx6_adv7280_overlay.dts
blob: 51ee90790e2573f0e48050a5cf9837247bd7adda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Analogue Camera Adapter orderable at Toradex.

/dts-v1/;
/plugin/;

/ {
	compatible = "toradex,apalis_imx6q";

	fragment@0 {
		target-path = "/soc/aips-bus@2100000/i2c@21a8000";
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;
			status = "okay";

			adv7280@21 {
				compatible = "adi,adv7280";
				reg = <0x21>;
				pinctrl-names = "default";
				pinctrl-0 = <&pinctrl_ipu1_csi0>;

				port {
					adv7280_to_ipu1_csi0_mux: endpoint {
						remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
						bus-width = <8>;
					};
				};
			};
		};
	};

	fragment@1 {
		target-path = "/soc/aips-bus@2000000/iomuxc-gpr@20e0000/ipu1_csi0_mux/";
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;
			status = "okay";

			port@1 {
				reg = <1>;

				ipu1_csi0_mux_from_parallel_sensor: endpoint {
					remote-endpoint = <&adv7280_to_ipu1_csi0_mux>;
					bus-width = <8>;
				};
			};
		};
	};
};