1/*
2 * Copyright (c) 2021 Thomas Stranger
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <st/wl/stm32wle5Xc.dtsi>
8#include <st/wl/stm32wle5jcix-pinctrl.dtsi>
9
10&clk_hse {
11	clock-frequency = <DT_FREQ_M(32)>;
12	hse-tcxo;
13};
14
15&clk_lse {
16	clock-frequency = <32768>;
17};
18
19&subghzspi {
20	status = "okay";
21	lora: radio@0 {
22		status = "okay";
23		tx-enable-gpios = <&gpioa 4 GPIO_ACTIVE_LOW>;
24		rx-enable-gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
25		dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
26		tcxo-power-startup-delay-ms = <5>;
27		power-amplifier-output = "rfo-hp";
28		rfo-hp-max-power = <22>;
29	};
30};
31