Skip to content

Commit ab208b4

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

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

boards/wch/ch32v003evt/ch32v003evt.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include <zephyr/dt-bindings/i2c/i2c.h>
1414

1515
/ {
16-
model = "ch32v003evt";
1716
compatible = "wch,ch32v003";
17+
model = "ch32v003evt";
1818

1919
chosen {
2020
zephyr,sram = &sram0;
@@ -81,15 +81,15 @@
8181
};
8282

8383
&i2c1 {
84-
status = "okay";
8584
clock-frequency = <I2C_BITRATE_STANDARD>;
8685
pinctrl-0 = <&i2c1_default>;
8786
pinctrl-names = "default";
87+
status = "okay";
8888
};
8989

9090
&usart1 {
91-
status = "okay";
9291
current-speed = <115200>;
9392
pinctrl-0 = <&usart1_default>;
9493
pinctrl-names = "default";
94+
status = "okay";
9595
};

boards/wch/ch32v003f4p6_dev_board/ch32v003f4p6_dev_board.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include <zephyr/dt-bindings/i2c/i2c.h>
1313

1414
/ {
15-
model = "ch32v003f4p6_dev_board";
1615
compatible = "wch,ch32v003";
16+
model = "ch32v003f4p6_dev_board";
1717

1818
chosen {
1919
zephyr,sram = &sram0;
@@ -58,15 +58,15 @@
5858
};
5959

6060
&i2c1 {
61-
status = "okay";
6261
clock-frequency = <I2C_BITRATE_STANDARD>;
6362
pinctrl-0 = <&i2c1_default>;
6463
pinctrl-names = "default";
64+
status = "okay";
6565
};
6666

6767
&usart1 {
68-
status = "okay";
6968
current-speed = <115200>;
7069
pinctrl-0 = <&usart1_default>;
7170
pinctrl-names = "default";
71+
status = "okay";
7272
};

boards/wch/ch32v006evt/ch32v006evt.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include <zephyr/dt-bindings/pwm/pwm.h>
1414

1515
/ {
16-
model = "ch32v006evt";
1716
compatible = "wch,ch32v006";
17+
model = "ch32v006evt";
1818

1919
chosen {
2020
zephyr,sram = &sram0;
@@ -88,10 +88,10 @@
8888
};
8989

9090
&usart1 {
91-
status = "okay";
9291
current-speed = <115200>;
9392
pinctrl-0 = <&usart1_default>;
9493
pinctrl-names = "default";
94+
status = "okay";
9595
};
9696

9797
&iwdg {

boards/wch/ch32v303vct6_evt/ch32v303vct6_evt.dts

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

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

1717
chosen {
1818
zephyr,sram = &sram0;
@@ -45,8 +45,8 @@
4545
};
4646

4747
&usart1 {
48-
status = "okay";
4948
current-speed = <115200>;
5049
pinctrl-0 = <&usart1_default>;
5150
pinctrl-names = "default";
51+
status = "okay";
5252
};

boards/wch/linkw/linkw.dts

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

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

1717
chosen {
1818
zephyr,sram = &sram0;
@@ -82,10 +82,10 @@
8282
};
8383

8484
&usart2 {
85-
status = "okay";
8685
current-speed = <115200>;
8786
pinctrl-0 = <&usart2_default>;
8887
pinctrl-names = "default";
88+
status = "okay";
8989
};
9090

9191
&iwdg {

0 commit comments

Comments
 (0)