2018-03-04 19:46:44 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Sean Nyekjaer
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <atmel/samd.dtsi>
|
2019-04-02 09:35:29 +08:00
|
|
|
|
2019-04-02 09:15:03 +08:00
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
tc-0 = &tc0;
|
|
|
|
tc-2 = &tc2;
|
|
|
|
tc-6 = &tc6;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
tc0: tc@42002000 {
|
|
|
|
compatible = "atmel,sam0-tc32";
|
|
|
|
reg = <0x42002000 0x20>;
|
|
|
|
interrupts = <13 0>;
|
|
|
|
label = "TIMER_0";
|
|
|
|
};
|
|
|
|
|
|
|
|
tc2: tc@42002800 {
|
|
|
|
compatible = "atmel,sam0-tc32";
|
|
|
|
reg = <0x42002800 0x20>;
|
|
|
|
interrupts = <15 0>;
|
|
|
|
label = "TIMER_2";
|
|
|
|
};
|
|
|
|
|
|
|
|
tc6: tc@42003800 {
|
|
|
|
compatible = "atmel,sam0-tc32";
|
|
|
|
reg = <0x42003800 0x20>;
|
|
|
|
interrupts = <19 0>;
|
|
|
|
label = "TIMER_6";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-02 09:35:29 +08:00
|
|
|
&sercom0 {
|
|
|
|
interrupts = <7 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom1 {
|
|
|
|
interrupts = <8 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom2 {
|
|
|
|
interrupts = <9 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom3 {
|
|
|
|
interrupts = <10 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom4 {
|
|
|
|
interrupts = <11 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sercom5 {
|
|
|
|
interrupts = <12 0>;
|
|
|
|
};
|
2019-02-24 22:47:57 +08:00
|
|
|
|
2019-04-02 09:15:03 +08:00
|
|
|
&tc4 {
|
|
|
|
interrupts = <17 0>;
|
|
|
|
};
|
|
|
|
|
2019-02-24 22:47:57 +08:00
|
|
|
&adc {
|
|
|
|
interrupts = <21 0>;
|
|
|
|
};
|