tests: drivers: i2c: i2c_target_api: Fix i2c1
configuration for rpi_pico
Add `i2c1` configuration that removed from common settings to overlay file. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
This commit is contained in:
parent
9eb7ee6ed8
commit
a04f1aafaf
1 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,16 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
&pinctrl {
|
||||||
|
i2c1_default: i2c1_default {
|
||||||
|
group1 {
|
||||||
|
pinmux = <I2C1_SDA_P14>, <I2C1_SCL_P15>;
|
||||||
|
input-enable;
|
||||||
|
input-schmitt-enable;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
eeprom0: eeprom@54 {
|
eeprom0: eeprom@54 {
|
||||||
compatible = "atmel,at24";
|
compatible = "atmel,at24";
|
||||||
|
@ -16,6 +26,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&i2c1_default>;
|
||||||
|
pinctrl-names = "default";
|
||||||
eeprom1: eeprom@56 {
|
eeprom1: eeprom@56 {
|
||||||
compatible = "atmel,at24";
|
compatible = "atmel,at24";
|
||||||
reg = <0x56>;
|
reg = <0x56>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue