| /* SPDX-License-Identifier: Apache-2.0 */ |
| |
| /* I2C bus pins are exposed on the Arduino Shield Connectors and Morpho connectors. |
| * |
| * Bus SDA SCL |
| * Pin Hdr Pin Hdr |
| * i2c1 PB9 CN5:9 PB8 CN5:10 |
| * i2c3 PA7 CN5:4 PB14 CN10:28 |
| * |
| * Short Pin PB9 to PA7, and PB8 to PB14, for the test to pass. |
| */ |
| |
| &i2c1 { |
| eeprom0: eeprom@54 { |
| compatible = "zephyr,i2c-target-eeprom"; |
| reg = <0x54>; |
| size = <1024>; |
| }; |
| }; |
| |
| &i2c3 { |
| pinctrl-0 = <&i2c3_scl_pa7 &i2c3_sda_pb14>; |
| pinctrl-names = "default"; |
| status = "okay"; |
| clock-frequency = <I2C_BITRATE_FAST>; |
| eeprom1: eeprom@56 { |
| compatible = "zephyr,i2c-target-eeprom"; |
| reg = <0x56>; |
| size = <1024>; |
| }; |
| }; |