39 lines
738 B
Plaintext
39 lines
738 B
Plaintext
|
/*
|
||
|
* Copyright (c) 2020 Thomas Stranger
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
/* I2C bus pins are exposed on the ST morpho header.
|
||
|
*
|
||
|
* Bus SDA SCL
|
||
|
* Pin Hdr Pin Hdr
|
||
|
* i2c1 PB9 CN10:5 PB8 CN10:3
|
||
|
* i2c2 PA12 CN10:12 PA11 CN10:14
|
||
|
*
|
||
|
* Short Pin PB9 to PA12, and PB8 to PA11, for the test to pass.
|
||
|
*/
|
||
|
|
||
|
&i2c1 {
|
||
|
eeprom0: eeprom@54 {
|
||
|
compatible = "atmel,at24";
|
||
|
reg = <0x54>;
|
||
|
label = "EEPROM_0";
|
||
|
size = <1024>;
|
||
|
pagesize = <16>;
|
||
|
address-width = <8>;
|
||
|
timeout = <5>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&i2c2 {
|
||
|
eeprom1: eeprom@56 {
|
||
|
compatible = "atmel,at24";
|
||
|
reg = <0x56>;
|
||
|
label = "EEPROM_1";
|
||
|
size = <1024>;
|
||
|
pagesize = <16>;
|
||
|
address-width = <8>;
|
||
|
timeout = <5>;
|
||
|
};
|
||
|
};
|