-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson-gxbb-nanopi-k2+dlp-rfs1280.dts
66 lines (53 loc) · 1.17 KB
/
meson-gxbb-nanopi-k2+dlp-rfs1280.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* SPDX-License-Identifier: GPL-2.0-or-later or MIT */
/*
* Copyright (c) 2018 Andreas Färber
*/
/dts-v1/;
/plugin/;
/ {
compatible = "friendlyarm,nanopi-k2";
#address-cells = <1>;
#size-cells = <0>;
fragment@0 {
reg = <0>;
target-path = "/";
__overlay__ {
gpio_spi: spi {
compatible = "spi-gpio";
mosi-gpios = <&gpio 80 0>; /* GPIOY_5 */
gpio-mosi = <&gpio 80 0>; /* GPIOY_5 */
miso-gpios = <&gpio 82 0>; /* GPIOY_7 */
gpio-miso = <&gpio 82 0>; /* GPIOY_7 */
sck-gpios = <&gpio 84 0>; /* GPIOY_9 */
gpio-sck = <&gpio 84 0>; /* GPIOY_9 */
cs-gpios = <&gpio 83 0>, /* GPIOY_8 */
<&gpio 75 0>; /* GPIOY_0 */
num-chipselects = <2>;
#address-cells = <1>;
#size-cells = <0>;
/*ranges;*/
};
};
};
fragment@1 {
reg = <1>;
target-path = "/aliases";
__overlay__ {
};
};
fragment@2 {
reg = <2>;
target = <&gpio_spi>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
lora@0 {
compatible = "semtech,sx1280";
reg = <0>;
spi-max-frequency = <8000000>;
reset-gpios = <&gpio 78 0>; /* GPIOY_3 */
busy-gpios = <&gpio 81 0>; /* GPIOY_6 */
};
};
};
};