Skip to content

Commit e418352

Browse files
bindushree98nashif
authored andcommitted
dts: x86: intel: Added dts changes for spi to support dma for RPL
Added dts changes to support lpss dma for SPI driver for RPL platform Signed-off-by: Bindu S <bindu.s@intel.com>
1 parent fb95418 commit e418352

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

dts/x86/intel/raptor_lake_s.dtsi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@
224224
status = "disabled";
225225
};
226226

227+
spi0_dma: spi0_dma {
228+
compatible = "intel,lpss";
229+
#dma-cells = <1>;
230+
status = "okay";
231+
};
232+
227233
spi0: spi0 {
228234
compatible = "intel,penwell-spi";
229235
vendor-id = <0x8086>;
@@ -237,9 +243,16 @@
237243
clock-frequency = <100000000>;
238244
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
239245
interrupt-parent = <&intc>;
246+
dmas = <&spi0_dma 0>;
240247
status = "okay";
241248
};
242249

250+
spi1_dma: spi1_dma {
251+
compatible = "intel,lpss";
252+
#dma-cells = <1>;
253+
status = "disabled";
254+
};
255+
243256
spi1: spi1 {
244257
compatible = "intel,penwell-spi";
245258
vendor-id = <0x8086>;
@@ -253,6 +266,13 @@
253266
clock-frequency = <100000000>;
254267
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
255268
interrupt-parent = <&intc>;
269+
dmas = <&spi1_dma 0>;
270+
status = "disabled";
271+
};
272+
273+
spi2_dma: spi2_dma {
274+
compatible = "intel,lpss";
275+
#dma-cells = <1>;
256276
status = "disabled";
257277
};
258278

@@ -269,6 +289,7 @@
269289
clock-frequency = <100000000>;
270290
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
271291
interrupt-parent = <&intc>;
292+
dmas = <&spi2_dma 0>;
272293
status = "disabled";
273294
};
274295

0 commit comments

Comments
 (0)