1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright 2013 Freescale Semiconductor, Inc.
5 #include <dt-bindings/interrupt-controller/irq.h>
6 #include "imx6q-pinfunc.h"
7 #include "imx6qdl.dtsi"
20 compatible = "arm,cortex-a9";
23 next-level-cache = <&L2>;
32 fsl,soc-operating-points = <
33 /* ARM kHz SOC-PU uV */
40 clock-latency = <61036>; /* two CLK32 periods */
42 clocks = <&clks IMX6QDL_CLK_ARM>,
43 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
44 <&clks IMX6QDL_CLK_STEP>,
45 <&clks IMX6QDL_CLK_PLL1_SW>,
46 <&clks IMX6QDL_CLK_PLL1_SYS>;
47 clock-names = "arm", "pll2_pfd2_396m", "step",
48 "pll1_sw", "pll1_sys";
49 arm-supply = <®_arm>;
50 pu-supply = <®_pu>;
51 soc-supply = <®_soc>;
55 compatible = "arm,cortex-a9";
58 next-level-cache = <&L2>;
67 fsl,soc-operating-points = <
68 /* ARM kHz SOC-PU uV */
75 clock-latency = <61036>; /* two CLK32 periods */
76 clocks = <&clks IMX6QDL_CLK_ARM>,
77 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
78 <&clks IMX6QDL_CLK_STEP>,
79 <&clks IMX6QDL_CLK_PLL1_SW>,
80 <&clks IMX6QDL_CLK_PLL1_SYS>;
81 clock-names = "arm", "pll2_pfd2_396m", "step",
82 "pll1_sw", "pll1_sys";
83 arm-supply = <®_arm>;
84 pu-supply = <®_pu>;
85 soc-supply = <®_soc>;
89 compatible = "arm,cortex-a9";
92 next-level-cache = <&L2>;
101 fsl,soc-operating-points = <
102 /* ARM kHz SOC-PU uV */
109 clock-latency = <61036>; /* two CLK32 periods */
110 clocks = <&clks IMX6QDL_CLK_ARM>,
111 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
112 <&clks IMX6QDL_CLK_STEP>,
113 <&clks IMX6QDL_CLK_PLL1_SW>,
114 <&clks IMX6QDL_CLK_PLL1_SYS>;
115 clock-names = "arm", "pll2_pfd2_396m", "step",
116 "pll1_sw", "pll1_sys";
117 arm-supply = <®_arm>;
118 pu-supply = <®_pu>;
119 soc-supply = <®_soc>;
123 compatible = "arm,cortex-a9";
126 next-level-cache = <&L2>;
135 fsl,soc-operating-points = <
136 /* ARM kHz SOC-PU uV */
143 clock-latency = <61036>; /* two CLK32 periods */
144 clocks = <&clks IMX6QDL_CLK_ARM>,
145 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
146 <&clks IMX6QDL_CLK_STEP>,
147 <&clks IMX6QDL_CLK_PLL1_SW>,
148 <&clks IMX6QDL_CLK_PLL1_SYS>;
149 clock-names = "arm", "pll2_pfd2_396m", "step",
150 "pll1_sw", "pll1_sys";
151 arm-supply = <®_arm>;
152 pu-supply = <®_pu>;
153 soc-supply = <®_soc>;
159 compatible = "mmio-sram";
160 reg = <0x00900000 0x40000>;
161 clocks = <&clks IMX6QDL_CLK_OCRAM>;
164 aips-bus@2000000 { /* AIPS1 */
166 ecspi5: spi@2018000 {
167 #address-cells = <1>;
169 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
170 reg = <0x02018000 0x4000>;
171 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
172 clocks = <&clks IMX6Q_CLK_ECSPI5>,
173 <&clks IMX6Q_CLK_ECSPI5>;
174 clock-names = "ipg", "per";
175 dmas = <&sdma 11 8 1>, <&sdma 12 8 2>;
176 dma-names = "rx", "tx";
181 iomuxc: iomuxc@20e0000 {
182 compatible = "fsl,imx6q-iomuxc";
187 compatible = "fsl,imx6q-ahci";
188 reg = <0x02200000 0x4000>;
189 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
190 clocks = <&clks IMX6QDL_CLK_SATA>,
191 <&clks IMX6QDL_CLK_SATA_REF_100M>,
192 <&clks IMX6QDL_CLK_AHB>;
193 clock-names = "sata", "sata_ref", "ahb";
197 gpu_vg: gpu@2204000 {
198 compatible = "vivante,gc";
199 reg = <0x02204000 0x4000>;
200 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
201 clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>,
202 <&clks IMX6QDL_CLK_GPU2D_CORE>;
203 clock-names = "bus", "core";
204 power-domains = <&pd_pu>;
205 #cooling-cells = <2>;
209 #address-cells = <1>;
211 compatible = "fsl,imx6q-ipu";
212 reg = <0x02800000 0x400000>;
213 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>,
214 <0 7 IRQ_TYPE_LEVEL_HIGH>;
215 clocks = <&clks IMX6QDL_CLK_IPU2>,
216 <&clks IMX6QDL_CLK_IPU2_DI0>,
217 <&clks IMX6QDL_CLK_IPU2_DI1>;
218 clock-names = "bus", "di0", "di1";
224 ipu2_csi0_from_mipi_vc2: endpoint {
225 remote-endpoint = <&mipi_vc2_to_ipu2_csi0>;
232 ipu2_csi1_from_ipu2_csi1_mux: endpoint {
233 remote-endpoint = <&ipu2_csi1_mux_to_ipu2_csi1>;
238 #address-cells = <1>;
242 ipu2_di0_disp0: endpoint@0 {
246 ipu2_di0_hdmi: endpoint@1 {
248 remote-endpoint = <&hdmi_mux_2>;
251 ipu2_di0_mipi: endpoint@2 {
253 remote-endpoint = <&mipi_mux_2>;
256 ipu2_di0_lvds0: endpoint@3 {
258 remote-endpoint = <&lvds0_mux_2>;
261 ipu2_di0_lvds1: endpoint@4 {
263 remote-endpoint = <&lvds1_mux_2>;
268 #address-cells = <1>;
272 ipu2_di1_hdmi: endpoint@1 {
274 remote-endpoint = <&hdmi_mux_3>;
277 ipu2_di1_mipi: endpoint@2 {
279 remote-endpoint = <&mipi_mux_3>;
282 ipu2_di1_lvds0: endpoint@3 {
284 remote-endpoint = <&lvds0_mux_3>;
287 ipu2_di1_lvds1: endpoint@4 {
289 remote-endpoint = <&lvds1_mux_3>;
296 compatible = "fsl,imx-capture-subsystem";
297 ports = <&ipu1_csi0>, <&ipu1_csi1>, <&ipu2_csi0>, <&ipu2_csi1>;
301 compatible = "fsl,imx-display-subsystem";
302 ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>;
307 gpio-ranges = <&iomuxc 0 136 2>, <&iomuxc 2 141 1>, <&iomuxc 3 139 1>,
308 <&iomuxc 4 142 2>, <&iomuxc 6 140 1>, <&iomuxc 7 144 2>,
309 <&iomuxc 9 138 1>, <&iomuxc 10 213 3>, <&iomuxc 13 20 1>,
310 <&iomuxc 14 19 1>, <&iomuxc 15 21 1>, <&iomuxc 16 208 1>,
311 <&iomuxc 17 207 1>, <&iomuxc 18 210 3>, <&iomuxc 21 209 1>,
316 gpio-ranges = <&iomuxc 0 191 16>, <&iomuxc 16 55 14>, <&iomuxc 30 35 1>,
321 gpio-ranges = <&iomuxc 0 69 16>, <&iomuxc 16 36 8>, <&iomuxc 24 45 8>;
325 gpio-ranges = <&iomuxc 5 149 1>, <&iomuxc 6 126 10>, <&iomuxc 16 87 16>;
329 gpio-ranges = <&iomuxc 0 85 1>, <&iomuxc 2 34 1>, <&iomuxc 4 53 1>,
330 <&iomuxc 5 103 13>, <&iomuxc 18 150 14>;
334 gpio-ranges = <&iomuxc 0 164 6>, <&iomuxc 6 54 1>, <&iomuxc 7 181 5>,
335 <&iomuxc 14 186 3>, <&iomuxc 17 170 2>, <&iomuxc 19 22 12>,
340 gpio-ranges = <&iomuxc 0 172 9>, <&iomuxc 9 189 2>, <&iomuxc 11 146 3>;
345 compatible = "video-mux";
346 mux-controls = <&mux 0>;
347 #address-cells = <1>;
353 ipu1_csi0_mux_from_mipi_vc0: endpoint {
354 remote-endpoint = <&mipi_vc0_to_ipu1_csi0_mux>;
361 ipu1_csi0_mux_from_parallel_sensor: endpoint {
368 ipu1_csi0_mux_to_ipu1_csi0: endpoint {
369 remote-endpoint = <&ipu1_csi0_from_ipu1_csi0_mux>;
375 compatible = "video-mux";
376 mux-controls = <&mux 1>;
377 #address-cells = <1>;
383 ipu2_csi1_mux_from_mipi_vc3: endpoint {
384 remote-endpoint = <&mipi_vc3_to_ipu2_csi1_mux>;
391 ipu2_csi1_mux_from_parallel_sensor: endpoint {
398 ipu2_csi1_mux_to_ipu2_csi1: endpoint {
399 remote-endpoint = <&ipu2_csi1_from_ipu2_csi1_mux>;
406 compatible = "fsl,imx6q-hdmi";
411 hdmi_mux_2: endpoint {
412 remote-endpoint = <&ipu2_di0_hdmi>;
419 hdmi_mux_3: endpoint {
420 remote-endpoint = <&ipu2_di1_hdmi>;
426 ipu1_csi1_from_mipi_vc1: endpoint {
427 remote-endpoint = <&mipi_vc1_to_ipu1_csi1>;
432 clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
433 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
434 <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
435 <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
436 clock-names = "di0_pll", "di1_pll",
437 "di0_sel", "di1_sel", "di2_sel", "di3_sel",
444 lvds0_mux_2: endpoint {
445 remote-endpoint = <&ipu2_di0_lvds0>;
452 lvds0_mux_3: endpoint {
453 remote-endpoint = <&ipu2_di1_lvds0>;
462 lvds1_mux_2: endpoint {
463 remote-endpoint = <&ipu2_di0_lvds1>;
470 lvds1_mux_3: endpoint {
471 remote-endpoint = <&ipu2_di1_lvds1>;
481 mipi_vc0_to_ipu1_csi0_mux: endpoint {
482 remote-endpoint = <&ipu1_csi0_mux_from_mipi_vc0>;
489 mipi_vc1_to_ipu1_csi1: endpoint {
490 remote-endpoint = <&ipu1_csi1_from_mipi_vc1>;
497 mipi_vc2_to_ipu2_csi0: endpoint {
498 remote-endpoint = <&ipu2_csi0_from_mipi_vc2>;
505 mipi_vc3_to_ipu2_csi1_mux: endpoint {
506 remote-endpoint = <&ipu2_csi1_mux_from_mipi_vc3>;
516 mipi_mux_2: endpoint {
517 remote-endpoint = <&ipu2_di0_mipi>;
524 mipi_mux_3: endpoint {
525 remote-endpoint = <&ipu2_di1_mipi>;
532 mux-reg-masks = <0x04 0x00080000>, /* MIPI_IPU1_MUX */
533 <0x04 0x00100000>, /* MIPI_IPU2_MUX */
534 <0x0c 0x0000000c>, /* HDMI_MUX_CTL */
535 <0x0c 0x000000c0>, /* LVDS0_MUX_CTL */
536 <0x0c 0x00000300>, /* LVDS1_MUX_CTL */
537 <0x28 0x00000003>, /* DCIC1_MUX_CTL */
538 <0x28 0x0000000c>; /* DCIC2_MUX_CTL */
542 compatible = "fsl,imx6q-vpu", "cnm,coda960";