From ececbf813eaa53174cbf9deebdcc731960f4aadf Mon Sep 17 00:00:00 2001 From: Thomas Stranger Date: Tue, 15 Jun 2021 15:15:34 +0200 Subject: [PATCH] dnm: additional dts definitions for draft evaluation. 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 --- boards/arm/nucleo_g0b1re/nucleo_g0b1re.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/boards/arm/nucleo_g0b1re/nucleo_g0b1re.dts b/boards/arm/nucleo_g0b1re/nucleo_g0b1re.dts index 59fc4e4da44467..51c3fd01458d4c 100644 --- a/boards/arm/nucleo_g0b1re/nucleo_g0b1re.dts +++ b/boards/arm/nucleo_g0b1re/nucleo_g0b1re.dts @@ -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>; @@ -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";