boards: intel_adl: Disable UARTs by default and enabled when needed

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>
This commit is contained in:
Andrei Emeltchenko 2023-05-22 09:16:10 +05:30 committed by Fabio Baltieri
parent d49455ab4d
commit 9a140ca67d
3 changed files with 20 additions and 5 deletions

View file

@ -12,3 +12,11 @@
zephyr,shell-uart = &uart0;
};
};
&uart0 {
status = "okay";
};
&uart1 {
status = "okay";
};

View file

@ -12,7 +12,3 @@
zephyr,shell-uart = &uart0_legacy;
};
};
&uart0 {
status = "disabled";
};

View file

@ -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";
};
};