Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c7b08bf authored by Duc Dang's avatar Duc Dang
Browse files

arm64: dts: apm: Fix interrupt polarity for X-Gene PCIe legacy interrupts



On X-Gene v1 and X-Gene v2, PCIe legacy interrupt
should be configured as level-active high.

Signed-off-by: default avatarDuc Dang <dhdang@apm.com>
parent d65b5d5a
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -566,10 +566,10 @@
			dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
				      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x1
					 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x1
					 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x1
					 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x1>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x4
					 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x4
					 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x4
					 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x4>;
			dma-coherent;
			clocks = <&pcie0clk 0>;
			msi-parent = <&v2m0>;
@@ -591,10 +591,10 @@
			dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
				      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x1
					 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x1
					 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x1
					 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x1>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x4
					 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x4
					 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x4
					 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x4>;
			dma-coherent;
			clocks = <&pcie1clk 0>;
			msi-parent = <&v2m0>;
+20 −20
Original line number Diff line number Diff line
@@ -627,10 +627,10 @@
			dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
				      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x1
					 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x1
					 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x1
					 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x4
					 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x4
					 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x4
					 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x4>;
			dma-coherent;
			clocks = <&pcie0clk 0>;
			msi-parent = <&msi>;
@@ -652,10 +652,10 @@
			dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
				      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x1
					 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x1
					 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x1
					 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x1>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x4
					 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x4
					 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x4
					 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x4>;
			dma-coherent;
			clocks = <&pcie1clk 0>;
			msi-parent = <&msi>;
@@ -677,10 +677,10 @@
			dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
				      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x1
					 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x1
					 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x1
					 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x1>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x4
					 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x4
					 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x4
					 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x4>;
			dma-coherent;
			clocks = <&pcie2clk 0>;
			msi-parent = <&msi>;
@@ -702,10 +702,10 @@
			dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
				      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x1
					 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x1
					 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x1
					 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x1>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x4
					 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x4
					 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x4
					 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x4>;
			dma-coherent;
			clocks = <&pcie3clk 0>;
			msi-parent = <&msi>;
@@ -727,10 +727,10 @@
			dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
				      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x1
					 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x1
					 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x1
					 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x1>;
			interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x4
					 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x4
					 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x4
					 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x4>;
			dma-coherent;
			clocks = <&pcie4clk 0>;
			msi-parent = <&msi>;