ARM: at91: Add new binding for sama5d3-ddramc
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 8 Jul 2014 16:21:11 +0000 (18:21 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 15 Jul 2014 09:43:14 +0000 (11:43 +0200)
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>
Documentation/devicetree/bindings/arm/atmel-at91.txt
arch/arm/mach-at91/setup.c

index 16f60b41c14722893584faf3e60148e2edb56f39..33bcf8b57798b8687d9ccaf1c004f4e88cb59bd3 100644 (file)
@@ -61,6 +61,7 @@ RAMC SDRAM/DDR Controller required properties:
 - compatible: Should be "atmel,at91rm9200-sdramc",
                        "atmel,at91sam9260-sdramc",
                        "atmel,at91sam9g45-ddramc",
+                       "atmel,sama5d3-ddramc",
 - reg: Should contain registers location and length
   For at91sam9263 and at91sam9g45 you must specify 2 entries.
 
index f7a07a58ebb6aa10da5f9aae0dac80bd745d1e15..faff1eae3e656a70ad535d8cc34a99a718c7941b 100644 (file)
@@ -384,6 +384,7 @@ static struct of_device_id ramc_ids[] = {
        { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby },
        { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby },
        { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby },
+       { .compatible = "atmel,sama5d3-ddramc", .data = at91_ddr_standby },
        { /*sentinel*/ }
 };