1/* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&pinctrl { 8 pinmux_lpi2c3: pinmux_lpi2c3 { 9 group0 { 10 pinmux = <&iomuxc_gpio_ad_b1_06_lpi2c3_sda>, 11 <&iomuxc_gpio_ad_b1_07_lpi2c3_scl>; 12 drive-strength = "r0-6"; 13 drive-open-drain; 14 slew-rate = "slow"; 15 nxp,speed = "100-mhz"; 16 input-enable; 17 }; 18 }; 19}; 20 21/* To test this sample, connect J22.2 <-> J24.9 and J22.1 <-> J24.10 */ 22 23&lpi2c1 { 24 status = "okay"; 25 eeprom0: eeprom@54 { 26 compatible = "zephyr,i2c-target-eeprom"; 27 reg = <0x54>; 28 size = <256>; 29 }; 30}; 31 32&lpi2c3 { 33 status = "okay"; 34 pinctrl-0 = <&pinmux_lpi2c3>; 35 pinctrl-names = "default"; 36 eeprom1: eeprom@56 { 37 compatible = "zephyr,i2c-target-eeprom"; 38 reg = <0x56>; 39 size = <256>; 40 }; 41}; 42