2019-02-20 06:14:54 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Benjamin Valentin
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <atmel/samd.dtsi>
|
|
|
|
|
|
|
|
/ {
|
2019-05-01 09:58:42 +08:00
|
|
|
aliases {
|
|
|
|
pinmux-c = &pinmux_c;
|
2019-05-01 10:05:59 +08:00
|
|
|
port-c = &portc;
|
2019-05-01 09:58:42 +08:00
|
|
|
};
|
|
|
|
|
2019-02-20 06:14:54 +08:00
|
|
|
soc {
|
|
|
|
usb0: usb@41005000 {
|
|
|
|
compatible = "atmel,sam0-usb";
|
|
|
|
status = "disabled";
|
|
|
|
reg = <0x41005000 0x1000>;
|
|
|
|
interrupts = <7 0>;
|
|
|
|
num-bidir-endpoints = <8>;
|
|
|
|
label = "USB0";
|
|
|
|
};
|
|
|
|
|
2018-03-06 05:23:09 +08:00
|
|
|
dma: dmac@41004800 {
|
|
|
|
compatible = "atmel,sam0-dmac";
|
|
|
|
reg = <0x41004800 0x50>;
|
|
|
|
interrupts = <6 0>;
|
|
|
|
label = "DMA_0";
|
|
|
|
};
|
|
|
|
|
2019-02-20 06:14:54 +08:00
|
|
|
portc: gpio@41004500 {
|
|
|
|
compatible = "atmel,sam0-gpio";
|
|
|
|
reg = <0x41004500 0x80>;
|
|
|
|
label = "PORTC";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinmux_c: pinmux@41004500 {
|
|
|
|
compatible = "atmel,sam0-pinmux";
|
|
|
|
reg = <0x41004500 0x80>;
|
|
|
|
label = "PINMUX_C";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom0 {
|
|
|
|
interrupts = <9 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom1 {
|
|
|
|
interrupts = <10 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom2 {
|
|
|
|
interrupts = <11 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom3 {
|
|
|
|
interrupts = <12 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom4 {
|
|
|
|
interrupts = <13 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom5 {
|
|
|
|
interrupts = <14 0>;
|
|
|
|
};
|
2019-02-24 22:47:57 +08:00
|
|
|
|
2019-04-02 09:15:03 +08:00
|
|
|
&tc4 {
|
|
|
|
interrupts = <19 0>;
|
|
|
|
};
|
|
|
|
|
2019-02-24 22:47:57 +08:00
|
|
|
&adc {
|
|
|
|
interrupts = <23 0>;
|
|
|
|
};
|