1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/*
8 * SDA = P1.8 and P1.9
9 * SCL = P1.10 and P1.11
10 */
11
12&pinctrl {
13	i2c21_default: i2c21_default {
14		group1 {
15			psels = <NRF_PSEL(TWIS_SDA, 1, 8)>,
16				<NRF_PSEL(TWIS_SCL, 1, 10)>;
17			bias-pull-up;
18		};
19	};
20
21	i2c21_sleep: i2c21_sleep {
22		group1 {
23			psels = <NRF_PSEL(TWIS_SDA, 1, 8)>,
24				<NRF_PSEL(TWIS_SCL, 1, 10)>;
25			low-power-enable;
26		};
27	};
28
29	i2c22_default: i2c22_default {
30		group1 {
31			psels = <NRF_PSEL(TWIS_SDA, 1, 9)>,
32				<NRF_PSEL(TWIS_SCL, 1, 11)>;
33			bias-pull-up;
34		};
35	};
36
37	i2c22_sleep: i2c22_sleep {
38		group1 {
39			psels = <NRF_PSEL(TWIS_SDA, 1, 9)>,
40				<NRF_PSEL(TWIS_SCL, 1, 11)>;
41			low-power-enable;
42		};
43	};
44};
45
46&i2c21 {
47	pinctrl-0 = <&i2c21_default>;
48	pinctrl-1 = <&i2c21_sleep>;
49	pinctrl-names = "default", "sleep";
50	zephyr,concat-buf-size = <256>;
51	status = "okay";
52
53	eeprom1: eeprom@56 {
54		compatible = "zephyr,i2c-target-eeprom";
55		reg = <0x56>;
56		address-width = <8>;
57		size = <256>;
58	};
59};
60
61&i2c22 {
62	compatible = "nordic,nrf-twis";
63	pinctrl-0 = <&i2c22_default>;
64	pinctrl-1 = <&i2c22_sleep>;
65	pinctrl-names = "default", "sleep";
66	status = "okay";
67
68	eeprom0: eeprom@54 {
69		compatible = "zephyr,i2c-target-eeprom";
70		reg = <0x54>;
71		address-width = <8>;
72		size = <256>;
73	};
74};
75