1# Copyright (c) 2019 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Nordic nRF family TWIS (TWI slave with EasyDMA).
6
7  Note: for Zephyr users, the I2C slave API is not available for
8  these devices. See this issue for more details and a HAL-based
9  workaround:
10
11      https://github.com/zephyrproject-rtos/zephyr/issues/21445
12
13  This binding can be used for nodes which can represent TWIS
14  peripherals. A single SoC peripheral ID is often associated with
15  multiple I2C peripherals, like a TWIM and a TWIS. You can choose
16  TWIS by setting the node's "compatible" to "nordic,nrf-twis"
17  and its "status" to "okay", e.g. using an overlay file like this:
18
19      /* This is for TWIS0 -- change to "i2c1" for TWIS1, etc. */
20      &i2c0 {
21              compatible = "nordic,nrf-twis";
22              status = "okay";
23              /* other property settings can go here */
24      };
25
26  This works on any supported SoC, for all TWIS instances.
27
28compatible: "nordic,nrf-twis"
29
30include: nordic,nrf-twi-common.yaml
31
32properties:
33    address-0:
34      type: int
35      required: false
36      description: TWI slave address 0
37
38    address-1:
39      type: int
40      required: false
41      description: TWI slave address 1
42