summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-06-19 11:44:12 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-06-29 12:23:19 +0000
commite1d0ef7ecc9503c3cfb8300ad33f372fc78094cb (patch)
treec159bafa06ac59fbe12cf7b93c3d990f58ac1445 /overlays
parente4d59c2c8fb564f350aa39a72001d631e9552eee (diff)
overlays: apalis-imx6: add parallel camera adv7280
Add support of Analogue Camera Adapter V2.0B for Apalis iMX6 module. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'overlays')
-rw-r--r--overlays/apalis-imx6_adv7280_overlay.dts49
1 files changed, 49 insertions, 0 deletions
diff --git a/overlays/apalis-imx6_adv7280_overlay.dts b/overlays/apalis-imx6_adv7280_overlay.dts
new file mode 100644
index 0000000..51ee907
--- /dev/null
+++ b/overlays/apalis-imx6_adv7280_overlay.dts
@@ -0,0 +1,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>;
+ };
+ };
+ };
+ };
+};