boards: xmc47_relax_kit: Add CAN node to devicetree

Adds CAN node to xmc47_relax_kit.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
Andriy Gelman 2023-12-26 12:06:27 -05:00 committed by Henrik Brix Andersen
parent c7dab3df08
commit 254a2b10dd
2 changed files with 25 additions and 0 deletions

View file

@ -125,3 +125,14 @@
drive-strength = "strong-medium-edge";
hwctrl = "disabled";
};
&can_tx_p1_12_node1 {
drive-strength = "strong-soft-edge";
drive-push-pull;
hwctrl = "disabled";
};
&can_rx_p1_13_node1 {
drive-strength = "strong-soft-edge";
hwctrl = "disabled";
};

View file

@ -54,6 +54,7 @@
zephyr,shell-uart = &usic0ch0;
zephyr,flash-controller = &flash_controller;
zephyr,code-partition = &code_partition;
zephyr,canbus = &can_node1;
};
};
@ -199,3 +200,16 @@
reg = <0>;
};
};
&can {
clock-prescaler = <6>;
};
&can_node1 {
status = "okay";
bus-speed = <125000>;
sample-point = <875>;
input-src = "RXDC";
pinctrl-0 = <&can_tx_p1_12_node1 &can_rx_p1_13_node1>;
pinctrl-names = "default";
};