File tree Expand file tree Collapse file tree 4 files changed +52
-1
lines changed
boards/arm/mimxrt1170_evk
tests/drivers/i2c/i2c_target_api/boards Expand file tree Collapse file tree 4 files changed +52
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ RT1170 EVKB (`mimxrt1170_evkb_cm7/cm4`)
106
106
+-----------+------------+-------------------------------------+-----------------+-----------------+
107
107
| SPI | on-chip | spi | Supported (M7) | No support |
108
108
+-----------+------------+-------------------------------------+-----------------+-----------------+
109
- | I2C | on-chip | i2c | Supported | No support |
109
+ | I2C | on-chip | i2c | Supported | Supported |
110
110
+-----------+------------+-------------------------------------+-----------------+-----------------+
111
111
| PWM | on-chip | pwm | Supported | Supported |
112
112
+-----------+------------+-------------------------------------+-----------------+-----------------+
Original file line number Diff line number Diff line change @@ -21,5 +21,6 @@ supported:
21
21
- dma
22
22
- gpio
23
23
- hwinfo
24
+ - i2c
24
25
- usb_device
25
26
- watchdog
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2023 NXP
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ /* To test this sample, connect J26.12 <-> J10.20 and J26.10 <-> J10.18 */
8
+
9
+ &lpi2c1 {
10
+ status = "okay";
11
+ eeprom0: eeprom@54 {
12
+ compatible = "zephyr,i2c-target-eeprom";
13
+ reg = <0x54>;
14
+ size = <1024>;
15
+ };
16
+ };
17
+
18
+ &lpi2c5 {
19
+ status = "okay";
20
+ eeprom1: eeprom@56 {
21
+ compatible = "zephyr,i2c-target-eeprom";
22
+ reg = <0x56>;
23
+ size = <1024>;
24
+ };
25
+ };
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2023 NXP
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ /* To test this sample, connect J26.12 <-> J10.20 and J26.10 <-> J10.18 */
8
+
9
+ &lpi2c1 {
10
+ status = "okay";
11
+ eeprom0: eeprom@54 {
12
+ compatible = "zephyr,i2c-target-eeprom";
13
+ reg = <0x54>;
14
+ size = <1024>;
15
+ };
16
+ };
17
+
18
+ &lpi2c5 {
19
+ status = "okay";
20
+ eeprom1: eeprom@56 {
21
+ compatible = "zephyr,i2c-target-eeprom";
22
+ reg = <0x56>;
23
+ size = <1024>;
24
+ };
25
+ };
You can’t perform that action at this time.
0 commit comments