Skip to content

Commit a04a0b6

Browse files
pH5Shawn Guo
authored andcommitted
ARM: dts: imx6qdl: Enable CODA960 VPU
This patch adds links to the on-chip SRAM and reset controller nodes and switches the interrupts. Make the BIT processor interrupt, which exists on all variants, the first one. The JPEG unit interrupt, which does not exist on i.MX27 and i.MX5 thus is an optional second interrupt. Use different compatible strings for i.MX6Q/D and i.MX6S/DL, as they have to load separate firmware images for some reason. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
1 parent 367415d commit a04a0b6

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎arch/arm/boot/dts/imx6dl.dtsi‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,7 @@
118118
"di0_sel", "di1_sel",
119119
"di0", "di1";
120120
};
121+
122+
&vpu {
123+
compatible = "fsl,imx6dl-vpu", "cnm,coda960";
124+
};

‎arch/arm/boot/dts/imx6q.dtsi‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,7 @@
308308
};
309309
};
310310
};
311+
312+
&vpu {
313+
compatible = "fsl,imx6q-vpu", "cnm,coda960";
314+
};

‎arch/arm/boot/dts/imx6qdl.dtsi‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,17 @@
333333
};
334334

335335
vpu: vpu@02040000 {
336+
compatible = "cnm,coda960";
336337
reg = <0x02040000 0x3c000>;
337338
interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>,
338339
<0 12 IRQ_TYPE_LEVEL_HIGH>;
340+
interrupt-names = "bit", "jpeg";
341+
clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
342+
<&clks IMX6QDL_CLK_MMDC_CH0_AXI>,
343+
<&clks IMX6QDL_CLK_OCRAM>;
344+
clock-names = "per", "ahb", "ocram";
345+
resets = <&src 1>;
346+
iram = <&ocram>;
339347
};
340348

341349
aipstz@0207c000 { /* AIPSTZ1 */

0 commit comments

Comments
 (0)