Skip to content
Permalink
Browse files

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 <charles.youse@intel.com>
  • Loading branch information...
Charles E. Youse authored and nashif committed May 23, 2019
1 parent c0502d9 commit c5aa535c98e43c5ae716a11d1b2e22a3e69d1b07
Showing with 13 additions and 33 deletions.
  1. +0 −20 boards/x86/up_squared/up_squared.dts
  2. +13 −13 dts/x86/apollo_lake.dtsi
@@ -27,23 +27,3 @@
zephyr,bt-mon-uart = &uart1;
};
};

&uart0 {
status = "ok";
};

&uart1 {
status = "ok";
};

&i2c0 {
status = "ok";
};

&i2c1 {
status = "ok";
};

&gpio {
status = "ok";
};
@@ -56,7 +56,7 @@
clock-frequency = <1843200>;
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LEVEL_LOW 3>;
interrupt-parent = <&intc>;
status = "disabled";
status = "ok";
current-speed = <115200>;
};

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

status = "disabled";
status = "ok";
current-speed = <115200>;
};

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

status = "disabled";
status = "ok";
current-speed = <115200>;
};

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

status = "disabled";
status = "ok";
current-speed = <115200>;
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};

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

status = "disabled";
status = "ok";
};
};
};

0 comments on commit c5aa535

Please sign in to comment.
You can’t perform that action at this time.