Skip to content

Commit 8ef4832

Browse files
GeorgeCGVcarlescufi
authored andcommitted
dts: arm: st: f1: remove AFIOEN bit from IO clocks
Don't set AFIOEN when enabling IO port clock. The bit is set upon requirement within pinctrl or pinmux Signed-off-by: Georgij Cernysiov <[email protected]>
1 parent 6d624e5 commit 8ef4832

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dts/arm/st/f1/stm32f1.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
gpio-controller;
114114
#gpio-cells = <2>;
115115
reg = <0x40010800 0x400>;
116-
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000005>;
116+
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000004>;
117117
label = "GPIOA";
118118
};
119119

@@ -122,7 +122,7 @@
122122
gpio-controller;
123123
#gpio-cells = <2>;
124124
reg = <0x40010c00 0x400>;
125-
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000009>;
125+
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000008>;
126126
label = "GPIOB";
127127
};
128128

@@ -131,7 +131,7 @@
131131
gpio-controller;
132132
#gpio-cells = <2>;
133133
reg = <0x40011000 0x400>;
134-
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000011>;
134+
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000010>;
135135
label = "GPIOC";
136136
};
137137

@@ -140,7 +140,7 @@
140140
gpio-controller;
141141
#gpio-cells = <2>;
142142
reg = <0x40011400 0x400>;
143-
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000021>;
143+
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000020>;
144144
label = "GPIOD";
145145
};
146146

@@ -149,7 +149,7 @@
149149
gpio-controller;
150150
#gpio-cells = <2>;
151151
reg = <0x40011800 0x400>;
152-
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000041>;
152+
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000040>;
153153
label = "GPIOE";
154154
};
155155
};

dts/arm/st/f1/stm32f103Xc.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
gpio-controller;
101101
#gpio-cells = <2>;
102102
reg = <0x40011c00 0x400>;
103-
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000081>;
103+
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000080>;
104104
label = "GPIOF";
105105
};
106106

@@ -109,7 +109,7 @@
109109
gpio-controller;
110110
#gpio-cells = <2>;
111111
reg = <0x40012000 0x400>;
112-
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000101>;
112+
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000100>;
113113
label = "GPIOG";
114114
};
115115
};

0 commit comments

Comments
 (0)