Commit dbb69b9d authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Thomas Bogendoerfer

MIPS: dts: loongson: Fix liointc IRQ polarity

All internal liointc interrupts are high level triggered.

Fixes: b1a79260 ("MIPS: Loongson64: DeviceTree for Loongson-2K1000")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent b81656c3
...@@ -93,7 +93,7 @@ rtc0: rtc@1fe07800 { ...@@ -93,7 +93,7 @@ rtc0: rtc@1fe07800 {
compatible = "loongson,ls2k1000-rtc"; compatible = "loongson,ls2k1000-rtc";
reg = <0 0x1fe07800 0 0x78>; reg = <0 0x1fe07800 0 0x78>;
interrupt-parent = <&liointc0>; interrupt-parent = <&liointc0>;
interrupts = <60 IRQ_TYPE_LEVEL_LOW>; interrupts = <60 IRQ_TYPE_LEVEL_HIGH>;
}; };
uart0: serial@1fe00000 { uart0: serial@1fe00000 {
...@@ -101,7 +101,7 @@ uart0: serial@1fe00000 { ...@@ -101,7 +101,7 @@ uart0: serial@1fe00000 {
reg = <0 0x1fe00000 0 0x8>; reg = <0 0x1fe00000 0 0x8>;
clock-frequency = <125000000>; clock-frequency = <125000000>;
interrupt-parent = <&liointc0>; interrupt-parent = <&liointc0>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>; interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
no-loopback-test; no-loopback-test;
}; };
...@@ -124,8 +124,8 @@ gmac@3,0 { ...@@ -124,8 +124,8 @@ gmac@3,0 {
"pciclass0c03"; "pciclass0c03";
reg = <0x1800 0x0 0x0 0x0 0x0>; reg = <0x1800 0x0 0x0 0x0 0x0>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>, interrupts = <12 IRQ_TYPE_LEVEL_HIGH>,
<13 IRQ_TYPE_LEVEL_LOW>; <13 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq", "eth_lpi"; interrupt-names = "macirq", "eth_lpi";
interrupt-parent = <&liointc0>; interrupt-parent = <&liointc0>;
phy-mode = "rgmii"; phy-mode = "rgmii";
...@@ -147,8 +147,8 @@ gmac@3,1 { ...@@ -147,8 +147,8 @@ gmac@3,1 {
"loongson, pci-gmac"; "loongson, pci-gmac";
reg = <0x1900 0x0 0x0 0x0 0x0>; reg = <0x1900 0x0 0x0 0x0 0x0>;
interrupts = <14 IRQ_TYPE_LEVEL_LOW>, interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
<15 IRQ_TYPE_LEVEL_LOW>; <15 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq", "eth_lpi"; interrupt-names = "macirq", "eth_lpi";
interrupt-parent = <&liointc0>; interrupt-parent = <&liointc0>;
phy-mode = "rgmii"; phy-mode = "rgmii";
...@@ -169,7 +169,7 @@ ehci@4,1 { ...@@ -169,7 +169,7 @@ ehci@4,1 {
"pciclass0c03"; "pciclass0c03";
reg = <0x2100 0x0 0x0 0x0 0x0>; reg = <0x2100 0x0 0x0 0x0 0x0>;
interrupts = <18 IRQ_TYPE_LEVEL_LOW>; interrupts = <18 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
}; };
...@@ -180,7 +180,7 @@ ohci@4,2 { ...@@ -180,7 +180,7 @@ ohci@4,2 {
"pciclass0c03"; "pciclass0c03";
reg = <0x2200 0x0 0x0 0x0 0x0>; reg = <0x2200 0x0 0x0 0x0 0x0>;
interrupts = <19 IRQ_TYPE_LEVEL_LOW>; interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
}; };
...@@ -191,7 +191,7 @@ sata@8,0 { ...@@ -191,7 +191,7 @@ sata@8,0 {
"pciclass0106"; "pciclass0106";
reg = <0x4000 0x0 0x0 0x0 0x0>; reg = <0x4000 0x0 0x0 0x0 0x0>;
interrupts = <19 IRQ_TYPE_LEVEL_LOW>; interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc0>; interrupt-parent = <&liointc0>;
}; };
...@@ -206,10 +206,10 @@ pcie@9,0 { ...@@ -206,10 +206,10 @@ pcie@9,0 {
#size-cells = <2>; #size-cells = <2>;
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>; interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
interrupt-map-mask = <0 0 0 0>; interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &liointc1 0 IRQ_TYPE_LEVEL_LOW>; interrupt-map = <0 0 0 0 &liointc1 0 IRQ_TYPE_LEVEL_HIGH>;
ranges; ranges;
external-facing; external-facing;
}; };
...@@ -225,10 +225,10 @@ pcie@a,0 { ...@@ -225,10 +225,10 @@ pcie@a,0 {
#size-cells = <2>; #size-cells = <2>;
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupts = <1 IRQ_TYPE_LEVEL_LOW>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
interrupt-map-mask = <0 0 0 0>; interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &liointc1 1 IRQ_TYPE_LEVEL_LOW>; interrupt-map = <0 0 0 0 &liointc1 1 IRQ_TYPE_LEVEL_HIGH>;
ranges; ranges;
external-facing; external-facing;
}; };
...@@ -244,10 +244,10 @@ pcie@b,0 { ...@@ -244,10 +244,10 @@ pcie@b,0 {
#size-cells = <2>; #size-cells = <2>;
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
interrupt-map-mask = <0 0 0 0>; interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &liointc1 2 IRQ_TYPE_LEVEL_LOW>; interrupt-map = <0 0 0 0 &liointc1 2 IRQ_TYPE_LEVEL_HIGH>;
ranges; ranges;
external-facing; external-facing;
}; };
...@@ -263,10 +263,10 @@ pcie@c,0 { ...@@ -263,10 +263,10 @@ pcie@c,0 {
#size-cells = <2>; #size-cells = <2>;
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupts = <3 IRQ_TYPE_LEVEL_LOW>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
interrupt-map-mask = <0 0 0 0>; interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &liointc1 3 IRQ_TYPE_LEVEL_LOW>; interrupt-map = <0 0 0 0 &liointc1 3 IRQ_TYPE_LEVEL_HIGH>;
ranges; ranges;
external-facing; external-facing;
}; };
...@@ -282,10 +282,10 @@ pcie@d,0 { ...@@ -282,10 +282,10 @@ pcie@d,0 {
#size-cells = <2>; #size-cells = <2>;
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
interrupt-map-mask = <0 0 0 0>; interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &liointc1 4 IRQ_TYPE_LEVEL_LOW>; interrupt-map = <0 0 0 0 &liointc1 4 IRQ_TYPE_LEVEL_HIGH>;
ranges; ranges;
external-facing; external-facing;
}; };
...@@ -301,10 +301,10 @@ pcie@e,0 { ...@@ -301,10 +301,10 @@ pcie@e,0 {
#size-cells = <2>; #size-cells = <2>;
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupts = <5 IRQ_TYPE_LEVEL_LOW>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&liointc1>; interrupt-parent = <&liointc1>;
interrupt-map-mask = <0 0 0 0>; interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &liointc1 5 IRQ_TYPE_LEVEL_LOW>; interrupt-map = <0 0 0 0 &liointc1 5 IRQ_TYPE_LEVEL_HIGH>;
ranges; ranges;
external-facing; external-facing;
}; };
......
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