3 * Copyright 2013 Freescale Semiconductor, Inc.
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.
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include "imx6q-pinfunc.h"
13 #include "imx6qdl.dtsi"
26 compatible = "arm,cortex-a9";
29 next-level-cache = <&L2>;
38 fsl,soc-operating-points = <
39 /* ARM kHz SOC-PU uV */
46 clock-latency = <61036>; /* two CLK32 periods */
48 clocks = <&clks IMX6QDL_CLK_ARM>,
49 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
50 <&clks IMX6QDL_CLK_STEP>,
51 <&clks IMX6QDL_CLK_PLL1_SW>,
52 <&clks IMX6QDL_CLK_PLL1_SYS>;
53 clock-names = "arm", "pll2_pfd2_396m", "step",
54 "pll1_sw", "pll1_sys";
55 arm-supply = <®_arm>;
56 pu-supply = <®_pu>;
57 soc-supply = <®_soc>;
61 compatible = "arm,cortex-a9";
64 next-level-cache = <&L2>;
73 fsl,soc-operating-points = <
74 /* ARM kHz SOC-PU uV */
81 clock-latency = <61036>; /* two CLK32 periods */
82 clocks = <&clks IMX6QDL_CLK_ARM>,
83 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
84 <&clks IMX6QDL_CLK_STEP>,
85 <&clks IMX6QDL_CLK_PLL1_SW>,
86 <&clks IMX6QDL_CLK_PLL1_SYS>;
87 clock-names = "arm", "pll2_pfd2_396m", "step",
88 "pll1_sw", "pll1_sys";
89 arm-supply = <®_arm>;
90 pu-supply = <®_pu>;
91 soc-supply = <®_soc>;
95 compatible = "arm,cortex-a9";
98 next-level-cache = <&L2>;
107 fsl,soc-operating-points = <
108 /* ARM kHz SOC-PU uV */
115 clock-latency = <61036>; /* two CLK32 periods */
116 clocks = <&clks IMX6QDL_CLK_ARM>,
117 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
118 <&clks IMX6QDL_CLK_STEP>,
119 <&clks IMX6QDL_CLK_PLL1_SW>,
120 <&clks IMX6QDL_CLK_PLL1_SYS>;
121 clock-names = "arm", "pll2_pfd2_396m", "step",
122 "pll1_sw", "pll1_sys";
123 arm-supply = <®_arm>;
124 pu-supply = <®_pu>;
125 soc-supply = <®_soc>;
129 compatible = "arm,cortex-a9";
132 next-level-cache = <&L2>;
141 fsl,soc-operating-points = <
142 /* ARM kHz SOC-PU uV */
149 clock-latency = <61036>; /* two CLK32 periods */
150 clocks = <&clks IMX6QDL_CLK_ARM>,
151 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
152 <&clks IMX6QDL_CLK_STEP>,
153 <&clks IMX6QDL_CLK_PLL1_SW>,
154 <&clks IMX6QDL_CLK_PLL1_SYS>;
155 clock-names = "arm", "pll2_pfd2_396m", "step",
156 "pll1_sw", "pll1_sys";
157 arm-supply = <®_arm>;
158 pu-supply = <®_pu>;
159 soc-supply = <®_soc>;
165 compatible = "mmio-sram";
166 reg = <0x00900000 0x40000>;
167 clocks = <&clks IMX6QDL_CLK_OCRAM>;
170 aips-bus@2000000 { /* AIPS1 */
172 ecspi5: ecspi@2018000 {
173 #address-cells = <1>;
175 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
176 reg = <0x02018000 0x4000>;
177 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
178 clocks = <&clks IMX6Q_CLK_ECSPI5>,
179 <&clks IMX6Q_CLK_ECSPI5>;
180 clock-names = "ipg", "per";
181 dmas = <&sdma 11 8 1>, <&sdma 12 8 2>;
182 dma-names = "rx", "tx";
187 iomuxc: iomuxc@20e0000 {
188 compatible = "fsl,imx6q-iomuxc";
193 compatible = "fsl,imx6q-ahci";
194 reg = <0x02200000 0x4000>;
195 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
196 clocks = <&clks IMX6QDL_CLK_SATA>,
197 <&clks IMX6QDL_CLK_SATA_REF_100M>,
198 <&clks IMX6QDL_CLK_AHB>;
199 clock-names = "sata", "sata_ref", "ahb";
203 gpu_vg: gpu@2204000 {
204 compatible = "vivante,gc";
205 reg = <0x02204000 0x4000>;
206 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
207 clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>,
208 <&clks IMX6QDL_CLK_GPU2D_CORE>;
209 clock-names = "bus", "core";
210 power-domains = <&pd_pu>;
211 #cooling-cells = <2>;
215 #address-cells = <1>;
217 compatible = "fsl,imx6q-ipu";
218 reg = <0x02800000 0x400000>;
219 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>,
220 <0 7 IRQ_TYPE_LEVEL_HIGH>;
221 clocks = <&clks IMX6QDL_CLK_IPU2>,
222 <&clks IMX6QDL_CLK_IPU2_DI0>,
223 <&clks IMX6QDL_CLK_IPU2_DI1>;
224 clock-names = "bus", "di0", "di1";
230 ipu2_csi0_from_mipi_vc2: endpoint {
231 remote-endpoint = <&mipi_vc2_to_ipu2_csi0>;
238 ipu2_csi1_from_ipu2_csi1_mux: endpoint {
239 remote-endpoint = <&ipu2_csi1_mux_to_ipu2_csi1>;
244 #address-cells = <1>;
248 ipu2_di0_disp0: disp0-endpoint {
251 ipu2_di0_hdmi: hdmi-endpoint {
252 remote-endpoint = <&hdmi_mux_2>;
255 ipu2_di0_mipi: mipi-endpoint {
256 remote-endpoint = <&mipi_mux_2>;
259 ipu2_di0_lvds0: lvds0-endpoint {
260 remote-endpoint = <&lvds0_mux_2>;
263 ipu2_di0_lvds1: lvds1-endpoint {
264 remote-endpoint = <&lvds1_mux_2>;
269 #address-cells = <1>;
273 ipu2_di1_hdmi: hdmi-endpoint {
274 remote-endpoint = <&hdmi_mux_3>;
277 ipu2_di1_mipi: mipi-endpoint {
278 remote-endpoint = <&mipi_mux_3>;
281 ipu2_di1_lvds0: lvds0-endpoint {
282 remote-endpoint = <&lvds0_mux_3>;
285 ipu2_di1_lvds1: lvds1-endpoint {
286 remote-endpoint = <&lvds1_mux_3>;
293 compatible = "fsl,imx-capture-subsystem";
294 ports = <&ipu1_csi0>, <&ipu1_csi1>, <&ipu2_csi0>, <&ipu2_csi1>;
298 compatible = "fsl,imx-display-subsystem";
299 ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>;
303 compatible = "fsl,imx-gpu-subsystem";
304 cores = <&gpu_2d>, <&gpu_3d>, <&gpu_vg>;
309 gpio-ranges = <&iomuxc 0 136 2>, <&iomuxc 2 141 1>, <&iomuxc 3 139 1>,
310 <&iomuxc 4 142 2>, <&iomuxc 6 140 1>, <&iomuxc 7 144 2>,
311 <&iomuxc 9 138 1>, <&iomuxc 10 213 3>, <&iomuxc 13 20 1>,
312 <&iomuxc 14 19 1>, <&iomuxc 15 21 1>, <&iomuxc 16 208 1>,
313 <&iomuxc 17 207 1>, <&iomuxc 18 210 3>, <&iomuxc 21 209 1>,
318 gpio-ranges = <&iomuxc 0 191 16>, <&iomuxc 16 55 14>, <&iomuxc 30 35 1>,
323 gpio-ranges = <&iomuxc 0 69 16>, <&iomuxc 16 36 8>, <&iomuxc 24 45 8>;
327 gpio-ranges = <&iomuxc 5 149 1>, <&iomuxc 6 126 10>, <&iomuxc 16 87 16>;
331 gpio-ranges = <&iomuxc 0 85 1>, <&iomuxc 2 34 1>, <&iomuxc 4 53 1>,
332 <&iomuxc 5 103 13>, <&iomuxc 18 150 14>;
336 gpio-ranges = <&iomuxc 0 164 6>, <&iomuxc 6 54 1>, <&iomuxc 7 181 5>,
337 <&iomuxc 14 186 3>, <&iomuxc 17 170 2>, <&iomuxc 19 22 12>,
342 gpio-ranges = <&iomuxc 0 172 9>, <&iomuxc 9 189 2>, <&iomuxc 11 146 3>;
347 compatible = "video-mux";
348 mux-controls = <&mux 0>;
349 #address-cells = <1>;
355 ipu1_csi0_mux_from_mipi_vc0: endpoint {
356 remote-endpoint = <&mipi_vc0_to_ipu1_csi0_mux>;
363 ipu1_csi0_mux_from_parallel_sensor: endpoint {
370 ipu1_csi0_mux_to_ipu1_csi0: endpoint {
371 remote-endpoint = <&ipu1_csi0_from_ipu1_csi0_mux>;
377 compatible = "video-mux";
378 mux-controls = <&mux 1>;
379 #address-cells = <1>;
385 ipu2_csi1_mux_from_mipi_vc3: endpoint {
386 remote-endpoint = <&mipi_vc3_to_ipu2_csi1_mux>;
393 ipu2_csi1_mux_from_parallel_sensor: endpoint {
400 ipu2_csi1_mux_to_ipu2_csi1: endpoint {
401 remote-endpoint = <&ipu2_csi1_from_ipu2_csi1_mux>;
408 compatible = "fsl,imx6q-hdmi";
413 hdmi_mux_2: endpoint {
414 remote-endpoint = <&ipu2_di0_hdmi>;
421 hdmi_mux_3: endpoint {
422 remote-endpoint = <&ipu2_di1_hdmi>;
428 ipu1_csi1_from_mipi_vc1: endpoint {
429 remote-endpoint = <&mipi_vc1_to_ipu1_csi1>;
434 clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
435 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
436 <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
437 <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
438 clock-names = "di0_pll", "di1_pll",
439 "di0_sel", "di1_sel", "di2_sel", "di3_sel",
446 lvds0_mux_2: endpoint {
447 remote-endpoint = <&ipu2_di0_lvds0>;
454 lvds0_mux_3: endpoint {
455 remote-endpoint = <&ipu2_di1_lvds0>;
464 lvds1_mux_2: endpoint {
465 remote-endpoint = <&ipu2_di0_lvds1>;
472 lvds1_mux_3: endpoint {
473 remote-endpoint = <&ipu2_di1_lvds1>;
483 mipi_vc0_to_ipu1_csi0_mux: endpoint {
484 remote-endpoint = <&ipu1_csi0_mux_from_mipi_vc0>;
491 mipi_vc1_to_ipu1_csi1: endpoint {
492 remote-endpoint = <&ipu1_csi1_from_mipi_vc1>;
499 mipi_vc2_to_ipu2_csi0: endpoint {
500 remote-endpoint = <&ipu2_csi0_from_mipi_vc2>;
507 mipi_vc3_to_ipu2_csi1_mux: endpoint {
508 remote-endpoint = <&ipu2_csi1_mux_from_mipi_vc3>;
518 mipi_mux_2: endpoint {
519 remote-endpoint = <&ipu2_di0_mipi>;
526 mipi_mux_3: endpoint {
527 remote-endpoint = <&ipu2_di1_mipi>;
534 mux-reg-masks = <0x04 0x00080000>, /* MIPI_IPU1_MUX */
535 <0x04 0x00100000>, /* MIPI_IPU2_MUX */
536 <0x0c 0x0000000c>, /* HDMI_MUX_CTL */
537 <0x0c 0x000000c0>, /* LVDS0_MUX_CTL */
538 <0x0c 0x00000300>, /* LVDS1_MUX_CTL */
539 <0x28 0x00000003>, /* DCIC1_MUX_CTL */
540 <0x28 0x0000000c>; /* DCIC2_MUX_CTL */
544 compatible = "fsl,imx6q-vpu", "cnm,coda960";