Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support MCO pin control #195

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions dts/st/c0/stm32c011d6yx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,32 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
26 changes: 26 additions & 0 deletions dts/st/c0/stm32c011f(4-6)px-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,32 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
26 changes: 26 additions & 0 deletions dts/st/c0/stm32c011f(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,32 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
26 changes: 26 additions & 0 deletions dts/st/c0/stm32c011j(4-6)mx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,32 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 {
Expand Down
34 changes: 34 additions & 0 deletions dts/st/c0/stm32c031c(4-6)tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,40 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_2_pa15: rcc_mco_2_pa15 {
pinmux = <STM32_PINMUX('A', 15, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pb2: rcc_mco_2_pb2 {
pinmux = <STM32_PINMUX('B', 2, AF3)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
34 changes: 34 additions & 0 deletions dts/st/c0/stm32c031c(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,40 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_2_pa15: rcc_mco_2_pa15 {
pinmux = <STM32_PINMUX('A', 15, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pb2: rcc_mco_2_pb2 {
pinmux = <STM32_PINMUX('B', 2, AF3)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
26 changes: 26 additions & 0 deletions dts/st/c0/stm32c031f(4-6)px-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,32 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
30 changes: 30 additions & 0 deletions dts/st/c0/stm32c031g(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,36 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_2_pa15: rcc_mco_2_pa15 {
pinmux = <STM32_PINMUX('A', 15, AF3)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
34 changes: 34 additions & 0 deletions dts/st/c0/stm32c031k(4-6)tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,40 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_2_pa15: rcc_mco_2_pa15 {
pinmux = <STM32_PINMUX('A', 15, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pb2: rcc_mco_2_pb2 {
pinmux = <STM32_PINMUX('B', 2, AF3)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
34 changes: 34 additions & 0 deletions dts/st/c0/stm32c031k(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,40 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa8: rcc_mco_2_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF15)>;
};

/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
pinmux = <STM32_PINMUX('A', 9, AF0)>;
};

/omit-if-no-ref/ rcc_mco_2_pa10: rcc_mco_2_pa10 {
pinmux = <STM32_PINMUX('A', 10, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pa14: rcc_mco_2_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF11)>;
};

/omit-if-no-ref/ rcc_mco_2_pa15: rcc_mco_2_pa15 {
pinmux = <STM32_PINMUX('A', 15, AF3)>;
};

/omit-if-no-ref/ rcc_mco_2_pb2: rcc_mco_2_pb2 {
pinmux = <STM32_PINMUX('B', 2, AF3)>;
};

/omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 {
pinmux = <STM32_PINMUX('F', 2, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
6 changes: 6 additions & 0 deletions dts/st/f0/stm32f030c6tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
6 changes: 6 additions & 0 deletions dts/st/f0/stm32f030c8tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,12 @@
pinmux = <STM32_PINMUX('A', 14, AF0)>;
};

/* RCC_MCO */

/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
pinmux = <STM32_PINMUX('A', 8, AF0)>;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
Loading
Loading