diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-07-08 12:21:11 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-07-15 05:43:14 -0400 |
commit | 017b5522d5e31a0b2c2f54f566aa8887838bccc7 (patch) | |
tree | c658d7c62419ec63efa43f3b736a2c4037e5d5b7 | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
ARM: at91: Add new binding for sama5d3-ddramc
The IP for the SDRAM controller found on sama5d3 SoCs is different from the g45
one. Introduce a new compatible string to reflect that.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | Documentation/devicetree/bindings/arm/atmel-at91.txt | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/setup.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt index 16f60b41c147..33bcf8b57798 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt | |||
@@ -61,6 +61,7 @@ RAMC SDRAM/DDR Controller required properties: | |||
61 | - compatible: Should be "atmel,at91rm9200-sdramc", | 61 | - compatible: Should be "atmel,at91rm9200-sdramc", |
62 | "atmel,at91sam9260-sdramc", | 62 | "atmel,at91sam9260-sdramc", |
63 | "atmel,at91sam9g45-ddramc", | 63 | "atmel,at91sam9g45-ddramc", |
64 | "atmel,sama5d3-ddramc", | ||
64 | - reg: Should contain registers location and length | 65 | - reg: Should contain registers location and length |
65 | For at91sam9263 and at91sam9g45 you must specify 2 entries. | 66 | For at91sam9263 and at91sam9g45 you must specify 2 entries. |
66 | 67 | ||
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index f7a07a58ebb6..faff1eae3e65 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c | |||
@@ -384,6 +384,7 @@ static struct of_device_id ramc_ids[] = { | |||
384 | { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby }, | 384 | { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby }, |
385 | { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby }, | 385 | { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby }, |
386 | { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby }, | 386 | { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby }, |
387 | { .compatible = "atmel,sama5d3-ddramc", .data = at91_ddr_standby }, | ||
387 | { /*sentinel*/ } | 388 | { /*sentinel*/ } |
388 | }; | 389 | }; |
389 | 390 | ||