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 */
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>;
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>;
60 compatible = "arm,cortex-a9";
63 next-level-cache = <&L2>;
67 compatible = "arm,cortex-a9";
70 next-level-cache = <&L2>;
74 compatible = "arm,cortex-a9";
77 next-level-cache = <&L2>;
82 ocram: sram@00900000 {
83 compatible = "mmio-sram";
84 reg = <0x00900000 0x40000>;
85 ranges = <0 0x00900000 0x40000>;
88 clocks = <&clks IMX6QDL_CLK_OCRAM>;
91 aips-bus@02000000 { /* AIPS1 */
93 ecspi5: ecspi@02018000 {
96 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
97 reg = <0x02018000 0x4000>;
98 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
99 clocks = <&clks IMX6Q_CLK_ECSPI5>,
100 <&clks IMX6Q_CLK_ECSPI5>;
101 clock-names = "ipg", "per";
102 dmas = <&sdma 11 8 1>, <&sdma 12 8 2>;
103 dma-names = "rx", "tx";
108 iomuxc: iomuxc@020e0000 {
109 compatible = "fsl,imx6q-iomuxc";
113 sata: sata@02200000 {
114 compatible = "fsl,imx6q-ahci";
115 reg = <0x02200000 0x4000>;
116 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
117 clocks = <&clks IMX6QDL_CLK_SATA>,
118 <&clks IMX6QDL_CLK_SATA_REF_100M>,
119 <&clks IMX6QDL_CLK_AHB>;
120 clock-names = "sata", "sata_ref", "ahb";
124 gpu_vg: gpu@02204000 {
125 compatible = "vivante,gc";
126 reg = <0x02204000 0x4000>;
127 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
128 clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>,
129 <&clks IMX6QDL_CLK_GPU2D_CORE>;
130 clock-names = "bus", "core";
131 power-domains = <&pd_pu>;
135 #address-cells = <1>;
137 compatible = "fsl,imx6q-ipu";
138 reg = <0x02800000 0x400000>;
139 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>,
140 <0 7 IRQ_TYPE_LEVEL_HIGH>;
141 clocks = <&clks IMX6QDL_CLK_IPU2>,
142 <&clks IMX6QDL_CLK_IPU2_DI0>,
143 <&clks IMX6QDL_CLK_IPU2_DI1>;
144 clock-names = "bus", "di0", "di1";
150 ipu2_csi0_from_mipi_vc2: endpoint {
151 remote-endpoint = <&mipi_vc2_to_ipu2_csi0>;
158 ipu2_csi1_from_ipu2_csi1_mux: endpoint {
159 remote-endpoint = <&ipu2_csi1_mux_to_ipu2_csi1>;
164 #address-cells = <1>;
168 ipu2_di0_disp0: disp0-endpoint {
171 ipu2_di0_hdmi: hdmi-endpoint {
172 remote-endpoint = <&hdmi_mux_2>;
175 ipu2_di0_mipi: mipi-endpoint {
176 remote-endpoint = <&mipi_mux_2>;
179 ipu2_di0_lvds0: lvds0-endpoint {
180 remote-endpoint = <&lvds0_mux_2>;
183 ipu2_di0_lvds1: lvds1-endpoint {
184 remote-endpoint = <&lvds1_mux_2>;
189 #address-cells = <1>;
193 ipu2_di1_hdmi: hdmi-endpoint {
194 remote-endpoint = <&hdmi_mux_3>;
197 ipu2_di1_mipi: mipi-endpoint {
198 remote-endpoint = <&mipi_mux_3>;
201 ipu2_di1_lvds0: lvds0-endpoint {
202 remote-endpoint = <&lvds0_mux_3>;
205 ipu2_di1_lvds1: lvds1-endpoint {
206 remote-endpoint = <&lvds1_mux_3>;
213 compatible = "fsl,imx-capture-subsystem";
214 ports = <&ipu1_csi0>, <&ipu1_csi1>, <&ipu2_csi0>, <&ipu2_csi1>;
218 compatible = "fsl,imx-display-subsystem";
219 ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>;
223 compatible = "fsl,imx-gpu-subsystem";
224 cores = <&gpu_2d>, <&gpu_3d>, <&gpu_vg>;
229 gpio-ranges = <&iomuxc 0 136 2>, <&iomuxc 2 141 1>, <&iomuxc 3 139 1>,
230 <&iomuxc 4 142 2>, <&iomuxc 6 140 1>, <&iomuxc 7 144 2>,
231 <&iomuxc 9 138 1>, <&iomuxc 10 213 3>, <&iomuxc 13 20 1>,
232 <&iomuxc 14 19 1>, <&iomuxc 15 21 1>, <&iomuxc 16 208 1>,
233 <&iomuxc 17 207 1>, <&iomuxc 18 210 3>, <&iomuxc 21 209 1>,
238 gpio-ranges = <&iomuxc 0 191 16>, <&iomuxc 16 55 14>, <&iomuxc 30 35 1>,
243 gpio-ranges = <&iomuxc 0 69 16>, <&iomuxc 16 36 8>, <&iomuxc 24 45 8>;
247 gpio-ranges = <&iomuxc 5 149 1>, <&iomuxc 6 126 10>, <&iomuxc 16 87 16>;
251 gpio-ranges = <&iomuxc 0 85 1>, <&iomuxc 2 34 1>, <&iomuxc 4 53 1>,
252 <&iomuxc 5 103 13>, <&iomuxc 18 150 14>;
256 gpio-ranges = <&iomuxc 0 164 6>, <&iomuxc 6 54 1>, <&iomuxc 7 181 5>,
257 <&iomuxc 14 186 3>, <&iomuxc 17 170 2>, <&iomuxc 19 22 12>,
262 gpio-ranges = <&iomuxc 0 172 9>, <&iomuxc 9 189 2>, <&iomuxc 11 146 3>;
267 compatible = "video-mux";
268 mux-controls = <&mux 0>;
269 #address-cells = <1>;
275 ipu1_csi0_mux_from_mipi_vc0: endpoint {
276 remote-endpoint = <&mipi_vc0_to_ipu1_csi0_mux>;
283 ipu1_csi0_mux_from_parallel_sensor: endpoint {
290 ipu1_csi0_mux_to_ipu1_csi0: endpoint {
291 remote-endpoint = <&ipu1_csi0_from_ipu1_csi0_mux>;
297 compatible = "video-mux";
298 mux-controls = <&mux 1>;
299 #address-cells = <1>;
305 ipu2_csi1_mux_from_mipi_vc3: endpoint {
306 remote-endpoint = <&mipi_vc3_to_ipu2_csi1_mux>;
313 ipu2_csi1_mux_from_parallel_sensor: endpoint {
320 ipu2_csi1_mux_to_ipu2_csi1: endpoint {
321 remote-endpoint = <&ipu2_csi1_from_ipu2_csi1_mux>;
328 compatible = "fsl,imx6q-hdmi";
333 hdmi_mux_2: endpoint {
334 remote-endpoint = <&ipu2_di0_hdmi>;
341 hdmi_mux_3: endpoint {
342 remote-endpoint = <&ipu2_di1_hdmi>;
348 ipu1_csi1_from_mipi_vc1: endpoint {
349 remote-endpoint = <&mipi_vc1_to_ipu1_csi1>;
354 clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
355 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
356 <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
357 <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
358 clock-names = "di0_pll", "di1_pll",
359 "di0_sel", "di1_sel", "di2_sel", "di3_sel",
366 lvds0_mux_2: endpoint {
367 remote-endpoint = <&ipu2_di0_lvds0>;
374 lvds0_mux_3: endpoint {
375 remote-endpoint = <&ipu2_di1_lvds0>;
384 lvds1_mux_2: endpoint {
385 remote-endpoint = <&ipu2_di0_lvds1>;
392 lvds1_mux_3: endpoint {
393 remote-endpoint = <&ipu2_di1_lvds1>;
403 mipi_vc0_to_ipu1_csi0_mux: endpoint {
404 remote-endpoint = <&ipu1_csi0_mux_from_mipi_vc0>;
411 mipi_vc1_to_ipu1_csi1: endpoint {
412 remote-endpoint = <&ipu1_csi1_from_mipi_vc1>;
419 mipi_vc2_to_ipu2_csi0: endpoint {
420 remote-endpoint = <&ipu2_csi0_from_mipi_vc2>;
427 mipi_vc3_to_ipu2_csi1_mux: endpoint {
428 remote-endpoint = <&ipu2_csi1_mux_from_mipi_vc3>;
438 mipi_mux_2: endpoint {
439 remote-endpoint = <&ipu2_di0_mipi>;
446 mipi_mux_3: endpoint {
447 remote-endpoint = <&ipu2_di1_mipi>;
454 mux-reg-masks = <0x04 0x00080000>, /* MIPI_IPU1_MUX */
455 <0x04 0x00100000>, /* MIPI_IPU2_MUX */
456 <0x0c 0x0000000c>, /* HDMI_MUX_CTL */
457 <0x0c 0x000000c0>, /* LVDS0_MUX_CTL */
458 <0x0c 0x00000300>, /* LVDS1_MUX_CTL */
459 <0x28 0x00000003>, /* DCIC1_MUX_CTL */
460 <0x28 0x0000000c>; /* DCIC2_MUX_CTL */
464 compatible = "fsl,imx6q-vpu", "cnm,coda960";