You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
551 B
29 lines
551 B
/* |
|
* Copyright 2025 Basalte bv |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
/** |
|
* Overlay to enable support for OpenThread's RCP over SPI communication |
|
*/ |
|
|
|
/ { |
|
chosen { |
|
zephyr,hdlc-rcp-if = &hdlc_rcp_if; |
|
}; |
|
}; |
|
|
|
&arduino_spi { |
|
status = "okay"; |
|
|
|
hdlc_rcp_if: hdlc_rcp_if@0 { |
|
compatible = "spi,hdlc-rcp-if"; |
|
status = "okay"; |
|
reg = <0>; |
|
|
|
spi-max-frequency = <1000000>; /* 1 MHz to support most devices */ |
|
int-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */ |
|
reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */ |
|
}; |
|
};
|
|
|