zephyr/boards/shields/mikroe_mcp2518fd_click/mikroe_mcp2518fd_click.overlay

21 lines
383 B
Plaintext

&mikrobus_spi {
cs-gpios = <&mikrobus_header 2 GPIO_ACTIVE_LOW>;
mcp2518fd_mikroe_mcp2518fd_click: mcp2518fd@0 {
compatible = "microchip,mcp251xfd";
status = "okay";
spi-max-frequency = <18000000>;
int-gpios = <&mikrobus_header 7 GPIO_ACTIVE_LOW>;
reg = <0x0>;
osc-freq = <40000000>;
};
};
/ {
chosen {
zephyr,canbus = &mcp2518fd_mikroe_mcp2518fd_click;
};
};