/* * Copyright (c) 2022 Martin Jäger * * SPDX-License-Identifier: Apache-2.0 */ /* Enable CAN bus */ &twai { status = "okay"; pinctrl-0 = <&twai_default>; pinctrl-names = "default"; bus-speed = <125000>; can-transceiver { max-bitrate = <1000000>; }; }; &pinctrl { twai_default: twai_default { group1 { pinmux = ; output-enable; /* enable internal loopback */ }; group2 { pinmux = ; input-enable; /* enable internal loopback */ }; }; };