/* * Copyright (c) 2019 Karsten Koenig * * SPDX-License-Identifier: Apache-2.0 */ &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ mcp2515_dfrobot_can_bus_v2_0: can@0 { compatible = "microchip,mcp2515"; spi-max-frequency = <1000000>; int-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>; /* D2 */ status = "okay"; reg = <0x0>; osc-freq = <16000000>; can-transceiver { min-bitrate = <60000>; max-bitrate = <1000000>; }; }; }; / { chosen { zephyr,canbus = &mcp2515_dfrobot_can_bus_v2_0; }; };