Skip to content

Commit

Permalink
dnm: additional dts definitions for draft evaluation.
Browse files Browse the repository at this point in the history
This commit should be removed once the pr is not in draft status
anymore.
It adds some additionl definitions which are not intended to be merged.
Those definitions enable 2 can instances and the shared irq driver
on the nucleo_g0b1re board.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
  • Loading branch information
str4t0m committed Jun 19, 2021
1 parent 94b215e commit ececbf8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions boards/arm/nucleo_g0b1re/nucleo_g0b1re.dts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@
pinctrl-0 = <&dac1_out1_pa4>;
};

&shared_irq21 {
status = "okay";
};

&shared_irq22 {
status = "okay";
};

&can1 {
pinctrl-0 = <&fdcan1_rx_pa11 &fdcan1_tx_pa12>;
bus-speed = <125000>;
Expand All @@ -140,6 +148,17 @@
status = "okay";
};

&can2 {
pinctrl-0 = <&fdcan2_rx_pb5 &fdcan2_tx_pb6>;
bus-speed = <125000>;
sjw = <1>;
sample-point = <875>;
bus-speed-data = <1000000>;
sjw-data = <1>;
sample-point-data = <875>;
status = "okay";
};

&flash0 {
partitions {
compatible = "fixed-partitions";
Expand Down

0 comments on commit ececbf8

Please sign in to comment.