Skip to content

Commit 017b552

Browse files
alexandrebellonimripard
authored andcommitted
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>
1 parent 7171511 commit 017b552

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Documentation/devicetree/bindings/arm/atmel-at91.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ RAMC SDRAM/DDR Controller required properties:
6161
- compatible: Should be "atmel,at91rm9200-sdramc",
6262
"atmel,at91sam9260-sdramc",
6363
"atmel,at91sam9g45-ddramc",
64+
"atmel,sama5d3-ddramc",
6465
- reg: Should contain registers location and length
6566
For at91sam9263 and at91sam9g45 you must specify 2 entries.
6667

arch/arm/mach-at91/setup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ static struct of_device_id ramc_ids[] = {
384384
{ .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby },
385385
{ .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby },
386386
{ .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby },
387+
{ .compatible = "atmel,sama5d3-ddramc", .data = at91_ddr_standby },
387388
{ /*sentinel*/ }
388389
};
389390

0 commit comments

Comments
 (0)