blob: 24e95381062dbca199e03ed43df9ae0934720072 [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;
};
};
&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_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@3c000 {
label = "storage";
reg = <0x0003c000 0x00004000>;
};
#endif
};
};
&usb0 {
status = "ok";
};