[PATCH v2 5/5] ARM: mx28evk: add mxs-dma dt support
Dong Aisheng
b29396 at freescale.com
Fri May 4 22:12:19 EST 2012
From: Dong Aisheng <dong.aisheng at linaro.org>
Cc: Grant Likely <grant.likely at secretlab.ca>
Cc: Rob Herring <rob.herring at calxeda.com>
Cc: Shawn Guo <shawn.guo at linaro.org>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Huang Shijie <b32955 at freescale.com>
Reviewed-by: Marek Vasut <marek.vasut at gmail.com>
Signed-off-by: Dong Aisheng <dong.aisheng at linaro.org>
---
arch/arm/boot/dts/imx28.dtsi | 4 ++--
arch/arm/mach-mxs/clock-mx28.c | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index d1f4f8c..5f61777 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -52,8 +52,8 @@
};
dma-apbh at 80004000 {
+ compatible = "fsl,imx28-dma-apbh";
reg = <0x80004000 2000>;
- status = "disabled";
};
perfmon at 80006000 {
@@ -115,8 +115,8 @@
};
dma-apbx at 80024000 {
+ compatible = "fsl,imx28-dma-apbx";
reg = <0x80024000 2000>;
- status = "disabled";
};
dcp at 80028000 {
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c
index cca2cf7..9c926b6 100644
--- a/arch/arm/mach-mxs/clock-mx28.c
+++ b/arch/arm/mach-mxs/clock-mx28.c
@@ -652,6 +652,8 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("80074000.serial", NULL, uart_clk)
_REGISTER_CLOCK("800f0000.ethernet", NULL, fec_clk)
_REGISTER_CLOCK("800f4000.ethernet", NULL, fec_clk)
+ _REGISTER_CLOCK("80004000.dma-apbh", NULL, hbus_clk)
+ _REGISTER_CLOCK("80024000.dma-apbx", NULL, xbus_clk)
};
static int clk_misc_init(void)
--
1.7.0.4
More information about the devicetree-discuss
mailing list