Commit 81e6c11c authored by Benjamin Björnsson's avatar Benjamin Björnsson Committed by Erwan Gouriou
Browse files

scripts: genpinctrl: add MCO to pinctrl generation config

This commit adds MCO to the configuration file for
pinctrl generation.
The match regex was base upon the result of running the command:

git grep Name=\"RCC_MCO | cut -d \" -f2 | sort | uniq

in the STM32_open_pin_data repository giving the following:

RCC_MCO
RCC_MCO_1
RCC_MCO_2

Signed-off-by: default avatarBenjamin Björnsson <benjamin.bjornsson@gmail.com>
parent ed930987
Loading
Loading
Loading
Loading
+4 −0
Changes for scripts/genpinctrl/stm32-pinctrl-config.yaml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -198,6 +198,10 @@
  match: "^OCTOSPI(.*)(?:CLK|NCS|DQS|IO[0-7])$"
  slew-rate: very-high-speed

- name: RCC_MCO
  match: "^RCC_MCO_?(\\d+)?$"
  mode: alternate

- name: QUADSPI
  match: "^QUADSPI(\\d+)?_(?:CLK|NCS|BK1_NCS|BK1_IO[0-3]|BK2_NCS|BK2_IO[0-3])$"
  slew-rate: very-high-speed
+4 −0
Changes for scripts/genpinctrl/stm32f1-pinctrl-config.yaml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -170,6 +170,10 @@
  match: "^I2S\\d+_SD$"
  mode: alternate

- name: RCC_MCO
  match: "^RCC_MCO_?(\\d+)?$"
  mode: alternate

- name: SPI_MASTER_MISO
  match: "^SPI\\d+_MISO$"
  bias: pull-down