29 lines
594 B
Plaintext
29 lines
594 B
Plaintext
/*
|
|
* Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&arduino_spi {
|
|
status = "okay";
|
|
|
|
/* D10 */
|
|
cs-gpios = <&arduino_header 16
|
|
(GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
|
|
rf2xx@0 {
|
|
compatible = "atmel,rf2xx";
|
|
reg = <0x0>;
|
|
label = "RF2XX_0";
|
|
spi-max-frequency = <6000000>;
|
|
/* D2 */
|
|
irq-gpios = <&arduino_header 8
|
|
(GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
|
/* D8 */
|
|
reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>;
|
|
/* D9 */
|
|
slptr-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
};
|