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