zephyr/dts/arm/atmel/samd21.dtsi

149 lines
2.7 KiB
Plaintext

/*
* Copyright (c) 2017 Google LLC.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <arm/armv6-m.dtsi>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m0";
reg = <0>;
};
};
flash0: flash@0 {
compatible = "soc-nv-flash";
label = "FLASH_0";
reg = <0 0x40000>;
write-block-size = <64>;
};
sram0: memory@20000000 {
device_type = "memory";
compatible = "mmio-sram";
reg = <0x20000000 0x8000>;
};
soc {
wdog: watchdog@40001000 {
compatible = "atmel,sam0-watchdog";
reg = <0x40001000 9>;
interrupts = <2 0>;
label = "WATCHDOG_0";
};
sercom0: uart@42000800 {
compatible = "atmel,sam0-uart";
reg = <0x42000800 0x40>;
interrupts = <9 0>;
status = "disabled";
label = "SERCOM0";
};
sercom1: uart@42000c00 {
compatible = "atmel,sam0-uart";
reg = <0x42000c00 0x40>;
interrupts = <10 0>;
status = "disabled";
label = "SERCOM1";
};
sercom2: uart@42001000 {
compatible = "atmel,sam0-uart";
reg = <0x42001000 0x40>;
interrupts = <11 0>;
status = "disabled";
label = "SERCOM2";
};
sercom3: uart@42001400 {
compatible = "atmel,sam0-uart";
reg = <0x42001400 0x40>;
interrupts = <12 0>;
status = "disabled";
label = "SERCOM3";
};
sercom4: uart@42001800 {
compatible = "atmel,sam0-uart";
reg = <0x42001800 0x40>;
interrupts = <13 0>;
status = "disabled";
label = "SERCOM4";
};
sercom5: uart@42001C00 {
compatible = "atmel,sam0-uart";
reg = <0x42001C00 0x40>;
interrupts = <14 0>;
status = "disabled";
label = "SERCOM5";
};
spi0: spi@42000800 {
compatible = "atmel,sam0-spi";
reg = <0x42000800 0x40>;
status = "disabled";
label = "SPI0";
};
spi1: spi@42000c00 {
compatible = "atmel,sam0-spi";
reg = <0x42000c00 0x40>;
status = "disabled";
label = "SPI1";
};
spi2: spi@42001000 {
compatible = "atmel,sam0-spi";
reg = <0x42001000 0x40>;
status = "disabled";
label = "SPI2";
};
spi3: spi@42001400 {
compatible = "atmel,sam0-spi";
reg = <0x42001400 0x40>;
status = "disabled";
label = "SPI3";
};
spi4: spi@42001800 {
compatible = "atmel,sam0-spi";
reg = <0x42001800 0x40>;
status = "disabled";
label = "SPI4";
};
spi5: spi@42001C00 {
compatible = "atmel,sam0-spi";
reg = <0x42001C00 0x40>;
status = "disabled";
label = "SPI5";
};
porta: gpio@41004400 {
compatible = "atmel,sam0-gpio";
reg = <0x41004400 0x80>;
label = "PORTA";
};
portb: gpio@41004480 {
compatible = "atmel,sam0-gpio";
reg = <0x41004480 0x80>;
label = "PORTB";
};
};
};
&nvic {
arm,num-irq-priority-bits = <2>;
};