23 lines
437 B
Plaintext
23 lines
437 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>;
|
|
|
|
bus-speed = <125000>;
|
|
bus-speed-data = <1000000>;
|
|
};
|
|
};
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,canbus = &mcp2518fd_mikroe_mcp2518fd_click;
|
|
};
|
|
};
|