Skip to content

Commit 9a140ca

Browse files
finikorgfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent d49455a commit 9a140ca

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

boards/x86/intel_adl/intel_adl_crb.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@
1212
zephyr,shell-uart = &uart0;
1313
};
1414
};
15+
16+
&uart0 {
17+
status = "okay";
18+
};
19+
20+
&uart1 {
21+
status = "okay";
22+
};

boards/x86/intel_adl/intel_adl_rvp.dts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@
1212
zephyr,shell-uart = &uart0_legacy;
1313
};
1414
};
15-
16-
&uart0 {
17-
status = "disabled";
18-
};

dts/x86/intel/alder_lake.dtsi

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,19 @@
6565

6666
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
6767
interrupt-parent = <&intc>;
68+
status = "disabled";
69+
};
6870

69-
status = "okay";
71+
uart1: uart1 {
72+
compatible = "ns16550";
73+
vendor-id = <0x8086>;
74+
device-id = <0x54A9>;
75+
clock-frequency = <1843200>;
76+
current-speed = <115200>;
77+
reg-shift = <2>;
78+
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
79+
interrupt-parent = <&intc>;
80+
status = "disabled";
7081
};
7182
};
7283

0 commit comments

Comments
 (0)