From 596b92e8d1aa2c45cda2c20fedc8f329272ac6fa Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Sun, 12 Dec 2021 09:55:03 +0100 Subject: [PATCH] rpi-base.inc: enable i2c-gpio overlay Adds support for software i2c controller on gpio pins RPI_EXTRA_CONFIG += "\ dtoverlay=i2c-gpio,bus=7,i2c_gpio_sda=6,i2c_gpio_scl=5 \ " Will configure a /dev/i2c-7 bus with sda=gpio#6 and slc=gpio#5 The overlay documentation can be found here: https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README Signed-off-by: Bernhard Guillon --- conf/machine/include/rpi-base.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 22eec50..a7a762c 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -31,6 +31,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \ overlays/justboom-both.dtbo \ overlays/justboom-dac.dtbo \ overlays/justboom-digi.dtbo \ + overlays/i2c-gpio.dtbo \ overlays/i2c-rtc.dtbo \ overlays/imx219.dtbo \ overlays/imx477.dtbo \