/* * Copyright (c) 2024 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ /* * SDA = P0.26 and P1.2 * SCL = P0.25 and P1.3 */ / { aliases { i2c-controller = &i2c1; i2c-controller-target = &i2c2; }; }; &pinctrl { i2c2_default: i2c2_default { group1 { psels = , ; bias-pull-up; }; }; i2c2_sleep: i2c2_sleep { group1 { psels = , ; low-power-enable; }; }; }; &i2c2 { compatible = "nordic,nrf-twis"; pinctrl-0 = <&i2c2_default>; pinctrl-1 = <&i2c2_sleep>; pinctrl-names = "default", "sleep"; status = "okay"; };