1# Copyright 2020 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4description: Zephyr I2C Emulation controller 5 6compatible: "zephyr,i2c-emul-controller" 7 8include: i2c-controller.yaml 9 10properties: 11 reg: 12 required: true 13 target-buffered-mode: 14 type: boolean 15 description: | 16 This option is used when the I2C target is enabled and it can support 17 buffered mode for I2C target transfer. When 'false', the target will use 18 PIO (Programmed I/O) mode. 19 forwards: 20 type: phandle-array 21 description: | 22 When added, read/write requests sent to this bus for a given address will 23 be forwarded to the specified phandle (must be another i2c bus). As an 24 example, if we wanted to forward any requests from i2c0@0x20 to i2c1, we 25 would use: 26 27 &i2c0 { 28 forward = <&i2c1 0x20>; 29 }; 30 31forward-cells: 32 - addr 33