zephyr/boards/arm/dragino_lsn50
Gerard Marull-Paretas 4b9c3d7134 boards: arm: stm32: add pinctrl state name for UART peripheral
Add the pinctrl state name (default) for the UART/USART/LPUART
peripherals. Changes performed using the following Python script run
from the repository root:

```
from pathlib import Path
import re

for fpath in Path(".").glob("boards/arm/**/*.dts"):
    lines = open(fpath).readlines()

    is_stm32 = False
    for line in lines:
        if "stm32" in line:
            is_stm32 = True
            break

    if not is_stm32:
        continue

    with open(fpath, "w") as f:
        for line in lines:
            f.write(line)

            m = re.match(r"(\s+)pinctrl-0.*us?art.*", line)
            if m:
                f.write(m.group(1) + "pinctrl-names = \"default\";\n")
```

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-11-26 11:36:42 +01:00
..
doc boards: shrink image sizes 2020-02-07 13:52:45 -05:00
support boards: arm: Add Dragino LSN50 LoRA node 2018-03-10 11:42:25 -06:00
board.cmake boards: arm: st, stm32: add jlink runner args 2019-04-19 13:56:28 -05:00
dragino_lsn50.dts boards: arm: stm32: add pinctrl state name for UART peripheral 2021-11-26 11:36:42 +01:00
dragino_lsn50.yaml board: more stm board renames in yaml file 2020-05-01 15:43:37 -04:00
dragino_lsn50_defconfig boards: arm: stm32: enable pinctrl driver 2021-11-26 11:36:42 +01:00
Kconfig.board kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.defconfig boards: stm32: Use dt API for serial peripheral configuration 2020-04-20 15:27:56 -05:00