Skip to content

Commit 3f7c869

Browse files
rabaraDinh Nguyen
authored andcommitted
arm64: dts: socfpga: agilex5: Add gpio0 node and spi dma handshake id
Add gpio0 controller node and correct DMA handshake ID for SPI tx and rx channels. Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 8b87f3e commit 3f7c869

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,26 @@
222222
status = "disabled";
223223
};
224224

225+
gpio0: gpio@ffc03200 {
226+
compatible = "snps,dw-apb-gpio";
227+
reg = <0xffc03200 0x100>;
228+
#address-cells = <1>;
229+
#size-cells = <0>;
230+
resets = <&rst GPIO0_RESET>;
231+
status = "disabled";
232+
233+
porta: gpio-controller@0 {
234+
compatible = "snps,dw-apb-gpio-port";
235+
reg = <0>;
236+
gpio-controller;
237+
#gpio-cells = <2>;
238+
snps,nr-gpios = <24>;
239+
interrupt-controller;
240+
#interrupt-cells = <2>;
241+
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
242+
};
243+
};
244+
225245
gpio1: gpio@10c03300 {
226246
compatible = "snps,dw-apb-gpio";
227247
reg = <0x10c03300 0x100>;
@@ -314,7 +334,7 @@
314334
reg-io-width = <4>;
315335
num-cs = <4>;
316336
clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
317-
dmas = <&dmac0 2>, <&dmac0 3>;
337+
dmas = <&dmac0 16>, <&dmac0 17>;
318338
dma-names = "tx", "rx";
319339
status = "disabled";
320340

@@ -331,6 +351,8 @@
331351
reg-io-width = <4>;
332352
num-cs = <4>;
333353
clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
354+
dmas = <&dmac0 20>, <&dmac0 21>;
355+
dma-names = "tx", "rx";
334356
status = "disabled";
335357
};
336358

0 commit comments

Comments
 (0)