From a04f1aafafaacc22a425d65665882f7ca7049507 Mon Sep 17 00:00:00 2001 From: TOKITA Hiroshi Date: Mon, 16 Jan 2023 01:18:10 +0900 Subject: [PATCH] tests: drivers: i2c: i2c_target_api: Fix `i2c1` configuration for rpi_pico Add `i2c1` configuration that removed from common settings to overlay file. Signed-off-by: TOKITA Hiroshi --- .../i2c/i2c_target_api/boards/rpi_pico.overlay | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/drivers/i2c/i2c_target_api/boards/rpi_pico.overlay b/tests/drivers/i2c/i2c_target_api/boards/rpi_pico.overlay index 2b8d6b7382b..12524053fa7 100644 --- a/tests/drivers/i2c/i2c_target_api/boards/rpi_pico.overlay +++ b/tests/drivers/i2c/i2c_target_api/boards/rpi_pico.overlay @@ -4,6 +4,16 @@ * SPDX-License-Identifier: Apache-2.0 */ +&pinctrl { + i2c1_default: i2c1_default { + group1 { + pinmux = , ; + input-enable; + input-schmitt-enable; + }; + }; +}; + &i2c0 { eeprom0: eeprom@54 { compatible = "atmel,at24"; @@ -16,6 +26,10 @@ }; &i2c1 { + clock-frequency = ; + status = "okay"; + pinctrl-0 = <&i2c1_default>; + pinctrl-names = "default"; eeprom1: eeprom@56 { compatible = "atmel,at24"; reg = <0x56>;