Skip to content

Commit d12e6e0

Browse files
Hieu Nguyennhutnguyenkc
Hieu Nguyen
authored andcommitted
tests: drivers: can: Add support for RZ/G3S-SMARC
Add test support for CAN driver of RZ/G3S-SMARC Signed-off-by: Hieu Nguyen <[email protected]> Signed-off-by: Nhut Nguyen <[email protected]>
1 parent 285a970 commit d12e6e0

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/ {
2+
chosen {
3+
zephyr,canbus = &canfd0;
4+
};
5+
};
6+
7+
&canfd_global {
8+
status = "okay";
9+
};
10+
11+
&gpio13{
12+
status = "okay";
13+
};
14+
15+
&canfd0 {
16+
pinctrl-0 = <&can0_pins>;
17+
pinctrl-names = "default";
18+
status = "okay";
19+
rx-max-filters = <32>;
20+
phys = <&transceiver0>;
21+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/ {
2+
chosen {
3+
zephyr,canbus = &canfd0;
4+
};
5+
};
6+
7+
&canfd_global {
8+
status = "okay";
9+
};
10+
11+
&gpio13{
12+
status = "okay";
13+
};
14+
15+
&canfd0 {
16+
pinctrl-0 = <&can0_pins>;
17+
pinctrl-names = "default";
18+
status = "okay";
19+
rx-max-filters = <32>;
20+
phys = <&transceiver0>;
21+
};

0 commit comments

Comments
 (0)