dts: stm32wb: Add a node for stm32wb rf

Purpose of this node is only to provide a way to configure RF
clock using device tree and clock_control driver.

Default configuration is reproducing existing hard-coded configuration.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2022-12-14 17:20:58 +01:00 committed by Carles Cufí
parent c83bc0539c
commit 561fd80180
2 changed files with 19 additions and 0 deletions

View file

@ -467,6 +467,12 @@
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
};
ble_rf: ble_rf {
compatible = "st,stm32wb-rf";
clocks = <&rcc STM32_CLOCK_BUS_AHB3 0x00100000>,
<&rcc STM32_SRC_LSE RFWKP_SEL(1)>;
};
};
&nvic {

View file

@ -0,0 +1,13 @@
# Copyright (c) 2022, Linaro Limited
# SPDX-License-Identifier: Apache-2.0
description: |
STM32WB Radio device
compatible: "st,stm32wb-rf"
include: base.yaml
properties:
clocks:
required: true