diff --git a/zephcore/boards/nrf52840/promicro_lr2021/promicro_lr2021.dts b/zephcore/boards/nrf52840/promicro_lr2021/promicro_lr2021.dts index d958c65..c7df359 100644 --- a/zephcore/boards/nrf52840/promicro_lr2021/promicro_lr2021.dts +++ b/zephcore/boards/nrf52840/promicro_lr2021/promicro_lr2021.dts @@ -158,9 +158,6 @@ rfswitch-rx = <0x03>; rfswitch-tx = <0x02>; rfswitch-tx-hp = <0x03>; - - pa-hp-sel = <7>; - pa-duty-cycle = <4>; }; }; diff --git a/zephcore/patches/zephyr-new/drivers/lora/lr20xx/lr20xx_lora.c b/zephcore/patches/zephyr-new/drivers/lora/lr20xx/lr20xx_lora.c index 163eefa..fe35234 100644 --- a/zephcore/patches/zephyr-new/drivers/lora/lr20xx/lr20xx_lora.c +++ b/zephcore/patches/zephyr-new/drivers/lora/lr20xx/lr20xx_lora.c @@ -63,9 +63,6 @@ struct lr20xx_config { uint8_t rfswitch_rx; uint8_t rfswitch_tx; uint8_t rfswitch_tx_hp; - /* PA config */ - uint8_t pa_hp_sel; /* maps to pa_lf_slices in LR20xx */ - uint8_t pa_duty_cycle; /* maps to pa_lf_duty_cycle in LR20xx */ }; struct lr20xx_data { @@ -3193,8 +3190,6 @@ static DEVICE_API(lora, lr20xx_lora_api) = { .rfswitch_rx = DT_INST_PROP_OR(n, rfswitch_rx, 0), \ .rfswitch_tx = DT_INST_PROP_OR(n, rfswitch_tx, 0), \ .rfswitch_tx_hp = DT_INST_PROP_OR(n, rfswitch_tx_hp, 0), \ - .pa_hp_sel = DT_INST_PROP_OR(n, pa_hp_sel, 7), \ - .pa_duty_cycle = DT_INST_PROP_OR(n, pa_duty_cycle, 4), \ }; \ static struct lr20xx_data lr20xx_data_##n; \ DEVICE_DT_INST_DEFINE(n, lr20xx_lora_init, NULL, \ diff --git a/zephcore/patches/zephyr-new/dts/bindings/lora/semtech,lr2021.yaml b/zephcore/patches/zephyr-new/dts/bindings/lora/semtech,lr2021.yaml index aa87962..c7e00c6 100644 --- a/zephcore/patches/zephyr-new/dts/bindings/lora/semtech,lr2021.yaml +++ b/zephcore/patches/zephyr-new/dts/bindings/lora/semtech,lr2021.yaml @@ -90,17 +90,3 @@ properties: description: | Bitmask of RF switch DIOs that are HIGH in 2.4 GHz / high-power TX mode (HF PA). Bit mapping matches rfswitch-enable. - - pa-hp-sel: - type: int - default: 7 - description: | - LF PA number of slices (0-7). Maps to pa_lf_slices in the SDK. - Higher = more PA output slices active = more power. Default 7 = maximum. - - pa-duty-cycle: - type: int - default: 4 - description: | - LF PA duty cycle (0-7). Maps to pa_lf_duty_cycle in the SDK. - Default 4 is suitable for most sub-GHz applications.