boards: arm: nucleo_f446re: dts / yaml
add can to yaml add can1 to dts disable i2c1 in dts due pinout conflicts Signed-off-by: Alexander Kozhinov <AlexanderKozhinov@yandex.com>
This commit is contained in:
parent
a991ee3be2
commit
ca77139ea0
2 changed files with 13 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
zephyr,shell-uart = &usart2;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,can-primary = &can1;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -86,6 +87,17 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&can1 {
|
||||
/* CAUTION: PB8 and PB9 may conflict with same pins of I2C1 */
|
||||
pinctrl-0 = <&can1_rx_pb8 &can1_tx_pb9>;
|
||||
bus-speed = <125000>;
|
||||
sjw = <1>;
|
||||
prop-seg = <0>;
|
||||
phase-seg1 = <6>;
|
||||
phase-seg2 = <5>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
|
||||
partitions {
|
||||
|
|
|
@ -14,6 +14,7 @@ supported:
|
|||
- gpio
|
||||
- spi
|
||||
- i2c
|
||||
- can
|
||||
- backup_sram
|
||||
ram: 96
|
||||
flash: 512
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue