1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bindings for GPIO bitbanged I2C
10 - Wolfram Sang <wolfram@the-dreams.de>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
22 gpio used for the sda signal, this should be flagged as
23 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
24 from <dt-bindings/gpio/gpio.h> since the signal is by definition
30 gpio used for the scl signal, this should be flagged as
31 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
32 from <dt-bindings/gpio/gpio.h> since the signal is by definition
36 i2c-gpio,scl-output-only:
37 description: scl as output only
41 description: delay between GPIO operations (may depend on each platform)
42 $ref: /schemas/types.yaml#/definitions/uint32
45 description: timeout to get data
46 $ref: /schemas/types.yaml#/definitions/uint32
48 # Deprecated properties, do not use in new device tree sources:
52 description: sda and scl gpio, alternative for {sda,scl}-gpios
54 i2c-gpio,sda-open-drain:
55 # Generate a warning if present
57 description: this means that something outside of our control has put
58 the GPIO line used for SDA into open drain mode, and that something is
59 not the GPIO chip. It is essentially an inconsistency flag.
61 i2c-gpio,scl-open-drain:
62 # Generate a warning if present
64 description: this means that something outside of our control has put the
65 GPIO line used for SCL into open drain mode, and that something is not
66 the GPIO chip. It is essentially an inconsistency flag.