Skip to content

Commit 674e2a5

Browse files
wtlee1995carlescufi
authored andcommitted
boards: riscv: adp_xc7k_ae350: support I2C driver
Support I2C driver on Andes adp_xc7k_ae350. Signed-off-by: Wei-Tai Lee <[email protected]>
1 parent a41606e commit 674e2a5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

boards/riscv/adp_xc7k_ae350/adp_xc7k_ae350.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
aliases {
1616
gpio-0 = &gpio0;
1717
counter-0 = &pit0;
18+
i2c-0 = &i2c0;
1819
led0 = &seg7_led1_g;
1920
led1 = &seg7_led2_g;
2021
sw0 = &user_button1;
@@ -160,3 +161,7 @@
160161
status = "okay";
161162
};
162163
};
164+
165+
&i2c0 {
166+
status = "okay";
167+
};

boards/riscv/adp_xc7k_ae350/adp_xc7k_ae350.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ram: 512
99
supported:
1010
- gpio
1111
- counter
12+
- i2c
1213
testing:
1314
ignore_tags:
1415
- bluetooth

0 commit comments

Comments
 (0)