dts: mec172x: move the uart device node off espi

Move the two UART nodes so that they are under "soc" rather than "espi",
leave only xec-espi-host-dev nodes there.

The UART device can be used indepdently by the driver uart_mchp_xec.c
and it's normally initialized before before the espi one.

Moving the device node up a level so this does not trigger a false
positive on the build time priority checking.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-05-26 15:45:13 +00:00 committed by Anas Nashif
commit ab7b8dd0ab

View file

@ -823,6 +823,28 @@
pcrs = <2 12>;
status = "disabled";
};
uart0: uart@400f2400 {
compatible = "microchip,xec-uart";
reg = <0x400f2400 0x400>;
interrupts = <40 1>;
clock-frequency = <1843200>;
current-speed = <38400>;
girqs = <15 0>;
pcrs = <2 1>;
ldn = <9>;
status = "disabled";
};
uart1: uart@400f2800 {
compatible = "microchip,xec-uart";
reg = <0x400f2800 0x400>;
interrupts = <41 1>;
clock-frequency = <1843200>;
current-speed = <38400>;
girqs = <15 1>;
pcrs = <2 2>;
ldn = <10>;
status = "disabled";
};
espi0: espi@400f3400 {
compatible = "microchip,xec-espi-v2";
/* reg tuple contains one 32-bit address cell and one
@ -950,28 +972,6 @@
ldn = <8>;
status = "disabled";
};
uart0: uart@400f2400 {
compatible = "microchip,xec-uart";
reg = <0x400f2400 0x400>;
interrupts = <40 1>;
clock-frequency = <1843200>;
current-speed = <38400>;
girqs = <15 0>;
pcrs = <2 1>;
ldn = <9>;
status = "disabled";
};
uart1: uart@400f2800 {
compatible = "microchip,xec-uart";
reg = <0x400f2800 0x400>;
interrupts = <41 1>;
clock-frequency = <1843200>;
current-speed = <38400>;
girqs = <15 1>;
pcrs = <2 2>;
ldn = <10>;
status = "disabled";
};
emi0: emi@400f4000 {
compatible = "microchip,xec-espi-host-dev";
reg = <0x400f4000 0x400>;