We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8dc5b commit b61574dCopy full SHA for b61574d
boards/riscv/hifive1_revb/hifive1_revb.dts
@@ -4,6 +4,7 @@
4
/dts-v1/;
5
6
#include <riscv32-fe310.dtsi>
7
+#include <dt-bindings/i2c/i2c.h>
8
9
/ {
10
model = "SiFive HiFive 1 Rev B";
@@ -123,8 +124,9 @@
123
124
clock-frequency = <16000000>;
125
};
126
-&i2c0 {
127
+arduino_i2c: &i2c0 {
128
status = "okay";
129
+ label = "I2C_0";
130
input-frequency = <16000000>;
131
clock-frequency = <100000>;
132
boards/riscv/hifive1_revb/hifive1_revb.yaml
@@ -11,4 +11,6 @@ testing:
11
- bluetooth
12
supported:
13
- arduino_gpio
14
+ - arduino_i2c
15
- gpio
16
+ - i2c
0 commit comments