1/*
2 * Copyright 2024 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6&pinctrl {
7	pinmux_flexcomm1_lpi2c: pinmux_flexcomm1_lpi2c {
8		group0 {
9			pinmux = <FC1_P0_PIO0_24>,
10				<FC1_P1_PIO0_25>;
11			slew-rate = "fast";
12			drive-strength = "low";
13			input-enable;
14			bias-pull-up;
15			drive-open-drain;
16		};
17	};
18};
19
20&flexcomm1 {
21	status = "okay";
22};
23
24/* We cannot enable SPI and I2C on the same flexcomm */
25&flexcomm1_lpspi1 {
26	status = "disabled";
27};
28
29/* To test this sample, connect
30 * LPI2C1 SCL(J2-12, P1_25/FC1_P1)    -->        LPI2C2 SCL(J2-20, P4_1/FC2_P1)
31 * LPI2C1 SDA(J2-8, P1_24/FC1_P0)     -->        LPI2C2 SDA(J2-18, P4_0/FC2_P0)
32 */
33&flexcomm1_lpi2c1 {
34	pinctrl-0 = <&pinmux_flexcomm1_lpi2c>;
35	pinctrl-names = "default";
36	clock-frequency = <I2C_BITRATE_STANDARD>;
37	status = "okay";
38	eeprom0: eeprom@54 {
39		compatible = "zephyr,i2c-target-eeprom";
40		reg = <0x54>;
41		size = <256>;
42	};
43};
44
45&flexcomm2_lpi2c2 {
46	eeprom1: eeprom@56 {
47		compatible = "zephyr,i2c-target-eeprom";
48		reg = <0x56>;
49		size = <256>;
50	};
51};
52