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>;
52 nvmem-cells = <&cpu_speed_grade>;
53 nvmem-cell-names = "speed_grade";
57 compatible = "arm,cortex-a9";
60 next-level-cache = <&L2>;
69 fsl,soc-operating-points = <
70 /* ARM kHz SOC-PU uV */
77 clock-latency = <61036>; /* two CLK32 periods */
79 clocks = <&clks IMX6QDL_CLK_ARM>,
80 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
81 <&clks IMX6QDL_CLK_STEP>,
82 <&clks IMX6QDL_CLK_PLL1_SW>,
83 <&clks IMX6QDL_CLK_PLL1_SYS>;
84 clock-names = "arm", "pll2_pfd2_396m", "step",
85 "pll1_sw", "pll1_sys";
86 arm-supply = <®_arm>;
87 pu-supply = <®_pu>;
88 soc-supply = <®_soc>;
92 compatible = "arm,cortex-a9";
95 next-level-cache = <&L2>;
104 fsl,soc-operating-points = <
105 /* ARM kHz SOC-PU uV */
112 clock-latency = <61036>; /* two CLK32 periods */
113 #cooling-cells = <2>;
114 clocks = <&clks IMX6QDL_CLK_ARM>,
115 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
116 <&clks IMX6QDL_CLK_STEP>,
117 <&clks IMX6QDL_CLK_PLL1_SW>,
118 <&clks IMX6QDL_CLK_PLL1_SYS>;
119 clock-names = "arm", "pll2_pfd2_396m", "step",
120 "pll1_sw", "pll1_sys";
121 arm-supply = <®_arm>;
122 pu-supply = <®_pu>;
123 soc-supply = <®_soc>;
127 compatible = "arm,cortex-a9";
130 next-level-cache = <&L2>;
139 fsl,soc-operating-points = <
140 /* ARM kHz SOC-PU uV */
147 clock-latency = <61036>; /* two CLK32 periods */
148 #cooling-cells = <2>;
149 clocks = <&clks IMX6QDL_CLK_ARM>,
150 <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
151 <&clks IMX6QDL_CLK_STEP>,
152 <&clks IMX6QDL_CLK_PLL1_SW>,
153 <&clks IMX6QDL_CLK_PLL1_SYS>;
154 clock-names = "arm", "pll2_pfd2_396m", "step",
155 "pll1_sw", "pll1_sys";
156 arm-supply = <®_arm>;
157 pu-supply = <®_pu>;
158 soc-supply = <®_soc>;
164 compatible = "mmio-sram";
165 reg = <0x00900000 0x40000>;
166 ranges = <0 0x00900000 0x40000>;
167 #address-cells = <1>;
169 clocks = <&clks IMX6QDL_CLK_OCRAM>;
172 aips1: bus@2000000 { /* AIPS1 */
174 ecspi5: spi@2018000 {
175 #address-cells = <1>;
177 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
178 reg = <0x02018000 0x4000>;
179 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
180 clocks = <&clks IMX6Q_CLK_ECSPI5>,
181 <&clks IMX6Q_CLK_ECSPI5>;
182 clock-names = "ipg", "per";
183 dmas = <&sdma 11 7 1>, <&sdma 12 7 2>;
184 dma-names = "rx", "tx";
191 compatible = "fsl,imx6q-ahci";
192 reg = <0x02200000 0x4000>;
193 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&clks IMX6QDL_CLK_SATA>,
195 <&clks IMX6QDL_CLK_SATA_REF_100M>,
196 <&clks IMX6QDL_CLK_AHB>;
197 clock-names = "sata", "sata_ref", "ahb";
201 gpu_vg: gpu@2204000 {
202 compatible = "vivante,gc";
203 reg = <0x02204000 0x4000>;
204 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
205 clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>,
206 <&clks IMX6QDL_CLK_GPU2D_CORE>;
207 clock-names = "bus", "core";
208 power-domains = <&pd_pu>;
209 #cooling-cells = <2>;
213 #address-cells = <1>;
215 compatible = "fsl,imx6q-ipu";
216 reg = <0x02800000 0x400000>;
217 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>,
218 <0 7 IRQ_TYPE_LEVEL_HIGH>;
219 clocks = <&clks IMX6QDL_CLK_IPU2>,
220 <&clks IMX6QDL_CLK_IPU2_DI0>,
221 <&clks IMX6QDL_CLK_IPU2_DI1>;
222 clock-names = "bus", "di0", "di1";
228 ipu2_csi0_from_mipi_vc2: endpoint {
229 remote-endpoint = <&mipi_vc2_to_ipu2_csi0>;
236 ipu2_csi1_from_ipu2_csi1_mux: endpoint {
237 remote-endpoint = <&ipu2_csi1_mux_to_ipu2_csi1>;
242 #address-cells = <1>;
246 ipu2_di0_disp0: endpoint@0 {
250 ipu2_di0_hdmi: endpoint@1 {
252 remote-endpoint = <&hdmi_mux_2>;
255 ipu2_di0_mipi: endpoint@2 {
257 remote-endpoint = <&mipi_mux_2>;
260 ipu2_di0_lvds0: endpoint@3 {
262 remote-endpoint = <&lvds0_mux_2>;
265 ipu2_di0_lvds1: endpoint@4 {
267 remote-endpoint = <&lvds1_mux_2>;
272 #address-cells = <1>;
276 ipu2_di1_hdmi: endpoint@1 {
278 remote-endpoint = <&hdmi_mux_3>;
281 ipu2_di1_mipi: endpoint@2 {
283 remote-endpoint = <&mipi_mux_3>;
286 ipu2_di1_lvds0: endpoint@3 {
288 remote-endpoint = <&lvds0_mux_3>;
291 ipu2_di1_lvds1: endpoint@4 {
293 remote-endpoint = <&lvds1_mux_3>;
300 compatible = "fsl,imx-capture-subsystem";
301 ports = <&ipu1_csi0>, <&ipu1_csi1>, <&ipu2_csi0>, <&ipu2_csi1>;
305 compatible = "fsl,imx-display-subsystem";
306 ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>;
311 gpio-ranges = <&iomuxc 0 136 2>, <&iomuxc 2 141 1>, <&iomuxc 3 139 1>,
312 <&iomuxc 4 142 2>, <&iomuxc 6 140 1>, <&iomuxc 7 144 2>,
313 <&iomuxc 9 138 1>, <&iomuxc 10 213 3>, <&iomuxc 13 20 1>,
314 <&iomuxc 14 19 1>, <&iomuxc 15 21 1>, <&iomuxc 16 208 1>,
315 <&iomuxc 17 207 1>, <&iomuxc 18 210 3>, <&iomuxc 21 209 1>,
320 gpio-ranges = <&iomuxc 0 191 16>, <&iomuxc 16 55 14>, <&iomuxc 30 35 1>,
325 gpio-ranges = <&iomuxc 0 69 16>, <&iomuxc 16 36 8>, <&iomuxc 24 45 8>;
329 gpio-ranges = <&iomuxc 5 149 1>, <&iomuxc 6 126 10>, <&iomuxc 16 87 16>;
333 gpio-ranges = <&iomuxc 0 85 1>, <&iomuxc 2 34 1>, <&iomuxc 4 53 1>,
334 <&iomuxc 5 103 13>, <&iomuxc 18 150 14>;
338 gpio-ranges = <&iomuxc 0 164 6>, <&iomuxc 6 54 1>, <&iomuxc 7 181 5>,
339 <&iomuxc 14 186 3>, <&iomuxc 17 170 2>, <&iomuxc 19 22 12>,
344 gpio-ranges = <&iomuxc 0 172 9>, <&iomuxc 9 189 2>, <&iomuxc 11 146 3>;
349 compatible = "video-mux";
350 mux-controls = <&mux 0>;
351 #address-cells = <1>;
357 ipu1_csi0_mux_from_mipi_vc0: endpoint {
358 remote-endpoint = <&mipi_vc0_to_ipu1_csi0_mux>;
365 ipu1_csi0_mux_from_parallel_sensor: endpoint {
372 ipu1_csi0_mux_to_ipu1_csi0: endpoint {
373 remote-endpoint = <&ipu1_csi0_from_ipu1_csi0_mux>;
379 compatible = "video-mux";
380 mux-controls = <&mux 1>;
381 #address-cells = <1>;
387 ipu2_csi1_mux_from_mipi_vc3: endpoint {
388 remote-endpoint = <&mipi_vc3_to_ipu2_csi1_mux>;
395 ipu2_csi1_mux_from_parallel_sensor: endpoint {
402 ipu2_csi1_mux_to_ipu2_csi1: endpoint {
403 remote-endpoint = <&ipu2_csi1_from_ipu2_csi1_mux>;
410 compatible = "fsl,imx6q-hdmi";
416 hdmi_mux_2: endpoint {
417 remote-endpoint = <&ipu2_di0_hdmi>;
424 hdmi_mux_3: endpoint {
425 remote-endpoint = <&ipu2_di1_hdmi>;
432 compatible = "fsl,imx6q-iomuxc";
436 ipu1_csi1_from_mipi_vc1: endpoint {
437 remote-endpoint = <&mipi_vc1_to_ipu1_csi1>;
442 clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
443 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
444 <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
445 <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
446 clock-names = "di0_pll", "di1_pll",
447 "di0_sel", "di1_sel", "di2_sel", "di3_sel",
454 lvds0_mux_2: endpoint {
455 remote-endpoint = <&ipu2_di0_lvds0>;
462 lvds0_mux_3: endpoint {
463 remote-endpoint = <&ipu2_di1_lvds0>;
472 lvds1_mux_2: endpoint {
473 remote-endpoint = <&ipu2_di0_lvds1>;
480 lvds1_mux_3: endpoint {
481 remote-endpoint = <&ipu2_di1_lvds1>;
491 mipi_vc0_to_ipu1_csi0_mux: endpoint {
492 remote-endpoint = <&ipu1_csi0_mux_from_mipi_vc0>;
499 mipi_vc1_to_ipu1_csi1: endpoint {
500 remote-endpoint = <&ipu1_csi1_from_mipi_vc1>;
507 mipi_vc2_to_ipu2_csi0: endpoint {
508 remote-endpoint = <&ipu2_csi0_from_mipi_vc2>;
515 mipi_vc3_to_ipu2_csi1_mux: endpoint {
516 remote-endpoint = <&ipu2_csi1_mux_from_mipi_vc3>;
526 mipi_mux_2: endpoint {
527 remote-endpoint = <&ipu2_di0_mipi>;
534 mipi_mux_3: endpoint {
535 remote-endpoint = <&ipu2_di1_mipi>;
542 mux-reg-masks = <0x04 0x00080000>, /* MIPI_IPU1_MUX */
543 <0x04 0x00100000>, /* MIPI_IPU2_MUX */
544 <0x0c 0x0000000c>, /* HDMI_MUX_CTL */
545 <0x0c 0x000000c0>, /* LVDS0_MUX_CTL */
546 <0x0c 0x00000300>, /* LVDS1_MUX_CTL */
547 <0x28 0x00000003>, /* DCIC1_MUX_CTL */
548 <0x28 0x0000000c>; /* DCIC2_MUX_CTL */
552 compatible = "fsl,imx6q-vpu", "cnm,coda960";