1# Copyright (c) 2020-2021 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    This is a representation of generic radio Front-End Module (FEM)
6    that has a two-pin control interface (CTX, CRX).
7
8    The CTX control pin is used to enable the Power Amplifier (PA) in
9    the transmit path. This is therefore sometimes referred to as
10    the "PA pin" in other contexts.
11
12    The CRX control pin is used to enable the Low Noise Amplifier
13    (LNA) in the receive path, and is sometimes referred to as
14    the "LNA pin" in other contexts.
15
16    Each of these pins is optional, and may be omitted if not present.
17    (Though if you do specify a pin, you must also specify its
18    corresponding settle-time-us property.)
19
20compatible: "generic-fem-two-ctrl-pins"
21
22include: base.yaml
23
24properties:
25  ctx-gpios:
26    type: phandle-array
27    description: |
28        SoC GPIO connected to the CTX input pin on the FEM device.
29
30  crx-gpios:
31    type: phandle-array
32    description: |
33        SoC GPIO connected to the CRX input pin on the FEM device.
34
35  ctx-settle-time-us:
36    type: int
37    description: |
38        Desired minimum settling time, in microseconds, from
39        assertion of the CTX pin to beginning of transmission.
40
41  crx-settle-time-us:
42    type: int
43    description: |
44        Desired minimum settling time, in microseconds, from
45        assertion of the CRX pin to beginning of reception.
46
47  tx-gain-db:
48    type: int
49    description: |
50        TX gain of the PA of the FEM device, in dB.
51
52  rx-gain-db:
53    type: int
54    description: |
55        RX gain of the LNA of the FEM device, in dB.
56