2018-02-28 17:37:41 +08:00
|
|
|
# Copyright (c) 2017 Piotr Mienkowski
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-19 06:03:49 +08:00
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: Atmel SAM Family I2C (TWI) node
|
2017-05-21 08:47:32 +08:00
|
|
|
|
2019-08-20 02:32:25 +08:00
|
|
|
compatible: "atmel,sam-i2c-twi"
|
|
|
|
|
2019-08-22 07:10:12 +08:00
|
|
|
include: i2c-controller.yaml
|
2017-05-21 08:47:32 +08:00
|
|
|
|
|
|
|
properties:
|
2017-11-23 15:48:10 +08:00
|
|
|
reg:
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2017-05-21 08:47:32 +08:00
|
|
|
|
2017-11-23 15:48:10 +08:00
|
|
|
interrupts:
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2017-05-21 08:47:32 +08:00
|
|
|
|
2017-11-23 15:48:10 +08:00
|
|
|
peripheral-id:
|
2017-05-21 08:47:32 +08:00
|
|
|
type: int
|
|
|
|
description: peripheral ID
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2020-04-20 17:56:00 +08:00
|
|
|
|
|
|
|
pinctrl-0:
|
|
|
|
type: phandles
|
|
|
|
required: true
|
|
|
|
description: |
|
|
|
|
PIO pin configuration for TWCK & TWD signals. We expect that
|
|
|
|
the phandles will reference pinctrl nodes. These nodes will
|
|
|
|
have a nodelabel that matches the Atmel SoC HAL defines and
|
|
|
|
be of the form p<port><pin><periph>_<inst>_<signal>.
|
|
|
|
|
|
|
|
For example the I2C on SAM3x would be
|
|
|
|
pinctrl-0 = <&pa18a_twi0_twck0 &pa17a_twi0_twd0>;
|