Skip to content

Commit 99fc5fa

Browse files
committed
devicetree: format files in boards/weact
Applying dts-linter results for format files in boards/weact Signed-off-by: Kyle Micallef Bonnici <[email protected]>
1 parent cbcaa27 commit 99fc5fa

File tree

13 files changed

+75
-75
lines changed

13 files changed

+75
-75
lines changed

boards/weact/blackpill_f401cc/blackpill_f401cc.dts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <zephyr/dt-bindings/input/input-event-codes.h>
1111

1212
/ {
13-
model = "WeAct Studio Black Pill V3.0 Board";
1413
compatible = "weact,blackpill-f401ce";
14+
model = "WeAct Studio Black Pill V3.0 Board";
1515

1616
chosen {
1717
zephyr,console = &usart1;
@@ -54,8 +54,8 @@
5454
#size-cells = <1>;
5555

5656
boot_partition: partition@0 {
57-
label = "mcuboot";
5857
reg = <0x00000000 0x00008000>;
58+
label = "mcuboot";
5959
read-only;
6060
};
6161

@@ -66,18 +66,18 @@
6666
*/
6767

6868
slot0_partition: partition@20000 {
69-
label = "image-0";
7069
reg = <0x00020000 0x00020000>;
70+
label = "image-0";
7171
};
7272

7373
slot1_partition: partition@40000 {
74-
label = "image-1";
7574
reg = <0x00040000 0x00020000>;
75+
label = "image-1";
7676
};
7777

7878
scratch_partition: partition@60000 {
79-
label = "image-scratch";
8079
reg = <0x00060000 0x00020000>;
80+
label = "image-scratch";
8181
};
8282
};
8383
};
@@ -86,24 +86,24 @@
8686
status = "okay";
8787

8888
pwm4: pwm {
89-
status = "okay";
9089
pinctrl-0 = <&tim4_ch1_pb6 &tim4_ch2_pb7>;
9190
pinctrl-names = "default";
91+
status = "okay";
9292
};
9393
};
9494

9595
&usart1 {
9696
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
9797
pinctrl-names = "default";
98-
status = "okay";
9998
current-speed = <115200>;
99+
status = "okay";
100100
};
101101

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
&spi1 {

boards/weact/blackpill_f401ce/blackpill_f401ce.dts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <zephyr/dt-bindings/input/input-event-codes.h>
1111

1212
/ {
13-
model = "WeAct Studio Black Pill V3.0 Board";
1413
compatible = "weact,blackpill-f401ce";
14+
model = "WeAct Studio Black Pill V3.0 Board";
1515

1616
chosen {
1717
zephyr,console = &usart1;
@@ -54,8 +54,8 @@
5454
#size-cells = <1>;
5555

5656
boot_partition: partition@0 {
57-
label = "mcuboot";
5857
reg = <0x00000000 DT_SIZE_K(32)>;
58+
label = "mcuboot";
5959
read-only;
6060
};
6161

@@ -66,18 +66,18 @@
6666
*/
6767

6868
slot0_partition: partition@20000 {
69-
label = "image-0";
7069
reg = <0x00020000 DT_SIZE_K(128)>;
70+
label = "image-0";
7171
};
7272

7373
slot1_partition: partition@40000 {
74-
label = "image-1";
7574
reg = <0x00040000 DT_SIZE_K(128)>;
75+
label = "image-1";
7676
};
7777

7878
scratch_partition: partition@60000 {
79-
label = "image-scratch";
8079
reg = <0x00060000 DT_SIZE_K(128)>;
80+
label = "image-scratch";
8181
};
8282
};
8383
};
@@ -86,24 +86,24 @@
8686
status = "okay";
8787

8888
pwm4: pwm {
89-
status = "okay";
9089
pinctrl-0 = <&tim4_ch1_pb6 &tim4_ch2_pb7>;
9190
pinctrl-names = "default";
91+
status = "okay";
9292
};
9393
};
9494

9595
&usart1 {
9696
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
9797
pinctrl-names = "default";
98-
status = "okay";
9998
current-speed = <115200>;
99+
status = "okay";
100100
};
101101

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
&spi1 {

boards/weact/blackpill_f411ce/blackpill_f411ce.dts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include <zephyr/dt-bindings/input/input-event-codes.h>
1212

1313
/ {
14-
model = "WeAct Studio Black Pill V2.0 Board";
1514
compatible = "weact,blackpill-f411ce";
15+
model = "WeAct Studio Black Pill V2.0 Board";
1616

1717
chosen {
1818
zephyr,console = &usart1;
@@ -55,8 +55,8 @@
5555
#size-cells = <1>;
5656

5757
boot_partition: partition@0 {
58-
label = "mcuboot";
5958
reg = <0x00000000 DT_SIZE_K(32)>;
59+
label = "mcuboot";
6060
read-only;
6161
};
6262

@@ -67,18 +67,18 @@
6767
*/
6868

6969
slot0_partition: partition@20000 {
70-
label = "image-0";
7170
reg = <0x00020000 DT_SIZE_K(128)>;
71+
label = "image-0";
7272
};
7373

7474
slot1_partition: partition@40000 {
75-
label = "image-1";
7675
reg = <0x00040000 DT_SIZE_K(128)>;
76+
label = "image-1";
7777
};
7878

7979
scratch_partition: partition@60000 {
80-
label = "image-scratch";
8180
reg = <0x00060000 DT_SIZE_K(128)>;
81+
label = "image-scratch";
8282
};
8383
};
8484
};
@@ -87,24 +87,24 @@
8787
status = "okay";
8888

8989
pwm4: pwm {
90-
status = "okay";
9190
pinctrl-0 = <&tim4_ch1_pb6 &tim4_ch2_pb7>;
9291
pinctrl-names = "default";
92+
status = "okay";
9393
};
9494
};
9595

9696
&usart1 {
9797
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
9898
pinctrl-names = "default";
99-
status = "okay";
10099
current-speed = <115200>;
100+
status = "okay";
101101
};
102102

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
&spi1 {

boards/weact/blackpill_h523ce/blackpill_h523ce.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <zephyr/dt-bindings/input/input-event-codes.h>
1111

1212
/ {
13-
model = "WeAct Studio Black Pill STM32H523 Board";
1413
compatible = "weact,blackpill-h523ce";
14+
model = "WeAct Studio Black Pill STM32H523 Board";
1515

1616
chosen {
1717
zephyr,console = &usart1;
@@ -48,28 +48,28 @@
4848
};
4949

5050
&timers3 {
51-
status = "okay";
5251
st,prescaler = <24>;
52+
status = "okay";
5353

5454
pwm3: pwm {
55-
status = "okay";
5655
pinctrl-0 = <&tim3_ch3_pb0 &tim3_ch4_pb1>;
5756
pinctrl-names = "default";
57+
status = "okay";
5858
};
5959
};
6060

6161
&usart1 {
6262
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
6363
pinctrl-names = "default";
64-
status = "okay";
6564
current-speed = <115200>;
65+
status = "okay";
6666
};
6767

6868
&i2c1 {
6969
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
7070
pinctrl-names = "default";
71-
status = "okay";
7271
clock-frequency = <I2C_BITRATE_FAST>;
72+
status = "okay";
7373
};
7474

7575
&spi1 {
@@ -115,8 +115,8 @@ zephyr_udc0: &usb {
115115
};
116116

117117
&clk_hse {
118-
status = "okay";
119118
clock-frequency = <DT_FREQ_M(8)>;
119+
status = "okay";
120120
};
121121

122122
&rcc {

boards/weact/blackpill_u585ci/blackpill_u585ci.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <zephyr/dt-bindings/input/input-event-codes.h>
1111

1212
/ {
13-
model = "WeAct Studio Black Pill STM32U585 Core Board";
1413
compatible = "weact,blackpill-u585ci";
14+
model = "WeAct Studio Black Pill STM32U585 Core Board";
1515

1616
#address-cells = <1>;
1717
#size-cells = <1>;
@@ -71,9 +71,9 @@
7171
};
7272

7373
&clk_msis {
74-
status = "okay";
7574
msi-range = <4>;
7675
msi-pll-mode;
76+
status = "okay";
7777
};
7878

7979
&pll1 {
@@ -111,15 +111,15 @@
111111
&i2c1 {
112112
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb3>;
113113
pinctrl-names = "default";
114-
status = "okay";
115114
clock-frequency = <I2C_BITRATE_FAST>;
115+
status = "okay";
116116
};
117117

118118
&i2c2 {
119119
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb14>;
120120
pinctrl-names = "default";
121-
status = "okay";
122121
clock-frequency = <I2C_BITRATE_FAST>;
122+
status = "okay";
123123
};
124124

125125
&spi1 {

boards/weact/bluepillplus_ch32v203/bluepillplus_ch32v203.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include "bluepillplus_ch32v203-pinctrl.dtsi"
1212

1313
/ {
14-
model = "bluepillplus_ch32v203";
1514
compatible = "wch,ch32v203";
15+
model = "bluepillplus_ch32v203";
1616

1717
chosen {
1818
zephyr,sram = &sram0;
@@ -72,8 +72,8 @@
7272
};
7373

7474
&usart3 {
75-
status = "okay";
7675
current-speed = <115200>;
7776
pinctrl-0 = <&usart3_default>;
7877
pinctrl-names = "default";
78+
status = "okay";
7979
};

boards/weact/mini_stm32h743/mini_stm32h743.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
1212

1313
/ {
14-
model = "WeAct Studio MiniSTM32H743 Core Board";
1514
compatible = "weact,mini-stm32h743";
15+
model = "WeAct Studio MiniSTM32H743 Core Board";
1616

1717
chosen {
1818
zephyr,sram = &sram0;
@@ -48,9 +48,9 @@
4848

4949
st7735r_160x80: st7735r@0 {
5050
compatible = "sitronix,st7735r";
51+
reg = <0>;
5152
mipi-max-frequency = <20000000>;
5253
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
53-
reg = <0>;
5454
width = <160>;
5555
height = <80>;
5656
inversion-on;
@@ -174,9 +174,9 @@ zephyr_udc0: &usbotg_fs {
174174
size = <DT_SIZE_M(64)>; /* 64 Mbits */
175175
qspi-max-frequency = <40000000>;
176176
cs-high-time = <2>; /* >= 50 ns */
177-
status = "okay";
178177
spi-bus-width = <4>;
179178
writeoc = "PP_1_1_4";
179+
status = "okay";
180180

181181
partitions {
182182
compatible = "fixed-partitions";
@@ -201,20 +201,20 @@ zephyr_udc0: &usbotg_fs {
201201
reg = <0>;
202202
spi-max-frequency = <40000000>;
203203
size = <DT_SIZE_M(64)>; /* 64 Mbits */
204-
status = "okay";
205204
jedec-id = [ef 40 17];
206205
has-dpd;
207206
t-enter-dpd = <3500>;
208207
t-exit-dpd = <3500>;
208+
status = "okay";
209209

210210
partitions {
211211
compatible = "fixed-partitions";
212212
#address-cells = <1>;
213213
#size-cells = <1>;
214214

215215
storage_partition: partition@0 {
216-
label = "storage";
217216
reg = <0x00000000 DT_SIZE_M(8)>;
217+
label = "storage";
218218
};
219219
};
220220
};

0 commit comments

Comments
 (0)