You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
915 B
56 lines
915 B
/* |
|
* Copyright (c) 2017 Google LLC. |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
/dts-v1/; |
|
#include <atmel/samd21.dtsi> |
|
|
|
/ { |
|
model = "Arduino Zero"; |
|
compatible = "arduino,zero", "atmel,samd21g18a", "atmel,samd21"; |
|
|
|
chosen { |
|
zephyr,console = &sercom5; |
|
zephyr,sram = &sram0; |
|
zephyr,flash = &flash0; |
|
}; |
|
}; |
|
|
|
&sercom0 { |
|
status = "ok"; |
|
compatible = "atmel,sam0-uart"; |
|
current-speed = <115200>; |
|
}; |
|
|
|
&sercom5 { |
|
status = "ok"; |
|
compatible = "atmel,sam0-uart"; |
|
current-speed = <115200>; |
|
}; |
|
|
|
&sercom4 { |
|
status = "ok"; |
|
compatible = "atmel,sam0-spi"; |
|
}; |
|
|
|
&flash0 { |
|
partitions { |
|
compatible = "fixed-partitions"; |
|
#address-cells = <1>; |
|
#size-cells = <1>; |
|
|
|
/* |
|
* The final 16 KiB is reserved for the application |
|
* and is used by NFFS if enabled. |
|
*/ |
|
|
|
#if defined(CONFIG_FILE_SYSTEM_NFFS) |
|
nffs_partition: partition@3c000 { |
|
label = "nffs"; |
|
reg = <0x0003c000 0x00004000>; |
|
}; |
|
#endif |
|
}; |
|
};
|
|
|