Skip to content

Commit f9f6c9e

Browse files
committed
Remove lora node from overlay
This change is now upstream[1]. [1]: zephyrproject-rtos/zephyr#51268
1 parent 0694ecc commit f9f6c9e

File tree

3 files changed

+2
-129
lines changed

3 files changed

+2
-129
lines changed

heltec_wifi_lora32_v2.overlay

Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022 Gaël PORTAY
2+
* Copyright (c) 2022-2023 Gaël PORTAY
33
* 2019 PHYTEC Messtechnik GmbH
44
*
55
* SPDX-License-Identifier: Apache-2.0
@@ -9,23 +9,6 @@
99
chosen {
1010
zephyr,display = &ssd1306_ssd1306_128x64;
1111
};
12-
13-
aliases {
14-
lora0 = &lora0;
15-
};
16-
};
17-
18-
&pinctrl {
19-
spim3_default: spim3_default {
20-
group1 {
21-
pinmux = <SPIM3_MISO_GPIO19>,
22-
<SPIM3_SCLK_GPIO5>;
23-
};
24-
group2 {
25-
pinmux = <SPIM3_MOSI_GPIO27>;
26-
output-low;
27-
};
28-
};
2912
};
3013

3114
&arduino_i2c {
@@ -45,26 +28,3 @@
4528
prechargep = <0x22>;
4629
};
4730
};
48-
49-
&spi3 {
50-
#address-cells = <1>;
51-
#size-cells = <0>;
52-
status = "okay";
53-
pinctrl-0 = <&spim3_default>;
54-
pinctrl-names = "default";
55-
cs-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
56-
lora0: lora@0 {
57-
compatible = "semtech,sx1276";
58-
reg = <0>;
59-
reset-gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
60-
dio-gpios =
61-
/* SX1276 D0 -> GPIO26 */
62-
<&gpio0 26 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
63-
/* SX1276 D1 -> GPIO35 */
64-
<&gpio1 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
65-
/* SX1276 D1 -> GPIO34 */
66-
<&gpio1 2 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
67-
spi-max-frequency = <1000000>;
68-
power-amplifier-output = "pa-boost";
69-
};
70-
};
Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022 Gaël PORTAY
2+
* Copyright (c) 2022-2023 Gaël PORTAY
33
* 2019 PHYTEC Messtechnik GmbH
44
*
55
* SPDX-License-Identifier: Apache-2.0
@@ -9,23 +9,6 @@
99
chosen {
1010
zephyr,display = &ssd1306_ssd1306_128x64;
1111
};
12-
13-
aliases {
14-
lora0 = &lora0;
15-
};
16-
};
17-
18-
&pinctrl {
19-
spim3_default: spim3_default {
20-
group1 {
21-
pinmux = <SPIM3_MISO_GPIO19>,
22-
<SPIM3_SCLK_GPIO5>;
23-
};
24-
group2 {
25-
pinmux = <SPIM3_MOSI_GPIO27>;
26-
output-low;
27-
};
28-
};
2912
};
3013

3114
&arduino_i2c {
@@ -45,26 +28,3 @@
4528
prechargep = <0x22>;
4629
};
4730
};
48-
49-
&spi3 {
50-
#address-cells = <1>;
51-
#size-cells = <0>;
52-
status = "okay";
53-
pinctrl-0 = <&spim3_default>;
54-
pinctrl-names = "default";
55-
cs-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
56-
lora0: lora@0 {
57-
compatible = "semtech,sx1276";
58-
reg = <0>;
59-
reset-gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
60-
dio-gpios =
61-
/* SX1276 D0 -> GPIO26 */
62-
<&gpio0 26 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
63-
/* SX1276 D1 -> GPIO35 */
64-
<&gpio1 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
65-
/* SX1276 D1 -> GPIO34 */
66-
<&gpio1 2 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
67-
spi-max-frequency = <1000000>;
68-
power-amplifier-output = "pa-boost";
69-
};
70-
};

0 commit comments

Comments
 (0)