1# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
2# SPDX-License-Identifier: Apache-2.0
3
4description: Atmel SAM0 series SERCOM I2C node
5
6compatible: "atmel,sam0-i2c"
7
8include:
9  - name: i2c-controller.yaml
10  - name: pinctrl-device.yaml
11
12properties:
13  reg:
14    required: true
15
16  interrupts:
17    required: true
18
19  clocks:
20    required: true
21
22  clock-names:
23    required: true
24
25  dmas:
26    description: |
27      Optional TX & RX dma specifiers.  Each specifier will have a phandle
28      reference to the dmac controller, the channel number, and peripheral
29      trigger source.
30
31      For example dmas for TX, RX on SERCOM3
32         dmas = <&dmac 0 0xb>, <&dmac 0 0xa>;
33
34  dma-names:
35    description: |
36      Required if the dmas property exists.  This should be "tx" and "rx"
37      to match the dmas property.
38
39      For example
40         dma-names = "tx", "rx";
41