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:
parent
451a6ed6ab
commit
f80e572750
14 changed files with 69 additions and 0 deletions
|
@ -67,6 +67,7 @@
|
||||||
reg = <0x40001000 0x1000>;
|
reg = <0x40001000 0x1000>;
|
||||||
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
ble-2mbps-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: uart@40002000 {
|
uart0: uart@40002000 {
|
||||||
|
@ -276,6 +277,7 @@
|
||||||
flash_controller: flash-controller@4001e000 {
|
flash_controller: flash-controller@4001e000 {
|
||||||
compatible = "nordic,nrf52-flash-controller";
|
compatible = "nordic,nrf52-flash-controller";
|
||||||
reg = <0x4001e000 0x1000>;
|
reg = <0x4001e000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -64,6 +64,7 @@
|
||||||
reg = <0x40001000 0x1000>;
|
reg = <0x40001000 0x1000>;
|
||||||
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
ble-2mbps-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: uart@40002000 {
|
uart0: uart@40002000 {
|
||||||
|
@ -297,6 +298,7 @@
|
||||||
flash_controller: flash-controller@4001e000 {
|
flash_controller: flash-controller@4001e000 {
|
||||||
compatible = "nordic,nrf52-flash-controller";
|
compatible = "nordic,nrf52-flash-controller";
|
||||||
reg = <0x4001e000 0x1000>;
|
reg = <0x4001e000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -69,6 +69,9 @@
|
||||||
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
dfe-supported;
|
dfe-supported;
|
||||||
|
ieee802154-supported;
|
||||||
|
ble-2mbps-supported;
|
||||||
|
ble-coded-phy-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: uart@40002000 {
|
uart0: uart@40002000 {
|
||||||
|
@ -321,6 +324,7 @@
|
||||||
flash_controller: flash-controller@4001e000 {
|
flash_controller: flash-controller@4001e000 {
|
||||||
compatible = "nordic,nrf52-flash-controller";
|
compatible = "nordic,nrf52-flash-controller";
|
||||||
reg = <0x4001e000 0x1000>;
|
reg = <0x4001e000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -64,6 +64,9 @@
|
||||||
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
dfe-supported;
|
dfe-supported;
|
||||||
|
ble-2mbps-supported;
|
||||||
|
ble-coded-phy-supported;
|
||||||
|
tx-high-power-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: uart@40002000 {
|
uart0: uart@40002000 {
|
||||||
|
@ -323,6 +326,7 @@
|
||||||
flash_controller: flash-controller@4001e000 {
|
flash_controller: flash-controller@4001e000 {
|
||||||
compatible = "nordic,nrf52-flash-controller";
|
compatible = "nordic,nrf52-flash-controller";
|
||||||
reg = <0x4001e000 0x1000>;
|
reg = <0x4001e000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -64,6 +64,7 @@
|
||||||
reg = <0x40001000 0x1000>;
|
reg = <0x40001000 0x1000>;
|
||||||
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
ble-2mbps-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: uart@40002000 {
|
uart0: uart@40002000 {
|
||||||
|
|
|
@ -63,6 +63,10 @@
|
||||||
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
dfe-supported;
|
dfe-supported;
|
||||||
|
ieee802154-supported;
|
||||||
|
ble-2mbps-supported;
|
||||||
|
ble-coded-phy-supported;
|
||||||
|
tx-high-power-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: uart@40002000 {
|
uart0: uart@40002000 {
|
||||||
|
@ -371,6 +375,7 @@
|
||||||
flash_controller: flash-controller@4001e000 {
|
flash_controller: flash-controller@4001e000 {
|
||||||
compatible = "nordic,nrf52-flash-controller";
|
compatible = "nordic,nrf52-flash-controller";
|
||||||
reg = <0x4001e000 0x1000>;
|
reg = <0x4001e000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -58,6 +58,10 @@
|
||||||
reg = <0x40001000 0x1000>;
|
reg = <0x40001000 0x1000>;
|
||||||
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <1 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
ieee802154-supported;
|
||||||
|
ble-2mbps-supported;
|
||||||
|
ble-coded-phy-supported;
|
||||||
|
tx-high-power-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: uart@40002000 {
|
uart0: uart@40002000 {
|
||||||
|
@ -366,6 +370,7 @@
|
||||||
flash_controller: flash-controller@4001e000 {
|
flash_controller: flash-controller@4001e000 {
|
||||||
compatible = "nordic,nrf52-flash-controller";
|
compatible = "nordic,nrf52-flash-controller";
|
||||||
reg = <0x4001e000 0x1000>;
|
reg = <0x4001e000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -498,6 +498,7 @@ usbreg: regulator@37000 {
|
||||||
flash_controller: flash-controller@39000 {
|
flash_controller: flash-controller@39000 {
|
||||||
compatible = "nordic,nrf53-flash-controller";
|
compatible = "nordic,nrf53-flash-controller";
|
||||||
reg = <0x39000 0x1000>;
|
reg = <0x39000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -74,6 +74,9 @@
|
||||||
interrupts = <8 NRF_DEFAULT_IRQ_PRIORITY>;
|
interrupts = <8 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
dfe-supported;
|
dfe-supported;
|
||||||
|
ieee802154-supported;
|
||||||
|
ble-2mbps-supported;
|
||||||
|
ble-coded-phy-supported;
|
||||||
};
|
};
|
||||||
|
|
||||||
rng: random@41009000 {
|
rng: random@41009000 {
|
||||||
|
@ -284,6 +287,7 @@
|
||||||
flash_controller: flash-controller@41080000 {
|
flash_controller: flash-controller@41080000 {
|
||||||
compatible = "nordic,nrf53-flash-controller";
|
compatible = "nordic,nrf53-flash-controller";
|
||||||
reg = <0x41080000 0x1000>;
|
reg = <0x41080000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
flash_controller: flash-controller@39000 {
|
flash_controller: flash-controller@39000 {
|
||||||
compatible = "nordic,nrf91-flash-controller";
|
compatible = "nordic,nrf91-flash-controller";
|
||||||
reg = <0x39000 0x1000>;
|
reg = <0x39000 0x1000>;
|
||||||
|
partial-erase;
|
||||||
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -3,3 +3,9 @@ description: Nordic NVMC (Non-Volatile Memory Controller)
|
||||||
compatible: "nordic,nrf52-flash-controller"
|
compatible: "nordic,nrf52-flash-controller"
|
||||||
|
|
||||||
include: flash-controller.yaml
|
include: flash-controller.yaml
|
||||||
|
|
||||||
|
properties:
|
||||||
|
partial-erase:
|
||||||
|
type: boolean
|
||||||
|
description: |
|
||||||
|
If set, indicates that the NVMC supports partial erase of flash pages.
|
||||||
|
|
|
@ -3,3 +3,9 @@ description: Nordic NVMC (Non-Volatile Memory Controller)
|
||||||
compatible: "nordic,nrf53-flash-controller"
|
compatible: "nordic,nrf53-flash-controller"
|
||||||
|
|
||||||
include: flash-controller.yaml
|
include: flash-controller.yaml
|
||||||
|
|
||||||
|
properties:
|
||||||
|
partial-erase:
|
||||||
|
type: boolean
|
||||||
|
description: |
|
||||||
|
If set, indicates that the NVMC supports partial erase of flash pages.
|
||||||
|
|
|
@ -3,3 +3,9 @@ description: Nordic NVMC (Non-Volatile Memory Controller)
|
||||||
compatible: "nordic,nrf91-flash-controller"
|
compatible: "nordic,nrf91-flash-controller"
|
||||||
|
|
||||||
include: flash-controller.yaml
|
include: flash-controller.yaml
|
||||||
|
|
||||||
|
properties:
|
||||||
|
partial-erase:
|
||||||
|
type: boolean
|
||||||
|
description: |
|
||||||
|
If set, indicates that the NVMC supports partial erase of flash pages.
|
||||||
|
|
|
@ -215,3 +215,25 @@ properties:
|
||||||
required: false
|
required: false
|
||||||
description: |
|
description: |
|
||||||
Pin select for DFE pin 7. See description for dfegpio0-gpios.
|
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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue