blob: e4e9f368ffbcf14ff489dbf39aa0f29de473611f [file] [log] [blame]
/*
* 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;
};
};
&sercom5 {
status = "ok";
current-speed = <115200>;
};
&sercom0 {
status = "ok";
current-speed = <115200>;
};
&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
};
};