File tree Expand file tree Collapse file tree 3 files changed +28
-4
lines changed Expand file tree Collapse file tree 3 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -46,4 +46,16 @@ config SHELL_STACK_SIZE
4646endif # SHELL
4747endif # ACPI
4848
49+ if DMA
50+ config DMA_64BIT
51+ default y
52+ config DMA_DW_HW_LLI
53+ default n
54+ config DMA_DW_CHANNEL_COUNT
55+ default 2
56+ endif
57+
58+ config UART_NS16550_INTEL_LPSS_DMA
59+ default y
60+
4961endif # BOARD_INTEL_ADL_CRB || BOARD_INTEL_ADL_RVP || BOARD_UP_SQUARED_PRO_7000
Original file line number Diff line number Diff line change 2323&uart0 {
2424 status = "okay";
2525};
26-
27- &uart1 {
28- status = "okay";
29- };
Original file line number Diff line number Diff line change 7878 status = "disabled";
7979 };
8080
81+ uart1_dma: uart1_dma {
82+ compatible = "intel,lpss";
83+ #dma-cells = <1>;
84+ status = "disabled";
85+ };
86+
8187 uart1: uart1 {
8288 compatible = "ns16550";
8389 vendor-id = <0x8086>;
8793 reg-shift = <2>;
8894 interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
8995 interrupt-parent = <&intc>;
96+ dmas = <&uart1_dma 0>, <&uart1_dma 1>;
97+ dma-names = "tx", "rx";
98+ status = "disabled";
99+ };
100+
101+ uart2_dma: uart2_dma {
102+ compatible = "intel,lpss";
103+ #dma-cells = <1>;
90104 status = "disabled";
91105 };
92106
99113 reg-shift = <2>;
100114 interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
101115 interrupt-parent = <&intc>;
116+ dmas = <&uart2_dma 0>, <&uart2_dma 1>;
117+ dma-names = "tx", "rx";
102118
103119 status = "disabled";
104120 };
You can’t perform that action at this time.
0 commit comments