1/*
2 * Copyright (c) 2023 Joseph Yates
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&pico_spi {
8	status = "okay";
9	cs-gpios = <&pico_header 20 GPIO_ACTIVE_LOW>;
10
11	mcp2515_adafruit_can_picowbell: can@0 {
12		compatible = "microchip,mcp2515";
13		spi-max-frequency = <1000000>;
14		int-gpios = <&pico_header 21 GPIO_ACTIVE_LOW>;
15		status = "okay";
16		reg = <0x0>;
17		osc-freq = <16000000>;
18
19		can-transceiver {
20			max-bitrate = <1000000>;
21		};
22	};
23};
24
25/ {
26	chosen {
27		zephyr,canbus = &mcp2515_adafruit_can_picowbell;
28	};
29};
30