From d2280197ace5340c34a5e3a0bccfc79e05052b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Tue, 23 Feb 2021 15:51:06 -0800 Subject: [PATCH] boards: bbc_microbit_v2: add missing i2c0 compatible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The board's main I2C bus controller doesn't have a compatible set, so it's not detected as an I2C bus at all. This breaks the build when trying to build the samples/sensor/lis2dh application with the lis2dh sensor on that bus. Fixes: #32420 Signed-off-by: Martí Bolívar --- boards/arm/bbc_microbit_v2/bbc_microbit_v2.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/arm/bbc_microbit_v2/bbc_microbit_v2.dts b/boards/arm/bbc_microbit_v2/bbc_microbit_v2.dts index 912371c43d2..76ca47107eb 100644 --- a/boards/arm/bbc_microbit_v2/bbc_microbit_v2.dts +++ b/boards/arm/bbc_microbit_v2/bbc_microbit_v2.dts @@ -88,6 +88,7 @@ }; &i2c0 { + compatible = "nordic,nrf-twim"; status = "okay"; clock-frequency = ; sda-pin = <16>;