2019-03-07 02:03:48 +01:00
|
|
|
# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-19 00:03:49 +02:00
|
|
|
|
2019-11-19 08:39:11 +01:00
|
|
|
description: Atmel SAM0 series SERCOM I2C node
|
2019-03-07 02:03:48 +01:00
|
|
|
|
2019-08-19 20:32:25 +02:00
|
|
|
compatible: "atmel,sam0-i2c"
|
|
|
|
|
2022-03-13 16:06:04 +01:00
|
|
|
include:
|
2023-01-03 20:21:25 +01:00
|
|
|
- name: i2c-controller.yaml
|
|
|
|
- name: pinctrl-device.yaml
|
2019-03-07 02:03:48 +01:00
|
|
|
|
|
|
|
properties:
|
2023-01-03 20:21:25 +01:00
|
|
|
reg:
|
|
|
|
required: true
|
2019-03-07 02:03:48 +01:00
|
|
|
|
2023-01-03 20:21:25 +01:00
|
|
|
interrupts:
|
|
|
|
required: true
|
2019-03-07 02:03:48 +01:00
|
|
|
|
2023-01-03 20:21:25 +01:00
|
|
|
clocks:
|
|
|
|
required: true
|
2020-04-20 21:49:12 +02:00
|
|
|
|
2023-01-03 20:21:25 +01:00
|
|
|
clock-names:
|
|
|
|
required: true
|
2020-04-20 21:49:12 +02:00
|
|
|
|
2023-01-03 20:21:25 +01:00
|
|
|
dmas:
|
|
|
|
description: |
|
|
|
|
Optional TX & RX dma specifiers. Each specifier will have a phandle
|
|
|
|
reference to the dmac controller, the channel number, and peripheral
|
|
|
|
trigger source.
|
2020-04-21 16:38:14 +02:00
|
|
|
|
2023-01-03 20:21:25 +01:00
|
|
|
For example dmas for TX, RX on SERCOM3
|
|
|
|
dmas = <&dmac 0 0xb>, <&dmac 0 0xa>;
|
2020-04-21 16:38:14 +02:00
|
|
|
|
2023-01-03 20:21:25 +01:00
|
|
|
dma-names:
|
|
|
|
description: |
|
|
|
|
Required if the dmas property exists. This should be "tx" and "rx"
|
|
|
|
to match the dmas property.
|
2020-04-21 16:38:14 +02:00
|
|
|
|
2023-01-03 20:21:25 +01:00
|
|
|
For example
|
|
|
|
dma-names = "tx", "rx";
|