blob: 79d2365ca3128c742592d5e2dc26624ccc6d2f15 [file] [log] [blame]
/*
* Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk>
*
* SPDX-License-Identifier: Apache-2.0
*/
&arduino_spi {
status = "okay";
cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
mcp2515_keyestudio_can_bus_ks0411: can@0 {
compatible = "microchip,mcp2515";
spi-max-frequency = <1000000>;
int-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
status = "okay";
reg = <0x0>;
osc-freq = <16000000>;
bus-speed = <125000>;
sjw = <1>;
sample-point = <875>;
can-transceiver {
max-bitrate = <1000000>;
};
};
};
/ {
chosen {
zephyr,canbus = &mcp2515_keyestudio_can_bus_ks0411;
};
};