Skip to content

Commit e6d7cc1

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

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

boards/wiznet/w5500_evb_pico/w5500_evb_pico.dts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797

9898
/* Reserved memory for the second stage bootloader */
9999
second_stage_bootloader: partition@0 {
100-
label = "second_stage_bootloader";
101100
reg = <0x00000000 0x100>;
101+
label = "second_stage_bootloader";
102102
read-only;
103103
};
104104

@@ -107,18 +107,18 @@
107107
* size is 16MB minus the 0x100 bytes taken by the bootloader.
108108
*/
109109
code_partition: partition@100 {
110-
label = "code-partition";
111110
reg = <0x100 (DT_SIZE_M(16) - 0x100)>;
111+
label = "code-partition";
112112
read-only;
113113
};
114114
};
115115
};
116116

117117
&uart0 {
118118
current-speed = <115200>;
119-
status = "okay";
120119
pinctrl-0 = <&uart0_default>;
121120
pinctrl-names = "default";
121+
status = "okay";
122122
};
123123

124124
&gpio0 {
@@ -127,24 +127,24 @@
127127

128128
&i2c0 {
129129
clock-frequency = <I2C_BITRATE_STANDARD>;
130-
status = "okay";
131130
pinctrl-0 = <&i2c0_default>;
132131
pinctrl-names = "default";
132+
status = "okay";
133133
};
134134

135135
&i2c1 {
136136
pinctrl-0 = <&i2c1_default>;
137137
pinctrl-names = "default";
138-
status = "disabled";
139138
clock-frequency = <I2C_BITRATE_FAST>;
139+
status = "disabled";
140140
};
141141

142142
&spi0 {
143143
clock-frequency = <DT_FREQ_M(8)>;
144-
status = "okay";
145144
pinctrl-0 = <&spi0_default>;
146145
pinctrl-names = "default";
147146
cs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
147+
status = "okay";
148148

149149
ethernet: w5500@0 {
150150
compatible = "wiznet,w5500";
@@ -166,9 +166,9 @@
166166
};
167167

168168
&adc {
169-
status = "okay";
170169
pinctrl-0 = <&adc_default>;
171170
pinctrl-names = "default";
171+
status = "okay";
172172
};
173173

174174
zephyr_udc0: &usbd {

boards/wiznet/w5500_evb_pico2/w5500_evb_pico2.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888

8989
&uart0 {
9090
current-speed = <115200>;
91-
status = "okay";
9291
pinctrl-0 = <&uart0_default>;
9392
pinctrl-names = "default";
93+
status = "okay";
9494
};
9595

9696
&gpio0 {
@@ -99,10 +99,10 @@
9999

100100
&spi0 {
101101
clock-frequency = <DT_FREQ_M(8)>;
102-
status = "okay";
103102
pinctrl-0 = <&spi0_default>;
104103
pinctrl-names = "default";
105104
cs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
105+
status = "okay";
106106

107107
ethernet: w5500@0 {
108108
compatible = "wiznet,w5500";

0 commit comments

Comments
 (0)