1 // Overlay for i2c_gpio bitbanging host bus.
5 #include <dt-bindings/gpio/gpio.h>
8 compatible = "brcm,bcm2835";
16 compatible = "i2c-gpio";
17 gpios = <&gpio 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) /* sda */
18 &gpio 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) /* scl */
20 i2c-gpio,delay-us = <2>; /* ~100 kHz */
28 target-path = "/aliases";
35 target-path = "/__symbols__";
42 i2c_gpio_sda = <&i2c_gpio>,"gpios:4";
43 i2c_gpio_scl = <&i2c_gpio>,"gpios:16";
44 i2c_gpio_delay_us = <&i2c_gpio>,"i2c-gpio,delay-us:0";
45 bus = <&i2c_gpio>, "reg:0";