dts: nordic: Add properties indicating certain peripheral features

Add boolean properties to the binding for the nRF RADIO peripheral
to indicate whether the following features are supported:
- IEEE 802.15.4 mode
- 2 Mbps BLE mode
- coded BLE PHY
- high TX power settings
Set these properties appropriately in devicetree radio nodes for all
nRF SoCs.

Add also such properties and set them in appropriate nodes for nRF
flash controllers to indicate whether they support partial erase.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2022-03-25 16:57:55 +01:00 committed by Carles Cufí
commit f80e572750
14 changed files with 69 additions and 0 deletions

View file

@ -67,6 +67,7 @@
reg = <0x40001000 0x1000>;
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
ble-2mbps-supported;
};
uart0: uart@40002000 {
@ -276,6 +277,7 @@
flash_controller: flash-controller@4001e000 {
compatible = "nordic,nrf52-flash-controller";
reg = <0x4001e000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -64,6 +64,7 @@
reg = <0x40001000 0x1000>;
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
ble-2mbps-supported;
};
uart0: uart@40002000 {
@ -297,6 +298,7 @@
flash_controller: flash-controller@4001e000 {
compatible = "nordic,nrf52-flash-controller";
reg = <0x4001e000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -69,6 +69,9 @@
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
dfe-supported;
ieee802154-supported;
ble-2mbps-supported;
ble-coded-phy-supported;
};
uart0: uart@40002000 {
@ -321,6 +324,7 @@
flash_controller: flash-controller@4001e000 {
compatible = "nordic,nrf52-flash-controller";
reg = <0x4001e000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -64,6 +64,9 @@
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
dfe-supported;
ble-2mbps-supported;
ble-coded-phy-supported;
tx-high-power-supported;
};
uart0: uart@40002000 {
@ -323,6 +326,7 @@
flash_controller: flash-controller@4001e000 {
compatible = "nordic,nrf52-flash-controller";
reg = <0x4001e000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -64,6 +64,7 @@
reg = <0x40001000 0x1000>;
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
ble-2mbps-supported;
};
uart0: uart@40002000 {

View file

@ -63,6 +63,10 @@
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
dfe-supported;
ieee802154-supported;
ble-2mbps-supported;
ble-coded-phy-supported;
tx-high-power-supported;
};
uart0: uart@40002000 {
@ -371,6 +375,7 @@
flash_controller: flash-controller@4001e000 {
compatible = "nordic,nrf52-flash-controller";
reg = <0x4001e000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -58,6 +58,10 @@
reg = <0x40001000 0x1000>;
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
ieee802154-supported;
ble-2mbps-supported;
ble-coded-phy-supported;
tx-high-power-supported;
};
uart0: uart@40002000 {
@ -366,6 +370,7 @@
flash_controller: flash-controller@4001e000 {
compatible = "nordic,nrf52-flash-controller";
reg = <0x4001e000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -498,6 +498,7 @@ usbreg: regulator@37000 {
flash_controller: flash-controller@39000 {
compatible = "nordic,nrf53-flash-controller";
reg = <0x39000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -74,6 +74,9 @@
interrupts = <8 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
dfe-supported;
ieee802154-supported;
ble-2mbps-supported;
ble-coded-phy-supported;
};
rng: random@41009000 {
@ -284,6 +287,7 @@
flash_controller: flash-controller@41080000 {
compatible = "nordic,nrf53-flash-controller";
reg = <0x41080000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -7,6 +7,7 @@
flash_controller: flash-controller@39000 {
compatible = "nordic,nrf91-flash-controller";
reg = <0x39000 0x1000>;
partial-erase;
#address-cells = <1>;
#size-cells = <1>;

View file

@ -3,3 +3,9 @@ description: Nordic NVMC (Non-Volatile Memory Controller)
compatible: "nordic,nrf52-flash-controller"
include: flash-controller.yaml
properties:
partial-erase:
type: boolean
description: |
If set, indicates that the NVMC supports partial erase of flash pages.

View file

@ -3,3 +3,9 @@ description: Nordic NVMC (Non-Volatile Memory Controller)
compatible: "nordic,nrf53-flash-controller"
include: flash-controller.yaml
properties:
partial-erase:
type: boolean
description: |
If set, indicates that the NVMC supports partial erase of flash pages.

View file

@ -3,3 +3,9 @@ description: Nordic NVMC (Non-Volatile Memory Controller)
compatible: "nordic,nrf91-flash-controller"
include: flash-controller.yaml
properties:
partial-erase:
type: boolean
description: |
If set, indicates that the NVMC supports partial erase of flash pages.

View file

@ -215,3 +215,25 @@ properties:
required: false
description: |
Pin select for DFE pin 7. See description for dfegpio0-gpios.
ieee802154-supported:
type: boolean
description: |
If set, indicates that the radio hardware supports the IEEE 802.15.4
mode.
ble-2mbps-supported:
type: boolean
description: |
If set, indicates that the radio hardware supports the 2 Mbps BLE mode.
ble-coded-phy-supported:
type: boolean
description: |
If set, indicates that the radio hardware supports coded BLE PHY.
tx-high-power-supported:
type: boolean
description: |
If set, indicates that the radio hardware supports high TX power
settings.