28 lines
572 B
Plaintext
28 lines
572 B
Plaintext
/*
|
|
* Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&mikrobus_spi {
|
|
status = "okay";
|
|
|
|
/* CS */
|
|
cs-gpios = <&mikrobus_header 2 GPIO_ACTIVE_LOW>;
|
|
|
|
rf2xx@0 {
|
|
compatible = "atmel,rf2xx";
|
|
reg = <0x0>;
|
|
label = "RF2XX_0";
|
|
spi-max-frequency = <6000000>;
|
|
/* INT */
|
|
irq-gpios = <&mikrobus_header 7
|
|
(GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
|
/* AN */
|
|
reset-gpios = <&mikrobus_header 0 GPIO_ACTIVE_LOW>;
|
|
/* PWM */
|
|
slptr-gpios = <&mikrobus_header 6 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
};
|