SoC: SAM3x and SAM4: Add the Flash Controller to the DT

This commit adds Device-Tree instances of the Flash controller
to the SAM3X, SAM4E and SAM4S series. The Flash-Controller
is used to get the unique device identifier.

Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
This commit is contained in:
Alexander Wachter 2020-02-20 13:36:52 +01:00 committed by Carles Cufí
commit b96477dd69
6 changed files with 42 additions and 0 deletions

View file

@ -35,6 +35,17 @@
};
soc {
/* Only used for HWINFO device ID */
flash-controller@400e0a00 {
compatible = "atmel,sam-flash-controller";
label = "FLASH_CTRL";
reg = <0x400e0a00 0x200>;
peripheral-id = <6>;
#address-cells = <1>;
#size-cells = <1>;
};
wdog: watchdog@400e1a50 {
compatible = "atmel,sam-watchdog";
reg = <0x400e1a50 0xc>;