1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/*
8 * SDA = P2.8 and P2.9
9 * SCL = P1.2 and P1.3
10 */
11
12/ {
13	aliases {
14		i2c-controller = &i2c130;
15		i2c-controller-target = &i2c131;
16	};
17};
18
19&pinctrl {
20	i2c130_default: i2c130_default {
21		group1 {
22			psels = <NRF_PSEL(TWIM_SDA, 2, 8)>,
23				<NRF_PSEL(TWIM_SCL, 1, 2)>;
24			bias-pull-up;
25		};
26	};
27
28	i2c130_sleep: i2c130_sleep {
29		group1 {
30			psels = <NRF_PSEL(TWIM_SDA, 2, 8)>,
31				<NRF_PSEL(TWIM_SCL, 1, 2)>;
32			low-power-enable;
33		};
34	};
35
36	i2c131_default: i2c131_default {
37		group1 {
38			psels = <NRF_PSEL(TWIM_SDA, 2, 9)>,
39				<NRF_PSEL(TWIM_SCL, 1, 3)>;
40			bias-pull-up;
41		};
42	};
43
44	i2c131_sleep: i2c131_sleep {
45		group1 {
46			psels = <NRF_PSEL(TWIM_SDA, 2, 9)>,
47				<NRF_PSEL(TWIM_SCL, 1, 3)>;
48			low-power-enable;
49		};
50	};
51};
52
53&i2c130 {
54	clock-frequency = <I2C_BITRATE_STANDARD>;
55	pinctrl-0 = <&i2c130_default>;
56	pinctrl-1 = <&i2c130_sleep>;
57	pinctrl-names = "default", "sleep";
58	zephyr,concat-buf-size = <256>;
59	memory-regions = <&cpuapp_dma_region>;
60	status = "okay";
61};
62
63&i2c131 {
64	compatible = "nordic,nrf-twis";
65	clock-frequency = <I2C_BITRATE_STANDARD>;
66	pinctrl-0 = <&i2c131_default>;
67	pinctrl-1 = <&i2c131_sleep>;
68	pinctrl-names = "default", "sleep";
69	memory-regions = <&cpuapp_dma_region>;
70	status = "okay";
71};
72