Commit 39738cc9 authored by Linus Walleij's avatar Linus Walleij

ARM: u300: add the COH 901 318 DMAC to device tree

This adds the COH 901 318 DMA controller to the U300
device tree. All devices now converted to device tree
so far will start to find their DMA channels.

Note that the U300 is not yet using the device tree
to obtain DMA channels, but this is a first step.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent efb9bc2e
...@@ -68,6 +68,15 @@ rtc: rtc@c0017000 { ...@@ -68,6 +68,15 @@ rtc: rtc@c0017000 {
interrupts = <10>; interrupts = <10>;
}; };
dmac: dma-controller@c00020000 {
compatible = "stericsson,coh901318";
reg = <0xc0020000 0x1000>;
interrupt-parent = <&vica>;
interrupts = <2>;
#dma-cells = <1>;
dma-channels = <40>;
};
i2c0: i2c@c0004000 { i2c0: i2c@c0004000 {
compatible = "st,ddci2c"; compatible = "st,ddci2c";
reg = <0xc0004000 0x1000>; reg = <0xc0004000 0x1000>;
......
...@@ -714,6 +714,8 @@ static struct of_dev_auxdata u300_auxdata_lookup[] __initdata = { ...@@ -714,6 +714,8 @@ static struct of_dev_auxdata u300_auxdata_lookup[] __initdata = {
"coh901327_wdog", NULL), "coh901327_wdog", NULL),
OF_DEV_AUXDATA("stericsson,coh901331", U300_RTC_BASE, OF_DEV_AUXDATA("stericsson,coh901331", U300_RTC_BASE,
"rtc-coh901331", NULL), "rtc-coh901331", NULL),
OF_DEV_AUXDATA("stericsson,coh901318", U300_DMAC_BASE,
"coh901318", NULL),
OF_DEV_AUXDATA("arm,primecell", U300_UART0_BASE, OF_DEV_AUXDATA("arm,primecell", U300_UART0_BASE,
"uart0", &uart0_plat_data), "uart0", &uart0_plat_data),
OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE, OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment