Skip to content

Commit a96ae4f

Browse files
committed
boards: st: moved status property to end the of nodes
According to the guidelines the `status` property should always be the last property listed. Link: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
1 parent a7bf9be commit a96ae4f

File tree

70 files changed

+301
-334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+301
-334
lines changed

boards/st/b_l072z_lrwan1/b_l072z_lrwan1.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ arduino_i2c: &i2c1 {};
117117
&spi1_miso_pa6 &spi1_mosi_pa7>;
118118
pinctrl-names = "default";
119119
status = "okay";
120+
120121
cs-gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
121122

122123
lora: lora@0 {
@@ -148,8 +149,8 @@ arduino_i2c: &i2c1 {};
148149
&i2c1 {
149150
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
150151
pinctrl-names = "default";
151-
status = "okay";
152152
clock-frequency = <I2C_BITRATE_FAST>;
153+
status = "okay";
153154
};
154155

155156
&rtc {

boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a.dts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@
102102
&i2c1 {
103103
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
104104
pinctrl-names = "default";
105-
status = "okay";
106105
clock-frequency = <I2C_BITRATE_FAST>;
106+
status = "okay";
107107
};
108108

109109
&i2c2 {
110110
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
111111
pinctrl-names = "default";
112-
status = "okay";
113112
clock-frequency = <I2C_BITRATE_FAST>;
113+
status = "okay";
114114

115115
lis3mdl-magn@1e {
116116
compatible = "st,lis3mdl-magn";
@@ -208,9 +208,9 @@
208208
status = "okay";
209209

210210
pwm2: pwm {
211-
status = "okay";
212211
pinctrl-0 = <&tim2_ch1_pa15>;
213212
pinctrl-names = "default";
213+
status = "okay";
214214
};
215215
};
216216

@@ -240,10 +240,8 @@ zephyr_udc0: &usbotg_fs {
240240
&octospim_p1_io0_pe12 &octospim_p1_io1_pe13
241241
&octospim_p1_io2_pe14 &octospim_p1_io3_pe15>;
242242
pinctrl-names = "default";
243-
244243
dmas = <&dma1 0 40 STM32_DMA_PERIPH_RX>; /* request 40 for OCTOSPI1 */
245244
dma-names = "tx_rx";
246-
247245
status = "okay";
248246

249247
mx25r6435f: ospi-nor-flash@90000000 {
@@ -253,7 +251,6 @@ zephyr_udc0: &usbotg_fs {
253251
spi-bus-width = <OSPI_QUAD_MODE>;
254252
data-rate = <OSPI_STR_TRANSFER>;
255253
writeoc="PP_1_4_4";
256-
257254
status = "okay";
258255

259256
partitions {

boards/st/disco_l475_iot1/disco_l475_iot1.dts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@
9696
};
9797

9898
&clk_msi {
99-
status = "okay";
10099
msi-pll-mode;
101100
msi-range = <11>; /* 48MHz USB bus clk */
101+
status = "okay";
102102
};
103103

104104
&pll {
@@ -136,15 +136,15 @@
136136
&i2c1 {
137137
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
138138
pinctrl-names = "default";
139-
status = "okay";
140139
clock-frequency = <I2C_BITRATE_FAST>;
140+
status = "okay";
141141
};
142142

143143
&i2c2 {
144144
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
145145
pinctrl-names = "default";
146-
status = "okay";
147146
clock-frequency = <I2C_BITRATE_FAST>;
147+
status = "okay";
148148

149149
lis3mdl-magn@1e {
150150
compatible = "st,lis3mdl-magn";
@@ -178,8 +178,8 @@
178178
&i2c3 {
179179
pinctrl-0 = <&i2c3_scl_pc0 &i2c3_sda_pc1>;
180180
pinctrl-names = "default";
181-
status = "okay";
182181
clock-frequency = <I2C_BITRATE_FAST>;
182+
status = "okay";
183183
};
184184

185185
&spi1 {
@@ -192,10 +192,9 @@
192192
&spi3_miso_pc11 { slew-rate = "very-high-speed"; };
193193

194194
&spi3 {
195-
status = "okay";
196-
197195
pinctrl-0 = <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12>;
198196
pinctrl-names = "default";
197+
status = "okay";
199198

200199
cs-gpios = <&gpiod 13 GPIO_ACTIVE_LOW>,
201200
<&gpioe 0 GPIO_ACTIVE_LOW>;
@@ -249,9 +248,9 @@
249248
status = "okay";
250249

251250
pwm2: pwm {
252-
status = "okay";
253251
pinctrl-0 = <&tim2_ch1_pa15>; /* CN1 pin 2 (ARD.D9-PWM) */
254252
pinctrl-names = "default";
253+
status = "okay";
255254
};
256255
};
257256

@@ -260,9 +259,9 @@
260259
status = "okay";
261260

262261
pwm15: pwm {
263-
status = "okay";
264262
pinctrl-0 = <&tim15_ch1_pb14>; /* LED2 */
265263
pinctrl-names = "default";
264+
status = "okay";
266265
};
267266
};
268267

@@ -307,9 +306,9 @@ zephyr_udc0: &usbotg_fs {
307306
};
308307

309308
&dac1 {
310-
status = "okay";
311309
pinctrl-0 = <&dac1_out1_pa4>;
312310
pinctrl-names = "default";
311+
status = "okay";
313312
};
314313

315314
&dma1 {
@@ -323,7 +322,6 @@ zephyr_udc0: &usbotg_fs {
323322
pinctrl-names = "default";
324323
dmas = <&dma1 5 5 0x0000>;
325324
dma-names = "tx_rx";
326-
327325
status = "okay";
328326

329327
mx25r6435f: qspi-nor-flash@90000000 {

boards/st/nucleo_f091rc/nucleo_f091rc.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
&i2c1 {
104104
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
105105
pinctrl-names = "default";
106-
status = "okay";
107106
clock-frequency = <I2C_BITRATE_FAST>;
107+
status = "okay";
108108
};
109109

110110
&i2c2 {
@@ -170,9 +170,9 @@
170170
};
171171

172172
&dac1 {
173-
status = "okay";
174173
pinctrl-0 = <&dac_out1_pa4>;
175174
pinctrl-names = "default";
175+
status = "okay";
176176
};
177177

178178
&dma1 {

boards/st/nucleo_f103rb/nucleo_f103rb.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797
&i2c1 {
9898
pinctrl-0 = <&i2c1_scl_remap1_pb8 &i2c1_sda_remap1_pb9>;
9999
pinctrl-names = "default";
100-
status = "okay";
101100
clock-frequency = <I2C_BITRATE_FAST>;
101+
status = "okay";
102102
};
103103

104104
&spi1 {
@@ -120,9 +120,9 @@
120120
status = "okay";
121121

122122
pwm1: pwm {
123-
status = "okay";
124123
pinctrl-0 = <&tim1_ch1_pwm_out_pa8>;
125124
pinctrl-names = "default";
125+
status = "okay";
126126
};
127127
};
128128

@@ -131,9 +131,9 @@
131131
status = "okay";
132132

133133
pwm2: pwm {
134-
status = "okay";
135134
pinctrl-0 = <&tim2_ch2_pwm_in_pa1>;
136135
pinctrl-names = "default";
136+
status = "okay";
137137
};
138138
};
139139

boards/st/nucleo_f207zg/nucleo_f207zg.dts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@
122122
&i2c1 {
123123
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
124124
pinctrl-names = "default";
125-
status = "okay";
126125
clock-frequency = <I2C_BITRATE_FAST>;
126+
status = "okay";
127127
};
128128

129129
&i2c2 {
130130
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
131131
pinctrl-names = "default";
132-
status = "okay";
133132
clock-frequency = <I2C_BITRATE_FAST>;
133+
status = "okay";
134134
};
135135

136136
&usart3 {
@@ -184,7 +184,6 @@ zephyr_udc0: &usbotg_fs {
184184
};
185185

186186
&mac {
187-
status = "okay";
188187
pinctrl-0 = <&eth_rxd0_pc4
189188
&eth_rxd1_pc5
190189
&eth_ref_clk_pa1
@@ -195,12 +194,13 @@ zephyr_udc0: &usbotg_fs {
195194
pinctrl-names = "default";
196195
phy-connection-type = "rmii";
197196
phy-handle = <&phy>;
197+
status = "okay";
198198
};
199199

200200
&mdio {
201-
status = "okay";
202201
pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pc1>;
203202
pinctrl-names = "default";
203+
status = "okay";
204204

205205
phy: ethernet-phy@0 {
206206
compatible = "ethernet-phy";
@@ -245,9 +245,9 @@ zephyr_udc0: &usbotg_fs {
245245
};
246246

247247
&dac1 {
248-
status = "okay";
249248
pinctrl-0 = <&dac_out1_pa4>;
250249
pinctrl-names = "default";
250+
status = "okay";
251251
};
252252

253253
&backup_sram {
@@ -258,41 +258,41 @@ zephyr_udc0: &usbotg_fs {
258258
status = "okay";
259259

260260
pwm1: pwm {
261-
status = "okay";
262261
pinctrl-0 = <&tim1_ch1_pe9>;
263262
pinctrl-names = "default";
263+
status = "okay";
264264
};
265265
};
266266

267267
&timers3 {
268-
status = "okay";
269268
st,prescaler = <10000>;
269+
status = "okay";
270270

271271
pwm3: pwm {
272-
status = "okay";
273272
pinctrl-0 = <&tim3_ch3_pb0>;
274273
pinctrl-names = "default";
274+
status = "okay";
275275
};
276276
};
277277

278278
&timers4 {
279-
status = "okay";
280279
st,prescaler = <10000>;
280+
status = "okay";
281281

282282
pwm4: pwm {
283-
status = "okay";
284283
pinctrl-0 = <&tim4_ch2_pb7>;
285284
pinctrl-names = "default";
285+
status = "okay";
286286
};
287287
};
288288

289289
&timers12 {
290-
status = "okay";
291290
st,prescaler = <10000>;
291+
status = "okay";
292292

293293
pwm12: pwm {
294-
status = "okay";
295294
pinctrl-0 = <&tim12_ch1_pb14>;
296295
pinctrl-names = "default";
296+
status = "okay";
297297
};
298298
};

boards/st/nucleo_f334r8/nucleo_f334r8.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
&i2c1 {
9797
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
9898
pinctrl-names = "default";
99-
status = "okay";
10099
clock-frequency = <I2C_BITRATE_FAST>;
100+
status = "okay";
101101
};
102102

103103
&spi1 {
@@ -112,9 +112,9 @@
112112
status = "okay";
113113

114114
pwm1: pwm {
115-
status = "okay";
116115
pinctrl-0 = <&tim1_ch1_pa8>;
117116
pinctrl-names = "default";
117+
status = "okay";
118118
};
119119
};
120120

boards/st/nucleo_f401re/nucleo_f401re.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@
105105
&i2c1 {
106106
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
107107
pinctrl-names = "default";
108-
status = "okay";
109108
clock-frequency = <I2C_BITRATE_FAST>;
109+
status = "okay";
110110
};
111111

112112
&i2c3 {
113113
pinctrl-0 = <&i2c3_scl_pa8 &i2c3_sda_pc9>;
114114
pinctrl-names = "default";
115-
status = "okay";
116115
clock-frequency = <I2C_BITRATE_FAST>;
116+
status = "okay";
117117
};
118118

119119
&spi1 {
@@ -168,9 +168,9 @@
168168
status = "okay";
169169

170170
pwm2: pwm {
171-
status = "okay";
172171
pinctrl-0 = <&tim2_ch1_pa5>;
173172
pinctrl-names = "default";
173+
status = "okay";
174174
};
175175
};
176176

boards/st/nucleo_f410rb/nucleo_f410rb.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@
9191
&i2c1 {
9292
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
9393
pinctrl-names = "default";
94-
status = "okay";
9594
clock-frequency = <I2C_BITRATE_FAST>;
95+
status = "okay";
9696
};
9797

9898
&i2c2 {
9999
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb3>;
100100
pinctrl-names = "default";
101-
status = "okay";
102101
clock-frequency = <I2C_BITRATE_FAST>;
102+
status = "okay";
103103
};
104104

105105
&spi1 {
@@ -116,9 +116,9 @@
116116
};
117117

118118
&dac1 {
119-
status = "okay";
120119
pinctrl-0 = <&dac_out1_pa5>;
121120
pinctrl-names = "default";
121+
status = "okay";
122122
};
123123

124124
&flash0 {

0 commit comments

Comments
 (0)