2021-06-29 21:25:27 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Thomas Stranger
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <st/wl/stm32wle5Xc.dtsi>
|
|
|
|
#include <st/wl/stm32wle5jcix-pinctrl.dtsi>
|
|
|
|
|
|
|
|
&clk_hse {
|
|
|
|
clock-frequency = <DT_FREQ_M(32)>;
|
2021-07-29 21:42:02 +08:00
|
|
|
hse-tcxo;
|
2021-06-29 21:25:27 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&clk_lse {
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
2021-07-07 00:35:53 +08:00
|
|
|
|
|
|
|
&subghzspi {
|
|
|
|
status = "okay";
|
|
|
|
lora: radio@0 {
|
|
|
|
status = "okay";
|
|
|
|
tx-enable-gpios = <&gpioa 4 GPIO_ACTIVE_LOW>;
|
|
|
|
rx-enable-gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
|
|
|
|
dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
|
|
|
|
tcxo-power-startup-delay-ms = <5>;
|
2023-04-14 08:08:02 +08:00
|
|
|
power-amplifier-output = "rfo-hp";
|
|
|
|
rfo-hp-max-power = <22>;
|
2021-07-07 00:35:53 +08:00
|
|
|
};
|
|
|
|
};
|