diff --git a/dts/st/u0/stm32u031c6tx-pinctrl.dtsi b/dts/st/u0/stm32u031c6tx-pinctrl.dtsi new file mode 100644 index 000000000..d074a1cf1 --- /dev/null +++ b/dts/st/u0/stm32u031c6tx-pinctrl.dtsi @@ -0,0 +1,974 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031c6ux-pinctrl.dtsi b/dts/st/u0/stm32u031c6ux-pinctrl.dtsi new file mode 100644 index 000000000..d074a1cf1 --- /dev/null +++ b/dts/st/u0/stm32u031c6ux-pinctrl.dtsi @@ -0,0 +1,974 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031c8tx-pinctrl.dtsi b/dts/st/u0/stm32u031c8tx-pinctrl.dtsi new file mode 100644 index 000000000..d074a1cf1 --- /dev/null +++ b/dts/st/u0/stm32u031c8tx-pinctrl.dtsi @@ -0,0 +1,974 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031c8ux-pinctrl.dtsi b/dts/st/u0/stm32u031c8ux-pinctrl.dtsi new file mode 100644 index 000000000..d074a1cf1 --- /dev/null +++ b/dts/st/u0/stm32u031c8ux-pinctrl.dtsi @@ -0,0 +1,974 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031f4px-pinctrl.dtsi b/dts/st/u0/stm32u031f4px-pinctrl.dtsi new file mode 100644 index 000000000..9a081c60f --- /dev/null +++ b/dts/st/u0/stm32u031f4px-pinctrl.dtsi @@ -0,0 +1,698 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031f6px-pinctrl.dtsi b/dts/st/u0/stm32u031f6px-pinctrl.dtsi new file mode 100644 index 000000000..9a081c60f --- /dev/null +++ b/dts/st/u0/stm32u031f6px-pinctrl.dtsi @@ -0,0 +1,698 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031f8px-pinctrl.dtsi b/dts/st/u0/stm32u031f8px-pinctrl.dtsi new file mode 100644 index 000000000..9a081c60f --- /dev/null +++ b/dts/st/u0/stm32u031f8px-pinctrl.dtsi @@ -0,0 +1,698 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031g6yx-pinctrl.dtsi b/dts/st/u0/stm32u031g6yx-pinctrl.dtsi new file mode 100644 index 000000000..0dcfc5d0c --- /dev/null +++ b/dts/st/u0/stm32u031g6yx-pinctrl.dtsi @@ -0,0 +1,617 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031g8yx-pinctrl.dtsi b/dts/st/u0/stm32u031g8yx-pinctrl.dtsi new file mode 100644 index 000000000..0dcfc5d0c --- /dev/null +++ b/dts/st/u0/stm32u031g8yx-pinctrl.dtsi @@ -0,0 +1,617 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031k4ux-pinctrl.dtsi b/dts/st/u0/stm32u031k4ux-pinctrl.dtsi new file mode 100644 index 000000000..9be1c2bf1 --- /dev/null +++ b/dts/st/u0/stm32u031k4ux-pinctrl.dtsi @@ -0,0 +1,732 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031k6ux-pinctrl.dtsi b/dts/st/u0/stm32u031k6ux-pinctrl.dtsi new file mode 100644 index 000000000..9be1c2bf1 --- /dev/null +++ b/dts/st/u0/stm32u031k6ux-pinctrl.dtsi @@ -0,0 +1,732 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031k8ux-pinctrl.dtsi b/dts/st/u0/stm32u031k8ux-pinctrl.dtsi new file mode 100644 index 000000000..9be1c2bf1 --- /dev/null +++ b/dts/st/u0/stm32u031k8ux-pinctrl.dtsi @@ -0,0 +1,732 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031r6ix-pinctrl.dtsi b/dts/st/u0/stm32u031r6ix-pinctrl.dtsi new file mode 100644 index 000000000..9b4ef71fc --- /dev/null +++ b/dts/st/u0/stm32u031r6ix-pinctrl.dtsi @@ -0,0 +1,1161 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031r6tx-pinctrl.dtsi b/dts/st/u0/stm32u031r6tx-pinctrl.dtsi new file mode 100644 index 000000000..9b4ef71fc --- /dev/null +++ b/dts/st/u0/stm32u031r6tx-pinctrl.dtsi @@ -0,0 +1,1161 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031r8ix-pinctrl.dtsi b/dts/st/u0/stm32u031r8ix-pinctrl.dtsi new file mode 100644 index 000000000..9b4ef71fc --- /dev/null +++ b/dts/st/u0/stm32u031r8ix-pinctrl.dtsi @@ -0,0 +1,1161 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u031r8tx-pinctrl.dtsi b/dts/st/u0/stm32u031r8tx-pinctrl.dtsi new file mode 100644 index 000000000..9b4ef71fc --- /dev/null +++ b/dts/st/u0/stm32u031r8tx-pinctrl.dtsi @@ -0,0 +1,1161 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073c8tx-pinctrl.dtsi b/dts/st/u0/stm32u073c8tx-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u073c8tx-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073c8ux-pinctrl.dtsi b/dts/st/u0/stm32u073c8ux-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u073c8ux-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073cbtx-pinctrl.dtsi b/dts/st/u0/stm32u073cbtx-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u073cbtx-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073cbux-pinctrl.dtsi b/dts/st/u0/stm32u073cbux-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u073cbux-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073cctx-pinctrl.dtsi b/dts/st/u0/stm32u073cctx-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u073cctx-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073ccux-pinctrl.dtsi b/dts/st/u0/stm32u073ccux-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u073ccux-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073h8yx-pinctrl.dtsi b/dts/st/u0/stm32u073h8yx-pinctrl.dtsi new file mode 100644 index 000000000..11f6a1005 --- /dev/null +++ b/dts/st/u0/stm32u073h8yx-pinctrl.dtsi @@ -0,0 +1,899 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073hbyx-pinctrl.dtsi b/dts/st/u0/stm32u073hbyx-pinctrl.dtsi new file mode 100644 index 000000000..11f6a1005 --- /dev/null +++ b/dts/st/u0/stm32u073hbyx-pinctrl.dtsi @@ -0,0 +1,899 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073hcyx-pinctrl.dtsi b/dts/st/u0/stm32u073hcyx-pinctrl.dtsi new file mode 100644 index 000000000..11f6a1005 --- /dev/null +++ b/dts/st/u0/stm32u073hcyx-pinctrl.dtsi @@ -0,0 +1,899 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073k8ux-pinctrl.dtsi b/dts/st/u0/stm32u073k8ux-pinctrl.dtsi new file mode 100644 index 000000000..f84ceef53 --- /dev/null +++ b/dts/st/u0/stm32u073k8ux-pinctrl.dtsi @@ -0,0 +1,819 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073kbux-pinctrl.dtsi b/dts/st/u0/stm32u073kbux-pinctrl.dtsi new file mode 100644 index 000000000..f84ceef53 --- /dev/null +++ b/dts/st/u0/stm32u073kbux-pinctrl.dtsi @@ -0,0 +1,819 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073kcux-pinctrl.dtsi b/dts/st/u0/stm32u073kcux-pinctrl.dtsi new file mode 100644 index 000000000..f84ceef53 --- /dev/null +++ b/dts/st/u0/stm32u073kcux-pinctrl.dtsi @@ -0,0 +1,819 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073m8ix-pinctrl.dtsi b/dts/st/u0/stm32u073m8ix-pinctrl.dtsi new file mode 100644 index 000000000..a5274a2a9 --- /dev/null +++ b/dts/st/u0/stm32u073m8ix-pinctrl.dtsi @@ -0,0 +1,1488 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe3: analog_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pe3: tim3_ch1_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073m8tx-pinctrl.dtsi b/dts/st/u0/stm32u073m8tx-pinctrl.dtsi new file mode 100644 index 000000000..328c4235e --- /dev/null +++ b/dts/st/u0/stm32u073m8tx-pinctrl.dtsi @@ -0,0 +1,1480 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073mbix-pinctrl.dtsi b/dts/st/u0/stm32u073mbix-pinctrl.dtsi new file mode 100644 index 000000000..a5274a2a9 --- /dev/null +++ b/dts/st/u0/stm32u073mbix-pinctrl.dtsi @@ -0,0 +1,1488 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe3: analog_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pe3: tim3_ch1_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073mbtx-pinctrl.dtsi b/dts/st/u0/stm32u073mbtx-pinctrl.dtsi new file mode 100644 index 000000000..328c4235e --- /dev/null +++ b/dts/st/u0/stm32u073mbtx-pinctrl.dtsi @@ -0,0 +1,1480 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073mcix-pinctrl.dtsi b/dts/st/u0/stm32u073mcix-pinctrl.dtsi new file mode 100644 index 000000000..a5274a2a9 --- /dev/null +++ b/dts/st/u0/stm32u073mcix-pinctrl.dtsi @@ -0,0 +1,1488 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe3: analog_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pe3: tim3_ch1_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073mctx-pinctrl.dtsi b/dts/st/u0/stm32u073mctx-pinctrl.dtsi new file mode 100644 index 000000000..328c4235e --- /dev/null +++ b/dts/st/u0/stm32u073mctx-pinctrl.dtsi @@ -0,0 +1,1480 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073r8ix-pinctrl.dtsi b/dts/st/u0/stm32u073r8ix-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u073r8ix-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073r8tx-pinctrl.dtsi b/dts/st/u0/stm32u073r8tx-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u073r8tx-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073rbix-pinctrl.dtsi b/dts/st/u0/stm32u073rbix-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u073rbix-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073rbtx-pinctrl.dtsi b/dts/st/u0/stm32u073rbtx-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u073rbtx-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073rcix-pinctrl.dtsi b/dts/st/u0/stm32u073rcix-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u073rcix-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u073rctx-pinctrl.dtsi b/dts/st/u0/stm32u073rctx-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u073rctx-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083cctx-pinctrl.dtsi b/dts/st/u0/stm32u083cctx-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u083cctx-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083ccux-pinctrl.dtsi b/dts/st/u0/stm32u083ccux-pinctrl.dtsi new file mode 100644 index 000000000..d834e0e35 --- /dev/null +++ b/dts/st/u0/stm32u083ccux-pinctrl.dtsi @@ -0,0 +1,1073 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083hcyx-pinctrl.dtsi b/dts/st/u0/stm32u083hcyx-pinctrl.dtsi new file mode 100644 index 000000000..11f6a1005 --- /dev/null +++ b/dts/st/u0/stm32u083hcyx-pinctrl.dtsi @@ -0,0 +1,899 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083kcux-pinctrl.dtsi b/dts/st/u0/stm32u083kcux-pinctrl.dtsi new file mode 100644 index 000000000..f84ceef53 --- /dev/null +++ b/dts/st/u0/stm32u083kcux-pinctrl.dtsi @@ -0,0 +1,819 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083mcix-pinctrl.dtsi b/dts/st/u0/stm32u083mcix-pinctrl.dtsi new file mode 100644 index 000000000..a5274a2a9 --- /dev/null +++ b/dts/st/u0/stm32u083mcix-pinctrl.dtsi @@ -0,0 +1,1488 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe3: analog_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pe3: tim3_ch1_pe3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083mctx-pinctrl.dtsi b/dts/st/u0/stm32u083mctx-pinctrl.dtsi new file mode 100644 index 000000000..328c4235e --- /dev/null +++ b/dts/st/u0/stm32u083mctx-pinctrl.dtsi @@ -0,0 +1,1480 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd0: analog_pd0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd1: analog_pd1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd3: analog_pd3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd4: analog_pd4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd5: analog_pd5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd6: analog_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd8: analog_pd8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd9: analog_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd10: analog_pd10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd11: analog_pd11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd12: analog_pd12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd13: analog_pd13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe7: analog_pe7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe8: analog_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pe9: analog_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pd12: i2c4_scl_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pd13: i2c4_sda_pd13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pe8: tim1_ch1n_pe8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pe9: tim1_ch1_pe9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pd11: lpuart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pd4: usart2_de_pd4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pd12: lpuart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd12: usart3_de_pd12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pd12: lpuart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pd9: lpuart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pd8: lpuart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083rcix-pinctrl.dtsi b/dts/st/u0/stm32u083rcix-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u083rcix-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file diff --git a/dts/st/u0/stm32u083rctx-pinctrl.dtsi b/dts/st/u0/stm32u083rctx-pinctrl.dtsi new file mode 100644 index 000000000..7ca7afefb --- /dev/null +++ b/dts/st/u0/stm32u083rctx-pinctrl.dtsi @@ -0,0 +1,1301 @@ +/* + * NOTE: Autogenerated file using genpinctrl.py + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + soc { + pinctrl: pin-controller@50000000 { + + /* ADC_IN / ADC_INN / ADC_INP */ + + /omit-if-no-ref/ adc1_in4_pa0: adc1_in4_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in5_pa1: adc1_in5_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in6_pa2: adc1_in6_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in7_pa3: adc1_in7_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in8_pa4: adc1_in8_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in9_pa5: adc1_in9_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in10_pa6: adc1_in10_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in14_pa7: adc1_in14_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in0_pc0: adc1_in0_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in1_pc1: adc1_in1_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in2_pc2: adc1_in2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in3_pc3: adc1_in3_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in15_pc4: adc1_in15_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ adc1_in16_pc5: adc1_in16_pc5 { + pinmux = ; + }; + + /* Analog */ + + /omit-if-no-ref/ analog_pa0: analog_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa1: analog_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa2: analog_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa3: analog_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa4: analog_pa4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa5: analog_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa6: analog_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa7: analog_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa8: analog_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa9: analog_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa10: analog_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa11: analog_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa12: analog_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa13: analog_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa14: analog_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pa15: analog_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb0: analog_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb1: analog_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb2: analog_pb2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb3: analog_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb4: analog_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb5: analog_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb6: analog_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb7: analog_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb8: analog_pb8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb9: analog_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb10: analog_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb11: analog_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb12: analog_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb13: analog_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb14: analog_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pb15: analog_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc0: analog_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc1: analog_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc2: analog_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc3: analog_pc3 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc4: analog_pc4 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc5: analog_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc6: analog_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc7: analog_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc8: analog_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc9: analog_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc10: analog_pc10 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc11: analog_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc12: analog_pc12 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc13: analog_pc13 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc14: analog_pc14 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pc15: analog_pc15 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pd2: analog_pd2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf0: analog_pf0 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf1: analog_pf1 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf2: analog_pf2 { + pinmux = ; + }; + + /omit-if-no-ref/ analog_pf3: analog_pf3 { + pinmux = ; + }; + + /* DAC_OUT */ + + /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { + pinmux = ; + }; + + /* I2C_SCL */ + + /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb6: i2c2_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb8: i2c2_scl_pb8 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_scl_pc0: i2c4_scl_pc0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* I2C_SDA */ + + /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb7: i2c2_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pb11: i2c4_sda_pb11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ i2c4_sda_pc1: i2c4_sda_pc1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* JTAG PORT */ + + /omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtck_swclk_pa14: debug_jtck_swclk_pa14 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdi_pa15: debug_jtdi_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ debug_jtdo_swo_pb3: debug_jtdo_swo_pb3 { + pinmux = ; + }; + + /* RCC_MCO */ + + /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa8: rcc_mco2_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pa10: rcc_mco2_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco2_pc2: rcc_mco2_pc2 { + pinmux = ; + }; + + /omit-if-no-ref/ rcc_mco_pf2: rcc_mco_pf2 { + pinmux = ; + }; + + /* SPI_MISO */ + + /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pa11: spi2_miso_pa11 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_MOSI */ + + /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pa12: spi2_mosi_pa12 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { + pinmux = ; + bias-pull-down; + }; + + /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { + pinmux = ; + bias-pull-down; + }; + + /* SPI_NSS */ + + /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pa10: spi2_nss_pa10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { + pinmux = ; + bias-pull-up; + }; + + /* SPI_SCK */ + + /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pa1: spi2_sck_pa1 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { + pinmux = ; + bias-pull-down; + slew-rate = "very-high-speed"; + }; + + /* TIM_BKIN */ + + /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { + pinmux = ; + }; + + /* TIM_CH / TIM_CHN */ + + /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { + pinmux = ; + }; + + /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { + pinmux = ; + }; + + /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { + pinmux = ; + }; + + /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { + pinmux = ; + }; + + /* UART_CTS / USART_CTS / LPUART_CTS */ + + /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_cts_pb5: lpuart3_cts_pb5 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_DE / USART_DE / LPUART_DE */ + + /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ lpuart3_de_pb4: lpuart3_de_pb4 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { + pinmux = ; + drive-push-pull; + }; + + /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { + pinmux = ; + drive-push-pull; + }; + + /* UART_RTS / USART_RTS / LPUART_RTS */ + + /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ lpuart3_rts_pb4: lpuart3_rts_pb4 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { + pinmux = ; + bias-pull-up; + drive-open-drain; + }; + + /* UART_RX / USART_RX / LPUART_RX */ + + /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { + pinmux = ; + }; + + /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { + pinmux = ; + }; + + /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pb10: lpuart2_rx_pb10 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc1: lpuart2_rx_pc1 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart2_rx_pc7: lpuart2_rx_pc7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pa5: lpuart3_rx_pa5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pa7: usart3_rx_pa7 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pb7: lpuart3_rx_pb7 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { + pinmux = ; + }; + + /omit-if-no-ref/ lpuart3_rx_pc5: lpuart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { + pinmux = ; + }; + + /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { + pinmux = ; + }; + + /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { + pinmux = ; + }; + + /* UART_TX / USART_TX / LPUART_TX */ + + /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pb11: lpuart2_tx_pb11 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc0: lpuart2_tx_pc0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pa4: lpuart3_tx_pa4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pb6: lpuart3_tx_pb6 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ lpuart3_tx_pc4: lpuart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { + pinmux = ; + bias-pull-up; + }; + + /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { + pinmux = ; + bias-pull-up; + }; + + /* USB */ + + /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { + pinmux = ; + }; + + /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { + pinmux = ; + }; + + }; + }; +}; \ No newline at end of file