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:
parent
c83bc0539c
commit
561fd80180
|
@ -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 {
|
||||
|
|
13
dts/bindings/bluetooth/st,stm32wb-ble-rf.yaml
Normal file
13
dts/bindings/bluetooth/st,stm32wb-ble-rf.yaml
Normal 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
|
Loading…
Reference in a new issue