boards: arm: nucleo_c031c6: Add I2C to board dts
Add I2C to board dts and also add I2C support to board documentation. Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
This commit is contained in:
parent
bbbfc0a96d
commit
864e4f090e
@ -86,6 +86,8 @@ The Zephyr nucleo_c031c6 board configuration supports the following hardware fea
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| I2C | on-chip | i2c |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported in this Zephyr port.
|
||||
|
||||
|
||||
@ -105,6 +105,13 @@
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
pinctrl-0 = <&adc1_in0_pa0 &adc1_in1_pa1 &adc1_in4_pa4>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
@ -12,5 +12,6 @@ supported:
|
||||
- watchdog
|
||||
- pwm
|
||||
- adc
|
||||
- i2c
|
||||
ram: 12
|
||||
flash: 32
|
||||
|
||||
Loading…
Reference in New Issue
Block a user