2019-06-12 06:51:04 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019, NXP
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
&arduino_spi {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
mcr20a@0 {
|
|
|
|
compatible = "nxp,mcr20a";
|
|
|
|
reg = <0x0>;
|
|
|
|
label = "mcr20a";
|
|
|
|
spi-max-frequency = <4000000>;
|
2020-01-25 06:06:23 +08:00
|
|
|
irqb-gpios = <&arduino_header 8
|
|
|
|
(GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* D2 */
|
|
|
|
reset-gpios = <&arduino_header 11 GPIO_ACTIVE_LOW>; /* D5 */
|
2019-06-12 06:51:04 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|