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:
parent
c7dab3df08
commit
254a2b10dd
2 changed files with 25 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue