1/* 2 * Copyright (c) 2017 Google LLC. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <atmel/samd2x.dtsi> 8 9/ { 10 aliases { 11 tc-6 = &tc6; 12 13 tcc-0 = &tcc0; 14 tcc-1 = &tcc1; 15 tcc-2 = &tcc2; 16 }; 17 18 soc { 19 usb0: usb@41005000 { 20 compatible = "atmel,sam0-usb"; 21 reg = <0x41005000 0x1000>; 22 interrupts = <7 0>; 23 status = "disabled"; 24 25 num-bidir-endpoints = <8>; 26 }; 27 28 dmac: dmac@41004800 { 29 compatible = "atmel,sam0-dmac"; 30 reg = <0x41004800 0x50>; 31 interrupts = <6 0>; 32 status = "disabled"; 33 34 #dma-cells = <2>; 35 }; 36 37 tc6: tc@42003800 { 38 compatible = "atmel,sam0-tc32"; 39 reg = <0x42003800 0x20>; 40 interrupts = <21 0>; 41 clocks = <&gclk 0x1d>, <&pm 0x20 14>; 42 clock-names = "GCLK", "PM"; 43 status = "disabled"; 44 }; 45 46 tcc0: tcc@42002000 { 47 compatible = "atmel,sam0-tcc"; 48 reg = <0x42002000 0x80>; 49 interrupts = <15 0>; 50 clocks = <&gclk 26>, <&pm 0x20 8>; 51 clock-names = "GCLK", "PM"; 52 status = "disabled"; 53 54 channels = <4>; 55 counter-size = <24>; 56 }; 57 58 tcc1: tcc@42002400 { 59 compatible = "atmel,sam0-tcc"; 60 reg = <0x42002400 0x80>; 61 interrupts = <16 0>; 62 clocks = <&gclk 26>, <&pm 0x20 9>; 63 clock-names = "GCLK", "PM"; 64 status = "disabled"; 65 66 channels = <2>; 67 counter-size = <24>; 68 }; 69 70 tcc2: tcc@42002800 { 71 compatible = "atmel,sam0-tcc"; 72 reg = <0x42002800 0x80>; 73 interrupts = <17 0>; 74 clocks = <&gclk 27>, <&pm 0x20 10>; 75 clock-names = "GCLK", "PM"; 76 status = "disabled"; 77 78 channels = <2>; 79 counter-size = <16>; 80 }; 81 }; 82}; 83 84&dac0 { 85 interrupts = <25 0>; 86 clocks = <&gclk 33>, <&pm 0x20 18>; 87 clock-names = "GCLK", "PM"; 88}; 89 90&sercom0 { 91 interrupts = <9 0>; 92 clocks = <&gclk 0x14>, <&pm 0x20 2>; 93 clock-names = "GCLK", "PM"; 94}; 95 96&sercom1 { 97 interrupts = <10 0>; 98 clocks = <&gclk 0x15>, <&pm 0x20 3>; 99 clock-names = "GCLK", "PM"; 100}; 101 102&sercom2 { 103 interrupts = <11 0>; 104 clocks = <&gclk 0x16>, <&pm 0x20 4>; 105 clock-names = "GCLK", "PM"; 106}; 107 108&sercom3 { 109 interrupts = <12 0>; 110 clocks = <&gclk 0x17>, <&pm 0x20 5>; 111 clock-names = "GCLK", "PM"; 112}; 113 114&sercom4 { 115 interrupts = <13 0>; 116 clocks = <&gclk 0x18>, <&pm 0x20 6>; 117 clock-names = "GCLK", "PM"; 118}; 119 120&sercom5 { 121 interrupts = <14 0>; 122 clocks = <&gclk 0x19>, <&pm 0x20 7>; 123 clock-names = "GCLK", "PM"; 124}; 125 126&tc4 { 127 interrupts = <19 0>; 128 clocks = <&gclk 0x1c>, <&pm 0x20 12>; 129 clock-names = "GCLK", "PM"; 130}; 131 132&adc { 133 clocks = <&gclk 0x1e>, <&pm 0x20 16>; 134 clock-names = "GCLK", "PM"; 135 interrupts = <23 0>; 136 interrupt-names = "resrdy"; 137}; 138