GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / imx6dl-gw54xx.dts
1 /*
2  * Copyright 2013 Gateworks Corporation
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 or later at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /dts-v1/;
13 #include "imx6dl.dtsi"
14 #include "imx6qdl-gw54xx.dtsi"
15
16 / {
17         model = "Gateworks Ventana i.MX6 DualLite/Solo GW54XX";
18         compatible = "gw,imx6dl-gw54xx", "gw,ventana", "fsl,imx6dl";
19 };
20
21 &i2c3 {
22         adv7180: camera@20 {
23                 compatible = "adi,adv7180";
24                 pinctrl-names = "default";
25                 pinctrl-0 = <&pinctrl_adv7180>;
26                 reg = <0x20>;
27                 powerdown-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
28                 interrupt-parent = <&gpio3>;
29                 interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
30
31                 port {
32                         adv7180_to_ipu1_csi1_mux: endpoint {
33                                 remote-endpoint = <&ipu1_csi1_mux_from_parallel_sensor>;
34                                 bus-width = <8>;
35                         };
36                 };
37         };
38 };
39
40 &ipu1_csi1_from_ipu1_csi1_mux {
41         bus-width = <8>;
42 };
43
44 &ipu1_csi1_mux_from_parallel_sensor {
45         remote-endpoint = <&adv7180_to_ipu1_csi1_mux>;
46         bus-width = <8>;
47 };
48
49 &ipu1_csi1 {
50         pinctrl-names = "default";
51         pinctrl-0 = <&pinctrl_ipu1_csi1>;
52 };
53
54 &iomuxc {
55         pinctrl_adv7180: adv7180grp {
56                 fsl,pins = <
57                         MX6QDL_PAD_EIM_D30__GPIO3_IO30          0x0001b0b0
58                         MX6QDL_PAD_EIM_D31__GPIO3_IO31          0x4001b0b0
59                 >;
60         };
61
62         pinctrl_ipu1_csi1: ipu1_csi1grp {
63                 fsl,pins = <
64                         MX6QDL_PAD_EIM_EB2__IPU1_CSI1_DATA19    0x1b0b0
65                         MX6QDL_PAD_EIM_D16__IPU1_CSI1_DATA18    0x1b0b0
66                         MX6QDL_PAD_EIM_D18__IPU1_CSI1_DATA17    0x1b0b0
67                         MX6QDL_PAD_EIM_D19__IPU1_CSI1_DATA16    0x1b0b0
68                         MX6QDL_PAD_EIM_D20__IPU1_CSI1_DATA15    0x1b0b0
69                         MX6QDL_PAD_EIM_D26__IPU1_CSI1_DATA14    0x1b0b0
70                         MX6QDL_PAD_EIM_D27__IPU1_CSI1_DATA13    0x1b0b0
71                         MX6QDL_PAD_EIM_A17__IPU1_CSI1_DATA12    0x1b0b0
72                         MX6QDL_PAD_EIM_D29__IPU1_CSI1_VSYNC     0x1b0b0
73                         MX6QDL_PAD_EIM_EB3__IPU1_CSI1_HSYNC     0x1b0b0
74                         MX6QDL_PAD_EIM_A16__IPU1_CSI1_PIXCLK    0x1b0b0
75                 >;
76         };
77 };