Thomas Gleixner | fcaf203 | 2019-05-27 08:55:08 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2013 Gateworks Corporation |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | #include "imx6q.dtsi" |
| 8 | #include "imx6qdl-gw52xx.dtsi" |
| 9 | |
| 10 | / { |
Tim Harvey | 455f9fb | 2014-05-21 23:04:55 -0700 | [diff] [blame] | 11 | model = "Gateworks Ventana i.MX6 Dual/Quad GW52XX"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 12 | compatible = "gw,imx6q-gw52xx", "gw,ventana", "fsl,imx6q"; |
| 13 | }; |
| 14 | |
Tim Harvey | aa12693 | 2017-06-19 08:00:10 -0700 | [diff] [blame] | 15 | &i2c3 { |
| 16 | adv7180: camera@20 { |
| 17 | compatible = "adi,adv7180"; |
| 18 | pinctrl-names = "default"; |
| 19 | pinctrl-0 = <&pinctrl_adv7180>; |
| 20 | reg = <0x20>; |
| 21 | powerdown-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; |
| 22 | interrupt-parent = <&gpio3>; |
| 23 | interrupts = <30 IRQ_TYPE_LEVEL_LOW>; |
| 24 | |
| 25 | port { |
| 26 | adv7180_to_ipu2_csi1_mux: endpoint { |
| 27 | remote-endpoint = <&ipu2_csi1_mux_from_parallel_sensor>; |
| 28 | bus-width = <8>; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | &ipu2_csi1_from_ipu2_csi1_mux { |
| 35 | bus-width = <8>; |
| 36 | }; |
| 37 | |
| 38 | &ipu2_csi1_mux_from_parallel_sensor { |
| 39 | remote-endpoint = <&adv7180_to_ipu2_csi1_mux>; |
| 40 | bus-width = <8>; |
| 41 | }; |
| 42 | |
| 43 | &ipu2_csi1 { |
| 44 | pinctrl-names = "default"; |
| 45 | pinctrl-0 = <&pinctrl_ipu2_csi1>; |
| 46 | }; |
| 47 | |
| 48 | &iomuxc { |
| 49 | pinctrl_adv7180: adv7180grp { |
| 50 | fsl,pins = < |
| 51 | MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x0001b0b0 |
| 52 | MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x4001b0b0 |
| 53 | >; |
| 54 | }; |
| 55 | |
| 56 | pinctrl_ipu2_csi1: ipu2_csi1grp { |
| 57 | fsl,pins = < |
| 58 | MX6QDL_PAD_EIM_EB2__IPU2_CSI1_DATA19 0x1b0b0 |
| 59 | MX6QDL_PAD_EIM_D16__IPU2_CSI1_DATA18 0x1b0b0 |
| 60 | MX6QDL_PAD_EIM_D18__IPU2_CSI1_DATA17 0x1b0b0 |
| 61 | MX6QDL_PAD_EIM_D19__IPU2_CSI1_DATA16 0x1b0b0 |
| 62 | MX6QDL_PAD_EIM_D20__IPU2_CSI1_DATA15 0x1b0b0 |
| 63 | MX6QDL_PAD_EIM_D26__IPU2_CSI1_DATA14 0x1b0b0 |
| 64 | MX6QDL_PAD_EIM_D27__IPU2_CSI1_DATA13 0x1b0b0 |
| 65 | MX6QDL_PAD_EIM_A17__IPU2_CSI1_DATA12 0x1b0b0 |
| 66 | MX6QDL_PAD_EIM_D29__IPU2_CSI1_VSYNC 0x1b0b0 |
| 67 | MX6QDL_PAD_EIM_EB3__IPU2_CSI1_HSYNC 0x1b0b0 |
| 68 | MX6QDL_PAD_EIM_A16__IPU2_CSI1_PIXCLK 0x1b0b0 |
| 69 | >; |
| 70 | }; |
| 71 | }; |
| 72 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 73 | &sata { |
| 74 | status = "okay"; |
| 75 | }; |