dts: Add power-amplifier properties to STM32WL boards/modules
The newly added "power-amplifier-output" property for STM32WL SubGHz radio nodes is mandatory. Add the property to all affected modules and boards with the appropriate value for the factory-default hardware configuration. Add the "rfo-XX-max-power" properties to all affected modules and boards with the appropriate value for the hardware configuration. Signed-off-by: Kenneth J. Miller <ken@miller.ec>
This commit is contained in:
parent
e78e8d7c3f
commit
7075e7763b
3 changed files with 14 additions and 2 deletions
|
@ -165,10 +165,18 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
lora: radio@0 {
|
lora: radio@0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
tx-enable-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>;
|
tx-enable-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */
|
||||||
rx-enable-gpios = <&gpioc 5 GPIO_ACTIVE_LOW>;
|
rx-enable-gpios = <&gpioc 5 GPIO_ACTIVE_LOW>; /* FE_CTRL2 */
|
||||||
dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
|
dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
|
||||||
tcxo-power-startup-delay-ms = <5>;
|
tcxo-power-startup-delay-ms = <5>;
|
||||||
|
/* High-power output is selected as a consequence of using
|
||||||
|
* tx/rx-enable-gpio to control FE_CTRL1 and FE_CTRL2. Low-power
|
||||||
|
* output would require both FE_CTRL1 and FE_CTRL2 to be high,
|
||||||
|
* which is not currently supported by the driver.
|
||||||
|
*/
|
||||||
|
power-amplifier-output = "rfo-hp";
|
||||||
|
rfo-lp-max-power = <15>;
|
||||||
|
rfo-hp-max-power = <22>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,5 +21,7 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
tx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */
|
tx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */
|
||||||
rx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_LOW>; /* FE_CTRL2 */
|
rx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_LOW>; /* FE_CTRL2 */
|
||||||
|
power-amplifier-output = "rfo-lp";
|
||||||
|
rfo-lp-max-power = <14>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,5 +24,7 @@
|
||||||
rx-enable-gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
|
rx-enable-gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
|
||||||
dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
|
dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
|
||||||
tcxo-power-startup-delay-ms = <5>;
|
tcxo-power-startup-delay-ms = <5>;
|
||||||
|
power-amplifier-output = "rfo-hp";
|
||||||
|
rfo-hp-max-power = <22>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue