zephyr/boards/shields/mcp2515/adafruit_can_picowbell.overlay
Henrik Brix Andersen 41960ab366 dts: bindings: can: remove optional sample point properties
Remove all optional, initial CAN sample point properties and rely on the
CAN timing calculations to automatically pick the preferred sample point
location based on the initial bitrate.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-03-17 15:36:19 +01:00

31 lines
539 B
Plaintext

/*
* Copyright (c) 2023 Joseph Yates
*
* SPDX-License-Identifier: Apache-2.0
*/
&pico_spi {
status = "okay";
cs-gpios = <&pico_header 20 GPIO_ACTIVE_LOW>;
mcp2515_adafruit_can_picowbell: can@0 {
compatible = "microchip,mcp2515";
spi-max-frequency = <1000000>;
int-gpios = <&pico_header 21 GPIO_ACTIVE_LOW>;
status = "okay";
reg = <0x0>;
osc-freq = <16000000>;
bus-speed = <125000>;
can-transceiver {
max-bitrate = <1000000>;
};
};
};
/ {
chosen {
zephyr,canbus = &mcp2515_adafruit_can_picowbell;
};
};