Skip to content

Commit

Permalink
scripts: genpinctrl: Generate I3C pins
Browse files Browse the repository at this point in the history
Generate I3C pin definitions.

Signed-off-by: Sam Partridge <[email protected]>
  • Loading branch information
SamP20 committed Mar 12, 2024
1 parent 60c9634 commit aa9db12
Show file tree
Hide file tree
Showing 53 changed files with 2,541 additions and 0 deletions.
59 changes: 59 additions & 0 deletions dts/st/h5/stm32h503cbtx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,65 @@
pinmux = <STM32_PINMUX('B', 10, AF6)>;
};

/* I3C_SCL */

/omit-if-no-ref/ i3c1_scl_pb6: i3c1_scl_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_scl_pb8: i3c1_scl_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb3: i3c2_scl_pb3 {
pinmux = <STM32_PINMUX('B', 3, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb5: i3c2_scl_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb10: i3c2_scl_pb10 {
pinmux = <STM32_PINMUX('B', 10, AF10)>;
slew-rate = "very-high-speed";
};

/* I3C_SDA */

/omit-if-no-ref/ i3c1_sda_pb5: i3c1_sda_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb7: i3c1_sda_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb10: i3c1_sda_pb10 {
pinmux = <STM32_PINMUX('B', 10, AF8)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb4: i3c2_sda_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb8: i3c2_sda_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb13: i3c2_sda_pb13 {
pinmux = <STM32_PINMUX('B', 13, AF10)>;
slew-rate = "very-high-speed";
};

/* JTAG PORT */

/omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 {
Expand Down
59 changes: 59 additions & 0 deletions dts/st/h5/stm32h503cbux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,65 @@
pinmux = <STM32_PINMUX('B', 10, AF6)>;
};

/* I3C_SCL */

/omit-if-no-ref/ i3c1_scl_pb6: i3c1_scl_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_scl_pb8: i3c1_scl_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb3: i3c2_scl_pb3 {
pinmux = <STM32_PINMUX('B', 3, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb5: i3c2_scl_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb10: i3c2_scl_pb10 {
pinmux = <STM32_PINMUX('B', 10, AF10)>;
slew-rate = "very-high-speed";
};

/* I3C_SDA */

/omit-if-no-ref/ i3c1_sda_pb5: i3c1_sda_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb7: i3c1_sda_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb10: i3c1_sda_pb10 {
pinmux = <STM32_PINMUX('B', 10, AF8)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb4: i3c2_sda_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb8: i3c2_sda_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb13: i3c2_sda_pb13 {
pinmux = <STM32_PINMUX('B', 13, AF10)>;
slew-rate = "very-high-speed";
};

/* JTAG PORT */

/omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 {
Expand Down
44 changes: 44 additions & 0 deletions dts/st/h5/stm32h503ebyx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,50 @@
pinmux = <STM32_PINMUX('A', 15, AF6)>;
};

/* I3C_SCL */

/omit-if-no-ref/ i3c1_scl_pb6: i3c1_scl_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_scl_pb8: i3c1_scl_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb3: i3c2_scl_pb3 {
pinmux = <STM32_PINMUX('B', 3, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb5: i3c2_scl_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
slew-rate = "very-high-speed";
};

/* I3C_SDA */

/omit-if-no-ref/ i3c1_sda_pb5: i3c1_sda_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb7: i3c1_sda_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb4: i3c2_sda_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb8: i3c2_sda_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF10)>;
slew-rate = "very-high-speed";
};

/* JTAG PORT */

/omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 {
Expand Down
44 changes: 44 additions & 0 deletions dts/st/h5/stm32h503kbux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,50 @@
pinmux = <STM32_PINMUX('A', 15, AF6)>;
};

/* I3C_SCL */

/omit-if-no-ref/ i3c1_scl_pb6: i3c1_scl_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_scl_pb8: i3c1_scl_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb3: i3c2_scl_pb3 {
pinmux = <STM32_PINMUX('B', 3, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb5: i3c2_scl_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
slew-rate = "very-high-speed";
};

/* I3C_SDA */

/omit-if-no-ref/ i3c1_sda_pb5: i3c1_sda_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb7: i3c1_sda_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb4: i3c2_sda_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb8: i3c2_sda_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF10)>;
slew-rate = "very-high-speed";
};

/* JTAG PORT */

/omit-if-no-ref/ debug_jtms_swdio_pa13: debug_jtms_swdio_pa13 {
Expand Down
89 changes: 89 additions & 0 deletions dts/st/h5/stm32h503rbtx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,95 @@
pinmux = <STM32_PINMUX('D', 2, AF6)>;
};

/* I3C_SCL */

/omit-if-no-ref/ i3c1_scl_pb6: i3c1_scl_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_scl_pb8: i3c1_scl_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_scl_pc8: i3c1_scl_pc8 {
pinmux = <STM32_PINMUX('C', 8, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb3: i3c2_scl_pb3 {
pinmux = <STM32_PINMUX('B', 3, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb5: i3c2_scl_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pb10: i3c2_scl_pb10 {
pinmux = <STM32_PINMUX('B', 10, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pc6: i3c2_scl_pc6 {
pinmux = <STM32_PINMUX('C', 6, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_scl_pc10: i3c2_scl_pc10 {
pinmux = <STM32_PINMUX('C', 10, AF3)>;
slew-rate = "very-high-speed";
};

/* I3C_SDA */

/omit-if-no-ref/ i3c1_sda_pb5: i3c1_sda_pb5 {
pinmux = <STM32_PINMUX('B', 5, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb7: i3c1_sda_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pb10: i3c1_sda_pb10 {
pinmux = <STM32_PINMUX('B', 10, AF8)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c1_sda_pc9: i3c1_sda_pc9 {
pinmux = <STM32_PINMUX('C', 9, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb4: i3c2_sda_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb8: i3c2_sda_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pb13: i3c2_sda_pb13 {
pinmux = <STM32_PINMUX('B', 13, AF10)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pc7: i3c2_sda_pc7 {
pinmux = <STM32_PINMUX('C', 7, AF3)>;
slew-rate = "very-high-speed";
};

/omit-if-no-ref/ i3c2_sda_pc11: i3c2_sda_pc11 {
pinmux = <STM32_PINMUX('C', 11, AF3)>;
slew-rate = "very-high-speed";
};

/* JTAG PORT */

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

0 comments on commit aa9db12

Please sign in to comment.