Skip to content

Commit a2a4ee5

Browse files
rabaraDinh Nguyen
authored andcommitted
arm64: dts: intel: socfpga_agilex: use defined GIC interrupt type for ECC
Use defined GIC interrupt type instead of hard-coded numbers for ECC (Error Correction Code) memory, which creates edac sysfs interface. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Niravkumar L Rabara <[email protected]> Signed-off-by: Dinh Nguyen <[email protected]>
1 parent cd271f0 commit a2a4ee5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -581,48 +581,48 @@
581581
sdramedac {
582582
compatible = "altr,sdram-edac-s10";
583583
altr,sdr-syscon = <&sdr>;
584-
interrupts = <16 4>;
584+
interrupts = <16 IRQ_TYPE_LEVEL_HIGH>;
585585
};
586586

587587
ocram-ecc@ff8cc000 {
588588
compatible = "altr,socfpga-s10-ocram-ecc",
589589
"altr,socfpga-a10-ocram-ecc";
590590
reg = <0xff8cc000 0x100>;
591591
altr,ecc-parent = <&ocram>;
592-
interrupts = <1 4>;
592+
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
593593
};
594594

595595
usb0-ecc@ff8c4000 {
596596
compatible = "altr,socfpga-s10-usb-ecc",
597597
"altr,socfpga-usb-ecc";
598598
reg = <0xff8c4000 0x100>;
599599
altr,ecc-parent = <&usb0>;
600-
interrupts = <2 4>;
600+
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
601601
};
602602

603603
emac0-rx-ecc@ff8c0000 {
604604
compatible = "altr,socfpga-s10-eth-mac-ecc",
605605
"altr,socfpga-eth-mac-ecc";
606606
reg = <0xff8c0000 0x100>;
607607
altr,ecc-parent = <&gmac0>;
608-
interrupts = <4 4>;
608+
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
609609
};
610610

611611
emac0-tx-ecc@ff8c0400 {
612612
compatible = "altr,socfpga-s10-eth-mac-ecc",
613613
"altr,socfpga-eth-mac-ecc";
614614
reg = <0xff8c0400 0x100>;
615615
altr,ecc-parent = <&gmac0>;
616-
interrupts = <5 4>;
616+
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
617617
};
618618

619619
sdmmca-ecc@ff8c8c00 {
620620
compatible = "altr,socfpga-s10-sdmmc-ecc",
621621
"altr,socfpga-sdmmc-ecc";
622622
reg = <0xff8c8c00 0x100>;
623623
altr,ecc-parent = <&mmc>;
624-
interrupts = <14 4>,
625-
<15 4>;
624+
interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
625+
<15 IRQ_TYPE_LEVEL_HIGH>;
626626
};
627627
};
628628

0 commit comments

Comments
 (0)