Skip to content

Commit c5aa535

Browse files
Charles E. Yousenashif
authored andcommitted
boards/up_squared: soc/apollo_lake: devicetree default to status="ok"
Since Kconfig is responsible for enabling/disabling devices at build, the devices in dt are defaulted to status="ok" to keep the output in generated_dts_board.conf the same across configurations and simplify the board-level dts files. Signed-off-by: Charles E. Youse <[email protected]>
1 parent c0502d9 commit c5aa535

File tree

2 files changed

+13
-33
lines changed

2 files changed

+13
-33
lines changed

boards/x86/up_squared/up_squared.dts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,3 @@
2727
zephyr,bt-mon-uart = &uart1;
2828
};
2929
};
30-
31-
&uart0 {
32-
status = "ok";
33-
};
34-
35-
&uart1 {
36-
status = "ok";
37-
};
38-
39-
&i2c0 {
40-
status = "ok";
41-
};
42-
43-
&i2c1 {
44-
status = "ok";
45-
};
46-
47-
&gpio {
48-
status = "ok";
49-
};

dts/x86/apollo_lake.dtsi

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
clock-frequency = <1843200>;
5757
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LEVEL_LOW 3>;
5858
interrupt-parent = <&intc>;
59-
status = "disabled";
59+
status = "ok";
6060
current-speed = <115200>;
6161
};
6262

@@ -71,7 +71,7 @@
7171
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LEVEL_LOW 3>;
7272
interrupt-parent = <&intc>;
7373

74-
status = "disabled";
74+
status = "ok";
7575
current-speed = <115200>;
7676
};
7777

@@ -86,7 +86,7 @@
8686
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LEVEL_LOW 3>;
8787
interrupt-parent = <&intc>;
8888

89-
status = "disabled";
89+
status = "ok";
9090
current-speed = <115200>;
9191
};
9292

@@ -101,7 +101,7 @@
101101
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LEVEL_LOW 3>;
102102
interrupt-parent = <&intc>;
103103

104-
status = "disabled";
104+
status = "ok";
105105
current-speed = <115200>;
106106
};
107107

@@ -116,7 +116,7 @@
116116
interrupt-parent = <&intc>;
117117
label = "I2C_0";
118118

119-
status = "disabled";
119+
status = "ok";
120120
};
121121

122122
i2c1: i2c@1 {
@@ -130,7 +130,7 @@
130130
interrupt-parent = <&intc>;
131131
label = "I2C_1";
132132

133-
status = "disabled";
133+
status = "ok";
134134
};
135135

136136
i2c2: i2c@2 {
@@ -144,7 +144,7 @@
144144
interrupt-parent = <&intc>;
145145
label = "I2C_2";
146146

147-
status = "disabled";
147+
status = "ok";
148148
};
149149

150150
i2c3: i2c@3 {
@@ -158,7 +158,7 @@
158158
interrupt-parent = <&intc>;
159159
label = "I2C_3";
160160

161-
status = "disabled";
161+
status = "ok";
162162
};
163163

164164
i2c4: i2c@4 {
@@ -172,7 +172,7 @@
172172
interrupt-parent = <&intc>;
173173
label = "I2C_4";
174174

175-
status = "disabled";
175+
status = "ok";
176176
};
177177

178178
i2c5: i2c@5 {
@@ -186,7 +186,7 @@
186186
interrupt-parent = <&intc>;
187187
label = "I2C_5";
188188

189-
status = "disabled";
189+
status = "ok";
190190
};
191191

192192
i2c6: i2c@6 {
@@ -200,7 +200,7 @@
200200
interrupt-parent = <&intc>;
201201
label = "I2C_6";
202202

203-
status = "disabled";
203+
status = "ok";
204204
};
205205

206206
i2c7: i2c@7 {
@@ -214,7 +214,7 @@
214214
interrupt-parent = <&intc>;
215215
label = "I2C_7";
216216

217-
status = "disabled";
217+
status = "ok";
218218
};
219219

220220
gpio: gpio@d0c50000 {
@@ -230,7 +230,7 @@
230230
gpio-controller ;
231231
#gpio-cells = <2>;
232232

233-
status = "disabled";
233+
status = "ok";
234234
};
235235
};
236236
};

0 commit comments

Comments
 (0)