Skip to content

Commit a41647d

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

File tree

8 files changed

+39
-41
lines changed

8 files changed

+39
-41
lines changed

boards/we/oceanus1ev/we_oceanus1ev.dts

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

1111
/ {
12-
model = "Oceanus-I EV";
1312
compatible = "we,oceanus1ev";
13+
model = "Oceanus-I EV";
1414

1515
chosen {
1616
zephyr,console = &lpuart1;
@@ -101,8 +101,8 @@ stm32_lp_tick_source: &lptim1 {
101101
&i2c1 {
102102
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb7>;
103103
pinctrl-names = "default";
104-
status = "okay";
105104
clock-frequency = <I2C_BITRATE_FAST>;
105+
status = "okay";
106106
};
107107

108108
&spi1 {
@@ -125,24 +125,24 @@ stm32_lp_tick_source: &lptim1 {
125125
#size-cells = <1>;
126126

127127
boot_partition: partition@0 {
128-
label = "mcuboot";
129128
reg = <0x00000000 DT_SIZE_K(32)>;
129+
label = "mcuboot";
130130
read-only;
131131
};
132132

133133
slot0_partition: partition@8000 {
134-
label = "image-0";
135134
reg = <0x00008000 DT_SIZE_K(108)>;
135+
label = "image-0";
136136
};
137137

138138
slot1_partition: partition@23000 {
139-
label = "image-1";
140139
reg = <0x00023000 DT_SIZE_K(108)>;
140+
label = "image-1";
141141
};
142142

143143
storage_partition: partition@3e000 {
144-
label = "storage";
145144
reg = <0x0003e000 DT_SIZE_K(8)>;
145+
label = "storage";
146146
};
147147
};
148148
};

boards/we/ophelia1ev/we_ophelia1ev_nrf52805.dts

Lines changed: 9 additions & 9 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 = "we_ophelia1ev_nrf52805";
1413
compatible = "we,we-ophelia1ev-nrf52805";
14+
model = "we_ophelia1ev_nrf52805";
1515

1616
chosen {
1717
zephyr,console = &uart0;
@@ -81,27 +81,27 @@
8181

8282
&i2c0 {
8383
compatible = "nordic,nrf-twi";
84-
status = "okay";
8584
pinctrl-0 = <&i2c0_default>;
8685
pinctrl-1 = <&i2c0_sleep>;
8786
pinctrl-names = "default", "sleep";
87+
status = "okay";
8888
};
8989

9090
&spi0 {
9191
compatible = "nordic,nrf-spi";
92-
status = "okay";
9392
pinctrl-0 = <&spi0_default>;
9493
pinctrl-1 = <&spi0_sleep>;
9594
pinctrl-names = "default", "sleep";
95+
status = "okay";
9696
};
9797

9898
&uart0 {
9999
compatible = "nordic,nrf-uarte";
100-
status = "okay";
101100
current-speed = <115200>;
102101
pinctrl-0 = <&uart0_default>;
103102
pinctrl-1 = <&uart0_sleep>;
104103
pinctrl-names = "default", "sleep";
104+
status = "okay";
105105
};
106106

107107
&flash0 {
@@ -111,28 +111,28 @@
111111
#size-cells = <1>;
112112

113113
boot_partition: partition@0 {
114-
label = "mcuboot";
115114
reg = <0x00000000 0xc000>;
115+
label = "mcuboot";
116116
};
117117

118118
slot0_partition: partition@c000 {
119-
label = "image-0";
120119
reg = <0x0000C000 0xd000>;
120+
label = "image-0";
121121
};
122122

123123
slot1_partition: partition@19000 {
124-
label = "image-1";
125124
reg = <0x00019000 0xd000>;
125+
label = "image-1";
126126
};
127127

128128
scratch_partition: partition@26000 {
129-
label = "image-scratch";
130129
reg = <0x00026000 0x3000>;
130+
label = "image-scratch";
131131
};
132132

133133
storage_partition: partition@29000 {
134-
label = "storage";
135134
reg = <0x00029000 0x00007000>;
135+
label = "storage";
136136
};
137137
};
138138
};

boards/we/ophelia4ev/ophelia4ev_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@
102102
};
103103

104104
&pwm20 {
105-
status = "okay";
106105
pinctrl-0 = <&pwm20_default>;
107106
pinctrl-1 = <&pwm20_sleep>;
108107
pinctrl-names = "default", "sleep";
108+
status = "okay";
109109
};
110110

111111
/* Get a node label for wi-fi spi to use in shield files */

boards/we/ophelia4ev/ophelia4ev_nrf54l15_cpuapp.dts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include "ophelia4ev_common.dtsi"
1010

1111
/ {
12-
model = "Ophelia-IV EV Application MCU";
1312
compatible = "we,ophelia4ev_nrf54l15-cpuapp";
13+
model = "Ophelia-IV EV Application MCU";
1414

1515
chosen {
1616
zephyr,console = &uart20;
@@ -51,9 +51,8 @@
5151
};
5252

5353
&vregmain {
54-
status = "okay";
55-
5654
regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
55+
status = "okay";
5756
};
5857

5958
&grtc {
@@ -114,22 +113,20 @@
114113

115114
boot_mode0: boot_mode@0 {
116115
compatible = "zephyr,retention";
117-
status = "okay";
118116
reg = <0x0 0x1>;
117+
status = "okay";
119118
};
120119
};
121120

122121
&spi00 {
123-
status = "okay";
124-
125122
cs-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
126123
pinctrl-0 = <&spi00_default>;
127124
pinctrl-1 = <&spi00_sleep>;
128125
pinctrl-names = "default", "sleep";
126+
status = "okay";
129127

130128
mx25r64: mx25r6435f@0 {
131129
compatible = "jedec,spi-nor";
132-
status = "okay";
133130
reg = <0>;
134131
spi-max-frequency = <8000000>;
135132

@@ -145,6 +142,7 @@
145142
t-enter-dpd = <10000>;
146143
t-exit-dpd = <35000>;
147144
reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
145+
status = "okay";
148146
};
149147
};
150148

boards/we/ophelia4ev/ophelia4ev_nrf54l15_cpuflpr.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include "ophelia4ev_common.dtsi"
1010

1111
/ {
12-
model = "Ophelia-IV EV FLPR MCU";
1312
compatible = "we,ophelia4ev_nrf54l15-cpuflpr";
13+
model = "Ophelia-IV EV FLPR MCU";
1414

1515
chosen {
1616
zephyr,console = &uart30;
@@ -22,12 +22,12 @@
2222
};
2323

2424
&cpuflpr_sram {
25-
status = "okay";
2625

2726
/* size must be increased due to booting from SRAM */
2827
reg = <0x20028000 DT_SIZE_K(96)>;
2928

3029
ranges = <0x0 0x20028000 0x18000>;
30+
status = "okay";
3131
};
3232

3333
&cpuflpr_rram {
@@ -38,8 +38,8 @@
3838
#size-cells = <1>;
3939

4040
cpuflpr_code_partition: partition@0 {
41-
label = "image-0";
4241
reg = <0x0 DT_SIZE_K(96)>;
42+
label = "image-0";
4343
};
4444
};
4545
};

boards/we/orthosie1ev/we_orthosie1ev.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include <espressif/partitions_0x0_default.dtsi>
1313

1414
/ {
15-
model = "we_orthosie1ev";
1615
compatible = "we,we-orthosie1ev";
16+
model = "we_orthosie1ev";
1717

1818
chosen {
1919
zephyr,sram = &sram0;
@@ -46,10 +46,10 @@
4646
};
4747

4848
&uart0 {
49-
status = "okay";
5049
current-speed = <115200>;
5150
pinctrl-0 = <&uart0_default>;
5251
pinctrl-names = "default";
52+
status = "okay";
5353
};
5454

5555
&usb_serial {
@@ -58,10 +58,10 @@
5858
};
5959

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

6767
&i2s {
@@ -77,9 +77,9 @@
7777
&spi2 {
7878
#address-cells = <1>;
7979
#size-cells = <0>;
80-
status = "okay";
8180
pinctrl-0 = <&spim2_default>;
8281
pinctrl-names = "default";
82+
status = "okay";
8383
};
8484

8585
&gpio0 {
@@ -99,10 +99,10 @@
9999
};
100100

101101
&twai {
102-
/* requires external CAN transceiver or jumper on RX and TX pins for loopback testing */
103-
status = "disabled";
104102
pinctrl-0 = <&twai_default>;
105103
pinctrl-names = "default";
104+
/* requires external CAN transceiver or jumper on RX and TX pins for loopback testing */
105+
status = "disabled";
106106
};
107107

108108
&esp32_bt_hci {

boards/we/proteus2ev/we_proteus2ev_nrf52832.dts

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

99
/ {
10-
model = "we_proteus2ev_nrf52832";
1110
compatible = "we,we-proteus2ev-nrf52832";
11+
model = "we_proteus2ev_nrf52832";
1212

1313
chosen {
1414
zephyr,console = &uart0;
@@ -77,11 +77,11 @@
7777

7878
&uart0 {
7979
compatible = "nordic,nrf-uarte";
80-
status = "okay";
8180
current-speed = <115200>;
8281
pinctrl-0 = <&uart0_default>;
8382
pinctrl-1 = <&uart0_sleep>;
8483
pinctrl-names = "default", "sleep";
84+
status = "okay";
8585
};
8686

8787
&i2c0 {
@@ -109,28 +109,28 @@
109109
#size-cells = <1>;
110110

111111
boot_partition: partition@0 {
112-
label = "mcuboot";
113112
reg = <0x00000000 0xc000>;
113+
label = "mcuboot";
114114
};
115115

116116
slot0_partition: partition@c000 {
117-
label = "image-0";
118117
reg = <0x0000C000 0x32000>;
118+
label = "image-0";
119119
};
120120

121121
slot1_partition: partition@3e000 {
122-
label = "image-1";
123122
reg = <0x0003E000 0x32000>;
123+
label = "image-1";
124124
};
125125

126126
scratch_partition: partition@70000 {
127-
label = "image-scratch";
128127
reg = <0x00070000 0xa000>;
128+
label = "image-scratch";
129129
};
130130

131131
storage_partition: partition@7a000 {
132-
label = "storage";
133132
reg = <0x0007a000 0x00006000>;
133+
label = "storage";
134134
};
135135
};
136136
};

boards/we/proteus3ev/we_proteus3ev_nrf52840.dts

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

1010
/ {
11-
model = "we_proteus3ev_nrf52840";
1211
compatible = "we,we-proteus3ev-nrf52840";
12+
model = "we_proteus3ev_nrf52840";
1313

1414
chosen {
1515
zephyr,console = &uart0;
@@ -83,11 +83,11 @@
8383

8484
&uart0 {
8585
compatible = "nordic,nrf-uarte";
86-
status = "okay";
8786
current-speed = <115200>;
8887
pinctrl-0 = <&uart0_default>;
8988
pinctrl-1 = <&uart0_sleep>;
9089
pinctrl-names = "default", "sleep";
90+
status = "okay";
9191
};
9292

9393
&i2c0 {

0 commit comments

Comments
 (0)