boards: riscv: add I2C Controllers to PolarFire SoC Icicle board

Microchip's PolarFire SoC contains two identical I2C peripherals in the
microprocessor subsystem. Enable both by default.

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
This commit is contained in:
Conor Paxton 2023-06-09 22:09:00 +01:00 committed by Anas Nashif
parent a810d27935
commit 05136cde61
2 changed files with 11 additions and 0 deletions

View File

@ -14,6 +14,8 @@
aliases {
led0 = &led0;
sw0 = &sw0;
i2c0 = &i2c0;
i2c1 = &i2c1;
};
chosen {
@ -60,3 +62,11 @@
&gpio2 {
status = "okay";
};
&i2c0 {
status = "okay";
};
&i2c1 {
status = "okay";
};

View File

@ -18,3 +18,4 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_FPU=n
# GPIO driver options
CONFIG_GPIO=y
CONFIG_I2C=y