Skip to content

Commit

Permalink
dts: st: update pinctrl dtsi to include SMBA
Browse files Browse the repository at this point in the history
Generate pinctrl dtsi from STM32 open pin data
version 6.10.0 to include SMBA.

Signed-off-by: Benedikt Schmidt <[email protected]>
  • Loading branch information
benediktibk authored and erwango committed Dec 18, 2023
1 parent fa701a7 commit 7c6a897
Show file tree
Hide file tree
Showing 1,527 changed files with 46,956 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dts/st/c0/stm32c011d6yx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,18 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
12 changes: 12 additions & 0 deletions dts/st/c0/stm32c011f(4-6)px-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,18 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
12 changes: 12 additions & 0 deletions dts/st/c0/stm32c011f(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,18 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
12 changes: 12 additions & 0 deletions dts/st/c0/stm32c011j(4-6)mx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,18 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
17 changes: 17 additions & 0 deletions dts/st/c0/stm32c031c(4-6)tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,23 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
17 changes: 17 additions & 0 deletions dts/st/c0/stm32c031c(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,23 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
12 changes: 12 additions & 0 deletions dts/st/c0/stm32c031f(4-6)px-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,18 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
17 changes: 17 additions & 0 deletions dts/st/c0/stm32c031g(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,23 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
17 changes: 17 additions & 0 deletions dts/st/c0/stm32c031k(4-6)tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,23 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
17 changes: 17 additions & 0 deletions dts/st/c0/stm32c031k(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,23 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pa1: i2c1_smba_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF6)>;
bias-pull-up;
};

/omit-if-no-ref/ i2c1_smba_pb6: i2c1_smba_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF7)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f030c6tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f030c8tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f030cctx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f030k6tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f030r8tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f030rctx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* SPI_MISO */

/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f031c(4-6)tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f031e6yx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f031g(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f031k(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f031k6tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f038c6tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* I2S_CK */

/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
Expand Down
7 changes: 7 additions & 0 deletions dts/st/f0/stm32f038e6yx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@
drive-open-drain;
};

/* I2C_SMBA */

/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
bias-pull-up;
};

/* I2S_CK */

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

0 comments on commit 7c6a897

Please sign in to comment.