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

dts: st: c0: Correct pinmux modes

The fix of filtering duplicate nodes in genpinctrl.py
results in removing the wrong duplicate. This problem
should be resolved with the next CubeMX release.

Signed-off-by: default avatarBenjamin Björnsson <benjamin.bjornsson@gmail.com>
parent 0636a9c0
Loading
Loading
Loading
Loading
+6 −6
Changes for dts/st/c0/stm32c031c(4-6)tx-pinctrl.dtsi: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -273,7 +273,7 @@
			/* I2C_SCL */

			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -299,7 +299,7 @@
			/* I2C_SDA */

			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 10, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -541,11 +541,11 @@
			};

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

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

			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
@@ -919,7 +919,7 @@
			};

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

			/omit-if-no-ref/ usart1_rx_pb2: usart1_rx_pb2 {
@@ -958,7 +958,7 @@
			};

			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF1)>;
				bias-pull-up;
			};

+6 −6
Changes for dts/st/c0/stm32c031c(4-6)ux-pinctrl.dtsi: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -273,7 +273,7 @@
			/* I2C_SCL */

			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -299,7 +299,7 @@
			/* I2C_SDA */

			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 10, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -541,11 +541,11 @@
			};

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

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

			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
@@ -919,7 +919,7 @@
			};

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

			/omit-if-no-ref/ usart1_rx_pb2: usart1_rx_pb2 {
@@ -958,7 +958,7 @@
			};

			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF1)>;
				bias-pull-up;
			};

+6 −6
Changes for dts/st/c0/stm32c031k(4-6)tx-pinctrl.dtsi: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@
			/* I2C_SCL */

			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -227,7 +227,7 @@
			/* I2C_SDA */

			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 10, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -469,11 +469,11 @@
			};

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

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

			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
@@ -805,7 +805,7 @@
			};

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

			/omit-if-no-ref/ usart1_rx_pb2: usart1_rx_pb2 {
@@ -844,7 +844,7 @@
			};

			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF1)>;
				bias-pull-up;
			};

+6 −6
Changes for dts/st/c0/stm32c031k(4-6)ux-pinctrl.dtsi: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@
			/* I2C_SCL */

			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -227,7 +227,7 @@
			/* I2C_SDA */

			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 10, AF6)>;
				bias-pull-up;
				drive-open-drain;
			};
@@ -469,11 +469,11 @@
			};

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

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

			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
@@ -805,7 +805,7 @@
			};

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

			/omit-if-no-ref/ usart1_rx_pb2: usart1_rx_pb2 {
@@ -844,7 +844,7 @@
			};

			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
				pinmux = <STM32_PINMUX('A', 9, AF1)>;
				bias-pull-up;
			};