Skip to content

Commit

Permalink
boards: intel_adl: Disable UARTs by default and enabled when needed
Browse files Browse the repository at this point in the history
Disabled uart0 and uart1 by default in alder_lake.dtsi and enable only
for intel_adl_crb board.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information
finikorg authored and fabiobaltieri committed Aug 9, 2023
1 parent d49455a commit 9a140ca
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
8 changes: 8 additions & 0 deletions boards/x86/intel_adl/intel_adl_crb.dts
Expand Up @@ -12,3 +12,11 @@
zephyr,shell-uart = &uart0;
};
};

&uart0 {
status = "okay";
};

&uart1 {
status = "okay";
};
4 changes: 0 additions & 4 deletions boards/x86/intel_adl/intel_adl_rvp.dts
Expand Up @@ -12,7 +12,3 @@
zephyr,shell-uart = &uart0_legacy;
};
};

&uart0 {
status = "disabled";
};
13 changes: 12 additions & 1 deletion dts/x86/intel/alder_lake.dtsi
Expand Up @@ -65,8 +65,19 @@

interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
interrupt-parent = <&intc>;
status = "disabled";
};

status = "okay";
uart1: uart1 {
compatible = "ns16550";
vendor-id = <0x8086>;
device-id = <0x54A9>;
clock-frequency = <1843200>;
current-speed = <115200>;
reg-shift = <2>;
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
interrupt-parent = <&intc>;
status = "disabled";
};
};

Expand Down

0 comments on commit 9a140ca

Please sign in to comment.