Add necessary configuration to run demo on the sam4s_xpro board. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
22 lines
637 B
Text
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";
|
|
};
|
|
};
|