Commit a2a4ee55 authored by Niravkumar L Rabara's avatar Niravkumar L Rabara Committed by Dinh Nguyen

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarNiravkumar L Rabara <niravkumar.l.rabara@intel.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent cd271f04
...@@ -581,7 +581,7 @@ eccmgr { ...@@ -581,7 +581,7 @@ eccmgr {
sdramedac { sdramedac {
compatible = "altr,sdram-edac-s10"; compatible = "altr,sdram-edac-s10";
altr,sdr-syscon = <&sdr>; altr,sdr-syscon = <&sdr>;
interrupts = <16 4>; interrupts = <16 IRQ_TYPE_LEVEL_HIGH>;
}; };
ocram-ecc@ff8cc000 { ocram-ecc@ff8cc000 {
...@@ -589,7 +589,7 @@ ocram-ecc@ff8cc000 { ...@@ -589,7 +589,7 @@ ocram-ecc@ff8cc000 {
"altr,socfpga-a10-ocram-ecc"; "altr,socfpga-a10-ocram-ecc";
reg = <0xff8cc000 0x100>; reg = <0xff8cc000 0x100>;
altr,ecc-parent = <&ocram>; altr,ecc-parent = <&ocram>;
interrupts = <1 4>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
}; };
usb0-ecc@ff8c4000 { usb0-ecc@ff8c4000 {
...@@ -597,7 +597,7 @@ usb0-ecc@ff8c4000 { ...@@ -597,7 +597,7 @@ usb0-ecc@ff8c4000 {
"altr,socfpga-usb-ecc"; "altr,socfpga-usb-ecc";
reg = <0xff8c4000 0x100>; reg = <0xff8c4000 0x100>;
altr,ecc-parent = <&usb0>; altr,ecc-parent = <&usb0>;
interrupts = <2 4>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
}; };
emac0-rx-ecc@ff8c0000 { emac0-rx-ecc@ff8c0000 {
...@@ -605,7 +605,7 @@ emac0-rx-ecc@ff8c0000 { ...@@ -605,7 +605,7 @@ emac0-rx-ecc@ff8c0000 {
"altr,socfpga-eth-mac-ecc"; "altr,socfpga-eth-mac-ecc";
reg = <0xff8c0000 0x100>; reg = <0xff8c0000 0x100>;
altr,ecc-parent = <&gmac0>; altr,ecc-parent = <&gmac0>;
interrupts = <4 4>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
}; };
emac0-tx-ecc@ff8c0400 { emac0-tx-ecc@ff8c0400 {
...@@ -613,7 +613,7 @@ emac0-tx-ecc@ff8c0400 { ...@@ -613,7 +613,7 @@ emac0-tx-ecc@ff8c0400 {
"altr,socfpga-eth-mac-ecc"; "altr,socfpga-eth-mac-ecc";
reg = <0xff8c0400 0x100>; reg = <0xff8c0400 0x100>;
altr,ecc-parent = <&gmac0>; altr,ecc-parent = <&gmac0>;
interrupts = <5 4>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
}; };
sdmmca-ecc@ff8c8c00 { sdmmca-ecc@ff8c8c00 {
...@@ -621,8 +621,8 @@ sdmmca-ecc@ff8c8c00 { ...@@ -621,8 +621,8 @@ sdmmca-ecc@ff8c8c00 {
"altr,socfpga-sdmmc-ecc"; "altr,socfpga-sdmmc-ecc";
reg = <0xff8c8c00 0x100>; reg = <0xff8c8c00 0x100>;
altr,ecc-parent = <&mmc>; altr,ecc-parent = <&mmc>;
interrupts = <14 4>, interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
<15 4>; <15 IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment