xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6dl-gw54xx.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2013 Gateworks Corporation
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot/dts-v1/;
7*f126890aSEmmanuel Vadot#include "imx6dl.dtsi"
8*f126890aSEmmanuel Vadot#include "imx6qdl-gw54xx.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "Gateworks Ventana i.MX6 DualLite/Solo GW54XX";
12*f126890aSEmmanuel Vadot	compatible = "gw,imx6dl-gw54xx", "gw,ventana", "fsl,imx6dl";
13*f126890aSEmmanuel Vadot};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot&i2c3 {
16*f126890aSEmmanuel Vadot	adv7180: camera@20 {
17*f126890aSEmmanuel Vadot		compatible = "adi,adv7180";
18*f126890aSEmmanuel Vadot		pinctrl-names = "default";
19*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_adv7180>;
20*f126890aSEmmanuel Vadot		reg = <0x20>;
21*f126890aSEmmanuel Vadot		powerdown-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
22*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio3>;
23*f126890aSEmmanuel Vadot		interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot		port {
26*f126890aSEmmanuel Vadot			adv7180_to_ipu1_csi1_mux: endpoint {
27*f126890aSEmmanuel Vadot				remote-endpoint = <&ipu1_csi1_mux_from_parallel_sensor>;
28*f126890aSEmmanuel Vadot				bus-width = <8>;
29*f126890aSEmmanuel Vadot			};
30*f126890aSEmmanuel Vadot		};
31*f126890aSEmmanuel Vadot	};
32*f126890aSEmmanuel Vadot};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot&ipu1_csi1_from_ipu1_csi1_mux {
35*f126890aSEmmanuel Vadot	bus-width = <8>;
36*f126890aSEmmanuel Vadot};
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot&ipu1_csi1_mux_from_parallel_sensor {
39*f126890aSEmmanuel Vadot	remote-endpoint = <&adv7180_to_ipu1_csi1_mux>;
40*f126890aSEmmanuel Vadot	bus-width = <8>;
41*f126890aSEmmanuel Vadot};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot&ipu1_csi1 {
44*f126890aSEmmanuel Vadot	pinctrl-names = "default";
45*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ipu1_csi1>;
46*f126890aSEmmanuel Vadot};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot&iomuxc {
49*f126890aSEmmanuel Vadot	pinctrl_adv7180: adv7180grp {
50*f126890aSEmmanuel Vadot		fsl,pins = <
51*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__GPIO3_IO30          0x0001b0b0
52*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D31__GPIO3_IO31          0x4001b0b0
53*f126890aSEmmanuel Vadot		>;
54*f126890aSEmmanuel Vadot	};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot	pinctrl_ipu1_csi1: ipu1_csi1grp {
57*f126890aSEmmanuel Vadot		fsl,pins = <
58*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB2__IPU1_CSI1_DATA19    0x1b0b0
59*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D16__IPU1_CSI1_DATA18    0x1b0b0
60*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D18__IPU1_CSI1_DATA17    0x1b0b0
61*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D19__IPU1_CSI1_DATA16    0x1b0b0
62*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D20__IPU1_CSI1_DATA15    0x1b0b0
63*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D26__IPU1_CSI1_DATA14    0x1b0b0
64*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D27__IPU1_CSI1_DATA13    0x1b0b0
65*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A17__IPU1_CSI1_DATA12    0x1b0b0
66*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D29__IPU1_CSI1_VSYNC     0x1b0b0
67*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB3__IPU1_CSI1_HSYNC     0x1b0b0
68*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A16__IPU1_CSI1_PIXCLK    0x1b0b0
69*f126890aSEmmanuel Vadot		>;
70*f126890aSEmmanuel Vadot	};
71*f126890aSEmmanuel Vadot};
72