1/* 2 * Copyright (c) 2018 Sean Nyekjaer 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <atmel/samd2x.dtsi> 8 9/ { 10 aliases { 11 tc-0 = &tc0; 12 tc-2 = &tc2; 13 tc-6 = &tc6; 14 }; 15 16 soc { 17 tc0: tc@42002000 { 18 compatible = "atmel,sam0-tc32"; 19 reg = <0x42002000 0x20>; 20 interrupts = <13 0>; 21 clocks = <&gclk 0x13>, <&pm 0x20 8>; 22 clock-names = "GCLK", "PM"; 23 status = "disabled"; 24 }; 25 26 tc2: tc@42002800 { 27 compatible = "atmel,sam0-tc32"; 28 reg = <0x42002800 0x20>; 29 interrupts = <15 0>; 30 clocks = <&gclk 0x14>, <&pm 0x20 10>; 31 clock-names = "GCLK", "PM"; 32 status = "disabled"; 33 }; 34 35 tc6: tc@42003800 { 36 compatible = "atmel,sam0-tc32"; 37 reg = <0x42003800 0x20>; 38 interrupts = <19 0>; 39 clocks = <&gclk 0x16>, <&pm 0x20 14>; 40 clock-names = "GCLK", "PM"; 41 status = "disabled"; 42 }; 43 }; 44}; 45 46&dac0 { 47 interrupts = <23 0>; 48 clocks = <&gclk 26>, <&pm 0x20 18>; 49 clock-names = "GCLK", "PM"; 50}; 51 52&sercom0 { 53 interrupts = <7 0>; 54 clocks = <&gclk 0xd>, <&pm 0x20 2>; 55 clock-names = "GCLK", "PM"; 56}; 57 58&sercom1 { 59 interrupts = <8 0>; 60 clocks = <&gclk 0xe>, <&pm 0x20 3>; 61 clock-names = "GCLK", "PM"; 62}; 63 64&sercom2 { 65 interrupts = <9 0>; 66 clocks = <&gclk 0xf>, <&pm 0x20 4>; 67 clock-names = "GCLK", "PM"; 68}; 69 70&sercom3 { 71 interrupts = <10 0>; 72 clocks = <&gclk 0x10>, <&pm 0x20 5>; 73 clock-names = "GCLK", "PM"; 74}; 75 76&sercom4 { 77 interrupts = <11 0>; 78 clocks = <&gclk 0x11>, <&pm 0x20 6>; 79 clock-names = "GCLK", "PM"; 80}; 81 82&sercom5 { 83 interrupts = <12 0>; 84 clocks = <&gclk 0x12>, <&pm 0x20 7>; 85 clock-names = "GCLK", "PM"; 86}; 87 88&tc4 { 89 interrupts = <17 0>; 90 clocks = <&gclk 0x15>, <&pm 0x20 12>; 91 clock-names = "GCLK", "PM"; 92}; 93 94&adc { 95 interrupts = <21 0>; 96 interrupt-names = "resrdy"; 97 clocks = <&gclk 0x17>, <&pm 0x20 16>; 98 clock-names = "GCLK", "PM"; 99}; 100