Skip to content

Commit 782e03f

Browse files
committed
scripts: genpinctrl: update scripts for u3 support
Modification to support -pinctrl.dtsi files generation for stm32u3 socs Signed-off-by: Khaoula Bidani <[email protected]>
1 parent 8e7a588 commit 782e03f

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

scripts/genpinctrl/genpinctrl.py

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -49,30 +49,31 @@
4949
"""MCU XML namespace."""
5050

5151
PINCTRL_ADDRESSES = {
52-
"stm32c0": 0x50000000,
53-
"stm32f0": 0x48000000,
54-
"stm32f1": 0x40010800,
55-
"stm32f2": 0x40020000,
56-
"stm32f3": 0x48000000,
57-
"stm32f4": 0x40020000,
58-
"stm32f7": 0x40020000,
59-
"stm32g0": 0x50000000,
60-
"stm32g4": 0x48000000,
61-
"stm32h5": 0x42020000,
62-
"stm32h7": 0x58020000,
63-
"stm32h7rs": 0x58020000,
64-
"stm32l0": 0x50000000,
65-
"stm32l1": 0x40020000,
66-
"stm32l4": 0x48000000,
67-
"stm32l5": 0x42020000,
68-
"stm32mp1": 0x50002000,
69-
"stm32n6": 0x56020000,
70-
"stm32u0": 0x50000000,
71-
"stm32u5": 0x42020000,
72-
"stm32wba": 0x42020000,
73-
"stm32wb": 0x48000000,
74-
"stm32wb0": 0x48000000,
75-
"stm32wl": 0x48000000,
52+
#"stm32c0": 0x50000000,
53+
#"stm32f0": 0x48000000,
54+
#"stm32f1": 0x40010800,
55+
#"stm32f2": 0x40020000,
56+
#"stm32f3": 0x48000000,
57+
#"stm32f4": 0x40020000,
58+
#"stm32f7": 0x40020000,
59+
#"stm32g0": 0x50000000,
60+
#"stm32g4": 0x48000000,
61+
#"stm32h5": 0x42020000,
62+
#"stm32h7": 0x58020000,
63+
#"stm32h7rs": 0x58020000,
64+
#"stm32l0": 0x50000000,
65+
#"stm32l1": 0x40020000,
66+
#"stm32l4": 0x48000000,
67+
#"stm32l5": 0x42020000,
68+
#"stm32mp1": 0x50002000,
69+
#"stm32n6": 0x56020000,
70+
#"stm32u0": 0x50000000,
71+
"stm32u3": 0x42020000,
72+
#"stm32u5": 0x42020000,
73+
#"stm32wba": 0x42020000,
74+
#"stm32wb": 0x48000000,
75+
#"stm32wb0": 0x48000000,
76+
#"stm32wl": 0x48000000,
7677
}
7778
"""pinctrl peripheral addresses for each family."""
7879

0 commit comments

Comments
 (0)