-
Notifications
You must be signed in to change notification settings - Fork 1
/
sun50i-a64-pine64+rak831.dts
71 lines (58 loc) · 1.19 KB
/
sun50i-a64-pine64+rak831.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
67
68
69
70
71
/* SPDX-License-Identifier: GPL-2.0-or-later OR MIT */
/*
* Copyright (c) 2018 Andreas Färber
*/
/dts-v1/;
/plugin/;
/ {
#address-cells = <1>;
#size-cells = <0>;
fragment@0 {
reg = <0>;
target-path = "/";
__overlay__ {
rak831_clk32m: rak831-clk32m {
compatible = "fixed-clock";
clock-frequency = <32000000>;
clock-output-names = "rak831-clk32m";
#clock-cells = <0>;
};
};
};
fragment@1 {
reg = <1>;
target = <&spi0>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
lora@0 {
compatible = "semtech,sx1301";
reg = <0>;
spi-max-frequency = <10000000>;
/* GPIO 17 == PC7 */
reset-gpios = <&pio 2 7 0>;
clocks = <&rak831_radio1>;
clock-names = "clk32m";
radio-spi {
#address-cells = <1>;
#size-cells = <0>;
lora@0 {
compatible = "semtech,sx1257";
reg = <0>;
clocks = <&rak831_clk32m>;
clock-names = "tcxo";
};
rak831_radio1: lora@1 {
compatible = "semtech,sx1257";
reg = <1>;
clocks = <&rak831_clk32m>;
clock-names = "tcxo";
clock-output-names = "rak831_clk32m";
#clock-cells = <0>;
};
};
};
};
};
};