Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright 2013 Freescale Semiconductor, Inc. |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | * |
| 9 | */ |
| 10 | |
Troy Kisky | e6117ff | 2013-11-14 14:02:10 -0700 | [diff] [blame] | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 12 | #include "imx6q-pinfunc.h" |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 13 | #include "imx6qdl.dtsi" |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 14 | |
| 15 | / { |
Sascha Hauer | a26be0f | 2014-01-16 13:44:19 +0100 | [diff] [blame] | 16 | aliases { |
Philipp Zabel | 41beef3 | 2015-12-02 14:42:22 +0100 | [diff] [blame] | 17 | ipu1 = &ipu2; |
Sascha Hauer | a26be0f | 2014-01-16 13:44:19 +0100 | [diff] [blame] | 18 | spi4 = &ecspi5; |
| 19 | }; |
| 20 | |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 21 | cpus { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | |
Bai Ping | 5d62537 | 2016-02-02 18:01:35 +0800 | [diff] [blame] | 25 | cpu0: cpu@0 { |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 26 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 7925e89 | 2013-04-18 18:34:06 +0100 | [diff] [blame] | 27 | device_type = "cpu"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 28 | reg = <0>; |
| 29 | next-level-cache = <&L2>; |
| 30 | operating-points = < |
| 31 | /* kHz uV */ |
| 32 | 1200000 1275000 |
| 33 | 996000 1250000 |
Anson Huang | 89ef8ef | 2014-02-12 17:57:02 +0800 | [diff] [blame] | 34 | 852000 1250000 |
Anson Huang | eabb322 | 2014-12-05 16:23:48 +0800 | [diff] [blame] | 35 | 792000 1175000 |
Anson Huang | 26ea580 | 2013-12-16 16:07:37 -0500 | [diff] [blame] | 36 | 396000 975000 |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 37 | >; |
Anson Huang | 69171ed | 2013-12-19 09:16:48 -0500 | [diff] [blame] | 38 | fsl,soc-operating-points = < |
| 39 | /* ARM kHz SOC-PU uV */ |
| 40 | 1200000 1275000 |
| 41 | 996000 1250000 |
Anson Huang | 89ef8ef | 2014-02-12 17:57:02 +0800 | [diff] [blame] | 42 | 852000 1250000 |
Anson Huang | 69171ed | 2013-12-19 09:16:48 -0500 | [diff] [blame] | 43 | 792000 1175000 |
| 44 | 396000 1175000 |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 45 | >; |
| 46 | clock-latency = <61036>; /* two CLK32 periods */ |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 47 | clocks = <&clks IMX6QDL_CLK_ARM>, |
| 48 | <&clks IMX6QDL_CLK_PLL2_PFD2_396M>, |
| 49 | <&clks IMX6QDL_CLK_STEP>, |
| 50 | <&clks IMX6QDL_CLK_PLL1_SW>, |
| 51 | <&clks IMX6QDL_CLK_PLL1_SYS>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 52 | clock-names = "arm", "pll2_pfd2_396m", "step", |
| 53 | "pll1_sw", "pll1_sys"; |
| 54 | arm-supply = <®_arm>; |
| 55 | pu-supply = <®_pu>; |
| 56 | soc-supply = <®_soc>; |
| 57 | }; |
| 58 | |
| 59 | cpu@1 { |
| 60 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 7925e89 | 2013-04-18 18:34:06 +0100 | [diff] [blame] | 61 | device_type = "cpu"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 62 | reg = <1>; |
| 63 | next-level-cache = <&L2>; |
| 64 | }; |
| 65 | |
| 66 | cpu@2 { |
| 67 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 7925e89 | 2013-04-18 18:34:06 +0100 | [diff] [blame] | 68 | device_type = "cpu"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 69 | reg = <2>; |
| 70 | next-level-cache = <&L2>; |
| 71 | }; |
| 72 | |
| 73 | cpu@3 { |
| 74 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 7925e89 | 2013-04-18 18:34:06 +0100 | [diff] [blame] | 75 | device_type = "cpu"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 76 | reg = <3>; |
| 77 | next-level-cache = <&L2>; |
| 78 | }; |
| 79 | }; |
| 80 | |
| 81 | soc { |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 82 | ocram: sram@900000 { |
Shawn Guo | 951ebf5 | 2013-07-23 15:25:13 +0800 | [diff] [blame] | 83 | compatible = "mmio-sram"; |
| 84 | reg = <0x00900000 0x40000>; |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 85 | clocks = <&clks IMX6QDL_CLK_OCRAM>; |
Shawn Guo | 951ebf5 | 2013-07-23 15:25:13 +0800 | [diff] [blame] | 86 | }; |
| 87 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 88 | aips-bus@2000000 { /* AIPS1 */ |
| 89 | spba-bus@2000000 { |
| 90 | ecspi5: ecspi@2018000 { |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 91 | #address-cells = <1>; |
| 92 | #size-cells = <0>; |
| 93 | compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; |
| 94 | reg = <0x02018000 0x4000>; |
Troy Kisky | e6117ff | 2013-11-14 14:02:10 -0700 | [diff] [blame] | 95 | interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 96 | clocks = <&clks IMX6Q_CLK_ECSPI5>, |
| 97 | <&clks IMX6Q_CLK_ECSPI5>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 98 | clock-names = "ipg", "per"; |
Anton Bondarenko | 6779402 | 2015-01-13 19:04:08 +0100 | [diff] [blame] | 99 | dmas = <&sdma 11 7 1>, <&sdma 12 7 2>; |
| 100 | dma-names = "rx", "tx"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 101 | status = "disabled"; |
| 102 | }; |
| 103 | }; |
| 104 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 105 | iomuxc: iomuxc@20e0000 { |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 106 | compatible = "fsl,imx6q-iomuxc"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 107 | }; |
| 108 | }; |
| 109 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 110 | sata: sata@2200000 { |
Richard Zhu | 0fb1f80 | 2013-07-16 11:28:46 +0800 | [diff] [blame] | 111 | compatible = "fsl,imx6q-ahci"; |
| 112 | reg = <0x02200000 0x4000>; |
Troy Kisky | e6117ff | 2013-11-14 14:02:10 -0700 | [diff] [blame] | 113 | interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>; |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 114 | clocks = <&clks IMX6QDL_CLK_SATA>, |
| 115 | <&clks IMX6QDL_CLK_SATA_REF_100M>, |
| 116 | <&clks IMX6QDL_CLK_AHB>; |
Richard Zhu | 0fb1f80 | 2013-07-16 11:28:46 +0800 | [diff] [blame] | 117 | clock-names = "sata", "sata_ref", "ahb"; |
| 118 | status = "disabled"; |
| 119 | }; |
| 120 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 121 | gpu_vg: gpu@2204000 { |
Lucas Stach | 419e202 | 2015-12-15 17:30:09 +0100 | [diff] [blame] | 122 | compatible = "vivante,gc"; |
| 123 | reg = <0x02204000 0x4000>; |
| 124 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; |
| 125 | clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>, |
| 126 | <&clks IMX6QDL_CLK_GPU2D_CORE>; |
| 127 | clock-names = "bus", "core"; |
Lucas Stach | e761b82 | 2017-04-12 18:45:59 +0200 | [diff] [blame] | 128 | power-domains = <&pd_pu>; |
Lucas Stach | 419e202 | 2015-12-15 17:30:09 +0100 | [diff] [blame] | 129 | }; |
| 130 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 131 | ipu2: ipu@2800000 { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 132 | #address-cells = <1>; |
| 133 | #size-cells = <0>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 134 | compatible = "fsl,imx6q-ipu"; |
| 135 | reg = <0x02800000 0x400000>; |
Troy Kisky | e6117ff | 2013-11-14 14:02:10 -0700 | [diff] [blame] | 136 | interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>, |
| 137 | <0 7 IRQ_TYPE_LEVEL_HIGH>; |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 138 | clocks = <&clks IMX6QDL_CLK_IPU2>, |
| 139 | <&clks IMX6QDL_CLK_IPU2_DI0>, |
| 140 | <&clks IMX6QDL_CLK_IPU2_DI1>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 141 | clock-names = "bus", "di0", "di1"; |
Philipp Zabel | 09ebf36 | 2013-03-28 17:35:20 +0100 | [diff] [blame] | 142 | resets = <&src 4>; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 143 | |
Philipp Zabel | c0470c3 | 2014-05-27 17:26:37 +0200 | [diff] [blame] | 144 | ipu2_csi0: port@0 { |
| 145 | reg = <0>; |
Philipp Zabel | 2539f51 | 2017-06-12 11:23:56 -0700 | [diff] [blame] | 146 | |
| 147 | ipu2_csi0_from_mipi_vc2: endpoint { |
| 148 | remote-endpoint = <&mipi_vc2_to_ipu2_csi0>; |
| 149 | }; |
Philipp Zabel | c0470c3 | 2014-05-27 17:26:37 +0200 | [diff] [blame] | 150 | }; |
| 151 | |
| 152 | ipu2_csi1: port@1 { |
| 153 | reg = <1>; |
Philipp Zabel | 2539f51 | 2017-06-12 11:23:56 -0700 | [diff] [blame] | 154 | |
| 155 | ipu2_csi1_from_ipu2_csi1_mux: endpoint { |
| 156 | remote-endpoint = <&ipu2_csi1_mux_to_ipu2_csi1>; |
| 157 | }; |
Philipp Zabel | c0470c3 | 2014-05-27 17:26:37 +0200 | [diff] [blame] | 158 | }; |
| 159 | |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 160 | ipu2_di0: port@2 { |
| 161 | #address-cells = <1>; |
| 162 | #size-cells = <0>; |
| 163 | reg = <2>; |
| 164 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 165 | ipu2_di0_disp0: disp0-endpoint { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 166 | }; |
| 167 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 168 | ipu2_di0_hdmi: hdmi-endpoint { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 169 | remote-endpoint = <&hdmi_mux_2>; |
| 170 | }; |
| 171 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 172 | ipu2_di0_mipi: mipi-endpoint { |
Philipp Zabel | 28f2c11 | 2016-02-24 15:52:46 +0100 | [diff] [blame] | 173 | remote-endpoint = <&mipi_mux_2>; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 174 | }; |
| 175 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 176 | ipu2_di0_lvds0: lvds0-endpoint { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 177 | remote-endpoint = <&lvds0_mux_2>; |
| 178 | }; |
| 179 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 180 | ipu2_di0_lvds1: lvds1-endpoint { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 181 | remote-endpoint = <&lvds1_mux_2>; |
| 182 | }; |
| 183 | }; |
| 184 | |
| 185 | ipu2_di1: port@3 { |
| 186 | #address-cells = <1>; |
| 187 | #size-cells = <0>; |
| 188 | reg = <3>; |
| 189 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 190 | ipu2_di1_hdmi: hdmi-endpoint { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 191 | remote-endpoint = <&hdmi_mux_3>; |
| 192 | }; |
| 193 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 194 | ipu2_di1_mipi: mipi-endpoint { |
Philipp Zabel | 28f2c11 | 2016-02-24 15:52:46 +0100 | [diff] [blame] | 195 | remote-endpoint = <&mipi_mux_3>; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 196 | }; |
| 197 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 198 | ipu2_di1_lvds0: lvds0-endpoint { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 199 | remote-endpoint = <&lvds0_mux_3>; |
| 200 | }; |
| 201 | |
Joshua Clayton | 416196c | 2016-04-25 18:09:33 -0700 | [diff] [blame] | 202 | ipu2_di1_lvds1: lvds1-endpoint { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 203 | remote-endpoint = <&lvds1_mux_3>; |
| 204 | }; |
| 205 | }; |
| 206 | }; |
| 207 | }; |
| 208 | |
Steve Longerbeam | d72ee3a | 2017-06-12 11:23:57 -0700 | [diff] [blame] | 209 | capture-subsystem { |
| 210 | compatible = "fsl,imx-capture-subsystem"; |
| 211 | ports = <&ipu1_csi0>, <&ipu1_csi1>, <&ipu2_csi0>, <&ipu2_csi1>; |
| 212 | }; |
| 213 | |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 214 | display-subsystem { |
| 215 | compatible = "fsl,imx-display-subsystem"; |
| 216 | ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>; |
| 217 | }; |
| 218 | }; |
| 219 | |
Vladimir Zapolskiy | bb728d6 | 2016-09-09 05:02:36 +0300 | [diff] [blame] | 220 | &gpio1 { |
| 221 | gpio-ranges = <&iomuxc 0 136 2>, <&iomuxc 2 141 1>, <&iomuxc 3 139 1>, |
| 222 | <&iomuxc 4 142 2>, <&iomuxc 6 140 1>, <&iomuxc 7 144 2>, |
| 223 | <&iomuxc 9 138 1>, <&iomuxc 10 213 3>, <&iomuxc 13 20 1>, |
| 224 | <&iomuxc 14 19 1>, <&iomuxc 15 21 1>, <&iomuxc 16 208 1>, |
| 225 | <&iomuxc 17 207 1>, <&iomuxc 18 210 3>, <&iomuxc 21 209 1>, |
| 226 | <&iomuxc 22 116 10>; |
| 227 | }; |
| 228 | |
| 229 | &gpio2 { |
| 230 | gpio-ranges = <&iomuxc 0 191 16>, <&iomuxc 16 55 14>, <&iomuxc 30 35 1>, |
| 231 | <&iomuxc 31 44 1>; |
| 232 | }; |
| 233 | |
| 234 | &gpio3 { |
| 235 | gpio-ranges = <&iomuxc 0 69 16>, <&iomuxc 16 36 8>, <&iomuxc 24 45 8>; |
| 236 | }; |
| 237 | |
| 238 | &gpio4 { |
| 239 | gpio-ranges = <&iomuxc 5 149 1>, <&iomuxc 6 126 10>, <&iomuxc 16 87 16>; |
| 240 | }; |
| 241 | |
| 242 | &gpio5 { |
| 243 | gpio-ranges = <&iomuxc 0 85 1>, <&iomuxc 2 34 1>, <&iomuxc 4 53 1>, |
| 244 | <&iomuxc 5 103 13>, <&iomuxc 18 150 14>; |
| 245 | }; |
| 246 | |
| 247 | &gpio6 { |
| 248 | gpio-ranges = <&iomuxc 0 164 6>, <&iomuxc 6 54 1>, <&iomuxc 7 181 5>, |
| 249 | <&iomuxc 14 186 3>, <&iomuxc 17 170 2>, <&iomuxc 19 22 12>, |
| 250 | <&iomuxc 31 86 1>; |
| 251 | }; |
| 252 | |
| 253 | &gpio7 { |
| 254 | gpio-ranges = <&iomuxc 0 172 9>, <&iomuxc 9 189 2>, <&iomuxc 11 146 3>; |
| 255 | }; |
| 256 | |
Philipp Zabel | 2539f51 | 2017-06-12 11:23:56 -0700 | [diff] [blame] | 257 | &gpr { |
| 258 | ipu1_csi0_mux { |
| 259 | compatible = "video-mux"; |
| 260 | mux-controls = <&mux 0>; |
| 261 | #address-cells = <1>; |
| 262 | #size-cells = <0>; |
| 263 | |
| 264 | port@0 { |
| 265 | reg = <0>; |
| 266 | |
| 267 | ipu1_csi0_mux_from_mipi_vc0: endpoint { |
| 268 | remote-endpoint = <&mipi_vc0_to_ipu1_csi0_mux>; |
| 269 | }; |
| 270 | }; |
| 271 | |
| 272 | port@1 { |
| 273 | reg = <1>; |
| 274 | |
| 275 | ipu1_csi0_mux_from_parallel_sensor: endpoint { |
| 276 | }; |
| 277 | }; |
| 278 | |
| 279 | port@2 { |
| 280 | reg = <2>; |
| 281 | |
| 282 | ipu1_csi0_mux_to_ipu1_csi0: endpoint { |
| 283 | remote-endpoint = <&ipu1_csi0_from_ipu1_csi0_mux>; |
| 284 | }; |
| 285 | }; |
| 286 | }; |
| 287 | |
| 288 | ipu2_csi1_mux { |
| 289 | compatible = "video-mux"; |
| 290 | mux-controls = <&mux 1>; |
| 291 | #address-cells = <1>; |
| 292 | #size-cells = <0>; |
| 293 | |
| 294 | port@0 { |
| 295 | reg = <0>; |
| 296 | |
| 297 | ipu2_csi1_mux_from_mipi_vc3: endpoint { |
| 298 | remote-endpoint = <&mipi_vc3_to_ipu2_csi1_mux>; |
| 299 | }; |
| 300 | }; |
| 301 | |
| 302 | port@1 { |
| 303 | reg = <1>; |
| 304 | |
| 305 | ipu2_csi1_mux_from_parallel_sensor: endpoint { |
| 306 | }; |
| 307 | }; |
| 308 | |
| 309 | port@2 { |
| 310 | reg = <2>; |
| 311 | |
| 312 | ipu2_csi1_mux_to_ipu2_csi1: endpoint { |
| 313 | remote-endpoint = <&ipu2_csi1_from_ipu2_csi1_mux>; |
| 314 | }; |
| 315 | }; |
| 316 | }; |
| 317 | }; |
| 318 | |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 319 | &hdmi { |
| 320 | compatible = "fsl,imx6q-hdmi"; |
| 321 | |
| 322 | port@2 { |
| 323 | reg = <2>; |
| 324 | |
| 325 | hdmi_mux_2: endpoint { |
| 326 | remote-endpoint = <&ipu2_di0_hdmi>; |
| 327 | }; |
| 328 | }; |
| 329 | |
| 330 | port@3 { |
| 331 | reg = <3>; |
| 332 | |
| 333 | hdmi_mux_3: endpoint { |
| 334 | remote-endpoint = <&ipu2_di1_hdmi>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 335 | }; |
| 336 | }; |
| 337 | }; |
Steffen Trumtrar | 41c0434 | 2013-03-28 16:23:35 +0100 | [diff] [blame] | 338 | |
Philipp Zabel | 2539f51 | 2017-06-12 11:23:56 -0700 | [diff] [blame] | 339 | &ipu1_csi1 { |
| 340 | ipu1_csi1_from_mipi_vc1: endpoint { |
| 341 | remote-endpoint = <&mipi_vc1_to_ipu1_csi1>; |
| 342 | }; |
| 343 | }; |
| 344 | |
Steffen Trumtrar | 41c0434 | 2013-03-28 16:23:35 +0100 | [diff] [blame] | 345 | &ldb { |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 346 | clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>, |
| 347 | <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>, |
| 348 | <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>, |
| 349 | <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>; |
Steffen Trumtrar | 41c0434 | 2013-03-28 16:23:35 +0100 | [diff] [blame] | 350 | clock-names = "di0_pll", "di1_pll", |
| 351 | "di0_sel", "di1_sel", "di2_sel", "di3_sel", |
| 352 | "di0", "di1"; |
| 353 | |
| 354 | lvds-channel@0 { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 355 | port@2 { |
| 356 | reg = <2>; |
| 357 | |
| 358 | lvds0_mux_2: endpoint { |
| 359 | remote-endpoint = <&ipu2_di0_lvds0>; |
| 360 | }; |
| 361 | }; |
| 362 | |
| 363 | port@3 { |
| 364 | reg = <3>; |
| 365 | |
| 366 | lvds0_mux_3: endpoint { |
| 367 | remote-endpoint = <&ipu2_di1_lvds0>; |
| 368 | }; |
| 369 | }; |
Steffen Trumtrar | 41c0434 | 2013-03-28 16:23:35 +0100 | [diff] [blame] | 370 | }; |
| 371 | |
| 372 | lvds-channel@1 { |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 373 | port@2 { |
| 374 | reg = <2>; |
| 375 | |
| 376 | lvds1_mux_2: endpoint { |
| 377 | remote-endpoint = <&ipu2_di0_lvds1>; |
| 378 | }; |
| 379 | }; |
| 380 | |
| 381 | port@3 { |
| 382 | reg = <3>; |
| 383 | |
| 384 | lvds1_mux_3: endpoint { |
| 385 | remote-endpoint = <&ipu2_di1_lvds1>; |
| 386 | }; |
| 387 | }; |
Steffen Trumtrar | 41c0434 | 2013-03-28 16:23:35 +0100 | [diff] [blame] | 388 | }; |
| 389 | }; |
Russell King | 04cec1a | 2013-10-16 10:19:00 +0100 | [diff] [blame] | 390 | |
Philipp Zabel | 2539f51 | 2017-06-12 11:23:56 -0700 | [diff] [blame] | 391 | &mipi_csi { |
| 392 | port@1 { |
| 393 | reg = <1>; |
| 394 | |
| 395 | mipi_vc0_to_ipu1_csi0_mux: endpoint { |
| 396 | remote-endpoint = <&ipu1_csi0_mux_from_mipi_vc0>; |
| 397 | }; |
| 398 | }; |
| 399 | |
| 400 | port@2 { |
| 401 | reg = <2>; |
| 402 | |
| 403 | mipi_vc1_to_ipu1_csi1: endpoint { |
| 404 | remote-endpoint = <&ipu1_csi1_from_mipi_vc1>; |
| 405 | }; |
| 406 | }; |
| 407 | |
| 408 | port@3 { |
| 409 | reg = <3>; |
| 410 | |
| 411 | mipi_vc2_to_ipu2_csi0: endpoint { |
| 412 | remote-endpoint = <&ipu2_csi0_from_mipi_vc2>; |
| 413 | }; |
| 414 | }; |
| 415 | |
| 416 | port@4 { |
| 417 | reg = <4>; |
| 418 | |
| 419 | mipi_vc3_to_ipu2_csi1_mux: endpoint { |
| 420 | remote-endpoint = <&ipu2_csi1_mux_from_mipi_vc3>; |
| 421 | }; |
| 422 | }; |
| 423 | }; |
| 424 | |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 425 | &mipi_dsi { |
Liu Ying | 70c2652 | 2015-02-12 14:01:31 +0800 | [diff] [blame] | 426 | ports { |
| 427 | port@2 { |
| 428 | reg = <2>; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 429 | |
Liu Ying | 70c2652 | 2015-02-12 14:01:31 +0800 | [diff] [blame] | 430 | mipi_mux_2: endpoint { |
| 431 | remote-endpoint = <&ipu2_di0_mipi>; |
| 432 | }; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 433 | }; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 434 | |
Liu Ying | 70c2652 | 2015-02-12 14:01:31 +0800 | [diff] [blame] | 435 | port@3 { |
| 436 | reg = <3>; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 437 | |
Liu Ying | 70c2652 | 2015-02-12 14:01:31 +0800 | [diff] [blame] | 438 | mipi_mux_3: endpoint { |
| 439 | remote-endpoint = <&ipu2_di1_mipi>; |
| 440 | }; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 441 | }; |
| 442 | }; |
Russell King | 04cec1a | 2013-10-16 10:19:00 +0100 | [diff] [blame] | 443 | }; |
Philipp Zabel | a04a0b6 | 2014-11-11 19:12:47 -0200 | [diff] [blame] | 444 | |
Philipp Zabel | bc97e88 | 2017-06-12 11:23:54 -0700 | [diff] [blame] | 445 | &mux { |
| 446 | mux-reg-masks = <0x04 0x00080000>, /* MIPI_IPU1_MUX */ |
| 447 | <0x04 0x00100000>, /* MIPI_IPU2_MUX */ |
| 448 | <0x0c 0x0000000c>, /* HDMI_MUX_CTL */ |
| 449 | <0x0c 0x000000c0>, /* LVDS0_MUX_CTL */ |
| 450 | <0x0c 0x00000300>, /* LVDS1_MUX_CTL */ |
| 451 | <0x28 0x00000003>, /* DCIC1_MUX_CTL */ |
| 452 | <0x28 0x0000000c>; /* DCIC2_MUX_CTL */ |
| 453 | }; |
| 454 | |
Philipp Zabel | a04a0b6 | 2014-11-11 19:12:47 -0200 | [diff] [blame] | 455 | &vpu { |
| 456 | compatible = "fsl,imx6q-vpu", "cnm,coda960"; |
| 457 | }; |