zephyr/samples/net/sockets/echo_server/boards/sam4e_xpro.overlay
Gerson Fernando Budke 2d960aeeb7 samples: net: sockets: echo_server: Add sam4e_xpro config
Add necessary configuration to run demo on the sam4s_xpro board.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2020-02-11 17:46:05 +02:00

22 lines
637 B
Text

/*
* Copyright (c) 2020 Gerson Fernando Budke
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi0 {
status = "okay";
label = "SPI_RF2XX";
cs-gpios = <&portb 14 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
rf2xx@0 {
compatible = "atmel,rf2xx";
reg = <0x0>;
label = "RF2XX_0";
spi-max-frequency = <6000000>;
irq-gpios = <&porta 21 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
reset-gpios = <&porta 3 GPIO_ACTIVE_LOW>;
slptr-gpios = <&porta 22 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};