-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbcm2837-rpi-3-b-plus+ic880a.dts
81 lines (66 loc) · 1.32 KB
/
bcm2837-rpi-3-b-plus+ic880a.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
72
73
74
75
76
77
78
79
80
81
/* SPDX-License-Identifier: GPL-2.0-or-later OR MIT */
/*
* Copyright (c) 2018-2019 Andreas Färber
*/
/dts-v1/;
/plugin/;
/ {
#address-cells = <1>;
#size-cells = <0>;
fragment@0 {
reg = <0>;
target-path = "/";
__overlay__ {
ic880a_clk32m: ic880a-clk32m {
compatible = "fixed-clock";
clock-frequency = <32000000>;
clock-output-names = "ic880a-clk32m";
#clock-cells = <0>;
};
};
};
fragment@1 {
reg = <1>;
target = <&spi>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
spidev@0 {
reg = <0>;
status = "disabled";
};
spidev@1 {
reg = <1>;
status = "disabled";
};
lora@0 {
compatible = "semtech,sx1301";
reg = <0>;
spi-max-frequency = <10000000>;
/* TODO GPIO 17 == PC7 */
/*reset-gpios = <&pio 2 7 0>; */
clocks = <&ic880a_radio1>;
clock-names = "clk32m";
radio-spi {
#address-cells = <1>;
#size-cells = <0>;
lora@0 {
compatible = "semtech,sx1257";
reg = <0>;
clocks = <&ic880a_clk32m>;
clock-names = "tcxo";
};
ic880a_radio1: lora@1 {
compatible = "semtech,sx1257";
reg = <1>;
clocks = <&ic880a_clk32m>;
clock-names = "tcxo";
clock-output-names = "ic880a_clk32m";
#clock-cells = <0>;
};
};
};
};
};
};