1/* 2 * Copyright (c) 2025 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&pinctrl { 13 i2c130_default: i2c130_default { 14 group1 { 15 psels = <NRF_PSEL(TWIM_SDA, 2, 8)>, 16 <NRF_PSEL(TWIM_SCL, 1, 2)>; 17 bias-pull-up; 18 }; 19 }; 20 21 i2c130_sleep: i2c130_sleep { 22 group1 { 23 psels = <NRF_PSEL(TWIM_SDA, 2, 8)>, 24 <NRF_PSEL(TWIM_SCL, 1, 2)>; 25 low-power-enable; 26 }; 27 }; 28 29 i2c131_default: i2c131_default { 30 group1 { 31 psels = <NRF_PSEL(TWIM_SDA, 2, 9)>, 32 <NRF_PSEL(TWIM_SCL, 1, 3)>; 33 bias-pull-up; 34 }; 35 }; 36 37 i2c131_sleep: i2c131_sleep { 38 group1 { 39 psels = <NRF_PSEL(TWIM_SDA, 2, 9)>, 40 <NRF_PSEL(TWIM_SCL, 1, 3)>; 41 low-power-enable; 42 }; 43 }; 44}; 45 46&i2c130 { 47 clock-frequency = <I2C_BITRATE_STANDARD>; 48 pinctrl-0 = <&i2c130_default>; 49 pinctrl-1 = <&i2c130_sleep>; 50 pinctrl-names = "default", "sleep"; 51 zephyr,concat-buf-size = <256>; 52 memory-regions = <&cpuapp_dma_region>; 53 status = "okay"; 54 55 eeprom1: eeprom@56 { 56 compatible = "zephyr,i2c-target-eeprom"; 57 reg = <0x56>; 58 address-width = <8>; 59 size = <256>; 60 }; 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 eeprom0: eeprom@54 { 73 compatible = "zephyr,i2c-target-eeprom"; 74 reg = <0x54>; 75 address-width = <8>; 76 size = <256>; 77 }; 78}; 79