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:
parent
d49455ab4d
commit
9a140ca67d
3 changed files with 20 additions and 5 deletions
|
|
@ -12,3 +12,11 @@
|
||||||
zephyr,shell-uart = &uart0;
|
zephyr,shell-uart = &uart0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uart0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,3 @@
|
||||||
zephyr,shell-uart = &uart0_legacy;
|
zephyr,shell-uart = &uart0_legacy;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart0 {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
|
||||||
|
|
@ -65,8 +65,19 @@
|
||||||
|
|
||||||
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
||||||
interrupt-parent = <&intc>;
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue