|
| 1 | +# Copyright (c) 2020 Nordic Semiconductor ASA |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +description: | |
| 5 | + Nordic nRF family RADIO |
| 6 | +
|
| 7 | + dfegpio[n]-gpios properties provide GPIO pins to the radio peripheral. These |
| 8 | + GPIO pins are used to drive antennas switching by Radio Direction Finding |
| 9 | + Extension. E.g. to use 12 antennas 4 GPIO pins must be provided; |
| 10 | + 4 GPIO pins support switching up to 16 antennas. |
| 11 | +
|
| 12 | + The dfegpio[n] properties are used to initialize the PSEL.DFEGPIO[n] |
| 13 | + registers. None of the dfegpio[n]-gpios properties are marked required, |
| 14 | + since which Radio PSEL.DFEGPIO[n] registers will be used to drive antenna |
| 15 | + switches depends on the use case. |
| 16 | +
|
| 17 | + Nevertheless, at least two antennas must be available. That means at |
| 18 | + least one dfegpio[n]-gpios property must be provided, to give the radio |
| 19 | + the possibility to switch between two antennas. |
| 20 | +
|
| 21 | +compatible: "nordic,nrf-radio" |
| 22 | + |
| 23 | +include: [base.yaml] |
| 24 | + |
| 25 | +properties: |
| 26 | + reg: |
| 27 | + required: true |
| 28 | + |
| 29 | + interrupts: |
| 30 | + required: true |
| 31 | + |
| 32 | + dfe-ant-num: |
| 33 | + type: int |
| 34 | + required: true |
| 35 | + description: | |
| 36 | + Number of available antennas. |
| 37 | +
|
| 38 | + Value zero means no antenna available. If provided value different than |
| 39 | + zero, it must be greater or equal to two. |
| 40 | +
|
| 41 | + dfegpio0-gpios: |
| 42 | + type: phandle-array |
| 43 | + required: false |
| 44 | + description: | |
| 45 | + Pin select for DFE pin 0 |
| 46 | +
|
| 47 | + Flags cell in the property is not used for GPIO pin initialization |
| 48 | + and should be set to zero. |
| 49 | +
|
| 50 | + dfegpio1-gpios: |
| 51 | + type: phandle-array |
| 52 | + required: false |
| 53 | + description: | |
| 54 | + Pin select for DFE pin 1 |
| 55 | +
|
| 56 | + Flags cell in the property is not used for GPIO pin initialization |
| 57 | + and should be set to zero. |
| 58 | +
|
| 59 | + dfegpio2-gpios: |
| 60 | + type: phandle-array |
| 61 | + required: false |
| 62 | + description: | |
| 63 | + Pin select for DFE pin 2 |
| 64 | +
|
| 65 | + Flags cell in the property is not used for GPIO pin initialization |
| 66 | + and should be set to zero. |
| 67 | +
|
| 68 | + dfegpio3-gpios: |
| 69 | + type: phandle-array |
| 70 | + required: false |
| 71 | + description: | |
| 72 | + Pin select for DFE pin 3 |
| 73 | +
|
| 74 | + Flags cell in the property is not used for GPIO pin initialization |
| 75 | + and should be set to zero. |
| 76 | +
|
| 77 | + dfegpio4-gpios: |
| 78 | + type: phandle-array |
| 79 | + required: false |
| 80 | + description: | |
| 81 | + Pin select for DFE pin 4 |
| 82 | +
|
| 83 | + Flags cell in the property is not used for GPIO pin initialization |
| 84 | + and should be set to zero. |
| 85 | +
|
| 86 | + dfegpio5-gpios: |
| 87 | + type: phandle-array |
| 88 | + required: false |
| 89 | + description: | |
| 90 | + Pin select for DFE pin 5 |
| 91 | +
|
| 92 | + Flags cell in the property is not used for GPIO pin initialization |
| 93 | + and should be set to zero. |
| 94 | +
|
| 95 | + dfegpio6-gpios: |
| 96 | + type: phandle-array |
| 97 | + required: false |
| 98 | + description: | |
| 99 | + Pin select for DFE pin 6 |
| 100 | +
|
| 101 | + Flags cell in the property is not used for GPIO pin initialization |
| 102 | + and should be set to zero. |
| 103 | +
|
| 104 | + dfegpio7-gpios: |
| 105 | + type: phandle-array |
| 106 | + required: false |
| 107 | + description: | |
| 108 | + Pin select for DFE pin 7 |
| 109 | +
|
| 110 | + Flags cell in the property is not used for GPIO pin initialization |
| 111 | + and should be set to zero. |
0 commit comments