zephyr/tests/drivers/i2c/i2c_slave_api/stm32f072b_disco.overlay

25 lines
318 B
Plaintext

/ {
aliases {
eeprom-slave-0 = &ep_0;
eeprom-slave-1 = &ep_1;
};
};
&i2c1 {
ep_0: eeprom@54 {
compatible = "i2c,eeprom";
reg = <0x54>;
label = "EEPROM_SLAVE_0";
size = <1>;
};
};
&i2c2 {
ep_1: eeprom@56 {
compatible = "i2c,eeprom";
reg = <0x56>;
label = "EEPROM_SLAVE_1";
size = <1>;
};
};