zephyr/dts/bindings/i2c/atmel,sam-i2c-twi.yaml

33 lines
811 B
YAML
Raw Normal View History

# Copyright (c) 2017 Piotr Mienkowski
# SPDX-License-Identifier: Apache-2.0
description: Atmel SAM Family I2C (TWI) node
compatible: "atmel,sam-i2c-twi"
include: i2c-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
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>;